Idoc numbers for a certain output in Sales Orders

I have more than hundred Sales Order
One EDI output was triggered (with a unique partner type) from each of these Sales Orders.
How to find idoc numbers for all these Sales Order for this particular output?
I tried WE09 giving Segment and field with value....two issues with this. first is it is not working for me...not records found.
Secondly It take one value at a time. I can't do this for every Sales Order
Is there any database table or something else to find these idocs?
Thanks a lot!

Hi,
if this special partner type is the partner type of the IDoc receiver, then you can search for relevant IDocs in transaction WE02.
If you need a partner type out of the sales order data, then it is stored in table EDID4 "IDoc Data Records".

Similar Messages

  • Idoc not gettind created when saving a sales order

    Hello,
    In my system a sales orders has been created using ORDERS05 Idoc. We wanted a confirmation Idoc to be created automatically by this sales order but it didn't. The output type for EDI processing is in yellow for this sales order. I checked 'Dispatch time' in further data and it was 'Send immediately'.
    When I click on save again on the 'output types' screen I get an update error in my inbox saying that "AM 117: Form of address key & is not defined".
    Can anyone tell me where I am going wrong?
    Kind Regards,
    Priyanka Gupta.

    Hi,
    Try this.
    In some cases, even after setting the trigger immediately in the partner profile, the idoc status will be in yellow color. For this add the below code and trigger it.
    CALL FUNCTION 'MASTER_IDOC_DISTRIBUTE'
          EXPORTING
            master_idoc_control            = wa_ctrl
          TABLES
            communication_idoc_control     = i_comm
            master_idoc_data               = i_edidd
          EXCEPTIONS
            error_in_idoc_control          = 1
            error_writing_idoc_status      = 2
            error_in_idoc_data             = 3
            sending_logical_system_unknown = 4
            OTHERS                         = 5.
        IF sy-subrc EQ 0.
          READ TABLE i_comm INTO wa_comm INDEX 1.
    *Unlock table created by master data
          CALL FUNCTION 'EDI_DOCUMENT_DEQUEUE_LATER'
            EXPORTING
              docnum = wa_comm-docnum
            EXCEPTIONS
              OTHERS = 1.
          REFRESH it_idoc_range.
          lwa_idoc_range-sign   = 'I'.
          lwa_idoc_range-option = 'EQ'.
          lwa_idoc_range-low    =  wa_comm-docnum.
          APPEND lwa_idoc_range TO it_idoc_range.
    Send the idoc
          CALL FUNCTION 'ISU_EDATEX_IDOC_SEND' IN BACKGROUND TASK
            EXPORTING
              xt_idoc = it_idoc_range.
          GET TIME.
    Ensure background task is called immediately
          CALL FUNCTION 'START_OF_BACKGROUNDTASK'
            EXPORTING
              startdate = sy-datum
              starttime = sy-uzeit.
          CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
       ENDIF.
    Regards,
    Sharin.

  • Collective treatment of Outputs in Sales orders

    Dear uru's,
    I am looking for transaction VF31, but used for sales orders.
    In other words, I need to repeat massively outputs from sales orders.
    Can someone remind me the transaction?
    Regards,
    F

    You can try with program RSNAST00 with the following parameters
    Output application        V1
    Object key          0000012345
    Output Type          BA00
    Transmission medium    1
    Tick Send again
    Finally click Execute
    thanks
    G. Lakshmipathi

  • How To Add a new column for ZPR0 price in open sales order report ??

    HI,
    my requirement is To Add a new column for ZPR0 price in open sales order report if the order/scheduling agreement is a cross-company code transaction l(company code of order/scheduling agreement <> company code of delivering plant), price = ZPR0 price as at estimated GI date

    k

  • To Add a new column for ZPR0 prce in open sales order report

    HI,
    my requirement is To Add a new column for ZPR0 prce in open sales order report if the order/scheduling agreement is a cross-company code transaction l(company code of order/scheduling agreement <> company code of delivering plant), price = ZPR0 price as at estimated GI date

    HI,
    my requirement is To Add a new column for ZPR0 prce in open sales order report if the order/scheduling agreement is a cross-company code transaction l(company code of order/scheduling agreement <> company code of delivering plant), price = ZPR0 price as at estimated GI date

  • Can we combine Query for cancelled requisitions and query for internal requisitions without internal sales order into a single query

    Hi All,
    Greetings.
    I have two queries namely,
    1.Query for cancelled requisitions and
    2.Query for Internal Requisitions without Internal Sales Orders.
    I was on a task to combine those two queries..
    Can we do that? if so, please help me do that..
    Thanks in Advance,
    Bhaskar.

    Hi All,
    Greetings.
    I have two queries namely,
    1.Query for cancelled requisitions and
    2.Query for Internal Requisitions without Internal Sales Orders.
    I was on a task to combine those two queries..
    Can we do that? if so, please help me do that..
    Thanks in Advance,
    Bhaskar.

  • SD - Manual entries allowed for item category in the Sales Order

    Hi experts,
    please do you know any OSS note related to SD, in order to increase the number of Manual entries allowed for item category in the Sales Order (table T184)?
    Thank you very much
    Andrea

    Hi,
    I searched OSS notes and did not find any OSS Note related to add more than 11 Manual Item categories or append T184 Table.
    Has any found solution for this, will this be a CORE MOD.
    Pavan Verma

  • Can we create two POs for the same 3rd party Sales Order?

    Hi MM experts,
    Issue: Can we create two POs for the same 3rd party Sales Order
    In Third party purchase process, first sales order created with a spl. item category  and it creates the PR automatically with the Sales order material and Qty and this PR converted PO.
    They got a pur.req. for sale order on same item for same delevery date. They did not get any warning msg. saying that a PO was prviously placed against this sale order.
    How it is possible that we were able to place another PO? concern is that second PO was palced against SO which was already used & completed. they were able to place 2 POs for the same customer same delevery date. How it is possible?
    If anyone face the same issue, please let me know if you have any answer to this questions.
    Thanks in advance.
    Suresh.

    Suresh,
    It is hard for me to give you a definitive answer since you have created a customized solution.
    How it is possible that we were able to place another PO? concern is that second PO was palced against SO which was already used & completed. they were able to place 2 POs for the same customer same delevery date. How it is possible?
    Normally, the system will not do this.  A third party PR or PO will be 'account assigned' to the Sales order.  SAP standard 3rd party will not create additional purchase reqs unless there has been manual intervention.  Try searching for changes in the Sales order and changes in the original purchase order.  They may give you a clue.
    I believe the normal Item category for third party SO is TAS (I am working from memory here, I am not in front of a system).  I don't know what ZTAG does.  I confess I am not an SD expert.  You might also want to post your question in an SD forum.
    You mention two custom applications, ZMMPLAN and ZSTPMP.  These somehow have functionality that is used to help you convert your PRs to POs.  If I were in your position, I believe I would also look at these applications for clues to how they might be contributing to your problem.  And please don't send me details about these apps.  I will not comment on custom code in this forum.
    Sorry I can't be of more help.
    Rgds,
    DB49

  • I want a push button for line items in my sales order entry screen.

    Hi,
    I want a push button for line items in my sales order entry screen.
    How can I do so?
    Thanks.

    Hi Kumar ,
    To have a push buttons you need to first assign a pf-status .
    here a sample code for a push button and its handling :
      set pf-status 'SELECT' .
    at user-command .
      describe table t_lpr lines w_lines .
      case sy-ucomm .
        when 'SELECTALL' .
          set pf-status 'SELECT' excluding 'SELECTALL' immediately.
          do w_lines times .
            read line w_line field value w_check . " INTO W_CHECK .
            if w_check = space .
              w_check = 'X' .
              modify line w_line field value w_check.    "INTO W_CHECK .
              add 1 to w_line .
            endif .                        " IF W_CHECK = ' '
          enddo .
    Thus when you say pf-status say 'select' , Double click on that and you find a screen eher you can select icons and assign a function code to it!
    Hope it helps!
    Much Regards,
    Amuktha .

  • Val.Price for the requisition on the sales order

    Hi,
    I am creating automatically purchase requisition on the sales order with NLAG material type.
    My problem is system asking Val.Price for the requisition on the sales order. I don't want the this screen when sales order create.
    My Purchase Req. Doc Type = NB
    Field Selection key = NBB for the NB
    NBB Field Label >> Quantity and Price >> Price and price unit = Optional Entry
    Thank you
    Gulay Celik

    Hi Gulay,
    The error is coming because you have not maintained Accouting view of this material for teh plant, from where you want to procure/ship the material.
    Or even after you have maintained the Accouting view, Material price (Moving avegare price when price control is V must be Zero)
    Kindly check the master data records.
    This will resolve your issue.
    Regards,
    Dnyandeo H. Ainarkar

  • How to sets the Reason for Rejection of the Open Sales Order Lines

    Hello gurus,
              I want to set the Reason for Rejection of the Open Sales Order Lines, Case is like :
    If current date is exeed the Auto Void Confirmed Back Order Days(for item level) +  date (last responding from customer), then reason for rejection should be set, So i want the logic to find out the date is exceed or not.
    Thanks
    Anjana

    Hello anjana,
       Actually your question is some confusing, but if u want to get eldest change as active sales order then logic is as follows:
    1.  On base of OBJNR u have to get UDATE from JCDS table
    2. then write logic as:
    SORT i_jcds BY objnr stat chgnr DESCENDING.
          LOOP AT i_jcds INTO wa_jcds1.
            CLEAR lv_stat.
            lv_stat = wa_jcds1-stat.
            AT NEW objnr.
              AT NEW stat.
                CLEAR: wa_tab.
                wa_tab-objnr = wa_jcds1-objnr.
                wa_tab-stat = lv_stat.
              ENDAT.
            ENDAT.
            IF wa_jcds1-inact = 'X'.
              CLEAR lv_tabix.
              IF sy-tabix > 1.
                lv_tabix = sy-tabix - 1.
              ELSE.
                lv_tabix = 1.
              ENDIF.
              READ TABLE i_jcds INTO wa_jcds2 INDEX lv_tabix.
              IF sy-subrc = 0.
                wa_tab-chgnr = wa_jcds2-chgnr.
                wa_tab-udate = wa_jcds2-udate.
                wa_tab-utime = wa_jcds2-utime.
                APPEND wa_tab TO i_tab.
              ENDIF.
              CONTINUE.
            ELSE.
              wa_tab-chgnr = wa_jcds1-chgnr.
              wa_tab-udate = wa_jcds1-udate.
              wa_tab-utime = wa_jcds1-utime.
            ENDIF.
            AT END OF objnr .
              AT END OF stat.
                APPEND wa_tab TO i_tab.
              ENDAT.
            ENDAT.
          ENDLOOP.
          DELETE ADJACENT DUPLICATES FROM i_tab COMPARING objnr stat.
          SORT i_tab BY objnr stat udate utime.
          DELETE ADJACENT DUPLICATES FROM i_tab COMPARING objnr.
    3. now in i_tab table u'll get eldest UDATE
    Hope its work for u.
    Thanks & Regards,
    Sumit Joshi

  • Restrict Output for Fax and Print in Sales Order

    Hi,
    I am having a sales order output with two output types - Fax and Print. I need to restrict one page "Terms & Conditions" to be printed only once when I select the output type as FAX. But if the output type is PRINT, I have to print the page "Terms & Conditions" after every page i.e in even numbers since it is getting printed on both sides of the paper.
    Can anyone help me on this.
    Thanks in Advance.

    Hi,
    For pages->Conditions->write condition for ,when it should trigger.
    output type eq Printer.
    Regards,
    Shiva Kumar

  • Capture Idoc numbers for outbound INVOIC02

    Hi,
    We have a requirement where we need to capture the idoc numbers before it is dispatched.
    IDOCS are populated by FM IDOC_OUTPUT_INVOIC using process code SD09 for custom output type(EDI processing).
    Our requirement is to capture these idoc numbers into a custom table which will be used for further custom processing. The user exits in the above FM are good for just for segment population.
    What is the best approach to capture these idocs? Is there a user exit to capture these idocs?
    Thanks,
    Pratik

    sorry wrong forum

  • Free finish goods for certain level of sales order amount.

    Hi Gurus,
    I want to add some free finish goods if the sales order amount is greather than a certain amount for OR sales order type
    For example : if the sales order net amount is greather than 1000 - I want to automaticaly add a FG - 347234FG .
    Is it possible without having SAP retail module ?

    Khaled is right for details refer to sap help page:
    http://help.sap.com/saphelp_46c/helpdata/en/dd/55fa68545a11d1a7020000e829fd11/frameset.htm
    Good luck!

  • No batch input data for screen SAPMSSY3 0131 in Sales order IDOC

    I am processing Sales order IDOCS in status 64 using RBDAPP01 .Some of them error out to status 51 with the message -
    No batch input data for screen SAPMSSY3 0131 .
    I know the standard IDOC inbound process tries to simulate the posting in a BDC like process.
    Now, I went to we19 and the screen hangs up in a pop up in the partners tab with partner type 'WE' and my shipto (which is actually filled in the IDOC), missing..upon repeatedly hitting enter, it goes thru and an idoc is posted in status 53. But still unable to get through the root of this issue.
    Any, insight will help.

    Hi,
    I think the pop-up is generated through and user-exit for which recording is missing. This is why your idoc stays in status 64...
    Handle the screen recording in the user exit IDOC_INPUT_ORDERS
    user exit routine
    PERFORM customer_function_dynpro.
    FORM CUSTOMER_FUNCTION_DYNPRO.
      CALL CUSTOMER-FUNCTION '002'
        EXPORTING DXVBAK   = XVBAK
                  DVTCOMAG = VTCOMAG
                  DLAST_DYNPRO = LAST_DYNPRO
                  DXMESCOD = IDOC_CONTRL-MESCOD
        TABLES    DXBDCDATA = BDCDATA
                  DXVBAP    = XVBAP
                  DXVBEP    = XVBEP
                  DYVBEP    = YVBEP
                  DXVBADR   = XVBADR
                  DYVBADR   = YVBADR
                  DXVBPA    = XVBPA
                  DXVBUV    = XVBUV
                  DIDOC_DATA = IDOC_DATA
                  DXKOMV    = XKOMV
                  DXVEKP    = XVEKP
                  DYVEKP    = YVEKP
        EXCEPTIONS
                  USER_ERROR = 01.
    Regards,
    Krishnakumar

