Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

SAP script Display issue

Former Member
0 Likes
388

Hi All,

In a Maintenance Order (IW32)Sap script, a field Satus should be diplayed.

In current case, the status is having data "REL PRT PRC".

But in sap script output, it is displaying as 'REL".

In sap script the status id defined as &CAUFVD-STTXT&.

In debug mode, the field &CAUFVD-STTXT& contains "REL PRT PRC"...

But in final output, this is printing as 'REL" itself.

What might be the fault..???

How to resolve this issue..???

Please Help me...

Regards

Pavan

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
361

Hi,

If you are aware of the Status Texts in the Table TJ02T the status for REL has the text 'Released'. Status field is again just 4 char field. So you are getting the right Status printed.

&CAUFVD-STTXT& field contains the Order status along with some other fields.

So you are getting the text as REL PRT PRC. In this text only REL corresponds to the ststaus and other terms corresponds to some other fields.

So I feel that the status in your case is prinitng correctly only.

Regards,

Anji

2 REPLIES 2
Read only

Former Member
0 Likes
362

Hi,

If you are aware of the Status Texts in the Table TJ02T the status for REL has the text 'Released'. Status field is again just 4 char field. So you are getting the right Status printed.

&CAUFVD-STTXT& field contains the Order status along with some other fields.

So you are getting the text as REL PRT PRC. In this text only REL corresponds to the ststaus and other terms corresponds to some other fields.

So I feel that the status in your case is prinitng correctly only.

Regards,

Anji

Read only

Former Member
0 Likes
361

I think field is not displaying with complete width.

You Give text width explictly like &CAUFVD-STTXT(15)& and check i think it will work....

Pl reward if helpful.