Application Development 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: 

How to capture folders in bdc recording?

Former Member
0 Kudos

Hi Experts,

I am creating a BDC program for synthetic profile header creation using EEDM07 (In change mode).

In the transaction there are two folders, weekdays and weekend days under a main folder days. Based on selection of the folders we add data for days profile. When we click on the folder a display sign appears. In the recording the OKAY_CODE for these folders changes every time e.g. its comes as %_GC 147 21 or %_GC 152 21 or %_GC 169 21 etc.

How to capture these folders while recording in SHDB?

Thanks.

5 REPLIES 5

Sandra_Rossi
Active Contributor
0 Kudos

Hi Zenith.Kumar,

you cannot make batch input interact with controls from control framework, see Note 311440 - batch input and controls

%GC_... correspond to actions inside the control

Workarounds can be :

1) Use function codes from the menu or application toolbar to achieve the same result (for example, with an ALV grid, when you want to perform an action on a part of the lines, click Filter, Select all, and your action, so that you don't click inside the control)

2) use a BAPI or other API (if exists)

3) use other transactions with classic display (if exists)

Often, there's no workaround

BR

Sandra

0 Kudos

Thanks Sandra.

I am not able to handle it using menu or application toolbar. BAPI is also not there to fulfill the requirement. What should I do in this case?

Thanks,

Kumar

0 Kudos

Hi Kumar,

as I said, then there's no workaround, except doing it manually (often, it costs less to employ 10 persons for 1 week to enter data manually, than developing a one-shot interface) or asking for SAP consulting.

I searched the internet for your transaction, and found one of your other threads, you should have mentioned it. Also you didn't answer if SAP GUI Scripting could work? (of course, you must run the program connected to SAP GUI).

Last thing, did you also look if there is an "import from file" function code? (and also "export" so that to understand how the file should be formatted)

BR

Sandra

0 Kudos

Hi Sandra,

Thanks for the reply.

I have tried with GUI Scripts and its working for folders selection.

I have created an ABAP program to generate a script for N numbers of records to be changed through EEDM07.

Thanks,

Kumar

0 Kudos

Hi Kumar,

That's great. And thank you for the feedback!

Sandra