IF p_statxt IS INITIAL.
SELECT SINGLE text FROM t100 INTO t_status
WHERE sprsl = 'EN' AND
arbgb = p_stamid AND
msgnr = p_stamno.
ELSE.
MOVE p_statxt TO t_status.
ENDIF.
IF t_status CS '&1' OR
t_status CS '&2' OR
t_status CS '&3' OR
t_status CS '&4'.
REPLACE '&1' WITH p_stapa1 INTO t_status.
REPLACE '&2' WITH p_stapa2 INTO t_status.
REPLACE '&3' WITH p_stapa3 INTO t_status.
REPLACE '&4' WITH p_stapa4 INTO t_status.
CONDENSE t_status.
ELSE.
REPLACE '&' WITH p_stapa1 INTO t_status.
REPLACE '&' WITH p_stapa2 INTO t_status.
REPLACE '&' WITH p_stapa3 INTO t_status.
REPLACE '&' WITH p_stapa4 INTO t_status.
CONDENSE t_status.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum
All product names are trademarks of their respective companies. SAPNET.RU websites are in no way affiliated with SAP AG. SAP, SAP R/3, R/3 software, mySAP, ABAP, BAPI, xApps, SAP NetWeaver and any other are registered trademarks of SAP AG. Every effort is made to ensure content integrity. Use information on this site at your own risk.