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

Background Mode

Former Member
0 Likes
1,684

Hi all,

I would like to know how can I find which program is being used when I click on button Background in transaction VL10A.

I tried to debug but i was not able to find.

Thanks a lot for your help.

Best regards

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,577

to check the program run in background.

SM37 - goto the job, give your ID it will show all jobs executed in ur ID

select the job and goto STEP on application tool bar

u can see program and variant used here

*reward if solved*

15 REPLIES 15
Read only

Former Member
0 Likes
1,577

Program: RVV50R10C

Regards

Nishant

Read only

Former Member
0 Likes
1,578

to check the program run in background.

SM37 - goto the job, give your ID it will show all jobs executed in ur ID

select the job and goto STEP on application tool bar

u can see program and variant used here

*reward if solved*

Read only

0 Likes
1,577

Hi,

In transaction SM37 i cant find any job with my user ID..

That's why i have this doubt..

Thanks

Read only

0 Likes
1,577

Hi,

Have you selected all the checkboxes in SM37 and given the proper date range?

Regards,

Atish

Read only

0 Likes
1,577

Yes, I checked all the boxes...

Best regards

Read only

0 Likes
1,577

Have you made the job run as immediate or given some date in the future while setting it as background job.

Read only

0 Likes
1,577

I made by using the button 'Background' in transaction VL10A.

Thanks for your help

Best regards

Read only

0 Likes
1,577

I am not in front of the system so can't look into the transaction.

Regards,

Atish

Read only

0 Likes
1,577

Hi,

Can anyone please help me? I can't find a way to understand what is happening when we click on button 'Background' in transaction VL10A... I need to implement some modifications in that phase.

I already debugged but I was not able to understand what is happening and which program is being called.

Thanks a lot

Best regards

Read only

0 Likes
1,577

Hi,

I debugged and found out the issue.

The problem is in nomenclature. When it say's background it doesn't mean as a job. It means using ABAP FM's without user interaction.

You can appreciate this by understanding that there are two options: DIALOG and BACKGROUND.

When you choose DIALOG you go to transaction and enter/modify and save changes whereas in BACKGROUND it happens automatically using FM's.

That is the reason there is no job since no job is created in the first place !

Hope this helps in understanding.

Regards

Nishant

Read only

0 Likes
1,577

Hi Nishant,

Thanks for your answer.

But if it goes to Function Modules why I am not able to debug all of them? I need to modify some things. (I copied the standard transaction to a new one Z*) But using debug I am not getting the programs names.

Thanks

Best regards

Read only

0 Likes
1,577

Hi,

This is standard SAP program and it involves lot of dynamic calls.

It would be very difficult to find out all the FM's firstly and even if you did find out you would not be able to manipulate the data since after it enters one dynamic call it executes all standard SAP code.

So the purpose of creating the Z transaction/program is defeated.

Better would be write your exact requirement and maybe people here can help you in designing a suitable program as per your requirement.

That would be a much simpler approach and a better one too.

Cheers

Nishant

Read only

0 Likes
1,577

Hi Nishant,

I understand your point. The requirement is to add Delivery Type to the select-options in transaction VL10A. I copied the transaction to a new one and I managed to make this working in Dialog Mode, but not in Background Mode. So at this moment I have everything working ok but only in Dialog Mode. I will try to investigate a bit more about this.

Thanks a lot.

Best regards

Read only

0 Likes
1,577

So,

from this point forward, what you can do is write a custom code for 'BACKGROUND' and in that you can execute your ABAP code.

BTW one suggestion is delivery is what you want to create, why not try BAPI's?

You can search for them in se37 by giving 'BAPIDELIVERY'. I am sure this should give you some idea.

Cheers

Nishant

Read only

0 Likes
1,577

Thanks!

I will do that.

Best regards