‎2008 May 19 2:28 PM
I am using this BAPI to notify Process Orders.
But I do not make any recording the movement of goods into the table goodsmovements.
Moreover, the table link_conf_goodsmov him the income index of the table goodsmovements that must change.
How can I notify the movement of goods?
‎2008 May 21 6:32 AM
Hi Pablo,
I assume that you are creating process order confirmations and corresponding goods movements. BAPIs I am referring are different.
Here are the steps that might help you.
Reward if you find this useful.
1. Call bapi - BAPI_PROCORDCONF_GET_HDR_PROP and pass PROP_GMOV = 'X' and ATHDRLEVELS. This bapi will return the proposals of automatic goods movements. After the execution of this bapi, following tables will be filled up with data
ATHDRLEVELS
GOODSMOVEMENTS
LINK_CONF_GOODSMOV
2. Change ATHDRLEVELS and GOODSMOVEMENTS as per file data
3. Append GOODSMOVEMENTS with components from file.
4. Append LINK_CONF_GOODSMOV with indexes for components
5. Pass these 3 tables to bapi - BAPI_PROCORDCONF_CREATE_HDR. This bapi will create confirmation.
But this will create 2 material documents, one for 101 movement type and other for your movement for ex. 261 (consumption)
Thanks,
Shriram.
‎2008 May 21 6:32 AM
Hi Pablo,
I assume that you are creating process order confirmations and corresponding goods movements. BAPIs I am referring are different.
Here are the steps that might help you.
Reward if you find this useful.
1. Call bapi - BAPI_PROCORDCONF_GET_HDR_PROP and pass PROP_GMOV = 'X' and ATHDRLEVELS. This bapi will return the proposals of automatic goods movements. After the execution of this bapi, following tables will be filled up with data
ATHDRLEVELS
GOODSMOVEMENTS
LINK_CONF_GOODSMOV
2. Change ATHDRLEVELS and GOODSMOVEMENTS as per file data
3. Append GOODSMOVEMENTS with components from file.
4. Append LINK_CONF_GOODSMOV with indexes for components
5. Pass these 3 tables to bapi - BAPI_PROCORDCONF_CREATE_HDR. This bapi will create confirmation.
But this will create 2 material documents, one for 101 movement type and other for your movement for ex. 261 (consumption)
Thanks,
Shriram.
‎2008 May 22 1:11 PM
Thanks Shriram...
I used what you've passed, and I could solve the drawback ...
Thank.