Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

BDC recording stops without an error

Former Member
0 Likes
1,501

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

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,190

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

7 REPLIES 7
Read only

Former Member
0 Likes
1,191

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

Read only

Former Member
0 Likes
1,190

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

Read only

Former Member
0 Likes
1,190

Hi,

In GD20 the Select Line Item screen is not a recordable screen. So this screen is not coming in recording....

Amitava

Read only

0 Likes
1,190

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

Read only

Former Member
0 Likes
1,190

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

Read only

0 Likes
1,190

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.

Read only

0 Likes
1,190

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.