Invoice creation in batch jobas are not in sequence

Hello ,
I schedule two batch job with diffrent variant at the same time. When invoices are created in batch job there numbers are not in sequence. If I check creation time then Invoice creation time of Invoice  number 2 is latter than invoice creation time of number5.
As per number range concept Invoice 2 should create before Invoice 5.
Why this is happening?
Regards
RDC

>
> Thanks for the soon reply but here my legacy system is File it is having the fields like INV details and country key and customer details these details i want to send it to Target Ecc system based on the country .
Use File Adapter in sender side to read the data from Legacy System ,if the legacy system data format not XML then use File content conversion in Sender comuniction channel to convert in to XML.
> for exp: If the country is Us then create the vendor invoice in the Ecc system , if the country is IND then check whether the existed customer in the ECC system or not if Existed then those details update into one more legacy system .
>
  You have to perfrom RFC Lookup in mapping level if the coiuntry is IND,anyway you are on PI7.11 so you can perform RFC llok to check the it is existed customer or not. search in sdn for RFC look up.
Finally use enhanced Receiver determination to determin receiver.
search in sdn you will get it hot to determine dthe receiver...everything..
the requirement not complex..
Regards,
Raj

Similar Messages

  • Spawn jobs are not getting priority and target servergiven at selection scn

    Hi Abapers,
    I am scheduling main program as a job in backend through FMs JOB_OPEN, JOB_SUBMIT and JOB_CLOSE with priority and target server taken from user at selection screen through SE38,after executing the job,job will generate the spawn jobs (i.e child jobs). The spawn jobs  also be scheduled with same priority and target server from taken user. But after completion of main job execution, the spawn jobs are not generating with same priority and target server taken from selection screen. May be its getting refreshed.
    Please give me an idea how the spawn jobs also have to get the same priority and server of main job?
    Please reply as soon as possible. I need it urgently.

    Hi,
    I have used below statements for ADD EXTRACT and ADD REPLICAT.
    ------Extract
    ADD EXTRACT ext_1, TRANLOG, BEGIN NOW
    -------Data Pump
    ADD EXTRACT pump_1, EXTTRAILSOURCE /app/ggs/trail/local_trail_1/ta, BEGIN NOW
    -------Replicat
    ADD REPLICAT rep_1, EXTTRAIL /app/ggs/trail/remote_trail_1/tb, BEGIN NOW, CHECKPOINTTABLE ogg.tarun_chk
    Yes, i have tried tutorial at Oracle Learning Library.
    Thanks
    Tarun
    Edited by: user8886876 on Feb 12, 2012 9:56 PM

  • MANUAL CREATION OF BATCH NUMBER(EXTERNALLY)    -   NOT TO BE ALLOWED

    MANUAL CREATION OF BATCH NUMBER(EXTERNALLY)   -  NOT TO BE ALLOWED while creation of Process Orders.

    Hi,
    Check t code OMCZ whether internal Batch no assignment is active or not.
    From F1 help
    In this step:
    you activate internal batch number assignment
    you define whether internal batch number assignment is allowed for goods receipts that have an account assignment
    Standard settings
    The standard version of the SAP system contains a predefined number range.
    Further notes
    Batch number assignment uses two function model exits with which you can define templates for batch numbers. You make the necessary settings in work step function module exits for internal batch number assignment.
    The system checks whether the assigned batch number already exists in the system. Should the number already exist, the function is terminated.
    When creating a client by copying another client, please note that internal number assignment is not active in the target client. You must activate it manually.
    Regards
    Anupam Sharma

  • Scheduled jobs are not running DPM 2012 R2

    Hi,
    Recently upgraded my dpm 2012 sp1 to 2012 R2 and upgrade went well but i got 'Connection to the DPM service has been lost.(event id:917 and other event ids in the eventlog errors ike '999,997)'. Few dpm backups are success and most of the dpm backups consistenancy
    checks are failed.
    After investigating the log files and found two SQL server services running in the dpm 2012 r2 server those are 'sql server 2010 & sql server 2012 'service. Then i stopped sql 2010 server service and started only sql server 2012 service using (.\MICROSOFT$DPM$Acct).
    Now 'dpm console issue has gone (event id:917) but new issue ocurred 'all the scheduled job are not running' but manully i can able to run all backup without any issues. i am getting below mentioned event log errors 
    Log Name:      Application
    Source:        SQLAgent$MSDPM2012
    Date:          7/20/2014 4:00:01 AM
    Event ID:      208
    Task Category: Job Engine
    Level:         Warning
    Keywords:      Classic
    User:          N/A
    Computer:      
    Description:
    SQL Server Scheduled Job '7531f5a5-96a9-4f75-97fe-4008ad3c70a8' (0xD873C2CCAF984A4BB6C18484169007A6) - Status: Failed - Invoked on: 2014-07-20 04:00:00 - Message: The job failed.  The Job was invoked by Schedule 443 (Schedule 1).  The last step to
    run was step 1 (Default JobStep).
     Description:
    Fault bucket , type 0
    Event Name: DPMException
    Response: Not available
    Cab Id: 0
    Problem signature:
    P1: TriggerJob
    P2: 4.2.1205.0
    P3: TriggerJob.exe
    P4: 4.2.1205.0
    P5: System.UnauthorizedAccessException
    P6: System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal
    P7: 33431035
    P8: 
    P9: 
    P10: 
    Log Name:      Application
    Source:        MSDPM
    Date:          7/20/2014 4:00:01 AM
    Event ID:      976
    Task Category: None
    Level:         Error
    Keywords:      Classic
    User:          N/A
    Computer:      
    Description:
    The description for Event ID 976 from source MSDPM cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer.
    If the event originated on another computer, the display information had to be saved with the event.
    The following information was included with the event: 
    The DPM job failed because it could not contact the DPM engine.
    Problem Details:
    <JobTriggerFailed><__System><ID>9</ID><Seq>0</Seq><TimeCreated>7/20/2014 8:00:01 AM</TimeCreated><Source>TriggerJob.cs</Source><Line>76</Line><HasError>True</HasError></__System><Tags><JobSchedule
    /></Tags></JobTriggerFailed>
    the message resource is present but the message is not found in the string/message table
    plz help me to resolve this error.
    jacob

    Hi,
    i would try to reinstall DPM
    Backup DB
    uninstall DPM
    Install DPM same Version like before
    restore DPM DB
    run dpmsync.exe -sync
    finished
    Seidl Michael | http://www.techguy.at |
    twitter.com/techguyat | facebook.com/techguyat

  • Job are not getting Triggered

    Hi All,
    I Have encountered an Issue with JOB not getting Triggered in BI system .
    For Datasource 2LIS_04_P_ARBPL , I have created Infopackage , when I am going to schedule tab and running an Infopackage. Job is not getting trigger  . And it is going on Hold for a longer period.
    Data is in the source system and  I am unable to fetch data from source system .
    One more thing there was some upgration activity happened in the source system one day before.
    Could u please let us know , Is the reason behind could be upgration in source system  ?
    Please let me know what needs to be crosschecked and what could be the solution for this Issue.
    Looking for response .....
    Regards,
    Mahesh

    Hi ,
    In the Source system Data is fetching I mean through RSA3.
    Even I able to replicate the Datasource as well.
    Also in T-code : SM59 , when I am checking Source system Connection check , it is not poping any error.
    But When I am Checking through RSA1 - > Source System
    Source system connection by clicking CHECK Option  then it is poping an error "Check Failed for RFC Connection ; Check Destination ".
    Also In Source system T-code :SM50 I can see three BGD WP which are in waiting status.
    In T-code : BD87 I have checked I didnt find any IDOC's in Yellow colour .
    How do we need to check whether ALEREMOTE is active or not?
    Actually my Issue is Jobs are not getting trigger in BI . So what all things needs to be taken care apart from this.
    So Is there any thing to be taken care from Basis team for Restarting of BI Jobs after any kind of Upgration activity in general?
    Regards,
    Mahesh

  • Jobs are not disabled

    Hi All,
    I am trying to disabling the jobs but the jobs are not disabled.
    'Alter failed for job'    ' . The specified @job_id() doesn't exist. (Microsoft sqlserver error:14262)'.
    Sqlserver 2005 standard edition (sp2)
    windows server 2003 r2
    Please anyone suggest about this issue resolution.
    Thanks in Advance...

    Hello,
    Restart SQL Server Agent service and try again.
    If restarting SQL Server agent does not fix the issue, please read the following Microsoft Support article too:
    http://support.microsoft.com/kb/907739
    Hope this helps.
    Regards,
    Alberto Morillo
    SQLCoffee.com

  • Jobs are not released

    Hello Guys ,
    STandard jobs are not released .can u please tell me the reasond???

    Hi
    Is this a new system or a copied system? Generally this happens in a copied system since the default server group still has the source system information and hence jobs will not run. Goto Txn SM61 and look for Job group. In the default list, you should see your server instance name. If it is showing any other name, just delete the entry and add the current instance to the list.
    Hope it helps
    Javed
    Edited by: Javed Sapstar on Dec 27, 2010 9:41 AM

  • Jobs are not Runnig

    Hi Experts
    we are using Oracle 10g Database Release 2 on Server 2000 ,
    Since a Month Jobs are not Running,
    I Created the Jobs from Toad,
    for the last one and Half years the Jobs were Running Fine
    what could be the Cause for this Behaviour,
    my Jobs Status is in online Status only but not Getting Executed
    There is no Error i am finding ,
    i need to Run the Job Manually Executing Every time
    please Suggest
    many thanks

    Jobs are Runnig Prporperly running Manually,
    please Find the out put for the Below Query
    SQL>select job, schema_user, last_date, last_sec, next_date, last_date,last_sec, next_sec, total_time, broken, failures, what from dba_jobs
    JOB SCHEMA_USER LAST_DATE LAST_SEC NEXT_DATE LAST_DATE LAST_SEC NEXT_SEC TOTAL_TIME B FAILURES WHAT
    1 SYSMAN 07-JUNE-09 12:14:47 07-JUNE-09 07-JUNE-09 12:14:47 12:15:47 45084 N 0 EMD_MAINTENANCE.EXECUTE_EM_DBMS_JOB_PROCS();
    4001 FLOWS_030100 07-JUNE-09 04:53:44 07-JUNE-09 07-JUNE-09 04:53:44 12:53:44 706 N 0 wwv_flow_cache.purge_sessions(p_purge_sess_older_then_hrs => 24);
    4002 FLOWS_030100 07-JUNE-09 12:13:42 07-JUNE-09 07-JUNE-09 12:13:42 12:23:42 1661 N 0 wwv_flow_mail.push_queue(wwv_flow_platform.get_preference('SMTP_HOST_ADDRESS'),wwv_flow_platform.get_preference('SMTP_HOST_PORT'));
    121 user_dml 06-JUNE-09 16:07:42 07-JUNE-09 06-JUNE-09 16:07:42 16:07:42 111 N 0 doclib.do_alert_todos;
    122 user_dml 07-JUNE-09 12:12:42 07-JUNE-09 07-JUNE-09 12:12:42 12:27:42 1029 N 0 ctx_ddl.sync_index('doclib_docs_idx2', '2M');
    184 user_dml 07-JUNE-09 00:00:04 08-JUNE-09 07-JUNE-09 00:00:04 00:00:00 19852 N 0 user_dml.CREATE_STC_CIRCUIT_PATH_DAILY;
    201 user_dml 07-JUNE-09 00:00:04 08-JUNE-09 07-JUNE-09 00:00:04 00:00:00 92 N 0 user_dml.CREATE_STC_HELD_TX_REQUEST_DLY;
    521 FLOWS_030100 04-MAR-09 15:30:30 0 N wwv_flow_mail.push_queue;
    641 FLOWS_030100 13-JUN-09 12:21:35 0 N wwv_flow_mail.push_queue;
    681 FLOWS_030100 15-JUL-09 12:32:49 0 N wwv_flow_mail.push_queue;
    Thanks a lot

  • Scheduled Brio/IR Jobs are not running as expected in EPM 11.1.2.2

    Hi All,
    We are observing some scheduled jobs are not running as expected,they are not running on the scheduled time.
    Given below are more details.
    We have 2 Jobs running at 6:00 AM daily based on single Recurring Time Event and it is observed that this jobs are not running on time(ex: 6:06 AM EST).
    I tried verifying Consolidate Job Status in workspace admin options and the v8_RecurtimeEvent table for any miss in the 'Next Run Time',
    but they were having the scheduled date/time of run.No clue from EPM Logs.
    Interesting observation is the same jobs are running after updating the schedule time a little bit further(ex: 6:06 AM to 6:07 AM),but again after some days
    the updated job(6:07 AM ) will stop running.
    Thanks,

    Put the IR job logs in TRACE:32 mode which will give more information in the logs . Refer this document link to put in TRACE mode :http://docs.oracle.com/cd/E17236_01/epm.1112/epm_install_troubleshooting_1112200.pdf
    Thanks,
    KK

  • When jobs are not posting it show error?

    Hi All,
    We have requirement, when particular jobs are not posting(E-recruitment), it should give a warning message.
    Is it possible. If yes, Could you please advise.
    Regards
    BTM

    Hi,
    Please refer to http://scn.sap.com/thread/3453599.

  • Display alternate color in rows  : : : record numbers are not in sequence to display alternate color.

    Post Author: SRK
    CA Forum: General
    Hi ,
      I am using  the following formula to display the alternate white and silver  background color in every reocrd but this does not work because the records numbers are not in sequence  for ex : its showing 54,56,58 which is not allowing the alternate color, Any advice.Thanks if   remainder(recordnumber,2) =0 then    crNoColorelse    Color (218,218,218); 

    Post Author: keiffer6
    CA Forum: General
    Could you simply add a running total for each record. That will give you the 1 2 3 4 5 6 ....
    Then in the details section color formula, use something like this:
    if RunningTotal Mod 2 = 0 then crSilver Else crNoColor.
    HTH

  • PR NUMBERS ARE NOT IN SEQUENCE

    Hi ,
    We are facing an issue where Purchase requisition number created are not in sequence .
    For e.g.Purchase requisition number 30087027 has been raised on 22.11.2011 and today's (23.11.2011) created purchase requisition number is 30086998 and 30086999.
    So how this is happening .
    My first analysis put me towards the Buffering of serial number .
    Could you please guide me what will be the problem.
    Thanks,
    APR

    Dear,
    Kindly check the PR number ranges and the number ranges assign to the document  type.
    Then,
    This issue with the internal number range assignment occurs due to buffering in the application server.this can be adjusted using SNRO.
    Just access transaction SNRO and enter the object type BANF (no ranges for pr), in change mode , in the menu bar, please follow the path Edit---> Set up buffering ---> No buffering and save changes.
    Please also look at SAP NOTE 62077.
    Please also take care that the following situations
    - Gaps (jumps) occur when allocating internal numbers.
    - The status of the number range does not match the number last
    assigned.
    - The number assignment does not match the insert sequence.
    usually occurs due to buffering. Buffering increases the
    performance of the application, since a data base access is not required
    each time a posting is made, but it can cause jumps on the internal
    number assignment. This is usually not a problem, since number range
    buffering doesn't loose any guaranteed attributes. If your business
    requirements are that the internal numeration has to be continuous, you
    will have to disable buffering. In order to do this, please follow
    these steps:
    Menu path (or transaction SNRO):
    Tools -> ABAP/4 workbench -> Development -> Other tools -> Number ranges
    In the field "object" write "banf", select 'change' and deselect the
    'main memory buffering' flag.
    Please also see notes 62077 and the listing of related notes which may
    be relevant to your situation.
    According to the note
    Causes for having large jumps in your system can be following:
    - purchase requisitions are deleted
    - several application servers (each server has buffered numbers) and
    when system is stopped all buffered numbers are lost
    - when running MRP in parallel, each work process gets buffered with
    the number of "numbers" set up in SNRO for that number range
    Another consideration for the large consumption of number is the MRP
    setting for "Planning Mode". If this is set to "3" the system will
    replan every non-firmed purchase requisition and give it a new number
    It is recommended using planning mode 1 to minimize the impact on
    system resources.
    please see note 504200 that provides an explanation on
    how the system behaves for purchase requisitions created by the MRP.
    Hope this will solve your problem
    Thnks & regards
    Varun

  • How exclude multiple values which are not in sequence ( range )

    Hi Abapers,
    My Requiremnt is to exclude multiple values which are not in sequence  in selection screen.
    I want to restrict some values .
    please provide sample code.
    thanks & regards,
    Hari priya

    SELECT-OPTIONS : s_matnr FOR mara-matnr.
    INITILIZATION.
    s_matnr-sign = 'E'.  " E means Excluding.
    s_matnr-option = 'EQ'.
    s_matnr-low = '1000'.
    append s_matnr.
    s_matnr-sign = 'E'.
    s_matnr-option = 'EQ'.
    s_matnr-low = '1500'.
    append s_matnr.
    s_matnr-sign = 'E'.
    s_matnr-option = 'BT'.
    s_matnr-low = '2000'.
    s_matnr-high = '3000'.
    append s_matnr.
    START_OF_SELECTION.
    SELECT * FROM MARA INTO TABLE itab WHERE mara IN s_matnr.
    the above s_matnr has values 1000,1500, 2000 - 3000.
    so the above code fetches all the values excluding 1000,1500 and between 2000 and 3000.
    Regards
    Bala Krishna

  • Deliver\y Creation using Batch Job

    Hi,
    I have set up automatic delivery creation using a batch job ( vl10batch). The program selects all sales orders in the last 3 days and creates delivery.
    The problem is if in a sales order there are multiple line items each with a different delivery date.
    If the delivert dates for all the line items fall within last 3 days the program selects all 3 line items and ceates 1 single delivery.
    We would like to see a different delivery getting created for each line item.
    Example: Sales order has 3 line items
    Item A ( Del Date: 4/2/2010)
    Item B ( Del Date: 4/5/2010)
    Item C ( Del Date: 4/6/2010)
    The batch program runs and created 1 single delivery followed by 1 TO.
    Is there anyway we can seperate the deliveries based on date in the batch job?

    If you are looking forward to a delivery split by different delivery date, it should be possible.
    You should read note 546668, which explains the criteria of delivery split. Different LIKP-LFDAT can lead to delivery split.
    Basically, you just need to copy LIKP-LFDAT from corresponding item in header copy routine then you will get deliveries splitted by delivery date.

  • Delivery Creation using Batch Jobs

    Hi,
    I have set up automatic delivery creation using a batch job ( vl10batch). The program selects all sales orders in the last 3 days and creates delivery.
    The problem is if in a sales order there are multiple line items each with a different delivery date.
    If the delivert dates for all the line items fall within last 3 days the program selects all 3 line items and ceates 1 single delivery.
    We would like to see a different delivery getting created for each line item.
    Example: Sales order has 3 line items
    Item A ( Del Date: 4/2/2010)
    Item B ( Del Date: 4/5/2010)
    Item C ( Del Date: 4/6/2010)
    The batch program runs and created 1 single delivery followed by 1 TO.
    Is there anyway we can seperate the deliveries based on date in the batch job?

    Hello,
    check sales order is not signed as "Complete delivery", register "shipping". On item level you can set "fixed date and quantity" in register "schedule lines".
    Best Regards, Dirk

Maybe you are looking for