Skip to Content
author's profile photo Former Member
Former Member

help needed

hi friends,

plz help to write code for below given description.

Customer Name:

1. Perform these steps only where address code = ‘BT’.

2. Select from VBPA the address number (VBPA_ADDRNUMER) for the Ship-to (VBPA-KUNNR) for the billing document (VBRK-VBELN) where partner function (VBPA-PARVW) is equal to ‘WE.

3. Select from ADRC the name (ADRC-NAME1) where the address number in step 1 (VBPA-ADDRNUMBER) is equal to the address number in ADRC (ADRC-ADDRNUMBER)

SYS_ADDRESS

1.Perform these steps only where address code = ‘BT’.

2. Identify the address number as described to get customer name above.

3. Select from ADRC the street 1 (ADRC-STREET) where the address number in step 1 (VBPA-ADDRNUMBER) is equal to the address number in ADRC (ADRC-ADDRNUMBER)

regards,

siri.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Aug 31, 2006 at 12:18 PM

    hi

    what's BT?

    A)

    SELECT SINGLE * FROM VBPA WHERE VBELN = VBRK-VBELN

    AND PARVW = 'WE'

    AND POSNR = '000000'.

    *--->Address number:

    VBPA-ADRNR

    SELECT * FROM ADRC WHERE ADDRNUMBER = VBPA-ADRNR.

    WRITE: ADRC-NAME1.

    EXIT.

    ENDSELECT.

    B)

    SELECT SINGLE * FROM VBPA WHERE VBELN = VBRK-VBELN

    AND PARVW = 'WE'

    AND POSNR = '000000'.

    *--->Address number:

    VBPA-ADRNR

    SELECT * FROM ADRC WHERE ADDRNUMBER = VBPA-ADRNR.

    WRITE: ADRC-STREET.

    EXIT.

    ENDSELECT.

    Max

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.