‎2009 Mar 22 9:30 AM
Hi guys,
I need help on the follow.
1. currently we have a transaction "T1"that can be used to manully upload the parts claim data one by
one.This is a module pool program.
The selection screen has 3 fields .Comp, Org, Plant.After the value for these fields are entered
we go to screen 200 where user can enter data about the parts claimed and thus can save these
data (record) after certain check into database.
2. Now instead the user manually entering data on to the screen 200 of the t'code"T1" in point 1),we
have the bulk data eg(100) records(part claim) be entered gathered into an internal table .Now I
want enter these 100 records through screen 200 from internal table & save into data base .
My question is :In my new report.
1. I am gathering data in internal table.
2. Using
CALL TRANSACTION 'T1' AND SKIP FIRST SCREEN.
SET PARAMETER ID 'BUK' FIELD company.
SET PARAMETER ID 'VKO' FIELD ORG.
SET PARAMETER ID 'WRK' FIELD PLANT.
3. After this I will get the sceen 200.Now how do I skip this screen and directly take each record from
my internal table into the internal table of T'oce "T1" and proceed the checks and save the data to
data base?
Do giude.
‎2009 Mar 22 12:48 PM
Hi sudha,
for resolving your problem you have to write BDC program.
Do recording for for your transaction and capture ok_code, fields and screen information.
*here you have to pass values for required fields of your transaction
*collect data into BDCDATA table
loop at <itab> assigning <wa>
*--here your have to update your internal table records one by one
calll transaction 'T1' using USING BDCDATA MODE 'N'
MESSAGES INTO ITAB.
endloop.
Regards,
Peranandam
‎2009 Mar 22 1:42 PM
Try to add a code on the PBO of screen 200 that will check if the internal table that holds your bulk data is initial. If it is initila, then proceed to the normal transaction wherein the user inputs the data. on the other hand, if the internal table is not initial(has a content), then add a code that will loop through that intenal table and copy all its record to the internal table of your screen 200.
‎2009 Mar 22 2:01 PM
Hi Sudha,
1) I understood that you are using some other program to upload the data from file to your T1 transaction.
If so... then develop a BDC program to pass the data to first screen and second screen. Do you have table control in screen 200, if so develop the code to pass the data to table control. Do you want to do the BDC in All screen mode? If not you 'N'.