10-22-2007 11:55 AM
Hi Experts
I am new to the SAP SCRIPT, can anyone correct the following.I have done the text elements as follows.
/: IF &BSIK-WAERS& EQ 'INR'
/: IN CONNECTION WITH AUDIT OF THE FINANCIAL STATEMENTS OF OUR
COMPANY AS date was Rs.
/: ELSE
/: IN CONNECTION WITH AUDIT OF THE FINANCIAL STATEMENTS OF OUR
COMPANY AS date was $
/: ENDIF.
Inwhich IF condition is not working actually, what cud be the reason.
Please advise me on the same.
Regards
Rajaram
10-22-2007 11:59 AM
Hi,
<b>here AS is some paragraph format
chek which paragraph format you are using
and give the same
/: is used only for commands
not to display the data</b>
/: IF &BSIK-WAERS& EQ 'INR'
<b>AS</b> IN CONNECTION WITH AUDIT OF THE FINANCIAL STATEMENTS OF OUR
COMPANY AS date was Rs.
/: ELSE
<b>AS</b> IN CONNECTION WITH AUDIT OF THE FINANCIAL STATEMENTS OF OUR
COMPANY AS date was $
/: ENDIF.
regards,
Venkatesh
10-22-2007 12:01 PM
Hi Raja,
/: if &bisk-waers& eq 'INR'.
IN CONNECTION WITH AUDIT OF THE FINANCIAL STATEMENTS OF OUR COMPANY AS date was Rs.
/: ELSE.
IN CONNECTION WITH AUDIT OF THE FINANCIAL STATEMENTS OF OUR COMPANY AS date was $
/: ENDIF.
give like this
10-22-2007 12:14 PM
I checked with both of your suggestion, but still its not working yar.
10-22-2007 12:17 PM
debug your SAPScript and check atleast whatever conditions you ar echecking in SAPScript are getting fullfilled or not...
For debugging->
1.go to SE71
Utilities->Activate Debugger
2. Execute your TCODE
3. Debug the SAPScript
10-22-2007 12:18 PM
Hi,
if you are not getting it properly,
then delete all these lines
activate it
then now with no conditions
print the hard code text
and see the output
now put only one if condition
and then se e the output
and then put the next condition
i have done like this and it got resolved for me
regards,
Venkatesh
10-22-2007 12:54 PM
Hi yar
i deleted all the lines and trying to display the following line only
According to our records our indebtedness to you as on that date was $.
but it display
According to our records our indebtedness to you as on that date was Rs.
I don't know why its changed automatically, or any other mistake have i done.
Regards
Rajaram
10-22-2007 12:57 PM
/: IF &BSIK-WAERS& EQ 'INR'
/ IN CONNECTION WITH AUDIT OF THE FINANCIAL STATEMENTS OF OUR
= COMPANY AS date was Rs.
/: ELSE
/ IN CONNECTION WITH AUDIT OF THE FINANCIAL STATEMENTS OF OUR
= COMPANY AS date was $
/: ENDIF.