Quantcast
Channel: SCN : All Content - SAP Extended Warehouse Management (SAP EWM)
Viewing all articles
Browse latest Browse all 1703

PPF when all HUs are on staging area

$
0
0

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


Viewing all articles
Browse latest Browse all 1703

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>