on 11-18-2008 1:54 PM
HI Friends,
I have a requiremnt in scripts.
in my address window.
in the text editor i have a &KNA1-NAME1&
now this is dispalying the name of the customer.
now the customer name which is displaying is &KNA1-NAME1& = 'ANDYWITTAL MEXICO'.
and that name is been displayed on the script output.
now i need to display that name 'ANDYWITTAL MEXICO ' as 'ANDYWITTAL'.
i need to remove mexico from that name.
and this should effect for only this particular name but not any other name.
How can i do this.
can any one suggest me.
Regards
Priyanka
>
> and this should effect for only this particular name but not any other name.
..Than you could use Command line like below:
/: If &KNA1-NAME1& = 'ANDYWITTAL MEXICO'.
&KNA1-NAME1(10)&
/: ENDIF.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Check the condition,
/: If &KNA1-NAME1& EQ 'ANDYWITTAL MEXICO'
ANDYWITTAL (OR) &KNA1-NAME1+0(10)&
/: Endif.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You could process the internal table inside your program before processing it in the script. That way you won't have to change the script at all.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
25 | |
12 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.