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

BDC for AS01

Former Member
0 Likes
1,220

Hi All,

I am creating assets (by refernece option) thru BDC(as01) in this tcode there is an user exit code which auto populates a

custom field .

If I run manually as01 custom field gets populated correctly , if i run in bdc with 'N' mode custom field doesn't get populated.

Any one had similar situation?

Any help is appreciated.

Rhea.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,153

Try to debugg the back ground job.

Process to debug:

Put the below code in program. before your actual code

 
data H_x.
DO.
If H_x = 'X'.
Exit.
Endif.
ENDDO.

schedule the program in back ground and to SM50 and click on the your process and goto to program menu and then to debugging and make the value of the field H_X to X and then debug and see.

Thanks...

7 REPLIES 7
Read only

Former Member
0 Likes
1,153

Try running in 'E' or 'A' mode.

Read only

0 Likes
1,153

In 'A' mode it works fine.

In 'E' there are no error messages.

It will be a Background job so it should work in 'N' mode.

Rhea.

Read only

Former Member
0 Likes
1,153

check your user exit , is there any condition like not work for back ground...

Read only

0 Likes
1,153

Checked , there is no such check.

Read only

0 Likes
1,153

you can try with BAPI BAPI_FIXEDASSET_CREATE

Read only

0 Likes
1,153

hi,

what is the error u r getting ...

Regards

linganna

Read only

Former Member
0 Likes
1,154

Try to debugg the back ground job.

Process to debug:

Put the below code in program. before your actual code

 
data H_x.
DO.
If H_x = 'X'.
Exit.
Endif.
ENDDO.

schedule the program in back ground and to SM50 and click on the your process and goto to program menu and then to debugging and make the value of the field H_X to X and then debug and see.

Thanks...