Application Development 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: 

BDC for custom program

Former Member
0 Kudos

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.

8 REPLIES 8

Former Member
0 Kudos

Hi Anumolu,

Do you have any db manipulation? 'COMMIT WORK'?

then change to 'COMMIT WORK AND WAIT'.

regards,

Archer

0 Kudos

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.

ipravir
Active Contributor
0 Kudos

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.

Former Member
0 Kudos

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

ipravir
Active Contributor
0 Kudos

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.

Former Member
0 Kudos

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

ipravir
Active Contributor
0 Kudos

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,.

praveenboss
Participant
0 Kudos

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