2009 Jul 13 7:29 AM
Hi ALL
I am trying to generate a BDC programm for transaction VK12 'Change Condition Record'
Data is not updated or modified while the program is executed. I have tried both Call Transaction
and Session method.
Can anyone tell me hw to do it?
whether it is possible to update a table data using BDC??
2009 Jul 13 7:35 AM
Problem must be with your BDc recording. Otherwise its not possible that data is not going to update.
Do it manually first using Vk12 for one condition record and then record again BDC for VK12.
Check the record you have changed through BDC, whether values have been changed or not.
Hope this process will give you the mistake you are doing.
Regds,
Anil
Hi ALL
I am trying to generate a BDC programm for transaction VK12 'Change Condition Record'
Data is not updated or modified while the program is executed. I have tried both Call Transaction
and Session method.
Can anyone tell me hw to do it?
whether it is possible to update a table data using BDC??
2009 Jul 13 7:34 AM
Hi,
What error do you get in session method?
Is the session processed successfully?
Regards,
Ankur Parab
2009 Jul 13 7:43 AM
In session method i am not getting any error
. session is processed sucesfully.
but data is not update...I tried to do it with call transaction then.
In that there is the same problem.
my program is executing sucessfully but data is not updated.
2009 Jul 13 7:35 AM
Problem must be with your BDc recording. Otherwise its not possible that data is not going to update.
Do it manually first using Vk12 for one condition record and then record again BDC for VK12.
Check the record you have changed through BDC, whether values have been changed or not.
Hope this process will give you the mistake you are doing.
Regds,
Anil
2009 Jul 13 7:37 AM
Hi,
Yes it is possible to update tables through BDC. For eg. using VK12, you should be able to update the related table of VK12.
Try changing the MODE in CALL TRANSACTION as follows :-
CALL TRANSACTION 'SE24' USING bdcdata_tab MODE 'A'.Google for text 'Sample SAP BDC program' & you will get some very good examples.
Thanks,
Best regards,
Prashant
2009 Jul 13 7:45 AM
Hi,
I hope you have added
COMMIT WORK AND WAIT.if this doesnt work, then
COMMIT WORK AND WAIT.
WAIT UPTO 2 seconds.Thanks,
Best regards,
Prashant
2009 Jul 13 7:47 AM
2009 Jul 13 7:48 AM
CALL TRANSACTION 'SE24' USING bdcdata_tab MODE 'A'.
COMMIT WORK AND WAIT.
WAIT UPTO 2 seconds.
2009 Jul 13 8:28 AM
2009 Jul 13 8:35 AM
Yes data modification is possible.
You dont require Commit Work after BDC. Since you are posting through a transaction.
Whosoever suggests you, please ask them how many times have they done an explicit Commit Work after VK12 or any other transaction.
Run your BDC in 'A' mode and see if your changes are getting reflected or not.
Revert if u need any inputs.
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |