on 09-18-2007 5:53 PM
Hi,
Based on the Product,production area and i need to select the planned orders belongs to a particular plant and then copy it to a target plant.
I appreciate if any one give tips from which tables i have to get the planned orders which is genereated in PPM.
Thanks in advance.
Regards,
Babu
Message was edited by:
babu
Hi Babu,
Use the below code for fetching the planned order
SELECT * FROM <b>/sapapo/ordmap</b> INTO TABLE gv_ordid
CONNECTION lca
WHERE r3obj = '5'
and delnr = <Pass the order number>
and DELPS = <Pass the item number>.
Note: Make sure the connection name 'LCA' is present in the table DBCON.
Use the function module <b>BAPI_POSRVAPS_SAVEMULTI3</b> for creating the planned orders.
Best Regards,
Siva.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
8 | |
4 | |
3 | |
2 | |
2 | |
1 | |
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.