on 09-18-2015 1:12 PM
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
Hi,
played a little bit more now.
What I know is that the open task in in /scwm/ordim_o table.
Is there way to know that I actually want to confirm exactly that task? With some "special" function/class, reading the stack or whatever?
Thanks
Michael
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Have checked now /scwm/ordim_o and /scwm/ordim_c:
First - field WT_STATUS does not exist, there's one field TOSTAT, but not helpful.
I have now created a dnote that needs 5 pallets to be picked, after each pick I checked the different tables.
Now I am at the last pallet (4 are confirmed, the last one is confirmed in the RF), what I can see:
/SCWM/WHO
--> one entry (sure), not confirmed, assigend to my ressource
/SCWM/ORDIM_O
--> one entry, qty is my remaining qty, TOSTAT is empty
/SCWM/ORDIM_C
--> in the meantime 8 entries (always 2 per HU pick) all are TOSTAT C
Monitor:
When I check my warehouse order, I can see it's assigned to my ressource, opening the corresponding warehouse tasks, I can see 4 are confirmed (see /SCWM/ORDIM_C) and one is open (see /SCWM/ORDIM_O)
Ressource Management:
I can see that my ressource is working on that warehouse order
What else can I do?
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.