Hi experts,
I want to have the following:
When all HUs for one delivery are on a staging area (type 9026), I want to print the delivery note.
Now I have createt a scheduling condition and started to code :-)
After that, I did some testing, it was not working so I started to debug.
The problem is now - I have the last HU, confirm it to staging, then the debugger starts (when pressing confirm and save), but at that moment, the move of the HU is not committed to database. So the last HU is from database side still on it's location, will be committed after that.
Is there a way to get exactly that information somehow in my coding?
I'm using interface IF_EX_EVAL_SCHEDCOND_PPF (badi EVAL_SCHEDCOND_PPF), so I have these attributes:
IO_CONTEXT TYPE REF TO CL_CONTEXT_PPF
IP_PROTOCOL TYPE BALLOGHNDL
IP_TTYPE TYPE PPFDTT
value( FLT_VAL ) TYPE PPFDFLTCO1
value( II_CONTAINER ) TYPE REF TO IF_SWJ_PPF_CONTAINER
while II_CONTAINER is initial
Any ideas?
Regards
Michael