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

problem with ke51 bdc

Former Member
0 Likes
717

hello friends .

I am doing an bdc for ke51, my recording is all fine and so is the program according to the recording but I am getting one problem.

on the first screen where we put the profit center the previously loaded profit center is coming and then i am getting the error tat the profit center is already created.

what to do is this case , i am also trying to clear that screen field but its not helping. pls help its very urgent ....

hello friends .

I am doing an bdc for ke51, my recording is all fine and so is the program according to the recording but I am getting one problem.

on the first screen where we put the profit center the previously loaded profit center is coming and then i am getting the error tat the profit center is already created.

what to do is this case , i am also trying to clear that screen field but its not helping. pls help its very urgent ....

4 REPLIES 4
Read only

Former Member
0 Likes
662

Hi Amit,

Check the data whether it is passing the data to the fild PRCT_V-PRCTR or not. before assigning value. Clear PRCT_V-PRCTR once.

It may help.

Thanks

Chandra

Read only

0 Likes
662

yes i am alerady clearing that field but it is not helping

Read only

0 Likes
662

Hi Amit,

try with this code ( place your screen number and field values )

PERFORM BDC_DYNPRO USING 'programname' 'screen number'.

PERFORM BDC_FIELD USING 'BDC_OKCODE'

'/00'.

PERFORM BDC_FIELD USING 'PRCT_V-PRCTR '

SPACE.

PERFORM BDC_FIELD USING 'PRCT_V-PRCTR '

place ur value.

this will solve ur problem.

regards,

muralidhar.

Read only

0 Likes
662

I had already tried the above logic but it does not help..... anyways guys Thank U all for your help my problem is now solved. I just used the transaction KEMDM to upload the profit center and its working fine....