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: 

bdc

Former Member
0 Kudos
132

Hi,

I want to know that what's the use of recording in bdc?

i am working on transaction me23n.

plz help.

1 ACCEPTED SOLUTION

Former Member
0 Kudos
105

Hi,

If you record using SHDB, it will take the fields in correct sequence and you can generate the Program from recording automatically. By doing small corrections you can use the same program to your requirement. It will save a lot of time of coding.

Regards,

Anji

8 REPLIES 8

Former Member
0 Kudos
105

You cannot run a BDC for enjoy transactions.

Former Member
0 Kudos
105

Hi Shreya,

The recording transaction SHDB allows you to generate the code for your Batch Data communication session.

This is so that you dont have to program each step yourself which can be quite tedious. After running the recording, you will get the button for "Create Program" on the application toolbar. That will (on clicking) generate a program with the BDC code which you can use in your program.

Regards,

Aditya

p.s. Avoid BDC for ME23N, lots of BAPIs to help with that

Former Member
0 Kudos
106

Hi,

If you record using SHDB, it will take the fields in correct sequence and you can generate the Program from recording automatically. By doing small corrections you can use the same program to your requirement. It will save a lot of time of coding.

Regards,

Anji

sreeramkumar_madisetty
Active Contributor
0 Kudos
105

Hi

Thru recording you can get the program automatically which contains the required fields and their screens.

Regards,

kumar

Former Member
0 Kudos
105

Hi Shreya,

Use ME_DISPLAY_PURCHASE_DOCUMENT to display the Purchase Order.

On second thought, your question seems to be WHY record a BDC on a "display transaction" , yeps , doesnt make sense and hence use the function module for that

Regards,

Aditya

0 Kudos
105

Hi Aditya,

It doesn't matters whether it makes sense or not...i 've been given a requirement n i have to go by that only. thanks for ur valuable answer.

Shreya.

Former Member
0 Kudos
105

Hi Shreya,

By using the Recording, we know the Screen No, Scren names, Field names in that screen and Ok Codes, even we can generate the sample program from the Recording. we can easily write the BDC code based on the Recording.

and Importent thing si, ME22N is a Enjoye transaction, so we can not write the BDC for that one, you can write the BDC for ME22 but not for ME22N, you need to use the BAPI for this one

USe the BAPI_PO_CREATE1

Regards

Sudheer

Former Member
0 Kudos
105

u can't use BDC for ME23N as it is an enjoy transaction....May be u can use BDC for ME23 or else use BAPI for ME23N which might be BAPI_PO_CREATE1