on 12-11-2012 5:51 PM
Hi
I am trying to list the purchasing orders and the vendors. I created a form (smartforms) but it doesn t work, bellow are the information that I used:
Global Tab:
ITAB Type STANDARD TABLE OF STR1
WA1 Type STR1
EBELN like EKKO-EBELN
LIFNR like EKKO-LIFNR
Type Tab:
types: begin of STR1,
EBELN type ekko-ebeln,
LIFNR type ekko-LIFNR,
end of STR1.
Initialization Tab:
output parameters: ITAB
select EBELN LIFNR from ekko into corresponding fields of table ITAB
where EBELN = '1009527' .
in the main window I create a LOOP :
DATA Tab:
Internal Table ticked
ITAB INTO WA1
I create a text bellow the lOOP that contains &WA1-EBELn& &WA1-LIFNR&
when I generate the form and I tested the form, nothing is displayed.
please help
Hi,
need more info from you my friend...
1st check in debugger the ITAB is filled with data or not..
put a BREAK-POINT before the select query and check....
If values are present check the mapping to the cells of the table you created in form painter..
Check for caps/exact field name and all
Thanks.
Ben
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I think you Select Query is not working.
Convert the EBELN Number in the internal Number format using FM "CONVERSION_EXIT_ALPHA_INPUT" and then pass this variable for in Select Query.
Make sure that Sy-subrc is = 0 after selection and then only do the Printing using the table.
- Harshad
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
95 | |
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.