2012 Jun 27 9:37 AM
Hi gurus,
I was just wondering if is there a way to automatically get the recording made for BDC processing via ABAP? Can I just use a function module or a simple select statement from a table? If so, what FM or table?
I'm refferring to this recording..
Thank you in advance.
Regards!
Mark
2012 Jun 27 10:12 AM
select the recording in SHDB and click on Program button. A program will be automatically generated.
2012 Jun 27 10:12 AM
select the recording in SHDB and click on Program button. A program will be automatically generated.
2012 Jun 27 10:27 AM
Hi Chinmay,
Thanks for the reply.
I'm actually trying to make a program that would get the recording based on the parameters needed (Like Recording name, Create By, etc). Which means that the recording would be acquired from a table or maybe function module and then place it in an iTab and not manually inserted.
Looking forward to hear from you soon.
2012 Jun 27 10:28 AM
Hi Chinmay,
Thanks for the reply.
I'm actually trying to make a program that would get the recording based on the parameters needed (Like Recording name, Create By, etc). Which means that the recording would be acquired from a table or maybe function module and then place it in an iTab and not manually inserted.
Looking forward to hear from you soon.
2012 Jun 27 10:57 AM
Try FM
BDC_RECORD_OPEN
BDC_OBJECT_READ
BDC_RECORD_GET
You will need to search more and read more about these function modules.
Put up a break point in them during SHDB and see how they work, and then try to replicate the working.
2012 Jun 27 12:44 PM
2012 Jun 27 12:53 PM
Great.
You can fetch QID and DATATYP from APQI table based on MANDANT and GROUPID.
You can pass both BDC_OBJECT_READ and receive the same in DYNPROTAB.
I have checked this and it worked in my system.
Thats interesting. Why do you have such requirement though? Have you heard of program RSBDCSUB? Are you trying to do something similar?
2012 Jun 27 1:02 PM
Hello Kulkarni,
I heard about RSBDCSUB.It is used to run the BDC program in background mode.
2012 Jun 27 1:05 PM
Oh right, sorry, the question was for Mark.
I didn't address, my bad.
2012 Jun 28 2:39 AM
Hi Chinmay,
Thank you for that reply. It was the one that I need and with that FM I'm able to get the recordings properly.
Regarding your question, I was trying to make a program that would cater to all types of upload. Currently I have done the direct upload into any custom table. Now, with this help, I'm updating the program to also cater any upload that will use BDC. After this I will try to update it to catter uploads that need BADI. Have nothing to do..that's why I thought of this crazy program.
2014 Aug 13 4:18 AM
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |