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 in BDC while creating customer data(FD01)

Former Member
0 Likes
638

Hi Experts,

i am creating customer for FI module using FD01, with call transaction method, here my prob is, if i update mode A, then it is asking enter for every screen, but i use N mode, it is not creating,

so what i need to modify and where ...

Thanks,

sudha.

1 ACCEPTED SOLUTION
Read only

Shafiq_Rehman1
Active Contributor
0 Likes
540

Thats because you are skipping code for a screen, in A mode you do not notice and press ENTER, but in N mode the process gets stuck when it cannot find the code for a screen.

Run the program in A mode and find out where you are stucking, and put this code in your program at that spot:


PERFORM insert_bdc_data TABLES it_bdc_data USING:
                    'X'  'SAPLKACB'       '0002',
                    ' '  'BDC_OKCODE'     '=ENTE'. 

The code may be different for you, I just wanted to give you an idea what may be going wrong.

3 REPLIES 3
Read only

Former Member
0 Likes
540

just try to create using error screen mode E and check where exactly it is getting error..

since in error screen mode it stops at the screen where there is a error... if any error you can correct there.....

Regards

Kumar

Read only

sandip_panchal
Explorer
0 Likes
540

In debugging try to see all message.

In those message you have successful message saying "screen field is not input field."

Try to remove this message and you will have customer successfully created.

Read only

Shafiq_Rehman1
Active Contributor
0 Likes
541

Thats because you are skipping code for a screen, in A mode you do not notice and press ENTER, but in N mode the process gets stuck when it cannot find the code for a screen.

Run the program in A mode and find out where you are stucking, and put this code in your program at that spot:


PERFORM insert_bdc_data TABLES it_bdc_data USING:
                    'X'  'SAPLKACB'       '0002',
                    ' '  'BDC_OKCODE'     '=ENTE'. 

The code may be different for you, I just wanted to give you an idea what may be going wrong.