cancel
Showing results for 
Search instead for 
Did you mean: 

Link between a custom receipt and a standard requirement

luanribeiro
Explorer
0 Kudos
Hello, experts!

We have a business scenario in which a sales order has to be shown in APO with its respective receipt in a destination location that's different from the original one in ECC.

We are implementing some code in CIF (sales orders' user-exit) so when a sales order is transferred to APO, a receipt is created on our desired destination location on APO with a non-standard ATP category that we've created. But with this solution we cannot link the requirement brought by CIF for the sales order with the receipt we generated.

Our desire is to make it possible for the planner to clearly identify which sales order a certain receipt refers to, similarly as we see the link between a stock transfer order and the requirement that it generates in a source location.

Do you see a way to do this?

Regards and thanks for the assistance.

Accepted Solutions (1)

Accepted Solutions (1)

luanribeiro
Explorer
0 Kudos

Hi DB49,

Many thanks for your answer.

Do you have any links explaining how we can make use of this fixed or dynamic pegging structure?

We are using the SNP Optimizer.

Thanks,

Luan

Former Member
0 Kudos

Luan,

Unfortunately, Optimizer does not create any pegging when it creates its solutions.  This fact is probably irrelevant, since it appears you are manually creating these receipt elements, and your planning engine probably does not 'know' that these elements are linked.

I have never tried this, but it may be possible to create pegging relationships by creating and running a customized heuristic; after the optimizer has finished its solve. 

As I said before, you should probably just hand this problem off to your programmers.  They may have a better idea than the use of pegging.

Below is the generic help about pegging in general. 

Pegging - SAP Library

Best Regards & good luck,

DB49

Answers (2)

Answers (2)

Former Member
0 Kudos

Luan,

Our desire is to make it possible for the planner to clearly identify which sales order a certain receipt refers to, similarly as we see the link between a stock transfer order and the requirement that it generates in a source location.

This business functionality is normally met through the establishment of either a fixed or dynamic pegging structure.


Do you see a way to do this?

The solution would depend upon many factors, including the planning engine you are using. Since your existing solution is achieved through enhancement,  creation of a corresponding pegging structure will probably require more enhancement.  Create the functional spec and hand it off to your programmers.


Best Regards,

DB49

former_member906762
Participant
0 Kudos

Hello Luan,

A question to understand your scenario. If you are creating a sales order at location A how is the CIF user exit generating a receipt element at B.

Regards,

Nick

luanribeiro
Explorer
0 Kudos

Hi Nick,

Thanks for your answer.

We are using the BAPI_POSRVAPS_SAVEMULTI3 to create a receipt at Destination B.

The BAPI is using the following parameters:

Order Type - 1

ATP Category - ZF (Custom)

ProcType - 0

Date and quantity respects the Sales Order

If you need anything else, please just let me know.

Regards,

Luan Ribeiro