Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Script to dispaly the fields only when they are having values

in my script i have some fields which will be dispalyed based on, if there are values in it only.

Other wise they should not be dispalyed on the screen.

/ <I0>Status         ,,<I0><I0><H2>&CAUFVD-
/ <I0>Equipment      ,,<I0><I0><H2>&RIWO1-EQUNR(Z)&</></></></> ,,<H0>
=  &RIWO1-EQTXT&</>
/ <I0>Assembly      </> ,,<H2>&RIWO1-BAUTL(Z)&</> ,,<H0>&RIWO1-BAUTX&</>

eg. here in one report i want to display status and equipment in other status and assembly in third it can be status equipment and assembly.. depending if there are values in these fields , they should be displayed other wise they should not be.

Please help !!

Former Member

use command function if to check for values

/:	 	IF &MARD-LGPBE& NE ''
I2	 	magazijnlokatie,,: &MARD-LGPBE&
/:	 	ENDIF

kind regards

arthur de smidt

Edited by: A. de Smidt on Sep 9, 2008 11:43 AM

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question