on 12-15-2007 7:18 AM
Hi Gurs,
I have created a smart form and a driver program for this.
I am able to get data from the internal table but if i give the range from 1 to 10 then 1 st record is coming 10 times.
I am not able to get the data from 1 to 10
can any one help me!
Appreciated your help
Thanks in advance
sameer(mr.abaper@gmail.com)
<b><----Following is the driver Progra....></b>
tables:mara.
data:it_itab type mara occurs 0,
FM_NAME TYPE RS38L_FNAM.
select-options:matnr for mara-matnr.
Select * from mara into table it_itab where matnr in matnr.
CALL FUNCTION '/1BCDWB/SF00000515'
EXPORTING
ARCHIVE_INDEX =
ARCHIVE_INDEX_TAB =
ARCHIVE_PARAMETERS =
CONTROL_PARAMETERS =
MAIL_APPL_OBJ =
MAIL_RECIPIENT =
MAIL_SENDER =
OUTPUT_OPTIONS =
USER_SETTINGS = 'X'
IMPORTING
DOCUMENT_OUTPUT_INFO =
JOB_OUTPUT_INFO =
JOB_OUTPUT_OPTIONS =
TABLES
ITAB = it_itab
EXCEPTIONS
FORMATTING_ERROR = 1
INTERNAL_ERROR = 2
SEND_ERROR = 3
USER_CANCELED = 4
OTHERS = 5
.
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
<b><..............End of Driver Program.............></b>
Hiii
did u wrote with in the loop
reward points
regard
Jaipal
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi...
As u r telling u r getting the data perfectly in internal table... so problem might be in the form. so u chak whether u have given in tables or not...
Its is generally like it_tab into wa_tab. here u should declatre the wa_tab in the global section of the smartform. there after u pick the values from the wa-tab-XXXX like that. This will help u .. try...
Nath...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
can you suggest me where to keep loop in driver program as well as in SmartForm
Regards
sameer
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
No, this is the first time i am working in Smartforms.
I haven't kept any loop in the driver program.
do u mean i need to keep a loop in driver program or in smartforms
Regards
sameer
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.