Background job to create/update vendors.
Hello,
We need to create/update vendor records for travel expenses reimbursement. So far we try to create it as background scheduled job for transaction PRAA, but in fact PRAA transaction only creates batch input session and donu2019t process it. In fact we end up with out updates for vendors.
Usual manual routine is:
Call PRAA to create batch input session for create/update vendor records from HR Master data.
Call SM35 to process creates batch input session.
We would like to avoid this manual routine and run it on background as scheduled job. Is it possible? How it possible to combine this 2 processes?
BR, Maija
the process can only be run in a two step process.
You could have a BASIS program that automatically processed all sessions in SM35 with a certain Batch name, this will remove the manual step, however someone will still need to monitor it, as there may be errors.
Similar Messages
-
Creating / updating vendor master from CREMAS03
Hi All,
I am getting vendor master data from external system and SAP XI will convert this into Idoc of message type CREMAS03. I would like to create/update vendor master in R/3 system from Idoc CREMAS03. Which function module / BAPI will cater to this need.
Thanks and best regards
KalingeriHi
Check in WE57 using the Message type & Idoc type & direction.
IDOC_INPUT_CREDITOR & IDOC_INPUT_CREDITOR_MDM are the the two Func modules being used. You can use any one of them based on your reuirement
Thanks & Regards
Kishore -
BAPI/function module to create/update vendor master data
Hi
We are on ECC 50 and have a need to update vendor master data through a programatic interface ( non-dialog ) with ABAP. What is a good function module that can be used to create/update vendor master data - I looked at BAPI_VENDOR_CREATE and did not find any input interfaces that can be passed to this BAPI.
Previous experiences with the right BAPI for this purpose that can be shared is appreciated. <REMOVED BY MODERATOR>
Edited by: Alvaro Tejada Galindo on Feb 26, 2008 5:58 PMHi Kiran,
If you want to load the vendor data into sap its better to go with LSMW batch input program.
object 0040
method 0001
program name RFBIKR00
Program type B
this would be a good choice. Recently i did the same. -
Configuration for creat auto background job to create outbound delivery
Dear Experts,
Kindly let me know where and how can I configure auto background job for creating outbound delivery, TO and Print picking list
Thanks in advance
Shetty< Job for delivery creation:>
1. you can run tcode vl10batch to schedule a job with your own variant.
2. alternatively, you can directly schedule a job in SM36 -> program RVV50R10C, variant
When define variant for background delivery creation, please make sure:
- "Select rule" must be set to '2'.
- "F code profile" should be '5001' (Fcodes GET, PREPARE, SAMD should be included.)
<Job for TO creation>
1. Run tcode VL06p with your own varinat -> click button "create TO in background"
2. Alternatively, you can directly define a job in SM36. -> program name WS_MONITOR_OUTB_DEL_PICK.
<Job for printing pick list>
1. run tcode VL70 with your own variant -> goto menu bar / program / execute in background -> then a job is created.
2. Alternatively, you can schedule a job in SM36 -> program SD70AV4A. -
Hi.
We create sales orders via EDI. When certain sales orders are created, we execute user exists on the Sales Order save. During the User Exit, we submit/create (job_open_adk function, the submit command, and the job_close_adk function) a background job.
The background, is created and executed successfully, but we get 2
short dumps everytime.
The short dump is:
DYNPRO_SEND_IN_BACKGROUND
The description is:
Screen output without connection to user.
The short dump is for the user WF-BATCH.
I've used DEBUG and the shortdump occurs on the submit command.
submit zsd
to sap-spool
destination 'null'
immediately ''
keep in spool 'X'
without spool dynpro
and return
user l_user via job tbtcjob-jobname
number tbtcjob-jobcount
with p_vbeln = l_order
with p_ebeln = l_po
with p_uname = l_user.
Nothing should be displayed on the screen.
I used 'without spool dynpro' to prevent the 'Print Screen List' window
from appearing.
I've put this code into a TEST program. I ran the test program
myself. (under my ID) The program run perfectly. No
shortdump.
Similar code is used in other programs and it works perfectly - no shortdumps.
The short dump occurs when we use ALE/EDI to create a sales order.
The short dump has the ID WF-BATCH on it.
I'm guessing the problem is with the WF-BATCH ID. Are printer setting
missing on a Work Flow ID?
Any ideas why the 'without spool dynpro' parameter doesn't work for the
WF-BATCH ID?
I've tried searching OSS and I looked at the on-line help/documentation
on Submit. I saw a recommentation to use the
fuction 'GET_PRINT_PARAMETERS' to set all of the print parameters. I
tried this, but still got the short dumps.
Any suggestion on how I can run the Submit command and not get a short dump?
thanks,
MichelleHi,
Try this notes:
0100915 RSBDCREO: System hangs or parameters not effective
0377038 HR-CA-ALE: DYNPRO_SEND_IN_BACKGROUND for HR doc. d
0105165 Dump "DYNPRO_SEND_IN_BACKGROUND" in prog.SAPMSSY0
0169303 Warning messages displayed for settlement mass pro
0428489 VL10: Dump 'DYNPRO_SEND_IN_BACKGROUND' with backgr
[[http://forums.sdn.sap.com/thread.jspa?threadID=14875|http://forums.sdn.sap.com/thread.jspa?threadID=14875]]
Regards
HM -
BAPI for create/Update Vendor Partner functions (XK02)
Hi,
We have a requirement where in we need to update the partner functions of a vendor (table WYT3), transaction XK02. Is there any BAPI to do so?
Regards,
Vinod NagreHi
Can you help me, how is possible update vendor data using net. connector with RFC function (or some another way to update vendors data from 3th party program). Up to now I read only data from LFA1 using net. connector (using RFC function RFC_READ_TABLE) and now I need update vendor data (e.g. NAME1, NAME2, ADRNR etc. from LFA1)
Our SAP system contains very much duplicate record (many LIFNR has the same STCD2, STCEG etc. but different NAME1 who contains typist's error or something like this. 6000 vendors has 1700 duplicates and incomplete record). Our Administrator don't know how set up SAP so that impossible create duplicite vendors! Because our system SAP contains very, very, very much elementary error, this system is not helpfull for our company.
Thank you -
Inbound IDoc creating background job even for trigger immediately setup
All,
I have a very serious problem in our production system.
Scenario:
Vendor is chagend in system A (Outbound) and the same is interfaced to System B (Inbound) and i am using trigger immediately option, but still I am seeing a background job is created for 'RBDAPP01' and creating the spool request. The issue is I am sending 1000 of idocs and the spool number is increasing daily in system B.
So, can any one explain me why the background job is getting triggered even though I set the partner profile settings as 'Trigger Immediately'.
The above issue is not happening in our quality system it simply updagtes vendor information in system B with out creating any background job. Please note that the same settings are maintained in both the systems.
Your immediate inputs are really valuable for me.
Regards,
SumanThis is an performance issue on the receiving system. In case the system does not have enough resources to process the IDoc immediately it will always schedule a background job to ensure the processing of data.
You need to check whether the system has enough work processes available during the time when 1000 of IDocs are received or send the IDocs in packages with some time in between.
Regards,
Kai -
A background job creating/instantiating another background job
Hi,
Is there any possibility in SAP, that, a background job can create/instantiate another background job ?
I have one suce requirement, and not sure if this is possible. Any inputs..
-DKyes you can
when you create a job using SM36,there is a option for start condition
in that there is an option for After Job
just give the job name and when that job completes,this job will trigger off
http://help.sap.com/saphelp_nw04/helpdata/EN/c4/3a7fae505211d189550000e829fbbd/frameset.htm
Rohit -
Delete Spools created by one background job
Hi ,
I have a background job which runs every now and then and it creates spools. My requirement is to delete all spools created by this one job only in regular intervals via another program.
Regards,
Arun.Hi J@Y,
the spools that my background job is creating should stay in the system for a while for users to go and see it. After a specific interval, say every 30 minutes, i want all the spools created by that one job till that time to be deleted
regards,
Arun. -
Set background job - create dn automatically
hi
Pls advice how to set background job to create DN automatically
thanksHow you are saying that no Deliveries were created ?
First of all make sure that they are sales orders due for delivery data on the day you are creating.
-> Run VF04 in foreground with the variant that you used in Background and check whether there is any orders due for delivery or not?
Make sure you have proper data.
Hope you should get it.
Regards,
Ajai. -
Mail sent thru background job doesnt have all pages in attachment
Hi Experts,
We developed a program where the output is triggered by calling a smart form. We schedule a background job and we updated the mail address in Spool list recipent. After succesfull execution of job we checked the spool it is around 30 pages but the attachement in the mail has only 3 pages. we are not sure where the exact problem is. Can any one help us in this regard so that we can able to check and fix this issue. Thanks.Hi
To check whether mail is generated you can create dynamic break-point with SAAB transaction.
Using this transaction you create a memory area for your jobs where you can load any data value of your report..
Probably something goes wrong with COMMIT of Mail Function module system.
Hope to help.. -
Automatic Mail not getting generated through background job
Hi Experts,
We have set up a job variant with spool recipients. We are getting the automatic mail if the job is getting finished successfully. But we are not getting the automatic mail if the job is in cancelled status. Earlier we used to get the mail even if the job is in cancelled status. We are not sure if there is any setting which would restrict the automatic mail based on the job status.
Appreciate your help in this regard.
Thanks and Regards,
Ranjani.Hi,
Just for a work around, try checking the SAP user inbox for the user who has scheduled the background job.
I don't there is any seperate configuration in Spool List Recipient for the canceled jobs. We need to confirm that the email ids provided in the Spool List recipient are correct and the background job creates a spool request even if it is canceled.
Also if possible try deleting the existing background job and create a new background job with the same parameters and valid email id's maintained in the Spool List recipient.
OR
Without deleting the existing background job, parallely create a new background job with the same parameters and valid email id's maintained in the Spool List recipient. If it works then delete the old background job.
Thanks
Harish -
Background job not automatically poopulating Dependant Demand
Hi Users,
We've recently set up a POS & PA using the DP-BOM selection and characteristics, manually created PPM's and generated CVC's using the BOMS. All of this is set up fine in our SCM 7.0.
The background job has created the forecasts for the ouptput products but NOT the input product.
Now if I call up the parent material, and then choose to show the input products the dependant demand is generated. If I now return to the material with the dependant demand, it now shows the demand from the parent.
Or, if the forecast is genereated interactively, then the dependant demand is poopulated.
Is there an automated method to populate the dependant demand when using background jobs? I would like to think that we don't have to query every sales BOM parent in DP and drill into the input products to load the dependant demand?
Please let me know if there is an easier way to do this as part of the background processing.
Thanks
Edited by: Paul_111 on Mar 31, 2011 4:20 PMHi Andand,
Thanks for your reply and sorry if my post is confusing.
As far as the PPM with imputs A & B, output C - I have this relationship working and calcuclating demand in DP no problems.
If I now add a new PPM combination inpput X, Y and output Z. Create the BOM CVC and TSO so its all set to go. Add to selection profiles and background jobs.
Now, if I run the background job to create the forecast and this runs successfully. Now I check my products.
Z has the forecast generated, X & Z have no dependant demand showing.
The only way I've found that pushes the demand to X & Z is:
- open product Z in demand planning and then choose the option to show input products from the header
OR - from demand planning, select the univariate forecast to run interactively.
My issue:
The background job (if run alone) does not push the forecast on Z to X & Y.
And if I show the input products or create forecast (as bove) the dependat demand is shown on X & Y.
This is going to be a slow process if we have to do this everytime we run the backgound job.
What am I missing when running the background job? -
How to debug the background job in ABAP
Hi Guys,
Can anyone let me know how to debug the background job in ABAP.
Thanks in advance
peterHi,
Goto SM37 and see the log if any is there and based on that you can check the code.
you can't debug background job.
Create a Variant for the Program and
Schedule JOB in background:
Go to SM36 create a Job
enter Program and Variant for that program in STEP..
click on Start Condition
Click on DATE and TIME enter date scheduled Start and END times
click on Period Values
Click on HOURLY/WEEKLY etc
CLick on RESTRICTIONS also to use further criteria.
so your job will be scheduled and run as per your requirement.
and in SM37 Transaction check the status of that JOB
Check this link for scheduling jobs..
http://help.sap.com/saphelp_nw2004s/helpdata/en/c4/3a7f87505211d189550000e829fbbd/content.htm
Check this
http://jplamontre.free.fr/SAP/Debug%20background%20process.htm
https://www.sdn.sap.com/irj/sdn/wiki?path=/display/abap/abap+debugger&
Regards,
Padmam. -
Spool file of a background job
Hello Friends,
In an SAP system, there is a background job which creates a spool file.
If there is no printer configuration done on the SAP server, how to find the location of this file in the filesystem?
Thanks & Regards,
Kunal Patel.Hi,
Thanks for your reply.
I was able to locate the file in the filesystem.
Actually I changed a setting in the printer LOCL so that the spool is stored in Global directory.
But now there is a new problem.
The spool file in the filesystem is in a very different format as below:
Could you let me know how to change the format of the spool?
Command executed: more : /usr/sap/DHS/SYS/global/100SPOOL/00010000026674 :
Target host: unix0006
COL0N COL0H05.03.2008
4 4 4 9 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4
4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4
5
5 5Lene
5 5Gitte
5 5Orla Bech
5 5Janni 5We
4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 3 - P COL0N COL0H05.03.2008
4 4 4 4 4 4 4 4 4 4 4 4 4 4 9 4 4 4 4 4 4 4 4 9 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 9 4 4 4 4 4 4 4 4 4 4 9 4 4 4 4 4 4 4 4 4 4 4 4
4 4 4 4 4 4 9 4 4 4 4 4 4 4 4 9 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 9 4 4 4 4 4 4 4 4 4 4 9 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4
5 ú 5
5 ú 5
5 ú 5
Rgds,
Kunal.
Maybe you are looking for
-
ITunes wont recognise any of my devices
Whenever i plug my iPhone 4s or iPad2 into the USB and connect it to my iMAc, the iMac won't recognise it. Nothing at all happens - it will only charge. Usually iTunes or iPhoto will open up and recognise my device, but not now. I am running the late
-
Configuring tomcat and apache on the same system
i need to configure tomcat and apache on the same system. first i have configured apache and it is working well. Next is have configured tomcat and it is working well. i need to interlink tomcat and apache. so i downloaded jk connector and i have con
-
Why are my meeting invitations not showing up in iCal?
I get invitations as .ics attachments but they neither get automatically inserted in iCal, offer me the opportunity to accept or decline, nor allow me to drag them into the iCal app. What's wrong and what can I do about it? slockemd
-
No 3D chart anti-aliasing with 3D Grow effect on Mac Mini
Today I have just purchased a Mac mini for the main purpose of rendering Keynote animated 3D charts for a doco I'm editing. I am using Keynote '08 (4.0.3). As it turns out, anti-aliasing works on the 3D charts as long as there is no '3D Grow' effect
-
ASA 8.0 and Microsoft ISA (local user backup)
What is the command so that when the username + password cannot be found in the microsoft isa server, the pix will look at the local database? This command works in the router, but I cannot seem to find the equivlant for the pix. aaa authentication l