07-29-2006 11:50 PM
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
07-30-2006 12:24 AM
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
07-30-2006 12:24 AM
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
07-30-2006 9: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.
07-31-2006 2:38 PM
07-31-2006 2: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.
08-01-2006 6:26 PM
Hi ,
I have seen programs in which the data is retrieved in to internal tables ans then passed to standard fields.
mseg-rsnum = itab_resb-rsnum.
mseg-matnr = itab_resb-matnr.
then mseg-rsnum and mseg-matnr are used in scripts.
If i use utab_resb-rsnum and itab_resb-matnr instead of
mseg-rsnum and mseg-matnr would that be wrong or any disadvantage.
Thanks
08-01-2006 6:49 PM
HI KAJOL,
I DONT THINK THERE WILL BE ANY PROBLEM.
BUT CHECK THE CONDITION ON WHICH THE ITAB DATA IS MOVED TO THE MSEG STRUCTURE.