on 07-16-2012 8:18 AM
Dear Expert
We have requirement that we want to schedule order operation by user defined sequence. We found that in APO order operation there is a field 'sequential No.' We are going to make use of it, maintain the user defined sequence, and set it in the shceduling sequence in the DS strategy or scheduling heuristic. But we can not find where we can maintain this ' sequential No.' or any function module can maintain this field. Do you have idea how we can make it done or any other solution can meet the reqirement?
Thanks
Hailiang
Hi Hailiang,
You may try the function modules of FM Group /SAPAPO/DMOPERATION.
For instance, you can use /SAPAPO/DMOPR_OPR_SELECTION to select a particular operation and read its data in the form of structure /SAPAPO/DM_OPR_TAB that contains the field SEQNR (sequential number of type SAPAPO/CDPS_SEQUENCE_NUMBER).
Then, update the sequence number of the operation i.e. SEQNR value of /SAPAPO/DM_OPR_TAB and pass it another function module for update /SAPAPO/DMOPR_OPR_UPDATE.
Thanks,
Rajesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Rajesh,
I tried to use FM /SAPAPO/DMOPR_OPR_UPDATE to update sequential number without success.
I ´ve the follwoing parameters:
I_OPR_STR <Inicial>
I_EXIT_ON_OPR_DATA_ERROR_FLG
I_CREATE_OPR_TXT X
I have filled I_OPR_TAB with same data I got from /SAPAPO/DMOPR_OPR_READ_SINGLE.
Tabel E_OPR_OK_TAB is filled with
ENTRY_INDEX 1
ERROR_CODE 0
Table E_OPR_RESULTS_TAB is filled with
0
I´m just testing the FM /SAPAPO/DMOPR_OPR_UPDATE using FM /SAPAPO/RRP_SIMSESSION_CREATE to create the SIMSESSION.
Thanks and BR
André
User | Count |
---|---|
9 | |
4 | |
3 | |
3 | |
2 | |
2 | |
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.