on 03-19-2008 12:15 PM
Hi gurus,
TABLE VBAP
KWMENG QUAN 15 3 - Cumulative order quantity in sales units.
POSNR | MATNR | KWMENG
I have this field (KWMENG) which i want to print it on a smartform and i can't :(. On my application program i have an internal table TB_VBAP, which has this three fields ( posnr, matnr, kwmeng ). The first two ( posnr and matnr ) are printed on the SMARTFORM, but KWMENG is not. Can someone pls give me an idea?
Thanks all. Alex
You need the unit of measure (VBAP-VRKME)
Regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hei guys, i've solved the problem:
1. I declared a variable VC_KWMENG at Global Settings/Global Definitions/Global data:
VC_KWMENG TYPE CHAR19 ( depends on your output variable )
2. Before the output of the text i've created a PROGRAM LINES node with this statement:
In INPUT PARAMETERS: ST_VBAP and VC_KWMENG
In OUTPUT PARAMETERS: ST_VBAP and VC_KWMENG.
and as code:
WRITE st_vbap-kwmeng UNIT st_vbap-vrkme TO VC_KWMENG.
3. In my text node, i've put &VC_KWMENG&.
Worked fine, thanks all you guys.
Hi
Place a break point within the main window inside the program lines and check the field inside the work area
regards
Shiva
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi
Two cases arise..
Have you defined the Quantity field KWMENG in the Currency/Quantity fields section in Global definitons of Smartforms...
or
I think the page window size was not enough for the program to print the Quantity field, change the character format you use for this field
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
10 | |
7 | |
6 | |
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.