2010 Nov 24 2:26 AM
Hi,
I have an inbound IDOC for creating sales order. my reqeuirment is at item level segement which has many fields and three fields from this list( plant, stor.loc and shipping point) will be blank. We want to derive these fields from a Z table and populate with correct values. I tried to use all possible exits in VEDA0001 but nothing worked. I tried to popolate DXVBAP with new values and also tried to change didoc_data but when it comes to Vall transaction I don't see these values in BDCdata table.
If I manually update these fields in the IDOC I get them properly in the call transaction. can you please point me where I'm making mistake.
thanks in advance.
2011 Jan 06 4:58 AM
Hi,
I have also faced the same issue. But I resolved it by calling BAPI_SALESORDER_CHANGE after the Salesorder is created.
after IDOC_INPUT_ORDERS FM is executed, SO No. is generated, pass that SO No. to BAPI and use exporting parameters
order_header_in, order_header_inx to update shipping type, and order_item_in, order_item_inx to update Plant.
Please go through the BAPI, you will understand the whole scenario.
Regards,
Sravan Guduru.
Hi,
I have an inbound IDOC for creating sales order. my reqeuirment is at item level segement which has many fields and three fields from this list( plant, stor.loc and shipping point) will be blank. We want to derive these fields from a Z table and populate with correct values. I tried to use all possible exits in VEDA0001 but nothing worked. I tried to popolate DXVBAP with new values and also tried to change didoc_data but when it comes to Vall transaction I don't see these values in BDCdata table.
If I manually update these fields in the IDOC I get them properly in the call transaction. can you please point me where I'm making mistake.
thanks in advance.
2010 Nov 29 12:05 PM
Hi,
I suggest that you debug code of EXIT_SAPLVEDA_011 and change dxvbap structure there.
Check what happens after leaving this u-exit function module and if/where the entries get substituted back with original values.
Regards,
Dominik Modrzejewski
2011 Jan 06 4:58 AM
Hi,
I have also faced the same issue. But I resolved it by calling BAPI_SALESORDER_CHANGE after the Salesorder is created.
after IDOC_INPUT_ORDERS FM is executed, SO No. is generated, pass that SO No. to BAPI and use exporting parameters
order_header_in, order_header_inx to update shipping type, and order_item_in, order_item_inx to update Plant.
Please go through the BAPI, you will understand the whole scenario.
Regards,
Sravan Guduru.
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |