‎2008 Jun 30 8:05 AM
Hello all,
I've a test-code in this way..
REPORT yh_sample.
data:
w_auart LIKE vbak-auart.
w_auart = 'TA'.
WRITE w_auart.The output of the above code is 'OR'. How do I get the correct output?
P.S.: I've actually used a where condition in another program where I had to hard-code the value of AUART.
Thanks
Indu.
‎2008 Jun 30 8:29 AM
Hello Indu,
Since conversion routine is exiting in the Domain, While printing it will change the value.
To skip the conversion you have to write the code in the below mentioned way.
WRITE w_auart USING NO EDIT MASK.
Regards,
Raghu
‎2008 Jun 30 8:12 AM
click on field vbak-auart on the program->u ll come in to the table->click on the field type--->it will take u to the dataelement..then go to the domain...there is a conversion routine..in the domain...based on that the values get changed ....
Reward if useful...
Edited by: Rudra Prasanna Mohapatra on Jun 30, 2008 9:12 AM
‎2008 Jun 30 8:19 AM
Hello
Try this:
data:
w_auart LIKE vbak-auart,
z_auart(4).
w_auart = ' TA'.
write w_auart to z_auart.
shift z_auart left deleting leading space.
write z_auart.
‎2008 Jun 30 8:29 AM
Hello Indu,
Since conversion routine is exiting in the Domain, While printing it will change the value.
To skip the conversion you have to write the code in the below mentioned way.
WRITE w_auart USING NO EDIT MASK.
Regards,
Raghu
‎2008 Jun 30 8:58 AM
‎2008 Jun 30 9:40 AM
hi Indu,
You have conversion exit for auart mentioned at domain level.
pass the parameter to the conversion exit
CONVERSION_EXIT_AUART_INPUT
You can pass the same variable or different variable to the importing parameter.
Your desired output is retrieved
hope this will solve your issue
regards
padma