Job creation issue

hi all,
we have a requirement as follows:
we need to create a job2 which will trigger automatically on a daily basis after a job1 completes .Also,this job2 should take all the vendor numbers from lfa1 table that are updated daily ( job1 is updating vendors daily into lfa1)  and these vendors numbers should be used as a selection screen variant for running a program that job2 will trigger.
After this,email should be sent to users that thses vendors are processed or not processed by our job2.
Any pointers on how to design this requirement.
Thanks

Hi
You can easily find out the newly created vendors from LFA1 for the selection condition. Create Job1 with the first program to update the LFA1 table.
And then define your job2 for the next program to get the details of newly created vendors from LFA1. For this job, maintain the start condition with 'After Job option'. In that option mention name of Job1.
In the Job2 program write the code to send email.
Hope this is clear to you.
Thanks
Sourav

Similar Messages

  • A question about Job Creation

    Hi Expert,
    By JOB_OPEN, JOB_SUBMIT, JOB_CLOSE, we can schedule a job.
    When the first two FMs is executed, the job is still in 'scheduled' status. Only when the FM JOB_CLOSE is executed, the job will be in 'released' status.
    In my applicaiton, I need to check the job status. If the job is in 'scheduled' status, I think that the job creation is not successsful; Otherwise, the job creation is successful.
    But the issue is, if job is in 'scheduled' status, how can I know whether all three FMs is executed in the job creation or only JOB_OPEN and JOB_SUBMIT are executed while JOB_CLOSE still not starts?
    In the later case, the applicaiton should wait some time and check the job later.
    Thanks for your support
    Best Regards, Johnney.

    Hi,
    Suppose there two APIs.
    In API1, there are four steps:
    1. call FM JOB_OPEN
    2. call FM JOB_SUBMIT
    3. Save the Jobname and Jobcount in the DB
    4. CAll JOB_CLOSE
    in  API2, there are two steps:
    1. get the Jobname and Jobcount from the DB
    2. Call FM BP_JOBLIST_STATUS_GET to get the job status.
    API1 and API2 are executed asynchronically. Consider the following case:
    After STEP3 is executed(STEP4 has not yet been started), the API2 starts to run. Now the job status that API2 get is 'Scheduled'.
    This is not correct, because the job creation is still not finished. The API2 should wait some time and check later.
    So my question, is how API2 know that the job creation is not finished.
    Thanks & Best Regards, Johnney.

  • Session creation issues with DS3.2

    We are using BODS 3.2 for development. We are aware that a newer version of DS has been released quite a long time ago but due to some reasons we are still using DS 3.2.
    We are facing some session creation issues. We are using Teradata and Oracle as source and extracting\updating data using some SQLs in script tasks. SQLs are targeting huge amount of data. We executed a job and checked on the servers, sessions were created on the databases. Job kept on executing for long time and was not getting completed, there was no error also. After waiting so long, I checked on Database server and found that session was lost for these SQLs on Database servers. We are able to create a successful connection using Data Stores.
    Please suggest something, Why the sessions are not getting lost on the database servers?.
    Thanks & Regards,
    Gaurav Bansal

    ginger_11 wrote:
    Hi...I'm new to the forum.
    2 of the same phones in my household having similar issues since OS upgrade. 
    -Text automatically going to MMS when sending pics and the pics won't send.  1 phone freezes, the other acts like its sent but not sent-this phone won't load emailed pics either.
    -Keep getting notifications that passwords need updated for email accounts.
    -Facebook app won't load on 1 phone-tried deleting, pulling battery and re-installing.  Still getting "session re log-in required" but there is nowhere to load the log-in info under accounts. Getting the same message on the other phone but the app is still listed under accounts so am able to log in.
    -Both phones are randomly re-starting. Multiple times over past 3 days. 
    Any known issues like these?
    There must be some common factor why both phones are having the same problem.
    With the 10.2.1.537, the only problem I had was a few contacts merged and surnames were repeated.
    I haven't noticed any difference with the latest upgrade.
    Maybe a security wipe and restore contacts and email then one app at a time.

  • 10.6.7 - general pdf creation issues?

    I wondered whether anyone else had run into this issue after updating to 10.6.7 when using pdfs created by Preview - perhaps related to the pdf/font issue.
    If it is generally happening, then the 10.6.7 pdf-font issue has an even larger
    impact than previously described:
    1. Open a pdf document in Preview
    2. Select a region and save to clipboard
    3. Save as a new pdf file
    4. Then try importing it as a "Picture" into any of the new Office 2011 apps: Word, PPT, etc.
    This crashes my office 2011 apps (latest version, 14.02) But NOT any earlier version of Office (2008. etc.), which may not do as much pdf checking.
    Before the 10.6.7 upgrade (ie, 10.6.6), this never happened with Office 2011.
    Acrobat complains when opening the Preview-created pdfs about 'missing fonts', so I suspect some sort of pdf creation issue.
    Any fixes (besides the previously suggested one of downgrading to 10.6.6)
    If it's a real bug (not just local to my system), then it's a more far-reaching one than previously described.

    rcberwick wrote:
    So, 3 different Apple tech support people say they know this problem affects
    "multiple applications, including any that deal with pdf files" but that "no fix is
    currently in the works"
    That is wrong because it only involves OpenType Postscript fonts.
    The only solution offered so far is to "downgrade by doing Archive & Install" and
    then re-applying each Combo Upgrade, starting with 10.6.3 up to 10.6.6.
    You wouldn't have to do that either. That is the point of a Combo update. You only need to apply the one you want. It includes all of the previous updates.

  • We are looking for a software which converts SWF to MP4, we found many software which does the job but issue is file size is not optimize.  We found Adobe captivate 6 which gives optimum quality with good output but thing is we do not have batch process i

    Hi
    We are looking for a software which converts SWF to MP4, we found many software which does the job but issue is file size is not optimize.
      We found Adobe captivate 6 which gives optimum quality with good output but thing is we do not have batch process in captivate 6. so we request you to create a plugin or give a best option which have batch render quality and optimize in file size,

    Captivate is e-learning development software not a dedicated video convertor, you are better off trying something like Adobe Media Encoder or Super.

  • Job creation table

    Dear All,
    May i know what is the table to store a background job's master data? I mean the table which stored the job creation date, change date, change by, event.
    Please comment.

    Hi Friend,
       Check the following table:
           BTCUED
    Hope this helps you.
    Regards,
    Chandra Sekhar

  • Smbd(383) deny job-creation

    I am getting this error whenever I use Windows or Mac connect to my macbook air Lion
    I am getting this error.
    Aug 7 15:26:18 MBAir sandboxd[385] ([383]): smbd(383) deny job-creation
    It won't let me connect until I restart the file sharing in system preferences. It consistently doing it after a reboot and I have to restart the service everytime I restart my macbook air.
    Does anyone know what is this error?

    I have the same problem.
    I enable SMB file sharing on my mac mini 2011. When i access it from my windows 7 PC it works.
    But if i restart the mac mini i can't access SMB shares from windows until i restart the SMB file sharing in system preferences.
    No solution.
    Come on Apple !

  • PJM/ATO Job Creation

    Cannot successfully create a dj for an ATO item that has a project # referenced using the WICDOL module: AutoCreate Final Assembly Orders. Order is scheduled and booked. Status is Awaiting Job Creation. Run AutoCreate. Job completes with a warning. If the same item is ordered and scheduled without a project number I can create a WIP job with no difficulty. A TAR has been opened but the progress has been slow. Any thoughts would be greatly appreciated.

    Hi,
    Just try by giving task number, along with project number. Iam assuming that you are giving project number to all items in the SO i.e. Model, option class,option, etc.
    Reg
    Sreenivas Amisagadda

  • SQL job creation/modification/deletion auditing?

    I have a job 'pop-up' 3 days ago on one of our Servers and of course 'nobody' is coming forward and saying 'I did it'. Is there a way to determine who created the job after the fact?
    Going forward, is there a way to be notified via email when jobs are created/modified/deleted in SQL 2005 Enterprise? Trigger maybe? I'm not having much success searching the web on this.

    --Job creator / owner
    select a.name 
    as job_name ,b.name
    as job_owner from sysjobs a
    , sys.syslogins b
    where a.owner_sid
    = b.sid

    Trigger on sysjobs table
    create
    trigger trigg on msdb.dbo.sysjobs
    after
    insert ,
    update
    as
    EXEC msdb.dbo.sp_send_dbmail
    @profile_name
    = 'name_of_mail_profile',
    @recipients = '[email protected]',
    @body = 'New job creation alert',
    @subject = 'Automated Message'
    -- Who ran the job ?
    select a.name 
    as JOB_NAME , b.message
    from msdb.dbo.sysjobhistory b
    , msdb.dbo.sysjobs a
    where
    a.job_id=b.job_id
    and a.job_id
    = 'AD5AAF63-4C4D-496A-AAFB-98F981E69BC2'
    and b.step_name =
    '(Job outcome)'
    Thanks, Leks

  • Site Creation Issue.

    We had a user report a site creation issue with their site. They had been able to create sites with no problem up to this point. But now, when attempting to crate a site they get an error "User can't be found". But if they create a blank site
    I or a blank team workspace. The site creates without incident. Any idea? The permissions appear to be correct but they can't create anything but blank sites without receiving the error. Maybe check permissions to webparts and templates (Do you know where
    I could do that)? 

    Hi,
    Did you mean create site collections in the CA?
    Did the users have admin permission or other permission? You can use the admin account to check whether it works.
    To narrow down the issue, you can use other web application to check whether it works.
    Maybe the web application had been corrupted.
    You can also check the event log and ULS log to see if anything unexpected occurred.
    To check event log, click the Start button and type “Event Viewer” in the Search box.
    For SharePoint 2010, by default, ULS log is at
    C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\LOGS
    Thanks & Regards,
    Jason
    Jason Guo
    TechNet Community Support

  • Custom infotype creation issue

    Hi Experts,
    I have a requirement to create a custom infotype based on certain conditions. But there is a problem while saving data in the infotype. The infotype is populated from another infotype automatically through dynamic actions.
    But while saving the data for the first time it happens as per the requirements and data gets saved properly.
    But when the data is saved for the second time for the same pernr , the previous data is over written even though the new record starts with a different begin data.Also i have created the infotype with time constraint '1'.
    can you please let me know if i am missing anything while creating or is this a logic issue .? all the logic has been coded in the flow logic part of the screen.
    also if i dont save the data in the infotype it does not pop up any message like 'data not saved' which usually happens with every infotype. Please clarify me on this as well...
    Thanks,
    Raj Thilak.

    Hi,
    Check the logic how it is updating the custom infotype . I think it is nothing to do with creation of custom info type
    Regards
    Krishna

  • Intercompany PO Creation issue ??

    hii
    While doing Po i getting below error
    " Goods receipt date cannot be in the past "
    How to rectify this ?? and why its occuring ??
    Thanks

    Jürgen L. wrote:
    > compare the goods receipt date with the goods issue date in the delivery. I guess the delivery has a GI date bigger than the date that you use for GR.
    sorry, I thought you get this error when doing goods receipt, but just realized you said at PO creation.
    can you please give the message number,as I cannot find a message like written by you in my SAP.
    (all messages are stored in table T100)
    doubleclick the message or click the question mark next to the message

  • Customer sales return - excise inv creation issue

    Dear expert,
            We are testing the "Customer sales Return" scenario for one of our client. Our process is,
    1. Create sales return order (VA01) with ref or without reference
    2. Create return delivery (VL01N)
    3. Perform Post goods Receipt (VL02N)
    4. Create Credit Note (VF01) - Here in this case we are differ. We are creating the "Credit Note" with reference to return delivery not with ref to sales return order
                   Since we planned to create the credit note with reference to "Return delivery", we have defined the CIN related customizing as "Assign Billing Types to Delivery Types".
               Then we tried to create the excise Invoice using Transaction J1IIN. But we are getting the error message as
                                  Billing document 3134000001 does not exist
                                  Message no. 8I422
    Kindly give your suggestion to overcome this issue.
    Warm Regards,
    Nag

    Dear Experts,
             Thanks for your quick response.
    Yes, already we maintained the billing relevance field in item category maintained as "A" & Copy contorl in VTFL also. Due to this we can able to create the "credit Note" in Transaction VF01. But during excise Invoice creation only we are facing the above mentioned issue.
    Feedback for the response from SDL:-
                     Yes, we came to know that, for customer sales return process we need to raise a JV only not the excise invoice creation in J1IIN. But we are in the assumption that, this scenario is applicable of we are creating the "Credit Note" with reference to return sales order.
                 But in our case, we are creating the "Credit Note" with reference to "Return delivery". Since delivery is involved in the process we are in the assumption that we can able to create the excise invoice using J1IIN after maintaining the configuration in the "Assign Billing Types to Delivery Types" area.
    Please give your valuable feedback on this.
    Warm Regards,
    Nag

  • Company code creation issue

    Hi All,
    When I am creating company code I am getting an error as below.
    "you may not change the currency since documents exist with this currency"
    Above issue is coming while new co code creation or copying of existing co code also.
    Please advice on the above issue.
    Regards,
    Riyaz

    Hi,
    I hope you are creating new company code by copying from the exiting company code. If you copy one company code to another company code then you will get few pop- up message like do you want to use same chart of account or do you want to use same currecny like that. So may be you have selected different currecny. Sap has come up with country template for each country. So you can use country template to create the new company code.
    Thanks & Regards
    R.K

  • Web service proxy creation issue

    am facing an issue with the creation of web service proxy for an esb project that i have created based on oracle esb tutorial. In the web service proxy creation wizard, it is accepting the concrete URL for the wsdl in the first step however in the second step it is not showing any endpoint URL. Also the wizard does not allow to go beyond step 2 of the web service proxy creation. following is my wsdl to which the concrete wsdl url points to. What am i missing here. Please help
    following is my wsdl
    <?xml version= '1.0' encoding= 'UTF-8' ?>
    <definitions
    name="custinsoap_RS"
    targetNamespace="http://oracle.com/esb/namespaces/custdata"
    xmlns="http://schemas.xmlsoap.org/wsdl/"
    xmlns:tns="http://oracle.com/esb/namespaces/custdata"
    xmlns:inp1="http://xmlns.oracle.com/Esb/CustomerData"
    xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/">
    <types>
    <schema xmlns="http://www.w3.org/2001/XMLSchema" >
    <import namespace="http://xmlns.oracle.com/Esb/CustomerData" schemaLocation="public_html/LegacyCustomer.xsd" />
    </schema>
    </types>
    <message name="CustomerData_request">
    <part name="CustomerData" element="inp1:CustomerData"/>
    </message>
    <portType name="Readcustsoapdata_ppt">
    <operation name="Readcustsoapdata">
    <input message="tns:CustomerData_request"/>
    </operation>
    </portType>
    <binding name="readsoapbinding" type="tns:Readcustsoapdata_ppt">
    <soap:binding style="document"
    transport="http://schemas.xmlsoap.org/soap/http"/>
    <operation name="Readcustsoapdata">
    <soap:operation soapAction="http://oracle.com/esb/namespaces/custdata/Readcustsoapdata"/>
    <input>
    <soap:body use="literal" parts="CustomerData"/>
    </input>
    <output>
    <soap:body use="literal" parts=""/>
    </output>
    </operation>
    </binding>
    <service name="readcustdatasoapservice">
    <port name="soapport" binding="tns:readsoapbinding">
    <soap:address location="http://myhost.mycompany.com/esb/wsil/custdata/custinsoap_RS"/>
    </port>
    </service>
    </definitions>

    Hi,
    Are you accessing teh WSDl from a deployed service ? If yes, when providing the Web Service URL, did you extend the URL with ?WSDL ?
    Frank

Maybe you are looking for