Maybe you are looking for

  • Problem in collecting Spool data into internal table

    Hi , i need to download  spool request data into internal table, after collecting i need to loop it and delete some records, for this i am using  Fm  RSPO_RETURN_ABAP_SPOOLJOB but getting some extra spaces and lines,unable to get right format. please

  • ADG - How to suppress some folders?

    I have an XML data tree I'm displaying. Some leaf nodes have child data that is used to drive a column display attribute. I don't necessarily want that data to be viewed with a folder icon. That might be enough info. But I can't help be more verbose.

  • Storing .msg files , using them in hyperlinks

    Hello ev'body! We have a problem with .msg files stored in SharePoint 2013 online. If we access them directly from SharePoint they open up in Outlook as we expect them to. On the other hand, if we make hyperlinks to them from Excel, Office gets confu

  • Systemd lid event

    Hi! Can systemd catch lid close/open events? Details: I'm strugling with "laptop suspend with external monitor attached" issue. Thist hread was discussed but none of solution mentioned was working for me. Problem is when I have an external monitor at

  • Ethernet not working intermittently

    Seems that after mac is asleep for a while, I can't connect to the internet. Network diagnostics says everything is ok. If I log off and back on to my account, it works fine. If I switch to airport connection it gets on wirelessly, and when i go back