on 02-10-2010 7:10 AM
Hi Experts,
i need to create sales order from an external system using Idocs. we are using ORDERS05. We needs to save data in some custom fields. hence we have extended the idoc. But the Z* fields are not at the screen level. The function module 'IDOC_INPUT_ORDERS' uses call transaction and hence we are unable to save data in the Z fields.
Please advice some alternate approach.
We are looking into the possibility of using a custom function module and calling the create BAPI. Please advice is there is a better approach.
Thanks & Regards,
Amit
Hi, we had a same requirement and solved this by adding the Z fields on the additional data B screen in the sales order. We added some screen logic to make these fields visible or ready for input at some conditions. So ready for input just in case of IDOC processing.
Next to that we also added coding in the sales order processing IDOC exits to fill these fields from IDOC.
Regards Jack
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi
Kindly use the below bapi to create the sales order and identify the fields in the sales order and use the same.
BAPI_SALESORDER_CREATEFROMDAT2'
REgards
Damu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The process code ORDE does not use BAPIs. It uses call transaction to VA01. This is the reason i am facing the problem. The custom fields which i have are not in the VA01 screen.
The BAPi is called by IDOC_INPUT_SALESORDER_CREATEFR for message type SALESORDER_CREATEFROMDAT202. But i am not sure if this works.
Regards,
Amit
User | Count |
---|---|
98 | |
12 | |
11 | |
6 | |
6 | |
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.