‎2009 Jul 03 12:07 PM
Hello,
I tried to record a BDC for transaction GD20, but after the first screen the recording stops, with the message "Recording complete. Transaction has been copied" (No. MS605).
I tried the same with GD13 and there I can fill the first and second screen automatically and get the result table, without any problems.
Does anyone know why this happens
Thanks in advance,
Marcel
‎2009 Jul 03 12:18 PM
Dear Marcel Winder,
I dont know why it happens but i can tell u that few transactions wont suffice us with BDC,so for such transactions we do bdc with similar kind of transactions.
ie., The transactions FB60 and f-63 both are meant for Parking.
But we cant do bdc for FB60 Parking. So we do bdc for f-63.
hope its clear.
Regards
Sajid
‎2009 Jul 03 12:18 PM
Dear Marcel Winder,
I dont know why it happens but i can tell u that few transactions wont suffice us with BDC,so for such transactions we do bdc with similar kind of transactions.
ie., The transactions FB60 and f-63 both are meant for Parking.
But we cant do bdc for FB60 Parking. So we do bdc for f-63.
hope its clear.
Regards
Sajid
‎2009 Jul 03 12:20 PM
Please stop your BDC in DEBUG Mode where your loop starts.
Check whether your file uploaded successfuly or not.
I am having doubt.
Regds,
Anil
‎2009 Jul 03 12:21 PM
Hi,
In GD20 the Select Line Item screen is not a recordable screen. So this screen is not coming in recording....
Amitava
‎2009 Jul 03 12:27 PM
Hello,
The target of this is, that I can show the S/L line items in a report, so it's only for display purpose that I can skip these screens.
Following the code I tried to use (the values will be filled via variables, now there are just for testing fix values)
So is there another way to show the line items for S/L?
perform bdc_dynpro using 'SAPLGD23' '0300'.
perform bdc_field using 'BDC_CURSOR' 'RGUD0-LEDGER'.
perform bdc_field using 'BDC_OKCODE' '=STAR'.
perform bdc_field using 'RGUD0-LEDGER' 'Z9'.
perform bdc_field using 'LIST-HS' 'X'.
perform bdc_field using 'COLWIDTH_CODE' 'X'.
perform bdc_dynpro using 'RGGD2300' '1017'.
perform bdc_field using 'BDC_CURSOR' 'F1017010-LOW'.
perform bdc_field using 'BDC_OKCODE' '=ONLI'.
perform bdc_field using 'F1017001-LOW' '0'.
perform bdc_field using 'F1017003-LOW' '2009'.
perform bdc_field using 'F1017004-LOW' '1005'.
perform bdc_field using 'F1017005-LOW' '123456'.
perform bdc_field using 'F1017010-LOW' '2'.
call transaction 'GD20' using bdcdata mode 'E' update 'S'.Edited by: Marcel Winder on Jul 3, 2009 1:29 PM
‎2009 Jul 03 12:36 PM
just check it in the open mode you will find out the problem and remember should only pass text fields item type c ones not any other type and run the bdc in open mode you will see where and why it stopped
Nafran
‎2009 Jul 03 12:47 PM
Hello,
With open mode you mean "mode 'A'" at call transaction correct?
When I run with this, it shows me a popup with "OK-Code =STAR" so thats for the first screen and after this i come back to the code display of se38, because as Amitava mentioned this screen isn't recordable.
‎2009 Jul 03 12:52 PM
when you record a BDC if you can reprocess it that means we can record it i mean by just pressing the ok codes if it works we can code it. if its not possible on reprocess then you have to go for a BAPI to do the job.