cancel
Showing results for 
Search instead for 
Did you mean: 

Printing of SAP Script Pack Label - WM

arindam_samanta
Participant
0 Kudos

Hi expert,

I have to print the SAP Script  through LT31. There is standard program RLVSDR40.  I need to Configure your Form using OMLV tcode. 

I need to print following information in script:

DescriptionTableFieldScreen FieldComments
SAP Material IDLTAPMATNRLTAP-MATNR
Mat DescriptionLTAPMAKTXLTAP-MAKTX
Target QuantityLTAPVSOLALTAP_VSOLAAlternative Unit of Measure
LTAPVSOLMLTAP_VSOLMBase Unit of Measure
Unit of MeasureRL03TVAMEIRL03T-VAMEIAlternative Unit of Measure
RL03TVLMERL03T-VLMEIBase Unit of Measure
SAP Batch IDLTAPCHARGLTAP-CHARG
Vendor Batch IDMCHALICHAMCHA-LICHA


How could I pass those data to my script? Where I write my business logic?

Thanks in advance for your support in this issue,

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member189779
Active Contributor
0 Kudos

Most of data you required is provided by this Std program. You can run this program standalone also just to check. You will undertand what all data it prints for TO

Attach your script to this program in OMLV. In SE71 you can debug and check which values are passed.

If you want to add you own logic you can always write seperate subroutine pool and Use PERFROM in program in your FORM to fetch the values. You define variables in FORM editor itself using DEFINE &lv_MATNR&