Skip to Content

All Address Info not coming (in Script)

Hii

In my Customised Script , the ADDRESS node Code is like below :

BOX FRAME 10TW

ADDRESS DELIVERY PARAGRAPH AS

TITLE &VBDKL-ANRED&

NAME &VBDKL-NAME1& , &VBDKL-NAME2& , &VBDKL-NAME3& , &VBDKL-NAME4&

STREET &VBDKL-STRAS&

POBOX &VBDKL-PFACH& CODE &VBDKL-PSTL2&

POSTCODE &VBDKL-PSTLZ&

CITY &VBDKL-ORT01& , &VBDKL-ORT02&

REGION &VBDKL-REGIO&

COUNTRY &VBDKL-LAND1&

FROMCOUNTRY &VBDKL-SLAND&

ENDADDRESS

But this code is not displaying ' c/o ' , 'Street 2' , ' Different City ' fields maintained through transaction VD03 for a particular Customer ...

Can any body help me out how to display the above fields..

Thanks in advance

SATYA

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • Best Answer
    Sep 01, 2008 at 10:28 AM

    Satya,

    For you r reqruirement of printing the address with Street2 etc, you have to write a subroutine in a Z program and then fetech the relavent data and export the same to the SAP Script.

    You have to get the ADRNR of the customer and then fetch the data from ADRC table based on ADRNR where you find the compelte address data such as Street2 , street3 etc.

    Regards..

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Ankur Godre

      >

      > Hi Shakeel/Satya,

      > I too have nearly the sae issue..I want to add Street3 Street4 & Street5 to the current address in the SAP script..Can you guys please help me out with it as to how to accomplish this?? Thanks a lot in advance.....

      Just concatenate all street into one variable that you call after command STREET.

      Example:

      ADDRESS

      ...

      STREET &STRAS&

      ...

      ENDADDRESS

      In print program, concatenate street3 street4 street5 into STRAS.

      I can't find the way to print it frankly.

      Try this trick.