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

scripts general doubt

Hi ALL,

I have a generaldoubt, i have noticed that in the text elements of sap scripts in windows, i see only the standard elements like

<b>/:POBOX &LFA1-PFACH& CODE &LFA1-PSTL2&

/:CITY&LFA1-ORT01&, &LFA1-ORT02&

/:POSTCODE &LFA1-PSTLZ&</b>

Is there any particular reason.

I see in driver program the data is in internal table then its assigned to standard fields

This is part of driver program it coded before a write program ,

<b>mabdr-lgpbe = itab_resb-lgpla.

mseg-ebeln = itab_resb-ebeln.

mseg-erfmg = itab_resb-erfmg.

mseg-erfme = itab_resb-erfme.</b>

i checked by passsing internal table fields in the scripts.

like this

<b>/:POSTCODE &itab-PSTLZ&</b>

I was thinking there might a reason for doing so.

If you guys have an idea please let me know.

Thanks

Add comment
10|10000 characters needed characters exceeded

3 Answers

  • Best Answer
    Posted on Jul 29, 2006 at 11:24 PM

    hi

    text symbols and other symbols will be diplayed as what you are seeing.

    Note your driver program will supply the value for the program symbol.

    Cheers,

    Abdul Hakim

    Add comment
    10|10000 characters needed characters exceeded

  • Posted on Jul 30, 2006 at 08:24 AM

    Hi,

    In SAP HELP the documentation says that for the address there is a standard command:

    /: ADDRESS

    .....

    /: ENDADDRESS

    This command formats the address according to the postal standards of the destination country.

    The reason for using both standard ddic fields or internal tables can be multiple. Just consider a sapscript form where you have to show the address not only of the sender but the receiver.

    The values of both may be found in the same table but you could show the values of the senderĀ“s address in standard ddic fields and the values of the receiverĀ“s address in an internal table.

    Best regards.

    Add comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jul 31, 2006 at 01:46 PM

    hi,

    in general in Scripts standard driver programs data is fetched into the Structures not into intertables, and those structures data is passed into Print program.. by using loops... ie in most print programs(standard) structures are used to display the data... in order to understand this carefully observe the driver program(standard) how data is fetched...

    Regards

    Ashok P.

    Add comment
    10|10000 characters needed characters exceeded