on 09-30-2014 8:33 AM
Hi All,
I want to execute save command, then my planning sequence and again save the data generated by planning sequence in single button in Bex analyzer. I tried below method on same button but its not working.
CMD 1 SAVE_AREA
PLANNING_SEQUENCE_NAME 1 ZTESTSEQUENCE
CMD 1 EXECUTE_PLANNING_SEQUENCE
CMD 1 SAVE_AREA
Thanks in advance for your suggestions...
Hi,
why do you need to do double saving? The planning sequence will have access to the unsaved data...
Regards,
Tilman
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Not 100% sure, but if you save data first and then run a planning function on changed data, it may happen that the planning function will not process any records at all (since after saving, nothing is "changed"). Does "not working" mean that the planning function is not being executed?
If you want to stick with the double-save setup, you could remove the "changed data" option and work on whatever the planning sequence filter captures, but I would suggest to remove the first save, run the planning sequence on changed data (+ reference data w/a) and then do the last save.
To make sure I understand what you're doing:
- You enter data in your layout
- The data is saved
- Your subsequent planning function is a repost function set to work on changed records
- Another save is done
If this is the case, and you only want to repost changed records: Really, try removing the first save. You won't need it because the repost function will pick up the records in the delta buffer.
If in fact you want to repost also other values outside the changed data, you need to remove the changed data flag.
Hello,
Try with the Serial number to Index
CMD 1 SAVE_AREA
PLANNING_SEQUENCE_NAME 2 ZTESTSEQUENCE
CMD 2 EXECUTE_PLANNING_SEQUENCE
CMD 3 SAVE_AREA
Regards
Anand Kumar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
81 | |
9 | |
9 | |
7 | |
7 | |
6 | |
6 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.