‎2014 Dec 26 4:22 AM
I had written a BDC program for my custom module program.I need to generate a number for the uploaded data.I am getting the number if am putting breakpoint in the calling program.If i am not keeping any breakpoint it is not generating.
‎2014 Dec 26 5:32 AM
Hi Anumolu,
Do you have any db manipulation? 'COMMIT WORK'?
then change to 'COMMIT WORK AND WAIT'.
regards,
Archer
‎2014 Dec 26 6:53 AM
Hi Dengyong,
I am having data manipulation at program level i,e.. at custom program level.In program we inserted the data into database.After inserting i am getting a number.I exported it into memory id.And in program level i had imported.
‎2014 Dec 26 5:51 AM
Hi,
Have you display a Final Message, after generating a number.
If not, try to put a final success message to display the number.
And do the recording again with message. After complete the BDC process you will get the Generated number information in BDC message Table.
Regards.
Praveer.
‎2014 Dec 26 7:00 AM
Hi Praveen,
Yes i had displayed a final message when click button SAVE it generated a number as popup.As at program level they had exported the number using memory id. In my program i am importing the number.But tricky happening is when I put breakpoint in my calling program it is generating the number and otherwise it is not generating.
Regards.
Sridhar.A
‎2014 Dec 26 7:06 AM
Hi Anumolu,
Could you provide some more information,
1. When you are generating the Number and why using Popup.
2. Why are you using memory id.
3. And Final, it's a single process or inside you are calling other program also.
Regards.
Praveer.
‎2014 Dec 26 7:32 AM
Hi Praveen,
I am generating a unique po id for the given input values after pressing save button.
I am using memory id inorder to import the unique po id from program as it diaplying in popup.
Inside I am calling another program i,e.. my custom program that was created by using module pool.
Regards.
Sridhar.A
‎2014 Dec 26 7:39 AM
Hi Anumolu,
Means you are displaying the Unique ID in popup window?
When your process is getting complete and after press the ok button from the popup, display a information message and re-records the all process and try the ID is coming or not in BDC message table.
You have to use a message command to capture the Process Information.
Regards.
Praveer,.
‎2014 Dec 26 7:41 AM
HI Anumolu,
1) . Have You Used 'COMMIT WORK AND WAIT'.
2). Easy Way You Can Create Another Number Range Object That Object
You Can Use In Your custom module program .
Thanks .
PRAVEEN