Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Ship To and Bill To Addresses

Hi all,

I'm using external web service in order to create a sales order from C4C  sales quote to my ERP system.

I want to send the WS the complete sales quote- product lines as well as account details such as ID, contacts and addresses information.

I have an extension field for each BO (Account, Address, Contact) which hold the external ID of the ERP system.

I wrote an ABSL script in the BeforeSave event of the sales quote whoich invokes the WS (I already configured that part)

My problem is this:

I want to send to the ERP system both Bill To and Ship To Address, but in order to identify those address I have to use the field I created "ERP address name) , however, inside my script I can't reach this field.

When i checked the field definition in KUT, I saw there is no extension scenario for this field.


1. How can I reach the ERP address name field within sales quote ABSL?

2. why can't I extend this field to include it also in sales quote involved parties?

My script:

var    Request : Library::ExSalesOrders.InsertOrder.Request;


                Request.composite.CardCode = this.BuyerParty.Party.BusinessPartnerInternalID;

                Request.composite.ContactId = this.BuyerParty.MainPartyContactParty.PartyKey.PartyID.content;

                Request.composite.BillToAddressId = ???;

                Request.composite.Discount = 5;

                Request.composite.DocCurrency = "USD";

                Request.composite.ShipToAddressId = ???;

                Request.composite.VAT = 20;

var Response = Library::ExSalesOrders.InsertOrder(Request,"","ExSalesOrders");

var CommFault = Response.InsertOrderResult;



Former Member
Not what you were looking for? View more on this topic or Ask a question