on 05-13-2010 11:07 PM
Hi experts
Here is a scenario where i need some help.
We have standard subcontracting scenario and we use ME20 to create deliveries to subcon vendor . We then do a goods issue to issue the product to the subcon vendor.
I want to suppress deliveries to subcon vendor from showing up in the planning book. The reason for this requirement is the demand gets duplicated if the deliveries to subcon vendor show up in the planning book and we order lot more than we want. I must somehow be able to differentiate deliveries to customer from deliveries to subcon vendor . How do i do this. Is there any user exit or BadI associated with sales order CIF where i can add custom logic to identify the deliveries created to subcon vendor.
My idea is to check if the delivery is to a subcon vendor and if so assign a custom category to that delivery and exclude that category from the category group , so that the delivery wont show up in the planning book. Please help
Thanks
Saradha
Hi,
If you want to switch ATP Category for Deliveries created for SubCon orders, you might be able to use these Exits found in ECC.
For initial transfer, you may use FM CIF_SLDOC_INBOUND_30A and the exit EXIT_SAPLCSLS_001found in there, where you can make use of table type CIF_SL_I-ATPCAT, CIF_SL_I-DOCTYPE to switch the ATP category based on Document Type.
Likewise, for change transfer, you may use FM CIF_SL_DOC_SEND and the exit EXIT_SAPLCSLS_002, CIF_SL_REQ-ATPCAT.
Hope it helps.
Regards
Mohan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Gentlemen,
One more question related to deliveries that are not going to APO...
I have a custom delivery type that is generated by a custom sales order type.
Nor the custom sales order type neither the custom delivery type has individual requirements.
Anyway, I need to send the Custom Delivery to APO once I want to plan a shipment to it in TP/VS.
Debugging EXIT_SAPLCSLS_002 I can see the CT_DOC and CT_REQ (CT_DOCX and CT_REQX) filled with all my Sales Orders and Deliveries that have individual requirements.
Looking in the other structures available in this User-Exit we can find:
CT_DOC_CUS = Customer Enhancement Structure for CIF_SL_DOC
CT_REQ_CUS = Customer Enhancement Structure for CIF_SL_REQ
It is not clear enough what it would be the purpose of these structures.
My goal is to send that Custom Delivery Type to APO.
How should I implement this User-Exit?
What does need to be filled?
Should I have to fill CT_REQ?
Should I have to fill CT_REQ_CUS?
Should I have to fill CT_REQX?
Do you have any example of code?
Thanks!!
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.