cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with SAPScript Modification - SHIPMENT_DOC

former_member367551
Participant
0 Kudos

Dear forumers,

I'm currently working on modifying a standard SAPScript form, SHIPMENT_DOC along with its standard print program, RV56TD00 (from the ENTRY subroutine).

I need to display some fields in the Header window of the form, but I'm unable to do this. These fields are VTRLK-VSTEL and VTRLK-DPTBG. I have tried working on modifying some codes in the form and in the print program but to no avail - no data is displayed in the form. What can I do to resolve this?

Another question is, how / where do the fields referred in the Header window here get called / processed from the print program? This is because there isn't any text elements specified in the Header window at all.

Any ideas here? Please help.

Thanks.

P/S:

Do let me know if you need me to post some codes here as well.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

HI,

Usually the text elements are used in Main window.

If you want to print the data in the header window which is a secondary window, you can print it directly provided it is having some data.

Try printing with some hard code data. If it is printing then you can print the variables easily.

For getting the values use the subroutines.

perform <subroutinename> in program <pgm name>

using <var>

changing<var>

endperform

In the program

FORM <subroutinename1> TABLES INPUT STRUCTURE ITCSY

OUTPUT STRUCTURE ITCSY.

After doing the manipulations pass these values to OUTPUT

and then in the form print those changing or using parameters.

ENDFORM.

Regards,

Venkatesh