cancel
Showing results for 
Search instead for 
Did you mean: 

PM_Common Form

Former Member
0 Kudos

Hi...

I have a problem with the sapscript form PM_Common.

I have added the Fleet data to the equipment view as we need this data in the after sales department in our company.

In the service order I need to add this data to the print out of the form ( Plate No., License ….)

Please can u help me to make the necessary changes in the program (RIPRJT00) and the from ( PM_Common ) in order to solve the problem.

Best Regards…

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

hi Adel,

We will not change printprogram...

In SAPScript where u need Fleet data,

just add a window,

in that window we have to write PERFORM...as shown below...

and FORM in External Subroutine..

here is an example for you,

SCRIPT

/: &TEXT& = ' '

/: PERFORM MATERIAL_DISCRIPTION IN PROGRAM ZZSDS004

/: USING &VBDPL-MATNR&

/: USING &VBDKL-VKORG&

/: USING &VBDPL-VTWEG&

/: CHANGING &TEXT&

/: ENDPERFORM

SUBROUTINE DEFINITION

  • get material number

READ TABLE in_par INDEX 1.

CHECK sy-subrc = 0.

l_f_matnr = in_par-value.

  • get sales organization

READ TABLE in_par INDEX 2.

CHECK sy-subrc = 0.

l_f_vkorg = in_par-value.

  • get distribution channel

READ TABLE in_par INDEX 3.

CHECK sy-subrc = 0.

l_f_vtweg = in_par-value.

hope it helps.

reward if useful...

Former Member
0 Kudos

Dear ...

my problem is that the Fleet table is not called by the program so how can i do it.

thanx in advance for ur help.

Former Member
0 Kudos

No need modify the print program,just use perform statement to get what ever data you need.

Use Perform command in SE71 and it has ITCSY Structure.

Reward Points if it is helpful.

Thanks

Seshu