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 problem

Former Member
0 Likes
912

Hi friends,

I am using tcode QA11/QA12 for usage descision.

I am using a follow up action i.e after the transaction is saved a function module is triggered .

In the manual mode its calling the function module , but when the same tcode is executed through BDC the follow up action (function module) is not called.

can anybody help me to identify the problem?

Thanks & Regards

Mangesh

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
815

In the configuration if you have chosen "After Update" then try chaging the FM to RFC enabled.

Warm Regards

Anup Varghese

7 REPLIES 7
Read only

Former Member
0 Likes
815

Hi ,

That function module might update the message protocol and will not give any effect to your program.

Let me know the name of function module that was called in your BDC program.

regards,

ram

Read only

Former Member
0 Likes
815

In QA11/QA12, the follow up function module will get called only in the foreground.

Read only

0 Likes
815

Hi Ramanibai,

do u mean that the follow up action will not be called when excuting transaction through BDC?

Thanks

Mangesh

Read only

Former Member
0 Likes
815

HI

GOOD

I CAN'T ABLE TO IDENTIFY WHERE YOUR PROBLEM IS , IF YOU CAN POST THE CODE THAT YOU ARE WORKING WITH I HOPE I CAN GIVE YOU SOME MORE IDEA.

THANKS

MRUTYUN

Read only

Former Member
0 Likes
815

HI All,

Thanks for the reply.

I m using customised version of this QFOA_UD_LONGTEXT_SENDING function module in which i m updating some entries in the Custom table.

this function module is attached to the follow up action.

This works fine when we are manually executing QA11/QA12.

but when excuted through BDC(call transaction) only the follow up action is not been called.

Thats the basic problem.

Thanks

Mangesh

Read only

0 Likes
815

Hi ,

if u r calling function module immediate after call transaction, if it not calling, write COMMIT work.

try like this

call transaction XXXXXX....

COMMIT WORK.

Call transaction 'XXXXXXX'

...

...

Read only

Former Member
0 Likes
816

In the configuration if you have chosen "After Update" then try chaging the FM to RFC enabled.

Warm Regards

Anup Varghese