IDoc number based upon sales data.

Hi Experts,
How to get the IDoc number in case I have sales document number or any other data which is being send in IDoc, any way we can get the IDoc number?
Also help me know the program to process the IDocs in background, I know the t.code bd87 is used to process the idocs, but how to process in background via a batch job.
thanx
Garima

Hi,
You may use t.code we09 to get the Idoc number based upon data,
you need to provide the information like Idoc basic type, date range etc to filter the data,
and under "Creteria for search in data records",  provide the segment name, search in field and value against you are looking for a Idoc number.
Use following programs to process the IDocs in background:-
RSEOUT00 u2013 Process all selected IDocs (EDI) 
RBDAPP01 u2013 Inbound Processing of IDocs Ready for Transfer
Some use full t.code for IDoc processing:-
WE60 u2013 IDoc documentation 
BD87 u2013 Inbound IDoc reprocessing 
BD88 u2013 Outbound IDoc reprocessing 
BDM2 u2013 IDoc Trace 
WE19- Testing IDoc.
regards
Vivek.

Similar Messages

  • Getting valid idoc number from the sales document

    hi,
    Iam sending the code for getting the idoc number from sales document.
    but iam not getting the result.
    please see the code and correct the code so that i will get the idoc number from the sales document.
    tables edid4.
    data l_docnum like edid4-docnum.
    parameters:p_vbeln like vbak-vbeln.
    call function 'CONVERSION_EXIT_ALPHA_INPUT'
      exporting
        input         = p_vbeln
    IMPORTING
       OUTPUT        = p_vbeln
    select single docnum from edid4 into l_docnum where sdata like '&p_vbeln&'.
    if sy-subrc = 0.
    write edid4-docnum.
    else.
    write ' the record is not found'.
    endif.
    it is very urgent..............
    thanks in advance......

    See the below code :
    report zxyz.
    tables edid4.
    data l_docnum like edid4-docnum.
    parameters:p_vbeln like vbak-vbeln.
    <b>data sdata like edid4-sdata.</b>
    start-of-selection.
    call function 'CONVERSION_EXIT_ALPHA_INPUT'
    exporting
    input = p_vbeln
    IMPORTING
    OUTPUT = p_vbeln
    <b>concatenate '%' p_vbeln '%' into sdata.</b>
    select single docnum from edid4 into l_docnum
                  where sdata like <b>sdata.</b>
    if sy-subrc = 0.
    write edid4-docnum.
    else.
    write ' the record is not found'.
    endif.
    Thanks
    Seshu

  • Find Item number based on Sales document and material in GTS system

    Dear experts,
    I have a situation where in I created a Sales order in ECC system and transmitted the document to GTS for compliance check.
    Now, during my subsequent processing in ECC side, there is a situation where in I need to check if the document (at every item level) is blocked for any reason or is it good to go. But I do not have the item number in ECC side (at the point where I'm calling RFC to GTS to check). I only have sales order number and the material number.
    So, can some one point me table level information in GTS side on how I could find the item number based on Sales document and the material (In our scenario all our materials in a sales order will be distinct).
    Please provide me table information on where the sales document number, item number, material info are stored in GTS.
    Thanks for your time
    -Amit

    Use these tables
    /SAPSLL/CORREF
    /SAPSLL/PNTPR
    /SAPSLL/CUIT

  • IDOC Number based on the output type

    Hi,
    I have a special requirement where in I need to find the IDOC number generated from the output type .
    I have the NAST details and the Invoice number and need to find the IDOC generated for the particular NAST entry.
    Is there any table or FM which gives this information in SAP.
    Please let me know.
    Regards
    Praneeth

    All,
    Solved myself.
    Used FM WFMC_PROTOCOL_GET to get the IDOC number based on the NAST value.
    Regards
    Praneeth

  • Age Calc based upon b'date

    I'm seeking a Current Age calc based upon B'date and a set date in the future (5-5-2012) for a registration form.  I have zero Java or FormCalc background.  Many thanks for any assistance.

    If you don't much response in the LiveCycle Forms forum you posted to, you might try the more active and equally appropriate one here: http://forums.adobe.com/community/livecycle/livecycle_es/livecycle_designer_es

  • How to update the price based upon PGI date

    Hi
            I have issue of updation of the Prices and freight based on PGI date in the billing we are using the two billing types for the excsies and tax invoice creation .And in the copy control pricing type is maintained Aas "C" for the billing types with single delivery but someHow MRP in the excise billing has been picked from the condition record thats validity is ended and in Tax invoice it picks up the correct prices
    Both pricing condition types has pricing type "B" from Billing date and in the freight we have maintained as "A" SRD
    But for the some cases specially for the excise related part that is based upon the MRP we are facing this issue
    Pricing date is some how coming from sales document
    Please find the problem details in the attachment

    Hi,
    if you see two condition tabs snap shots you can understand clearly because that two invoices has been created in two different dates and you have maintained the pricing date C-billing date ( KOMK-FKDAT).Due to this,the price of ZMRP is coming differently.After you creation of first invoice then you would have changed ZMRP amount.Now while you are creating second invoice ,system has taken new price of ZMRP in billing level.
    Note:While creating second invoice, PGI date might have come into billing level but someone would be changed billing date manually at header level of billing document.Please check that one also.
    Kindly let me know if you need further help on this.
    Thanks,
    Naren

  • X-axis values - Set values based upon constant date

    I am creating a line graph.   I am plotting based upon date/time.   I'd like to use a constant date across the x-axis.  IE 8:00, 8:15, 8:30.   Within the constant value there could be many points or no points.   For example there could be a point at 8:01, 8:02, 8:05 and then a point at 8:35.   Along the x-axis the label should remain constant at 8:00, 8:15...
    Any ideas?

    Hi,
    use the chart engine for creating your graph. When requiring a horizontal time axis you have to use the chart type TimeScatter.
    Download the SAP Chart Designer (SDN - Downloads - WebAS) and see the included pdf document that describes how to structure your data XML.
    Demo reports are GRAPHICS_GUI_CE_DEMO and GRAPHICS_IGS_CE_TEST.
    Regards, Kai

  • Workflow 2013 execute based upon a date

    I have a workflow 2013 that will need to execute once a month when the day of the month is the 1st working day of the month. The day could actually be the first day of the month. Is there a way that I can setup this kind of a workflow to execute based upon
    start and end dates? Is there some kind of a background process that I can setup?
    Thus can you tell me if this is possible and how to accomplish my goal?

    Hi,
    From your description, my understanding is that you want to execute a workflow once a month.
    If you create this workflow with template SharePoint 2010 Workflow, you could refer to this article:
    Creating a Timed Workflow in SharePoint 2010
    http://blogs.askcts.com/2013/05/14/creating-a-timed-workflow-in-sharepoint-2010/.
    I tried to use this method on a workflow with template SharePoint 2013 Workflow, but I cannot find the workflow under the Active section by following above article. If you create this workflow with template SharePoint 2013 Workflow, there is no a OOB method
    to accomplish your requirement. You could create a custom timer job to accomplish your requirement.
    You could refer to these articles:
    Create and Deploy Custom Timer Job Definition in SharePoint Programatically
    http://www.codeproject.com/Tips/634208/Create-and-Deploy-Custom-Timer-Job-Definition-in-S
    Starting a SharePoint 2013 workflow programmatically using C#
    http://www.ericgregorich.com/blog/2014/10/1/starting-a-sharepoint-2013-workflow-programmatically-using-c
    Best Regards
    Vincent Han
    TechNet Community Support

  • How to add dynamic content to a web site such as a map that shows position based upon gps data?

    Hello All;
    I have some software that generates a map that shows the position of a moving object based upoin gps data that's updated every 30 seconds or so. I want to place that map image on a web page using Dreamweaver. Can someone give me some guidance how I may do this and/or lead me to other web resources that would explain the basics.
    Thanks.
    Tim

    Am I understanding your question right?
    You want to do 2 things:
    Add a map image to a page
    Have the image update every 30 seconds

  • Return latest transaction data, based upon transaction dates.

    I appreciate I'm being a little dense here, and I have searched, read, and tried out a few different solutions I've seen give around the place. However; I think I'm struggling more with the naming conventions and logic of other people queries than you might in understanding mine (here's hoping!)
    I have a huge table, which contains a record for every transaction which has an effect on our inventory (yup - BIG table!)
    For a given transaction type 'CHC' (CHange Costs) I want to return the Part code, Transaction Date and Transaction cost of the LAST TWO changes.
    Because its to be used for tracking updates to the cost of materials, and further for calculating the ongoing effect of these, I just need the two for now.
    So,
    Table is I50F
    Columns required are
    I50PART - [Part Code|http://forums.oracle.com/forums/]
    I50TDAT - [Transaction Date|http://forums.oracle.com/forums/]
    I50UCOST - [Price changed to|http://forums.oracle.com/forums/]
    I50TRNS - [Transaction Type - we just want CHC]
    Sample Data (Including just columns we are interested in)
    I50PART              I50TDAT             I50UCOST         I50TRNS
    BACCA001             08/03/2006 07:34:51 0.08829          CHC    
    BACCA001             25/07/2007 08:26:30 0.10329          CHC    
    BACCA001             10/04/2008 16:29:02 0.10639          CHC    
    BACCA003             20/06/2006 12:22:30 0.16814          CHC    
    BACCA003             25/07/2007 08:26:54 0.17024          CHC    
    BACCA003             10/04/2008 13:30:12 0.17535          CHC    
    BACCA004             28/08/2007 15:46:03 0.06486          CHC    
    BACCA004             28/08/2007 15:49:15 0.06328          CHC    
    BACCA004             30/10/2008 09:22:40 0.06952          CHC    
    BACCA004             13/01/2009 09:09:07 0.06867          CHC    
    BACCA005             25/07/2007 08:27:24 0.06715          CHC    
    BACCA005             10/04/2008 15:45:14 0.06916          CHC    
    BACCA005             30/10/2008 09:05:17 0.07453          CHC    
    BACCA005             13/01/2009 09:06:49 0.07275          CHC     To take a part in isolation, BACCA005;
    I'm interested in the last two records.
    It makes sense for there to be two records output per part at this stage, as it may be that the powers that be decide that they want the last 3, or 4, or whatever (I'm sure everybody has similar experiences with beancouters)
    Is it A) Easy, and B) relatively efficient. There are 2.4m records in the table.
    If I've been stupid and not included enough info, please do [metaphorically] poke me in the eye, and I'll pad out a bit.
    Thanks ever so much for reading - and even more so if you can help!
    Cheers
    J

    Analytic functions FTW!
    with I50F as (select 'BACCA001' I50PART, to_date('08/03/2006 07:34:51', 'dd/mm/yyyy hh24:mi:ss') I50TDAT, 0.08829 I50UCOST, 'CHC' I50TRNS from dual union all
                  select 'BACCA001' I50PART, to_date('25/07/2007 08:26:30', 'dd/mm/yyyy hh24:mi:ss') I50TDAT, 0.10329 I50UCOST, 'CHC' I50TRNS from dual union all
                  select 'BACCA001' I50PART, to_date('10/04/2008 16:29:02', 'dd/mm/yyyy hh24:mi:ss') I50TDAT, 0.10639 I50UCOST, 'CHC' I50TRNS from dual union all
                  select 'BACCA003' I50PART, to_date('20/06/2006 12:22:30', 'dd/mm/yyyy hh24:mi:ss') I50TDAT, 0.16814 I50UCOST, 'CHC' I50TRNS from dual union all
                  select 'BACCA003' I50PART, to_date('25/07/2007 08:26:54', 'dd/mm/yyyy hh24:mi:ss') I50TDAT, 0.17024 I50UCOST, 'CHC' I50TRNS from dual union all
                  select 'BACCA003' I50PART, to_date('10/04/2008 13:30:12', 'dd/mm/yyyy hh24:mi:ss') I50TDAT, 0.17535 I50UCOST, 'CHC' I50TRNS from dual union all
                  select 'BACCA004' I50PART, to_date('28/08/2007 15:46:03', 'dd/mm/yyyy hh24:mi:ss') I50TDAT, 0.06486 I50UCOST, 'CHC' I50TRNS from dual union all
                  select 'BACCA004' I50PART, to_date('28/08/2007 15:49:15', 'dd/mm/yyyy hh24:mi:ss') I50TDAT, 0.06328 I50UCOST, 'CHC' I50TRNS from dual union all
                  select 'BACCA004' I50PART, to_date('30/10/2008 09:22:40', 'dd/mm/yyyy hh24:mi:ss') I50TDAT, 0.06952 I50UCOST, 'CHC' I50TRNS from dual union all
                  select 'BACCA004' I50PART, to_date('13/01/2009 09:09:07', 'dd/mm/yyyy hh24:mi:ss') I50TDAT, 0.06867 I50UCOST, 'CHC' I50TRNS from dual union all
                  select 'BACCA005' I50PART, to_date('25/07/2007 08:27:24', 'dd/mm/yyyy hh24:mi:ss') I50TDAT, 0.06715 I50UCOST, 'CHC' I50TRNS from dual union all
                  select 'BACCA005' I50PART, to_date('10/04/2008 15:45:14', 'dd/mm/yyyy hh24:mi:ss') I50TDAT, 0.06916 I50UCOST, 'CHC' I50TRNS from dual union all
                  select 'BACCA005' I50PART, to_date('30/10/2008 09:05:17', 'dd/mm/yyyy hh24:mi:ss') I50TDAT, 0.07453 I50UCOST, 'CHC' I50TRNS from dual union all
                  select 'BACCA005' I50PART, to_date('13/01/2009 09:06:49', 'dd/mm/yyyy hh24:mi:ss') I50TDAT, 0.07275 I50UCOST, 'CHC' I50TRNS from dual)
    select I50PART, I50TDAT, I50UCOST, I50TRNS
    from   (select I50PART, I50TDAT, I50UCOST, I50TRNS, row_number() over (partition by I50PART order by I50TDAT desc) rn
            from   I50F
            where  I50TRNS = 'CHC')
    where  rn <= 2
    order by I50PART, I50TDAT desc;
    I50PART  I50TDAT               I50UCOST I50
    BACCA001 10/04/2008 16:29:02     .10639 CHC
    BACCA001 25/07/2007 08:26:30     .10329 CHC
    BACCA003 10/04/2008 13:30:12     .17535 CHC
    BACCA003 25/07/2007 08:26:54     .17024 CHC
    BACCA004 13/01/2009 09:09:07     .06867 CHC
    BACCA004 30/10/2008 09:22:40     .06952 CHC
    BACCA005 13/01/2009 09:06:49     .07275 CHC
    BACCA005 30/10/2008 09:05:17     .07453 CHC

  • Idoc number from sales order in ECC

    Hi,
    Sales order is created by processing an Idoc. Now i want to trace back the idoc number for the sales order created.
    Please let me how we can do this in ECC. I saw couple of posts stating ICON SERVICE FOR OBJECTS...i couldn't really identify that icon. In someother post i saw this can found under Environment.
    Please let me know whether there are any prerequisites for this, and how i can i achieve this in ECC?
    Thank You in Advacne
    Thank You
    Challa

    Hi Challa,
    To find which idoc created the sales order, you can do the following,
    Check for the customer PO no in the sales order.
    Then go to any other inbound idoc which is bound to create a sales order, and see in which segment is the PO number.
    Then go to WE09 and put the dates etc and then go to " Criteria for search in Data Records"
    Put the segement no in Search in segement field.
    Put the idoc field in which you see the PO number
    and put the PO no in the " for Value" field and execute.
    You will get the idoc which created the sales order.
    Let us know.
    Regards,
    SB

  • How to create an album based upon date of importing photos

    today i imported over 2000 photos with dates accross three years time frame. how can i create an album based upon the date i imported the photos? or can i.
    if not, how would i add these pix to a specific album without going through the whole library some 15,000 photos strong now?

    Check out the Film Rolls ->
    View -> Film Rolls
    Each import creates a Roll, so the most recent one's should be easy to find. Select all and make an album from them.
    Regards
    TD

  • Single idoc generation for multiple sales orders

    Hi,
    Pls let me know how do we generate single idoc for multiple sales orders.
    Its not collecting idoc. As we know we can generate an idoc for one sales order correspondingly
    my requirement is to generate single idoc number for multiple sales orders.
    Do we need to write a program.

    Amar,
    To understand take HRMD_A04 as example. Root segment has Maximum 9999999999 defined.
    Segm.type       E1PLOGI
    Minimum number  1
    Maximum number  9999999999
    Parent segment
    Hier.level      2
    This means that this IDOC types has capability to hold multiple HR Master data objects. PFAL program creates this IDOC and it has facility to mention the Objects per process, check selection screen.
    I checked for INVOICE01/02 its not possible there. Hope this clarifies.

  • Data changed based on current date  in Bex

    Hi Gurus,
       Hope you are all doing good ! I have a scenario in queries in Bex. When the query is executed the current system date must be captured and the data must be divided by the count of the previous months.
       For instance if the query is executed today the data must be divided by 1 ( for  jan)
       if it is executed next month, then the data muset be divided by 2 ( jan + feb ).
       Is there any COUNT variable in Bex ? Any idea how this could be done?
      Points would be assigned for sure.
    Regards,
    Sunitha.R

    Sunitha,
        You should create a variable which is not user entry and user exit as processing type. Based upon the date entered you should write code in CMOD to derive the figure with which you can divide the amount.
    The logic can be something like this:...
    If the user enters     period like 02.2207(feb 2007), then you can pass value as 2 for the variable newly created. This is a simple code which can be written easily if you have ABAP knowledge.
    Try it out.....

  • Idoc number with other fields

    hii
    How i can get the in single table Idoc number with BELNR feild data .
    I need get the data like this in single transaction code . can some body help in this ??
    Thanks

    hii
    I have approximately 10,000 IDOCs .. Its not possible to open individually the and get the field data for IDOCS.
    So how i can acheive this in single shot or there is any table ..
    Thanks

Maybe you are looking for

  • About workflow problem in 4.6C for PR

    Hello Expert: i met a quesiton about the workflow for PR in 4.6C. the detail is as following. The requestor created a PR for waiting for approve, there are 3 approvor to handle the PR. maybe the second approvor modified the quantity or amount of the

  • CC Trial version won't import video as layers - "Could not complete your request because..."

    I am trying to import a video into Ps CC trial version to make a gif. Every time I click file > import > video frames to layers, I get the error message "Could not complete your request because of a program error." This is before the window to choose

  • Having an iPad problem I don't see anywhere else. PLEASE HELP!!!

    Starting about a week ago when I charge my ipad the screen stays on and flashes a battery icon with the % charged. It charges but VERY slowly because the screen is on all the time. Even if I hit the power button on top it flashes back on in a second

  • Poor quality when exporting Explain Everything Video

    Hi There, I've created some videos in using the "Explain Everything" App on my iPad. When I save the videos to my iPad camera roll and play them back they look fantastic.  When I emailed the videos to myself and opened them up in my MacBook, the qual

  • Where to buy oracle openworld presentations?

    Hi all, I've been searching for the whole oracle website and could not find the url for buying all the presentations for oracle openworld. (or just database presentations) can anybody help? thanks andrew