cancel
Showing results for 
Search instead for 
Did you mean: 

Sap Script Include address through SO10

Former Member
0 Kudos

Hi,

I am modifying a print program and a layout set for Invoice which is a Zprogram and it has an include for company address which is being picked up from SO10 and it has been created as ADRS text ID. I now want to change this address and create a new include for the layoutset to pick up the new address. I added the new text in SO10 and tried to bring it in the layoutset using include, but the new address is not getting updated.

I wanted to know if there is a way in which it is being passed from the print program or if I am missing something to do.

Thanks

Padma

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

The include text should be called separate not inside ADDRESS...ENDADRESS, like

/: INCLUDE &T024E-TXADR& OBJECT TEXT ID ADRS LANGUAGE &EKKO-SPRAS&

I think there should be a maintenance view for table T024E ( similar to structure ADRS ).

Maintain the fields in that and do not change the TXADR field.

If this does not work then use the ADRNR number to fetch the details from ADRC or LFA1 table and pass it as variables to ADDRESS...ENDADDRESS part.

/: ADDRESS PARAGRAPH AS

/: TITLE &LFA1-ANRED&

/: NAME &LFA1-NAME1&,

/: STREET &LFA1-STRAS&

/: POBOX &LFA1-PFACH&

/: CITY &LFA1-ORT01&,

/: POSTCODE &LFA1-PSTLZ&

/: COUNTRY &LFA1-LAND1&

/: REGION &LFA1-REGIO&

/: FROMCOUNTRY &T001-LAND1

/: ENDADDRESS

Regards

Subramanian

Answers (0)