on 06-15-2011 1:29 PM
Hi,
In my case initailly sales order header data is created and saved, with reference to SO Project is created and then item level data is updated.
So clients requirement is to create any upload programme which can use for mass upload.
i.e to develop a program to upload,
i) Items in Sales Order.
ii) Billing Plan & Pricing Conditions in SO
I am trying to use BAPI_SALESORDER_CHANGE for this requirement. Problem is in this scenerio user exit is already used which validate "Amount" at item level and "Bill. value" in Billing plan tab should be same.
As observed Billing plan data can not be updated using this BAPI.
Even I've tried to use BDC for this requirement, but as we need to double click on line item while updating billing plan data and conditions it does not work while recording.
Incase anyone have worked on similar scenerio and found out solution, please share all your inputs.
Warm Regards,
Nitish
Hi,
The following code will take you to Billing plan tab in BDC.
PERFORM bdc_dynpro USING 'SAPMV45A' '0102'.
PERFORM bdc_field USING 'BDC_CURSOR'
'VBAK-VBELN'.
PERFORM bdc_field USING 'BDC_OKCODE'
'/00'.
PERFORM bdc_field USING 'VBAK-VBELN'
wa_vbap-vbeln.
PERFORM bdc_dynpro USING 'SAPMV45A' '4001'.
PERFORM bdc_field USING 'BDC_OKCODE'
'=ITEM'.
PERFORM bdc_field USING 'BDC_CURSOR'
itemno . "'RV45A-MABNR(wa_vbap-posnr)'.
PERFORM bdc_dynpro USING 'SAPMV45A' '4003'.
PERFORM bdc_field USING 'BDC_OKCODE'
'=T\06'.
PERFORM bdc_dynpro USING 'SAPLV60F' '4001'.
PERFORM bdc_field USING 'BDC_OKCODE'
'/00'.
Regards,
P Gomatheeswaran
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
108 | |
12 | |
11 | |
6 | |
5 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.