Showing results for 
Search instead for 
Did you mean: 

Issues of BillFrom Party in the invoice EDI InvoiceRequest_Out

0 Kudos

Dear experts,

When I use the invoice EDI InvoiceRequest_Out, I found that the field GlobalLocationNumber (GLN) is missing in BillFrom Party and the field value of SupplierPartyId is not correct as expected in BillFrom Party.

Is there any way that I can populate correct values for GlobalLocationNumber and SupplierPartyId?

Any information will be very welcome! Thank you very much.

Best regards,


Accepted Solutions (1)

Accepted Solutions (1)


Dear Sohpie,

If the two fields are not provided in the standard delivered feature not provided as you expected, you can check KBA 2582556 - Request for New Features for Sales in SAP S/4HANA Cloud to create a feature request.

As a workaroud to not block your current business scenario, you can use the extensibility tools to retrieve the two fields. You can refer to the instructions in Extensibility: Customer Invoice - Send (B2B).

For your case to populate the missing GLN information in invoice EDI, you can perform the following steps:

Step 1: Add a custom field for BillFrom GLN and enable it to the SOAP API usage for InvoiceRequest_Out.

Step 2: Add custom logic in BAdI "Modification of Custom Header Fields in Customer Invoice SOAP Message" for this custom field and pulibsh the custom logic.

The code in the custom logic can be like below:

IF billingdoc_extension_out-yy1_billfrom_gln IS INITIAL.
CASE Sales_Organization.
WHEN '1710'.
billingdoc_extension_out-yy1_billfrom_gln = 'HX123'.
billingdoc_extension_out-yy1_billfrom_gln = 'HX456'.

You can use the similar way to get SupplierPartyId in BillFrom Party.

Best Regards,


Answers (0)