on 11-02-2012 12:19 PM
Hi,
I have some questions about the automatic creation of Inbound Deliveries via output types.
When creating a PO/SA, (clicking on save) an output type must apear (ZIBD), this output type will be in yellow.
I would like to know how what should be done.
Behind the output type, there is a program. (I do not exactly know what it does.)
There is as well a Requirement, assigned to the output type, what has as well a program. I have to create a requirement, where I have to mention my checks.
is the confirmation control key 0004 inbound delivery
check in a table if a vendor is e.g. fresh vegetables. (Then do not create)
that sort of things.
I would like to know if those checks need to be in the requirements, so that the output type will be displayed.
Next to this, an every hour running job (z program) needs to be created that will check which open PO/SA has the output type (ZIBD) and if the creation time/date is more then 24 hours. If this is the case the inbound delivery will be created executing a BAPI (BBP_INB_DELIVERY_CREATE).
Thanks,
Regards,
Alexander
Hello Alexander,
BTW #01, the logic for message determination does not neccessarily be done via Requirement -- you can also extend the field catalogue with data from PO item (see note Note 39462 - Expand field catalog in message determination for purchasing)... but I guess Requirement would be easier, in this case.
BTW #02, if you now that you will need to have this processing program scheduled on background, is it even worth developing new condition? I can't see why you can not put the whole logic into this program.
Good luck
TomT
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Tomas,
Thanks for you anwnser. I still have some doubs. Maybe you can help me with it. I have placed some screenshots.
I have to describe some new functionalities. An Inbound Delivery need to be created automatically after creation of a PO or SA. I'm going to use Output types (ZIBD). When saving the PO, the output type must be in yellow (not execute yet).
A job (kind of ME9F program) will run in the background every (say 2 ) hours checking which PO's have the Output type ZIBD, creating the Inbound Delivery (With the BAPI) and putting the output type to green.
My problem is that I do not completely understand how output types work. I have to describe a FD about the program that executes the output type.
I think I will have to do the following customzing.
1. Create new Condition Tables:
DocType/Comp.Code/Plant
DocType/Comp.Code/Plant/Vendor
2. These condition tables need to be added to the Access Sequence. (new access sequence 0003)
3. Create new Output Type (ZIBD)
The new output Type has to be assigned to the new Access Sequence.
What I do not know how the "Change Output" works, what does the program do and what does the FORM Routine do?
Do I have to create a new one?
The dispatch time will be (1. send with periodically scheduled job) - has been designed already.
and transaction medium will be 9 special functionl. The Job/program will
execute a BAPI (BBP_INB_DELIVERY_CREATE) to create the inbound delivery.
What I do not know how the "Processing Routines" works, what does the program do and what does the FORM Routine do?
Do I have to create a new one?
After the customizing of the Output type, I will have to create a new Requirement.
(some checks will be in here - like, confirmation control key has to be value 0004) If these Checks are correct, the output type has to be displayed in the PO screen.
After the developing/customizing the requirements I will assign the output type ZIBD to the new Requirement.
The next step, I think is to assign the partner roles to the output type (message type)
Why is this needed?
Thanks for your help.
Regards,
Alexander
Wow, Alexander, this is the longest post I've ever seen...
...if you don't mind I'll focus only on direct question:
Why is this needed?"
Kind Regards
TomT
User | Count |
---|---|
100 | |
12 | |
11 | |
6 | |
6 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.