cancel
Showing results for 
Search instead for 
Did you mean: 

SD Self Billing with EDI

Former Member
0 Kudos

One of our customers sends Retro Bills (Pricing Adjustments) via EDI. This EDI file has a 23 Character  Customer Invoice Number in the Header data.

One thing that we have observed is that the customer is sending multiple Items in the EDI file and each Item can potentially belong to a different Delivery Note. We mapped this EDI data to GSVERF03 IDoc type with multiple E1EDP01 Segments and each item can have a reference to a different Delivery Note.

We are using SBINV Message Type with FM IDOC_INPUT_SBINV  to process the IDocs. However the IDocs are failing since it has more than one Delivery Note in the IDoc.

We also have a legal requirement to create one Invoice per  Customer Invoice number (23 Character Invoice Number from EDI file).

I have the following questions in this regard.

  1. Is there any standard SAP IDoc Processing that will allow these Retro Bills can be created as one Invoice Document.

  2. If there is no standard SAP process, is there a possibility to enhance the FM IDOC_INPUT_SBINV to meet the above requirement.

Regards,

BA

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member186385
Active Contributor
0 Kudos

Hi Balaji,

Standard SAP will support one delivery number for one Retro Billing document

however, you can try with the User exit  EXIT_SAPLVED5_001 which has provision for multiple qualifiers

Not sure, if you can pass multiple delivery reference to each Qualifier or it used for different reference type

Please explore this exit by seeing your Developers help

thanks

santosh