on 09-10-2007 11:13 AM
hi,
when I created a standard text in so10 and included in window ...
I got the sysntax as follows
INCLUDE Z_BP_FOOTER OBJECT TEXT ID ADRS
and when I executed the script..I got the output.
But what my question is...When I checked already exisiting form(which I Have to
modify now) the syntax is as follows
INCLUDE ®UD-TXTFU& OBJECT TEXT ID ADR
what is the difference between these two..and
when I checked SO10 for standard text...header text is defined in SO10.
but in the FORM...in Header window the syantax is
INCLUDE ®UD-TXTFU& OBJECT TEXT ID ADR...
but It should be like this ...Right?????
INCLUDE Z_BP_FOOTER OBJECT TEXT ID ADRS
Iam confused as what syntax is this
INCLUDE ®UD-TXTFU& OBJECT TEXT ID ADR and why it is used here
waiting for your answers
Regards
Vaja
INCLUDE Z_BP_FOOTER OBJECT TEXT ID ADRS --> it directly reads the text element name "Z_BP_FOOTER" and display the text
Now, coming to this
INCLUDE ®UD-TXTFU& OBJECT TEXT ID ADR
During runtime ®UD-TXTFU& get the value and it get the text basing on this runtime value...
Let me explain with an example...
For example, Let us say, we are displaying two bank account number... we will tell our customers to which bank account number we want the amount to be deposited... since two bank account number are existing it is not advice able to always change the program we maintain this bank account numbers in two different standard text...
In SO10
Z_BP_FOOTER1 --> HSBC BANK DETAILS
Z_BP_FOOTER2 --> ICICI BANK DETAILS
Now, we maintain this field pass it to our program, during runtime if
®UD-TXTFU& has Z_BP_FOOTER1 it display HSBC BANK Details
®UD-TXTFU& has Z_BP_FOOTERw it display ICICI BANK DETAILS
I hope you understood, closr the thread once your question is answered and rewaord points if useful answers.
Regards,
Sairam
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.