on 07-20-2009 6:57 AM
Hi All,
I have arequirement to display all the customer no.s in the message for whom there is no tax code defined. Foe example
if I have customers 1000, 1001, 1002, 1003 for whom the taxcode is not defined then I should get the below message:
"No Tax code defined for customers 1000, 1001, 1002, 1003 "
Regards,
Santosh
Hi,
Get all the customer numbers for whom the tax code is not defined into an internal table, loop them and concatenate the numbers into a string and pass the string to the message statement.
describe table cust lines w_line.
loop at cust.
if sy-tabix < w_line.
concatenate cust-no ',' into cust-string separated by space.
endif.
endloop.
concatenate 'No tax code defined for customers' cust-string into cust-string
separated by space.
message w_string type 'E'.
Regards
Sarves
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Check this FM to format the Message FORMAT_MESSAGE
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
100 | |
11 | |
11 | |
6 | |
6 | |
5 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.