on 11-23-2012 12:13 PM
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:
Description | Table | Field | Screen Field | Comments |
SAP Material ID | LTAP | MATNR | LTAP-MATNR | |
Mat Description | LTAP | MAKTX | LTAP-MAKTX | |
Target Quantity | LTAP | VSOLA | LTAP_VSOLA | Alternative Unit of Measure |
LTAP | VSOLM | LTAP_VSOLM | Base Unit of Measure | |
Unit of Measure | RL03T | VAMEI | RL03T-VAMEI | Alternative Unit of Measure |
RL03T | VLME | RL03T-VLMEI | Base Unit of Measure | |
SAP Batch ID | LTAP | CHARG | LTAP-CHARG | |
Vendor Batch ID | MCHA | LICHA | MCHA-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,
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&
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
94 | |
11 | |
11 | |
10 | |
9 | |
8 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.