04-11-2006 10:41 AM
Hi..
I have created an BC Set and tried updating it through an BDC. but it returns no error and not getting updated in the view.. in which it is suppossed to get updated.
Can any one help me
Thanks & Regards
Guhapriyan Subrahmanyam
04-11-2006 10:43 AM
Hi ,
HOw do you know that the BDC is not returning any error?
What method are your following to update? Call transaction/session?
If session, are you processing the session after it is created?
Check your messages after the call transaction if you are using call transaction.
REgards,
Ravi
04-11-2006 10:43 AM
Hi ,
HOw do you know that the BDC is not returning any error?
What method are your following to update? Call transaction/session?
If session, are you processing the session after it is created?
Check your messages after the call transaction if you are using call transaction.
REgards,
Ravi
04-11-2006 10:48 AM
I am using Call Transaction method.. i checked the View in which it is supposed to update the record.. it is not updating it..
and.. later i found that.. if i do the updation manually in the BC Set.. the Status message is triggered.. but if i run the same bc set using the BDC. this message is not getting triggerred and it is also not updating in the table/view.
Thanks IN Advance
Guhapriyan Subrahmanyam
04-11-2006 10:55 AM
Hi,
As you are using call transaction method,
use the into messages otion.
This would return all the messages that are encountered in the transaction.
YOu can format the messages in the messages table using Format_messages FM. and display the messages.
This would tell you what exactly is the problem.
call transaction <tcode> using it_bdc messages into it_msg
mode 'N'
update 'S'.
loop at it_msg.
call function 'FORMAT_MESSAGE'....importing
msgnr....etc..exporting lv_msg..
write: lv_msg.
endloop.
REgards,
Ravi
04-11-2006 11:00 AM
Change mode 'N' to 'A' . And then check what problem is occuring.
regards
vinod
04-11-2006 11:06 AM
Hi all
Thank you very much.. i hope you are not getting my problem.
In the BDC i have kept the mode selection in the selection screen and checked the entire flow.. in the fore ground through the BDC.
In BDC the BC Set is getting updated. without any error.. and if there is any error.. it triggerring the error message..
but.. the problem here is with the BC Set. it is not getting updated when the updation is done through the BDC.
Is there Any one well versed in BC Set.. can you please help me.
Thanks In Advance
Guhapriyan Subrahmanyam