Hi All,
I am using the Function Module SD_SALESDOCUMENT_CREATE For Creating a Contract. I am doing my Code in the Method of a Proxy of a PI
Class. I Would be getting the Values from Sales Force and I need to Create a Contract in SAP. This is the Inbound Interface to SAP.
Now I have manged to Fill up the Fields for Items and Partners. I need to now Create the Billing Plan and Schedule Lines in the Contract. Somehow the Fields Mentioned in the Proxy Structure for Billing and Schedule Lines Do not match with the BAPI strcutures and hence I am in a Dilema.
My colleagues says that I need to Write a BDC for Billing Plan and the Schedule Line Items. But I want to Avoid BDC as far as possible.
Can any one please help me with the Creation of Billing Plan and Schedule Line Items using either the Function Module post Creating the Basic Contract OR using the Same FM as mentioned above.
The Fields that I am getting From the Sales Force are as follows:
Billing Plan:
CONTROLLER
LINE_ITEM_NUMBER
CONTRACT_START_DATE
CONTRACT_END_DATE
USAGE_INDICATOR
HIGHER_LEVEL_ITEM_IN_BOM
PAYMENT_METHOD
POEXPIRY_DATE
MIN_COMMITMENT_DATE
BILLING_GRP_NUMBER
BILLING_SEQUENCE_NUMBER
INVOICE_GROUP_NUMBER
BILLING_FREQUENCY
BILLING_DEVIATION
BILLING_IN_ADVANCE
ORDER_NUMBER_IN_ADD_DATA_B
For Schedule Line Items:
CONTROLLER
LINE_ITEM_NUMBER
BILLING_DATE
BILING_VALUE
BILLING_BLOCK_FOR_BILLING
GRNNUMBER
TEXT_OBJECT
Please Guide me the Right way with the FM or any other way to have the Billing Plan and Schedule Line Items Populated in the Contract Create Process Via PI.
Many Thanks in Advance...!!!
Regards,
Deepak.