‎2007 Oct 31 8:05 AM
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
‎2007 Oct 31 8:24 AM
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*
‎2007 Oct 31 8:20 AM
‎2007 Oct 31 8:24 AM
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*
‎2007 Oct 31 8:32 AM
Hi,
In transaction SM37 i cant find any job with my user ID..
That's why i have this doubt..
Thanks
‎2007 Oct 31 8:34 AM
Hi,
Have you selected all the checkboxes in SM37 and given the proper date range?
Regards,
Atish
‎2007 Oct 31 8:36 AM
‎2007 Oct 31 8:38 AM
Have you made the job run as immediate or given some date in the future while setting it as background job.
‎2007 Oct 31 8:42 AM
I made by using the button 'Background' in transaction VL10A.
Thanks for your help
Best regards
‎2007 Oct 31 8:46 AM
I am not in front of the system so can't look into the transaction.
Regards,
Atish
‎2007 Oct 31 1:26 PM
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
‎2007 Oct 31 3:59 PM
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
‎2007 Oct 31 4:27 PM
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
‎2007 Oct 31 4:35 PM
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
‎2007 Oct 31 4:39 PM
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
‎2007 Oct 31 4:42 PM
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
‎2007 Oct 31 4:46 PM