on 01-07-2012 9:04 PM
Hi,
System: SRM 7.0
Have been scanning different threads and notes but havent been able to get anywhere.
We have compiled all the contracts-header and item level information, in an excel spreadsheet.
I found out that there is a FM BBP_PD_CTR_CREATE. Can someone tell me how this FM can be used to create contracts in SRM from an excel spreadsheet?Are any IDOC's created in the process?
Any suggestions on how to go about this process?
Please send in your inputs.
Thanks
J
Hello,
With below link convert the excel to a internal table
Then create the header,item,condition etc as per the details in the excel by reading the internal table.
CALL FUNCTION 'BBP_PD_CTR_CREATE'
EXPORTING
i_save = 'X'
i_header = gs_header
i_src_object_type = gc_contract_type
IMPORTING
e_header = gs_e_header
TABLES
i_item = gt_item
i_partner = gt_partner
i_longtext = gt_longtext
i_orgdata = gt_orgdata
i_tol = gt_tol
i_dis = gt_dis
e_item = gt_e_item
e_partner = gt_e_partner
e_longtext = gt_e_longtext
e_orgdata = gt_e_orgdata
e_tol = gt_e_tol
e_dis = gt_e_dis
e_status = gt_status
e_messages = gt_messages.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You are on the right course...the FM is correct.
Edited by: Trey Honns on Jan 9, 2012 6:01 AM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.