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 AS01

Former Member
0 Kudos
229

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

Former Member
0 Kudos
162

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

Former Member
0 Kudos
162

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

0 Kudos
162

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.

Former Member
0 Kudos
162

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

0 Kudos
162

Checked , there is no such check.

0 Kudos
162

you can try with BAPI BAPI_FIXEDASSET_CREATE

0 Kudos
162

hi,

what is the error u r getting ...

Regards

linganna

Former Member
0 Kudos
163

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