‎2010 May 13 8:59 AM
Hi,
Ive the smart form for workshop invoice
ive got a condition if the Mtart = 'yser', they dont want print MTANR.
else mtart = 'zrsa'
they need mtanr and description.
endif
so ive taken one global field like data: GV_MTART type mtart
GC_YSER type mtart Defualt "Yser"
Before Materail printing ive put the Altranative condtion..in the condtion level ive put the GC_YSER NE 'YSER'.
Here my problem is while printing the form, If the condition is filed then Third column one which is Description will comes to sencond column one which is MATNR.
how to over come the prob?
REgards
chandu
‎2010 May 13 9:06 AM
Print the field in both the cases.
If condition is satisfied, print the global variable with data.
else
add a code line to clear global data.
Still print it. Blank data should come to the text element.
Edited by: Pranu Pranu on May 13, 2010 10:06 AM
‎2010 May 13 9:06 AM
Print the field in both the cases.
If condition is satisfied, print the global variable with data.
else
add a code line to clear global data.
Still print it. Blank data should come to the text element.
Edited by: Pranu Pranu on May 13, 2010 10:06 AM
‎2010 May 13 9:08 AM
‎2010 May 13 9:12 AM
Hi,
thank you for reply..
If you see the ALTRANATIVE COMMAND.. in the condtion level Ive put the gv_mtart NE GC_YSER
in the TRUE level
&GS_IT_GEN-MATERIAL&
FALSE level
TEXT which is blank line.
Its not working
‎2010 May 13 9:13 AM
Hi,
thank you for reply..
If you see the ALTRANATIVE COMMAND.. in the condtion level Ive put the gv_mtart NE GC_YSER
in the TRUE level
&GS_IT_GEN-MATERIAL&
FALSE level
TEXT which is blank line.
Its not working
‎2010 May 13 9:18 AM
Hello Chandu,
Hope, you are printing both the field material number (matnr) & description (maktx) in the same column.
Could you please try with different columns?
Regards,
Selva K.
‎2010 May 13 9:23 AM
No,
Iam not printing same column..its sure..
thank you for reply. i think, something wrong in altranative command
‎2010 May 13 9:24 AM
No,
Iam not printing same column..its sure..
thank you for reply. i think, something wrong in altranative command