2007 Feb 16 11:00 AM
Hi,
I want to know that what's the use of recording in bdc?
i am working on transaction me23n.
plz help.
2007 Feb 16 11:02 AM
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
2007 Feb 16 11:01 AM
2007 Feb 16 11:02 AM
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
2007 Feb 16 11:02 AM
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
2007 Feb 16 11:04 AM
Hi
Thru recording you can get the program automatically which contains the required fields and their screens.
Regards,
kumar
2007 Feb 16 11:05 AM
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
2007 Feb 16 11:37 AM
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.
2007 Feb 16 11:42 AM
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
2007 Feb 16 11:44 AM
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