Table  invoices without output messages

Hi All!
I know that in NAST table I can see the output messages for invoices and from VBRK table I can get all the invoices. But I don't know if there is a table / a field table which tells me if the invoice has not any output message.
I have to create a report with all the invoices for a time period and in this report I should have a field which tells me if the invoice has an RD00 output message.
Any idea about the best solution for this report?
Thank you.
Message was edited by: Florina Cheta

Hi,
check this out
Message control
Application like PO(purchase order) creation use this technique , where the output type is linked to the application(Message control is a configurable cross application component which can be set in IMG .Such programs are created in the form of function modules and linked to the output type which is linked to the apllication.These have predefined interfaces.
In outbound programs(function module) that use message control the key of the
application document is passed to the function module whcig will read the data from the table depending upon the key passed(NAST structure) and fill the IDOC segemnts with the application data.The control record is also passed to the function module but is not fully filled, the rmaining fields are filled and the control is passed back to the calling program which is RSNASTED and is invoked by the
message control to process ALE and EDI output types and this program on recieving the IDOC data will create the physical IDOC in the system.
The parameteers passed to the function module are
IMPORTING PARAMETERS
OBJECT LIKE NAST
It contains documents key.
CONTROL_RECORD_IN LIKE EDIDC
It contains the partailly filled control record
EXPORETING PARAMETER
OBJECT_TYPE
CONTROL_RECORD_OUT LIKE EDIDC
TABLES
INT_EDID LIKE EDIDD
The internal table used to fill the data records in the same order as they exists in
the IDOC.
The important parameters that should be filled in the custom function module are
CONTROL_RECORD_OUT and INT_EDIDD .The OBJK field of the structue NAST contains the key of the apllication document.
===========================================
Message control and output type. In R/3, message control is a mechanism by which documents are output based on certain selection criteria, requirements, and sequences. Message control determines the type of document, its timing, number, and medium (print, fax, ALE, or EDI.). Outbound messages in SD (Sales and Distribution) and MM (Materials Management, Purchasing) are created and processed by message control records. The output records are stored in the NAST table.
Message control uses the condition technique. The conditions for creating an output message are stored in condition tables that have selection fields picked from a catalog of application fields/tables. To determine if an application document qualifies for output, search strategies are used through access sequences, output procedures, and requirements. Once a message qualifies for output, message control modules use the parameters set in the condition type or output type to determine the timing of transmission and the medium of the message. The output type also specifies the program or module to be invoked to create the output.
Message/output determinations are concepts applicable not only to EDI and ALE, but also to other output mediums.
also check this link...
http://www.erpgenie.com/sapedi/messagecontrol.htm
Feel free to revert back.
--Ragu

Similar Messages

  • Prevent the Output Message when creating PO from inbound IDOC

    Hi SAP Gurus,
    In my project, I have to create PO from inbound IDOC (PORDCR) with a specific Document Type ('099').
    Requirement: These PO should not generate the output message while the others (Doc Type # '099') do.
    I have the Z fuction module which call BAPI_PO_CREATE for posting IDOC and it works fine.
    In the existing system, there are some set up that trigger the output message type for PO (output NEU) when using ME21 or ME22, as a result my PO created with output message.
    Can you please advise if there are some way (User Exit?) that prevent the output message in this scenario (specific PO Type) without touching the current Condition setup?
    I'm new in MM and really need help!
    Thanks,
    Elaine.

    Hi Vinod,
    I really appreciate your anwer. I'm going to explore this with my functional consultant.
    Just like to have more questions:
    1. Is it easier if we change the existing condition table instead of creating a new routine?
    2. There are two forms for routine 101 (FORM KOBEV_101 and FORM KOBED_101). Can you explain to me why we need 2 here for what purpose of each form.
    3. In the debug mode by using WE19 to post inbound IDOC, I change the SY-SUBRC = 4 and PO created without output message. Is it the right direction? Anything else I need to pay attention to?
    Thanks again.
    Regards,
    Elaine.

  • Intercompany with billing output message creates goods entries lock Purch O

    Hi Experts,
    we have a problem in an Intercompany flow.
    From each SD Invoice, an output message is triggered. This output message creates a goods entry of the related purchase order related using a batch input.
    There are many SD invoices related with the same purchase order.
    The problem happens when many output messages were processed in a massive way though a job of report RSBDCSUB.
    More that one SD invoice will create goods entries related with the same purchase order and sometimes at the same time.
    The result was that some goods entries aren't created because the purchase order is locked by one of the previous process of the same purchase order.
    We have as a workaround to re-process the batch inputs wrong, but we want to avoid this re-processing.
    is there any solution for this process? do we change the process and use IDOCs or BAPIs?
    thanks in advance,
    aupalaura

    Dear Raja
      I need 2 to get a consolidated PDF from both OTF and SPOOL
    What do i do ? how 2 proceed . Plz tell me any other solution plz .
    User wants only one PDF .
    Plz help for god sake .
    How about saving the PDF from OTF and then appending the PDF from Spool at the prompt at end of that (Any append possible at the Prompt )
    Thnx
    Moni
    Message was edited by: md monirujjaman
    Message was edited by: md monirujjaman
    Message was edited by: md monirujjaman

  • Get output messages in invoice creation

    Hi all,
    in invoice creation, how can i get all the output messages for that invoice? In the NAST table there is no record because the invoice is not yet created.
    Regards
    Roberto

    Hi;
    Goto T-code NACE, choose the Billing Output and choose the Condition records on top of the screen and there you go.... you will have all the records once you fill in the parameters. If you do not have the parameters, press the Condition Info tab and execute this will list all the records maintained. for a particular output type.
    Regards,
    Mani

  • Tables to find out Vendor Invoices without refrence to a PO

    Hi All,
    I need to extract all the invoices for a time period which have been raised without refrence to PO and with refrence to a GL account.
    If possible I need to get a table from where I can get all these invoices which have been raised with refrence to a GL by giving certain selection parameters.
    Awaiting an early reply
    Pratiksha

    HI
    You can find out the vendor invoices with the tables BSIK (Vendor Open items and BSAK(Vendor cleaed items)..with the document type..
    If you want the vendor invoices without PO then you have to extract all the vendor invoices open items and cleared items from the above table and give the same document numbers in the table BSEG by mentioning with the not equal to option in the Purchasing Doc field with the blank details.
    Try the above solution and let me know if you have any queries...
    Thanks

  • PO Output(Messages) Table

    Hi MM Experts,
    What is the Table for Purchase Order Output Messages ( Printout, EDI, Fax Etc.,)
    Regards
    MM Senthil....

    hi,
    u can checck table B026, B025,B027 OR NAST.
    regards
    jash
    Edited by: diptasya jash on Apr 28, 2009 11:51 AM

  • Output message for invoice reduction

    We need have an output message MLPP, with transmission medium 7 (Simple Mail) to be created only when Invoice Reduction is done. Partner functions to be assigned must be ME (Buyer) and MP (Mail receipient).
    Can someone please advise me how to go about doing this?
    Thanx
    Marinda

    Hello,
    tks for reply, I run both
    1. RV_MESSAGES_INSERT
    2. RV_MESSAGES_UPDATE
    and the message is created. Anyway, I chose mode 'Archive only', and the archive is not done.
    Do you jnow why ?
    Thank you.

  • Duplicate output message for invoice

    Hello,
    I'm searching a Bapi or MF to duplicate an output message executed on invoice.
    For exemple:
    on invoice 12345 I create and execute the message RDA0 (for exemple for print).
    Now, by a zprogram I would duplicate this message.
    Any idea ?
    Thank you.

    Hello,
    tks for reply, I run both
    1. RV_MESSAGES_INSERT
    2. RV_MESSAGES_UPDATE
    and the message is created. Anyway, I chose mode 'Archive only', and the archive is not done.
    Do you jnow why ?
    Thank you.

  • Plant as a condition to determine output messages in PO

    Hi All:
    I configure condition table  for PO with the fields: Doc Type, Purch Org, Vendor and Plant (all the previous fields at header level except for the plant ) this table is assigned to an access that also contain the condition table: Doc Type, Purch Org. and Vendor (all the fields at header level) but when I create a condition record for the condition table that contain the plant it does not determine any message, the condition record seems to be not taking into consideration at all, however when I create a condition record for the condition table that does not contain the plant the system determine correctly the messsage in the PO. My requirement is to have the plant as a condition to determine the output message in the PO. Do you know if can get this without a user exit or enhancement, only customizing settings?
    Thanks for your help
    Best Regards

    OSS Note 457497 - FAQ: Message processing in purchasing
    Is message determination possible at item level too?
    Answer:
    No. During message determination, the system does not access the data of the purchasing document's individual items (for example, table EKPO or EKET)  because the values in the item-related table fields (for example, EKPO-WERKS) may be different from item to item.

  • Partner function copied from PO to Outb.del. but output message not created

    Hello Gurus,
    As the copy of the partner function from the PO to the Outbound Delivery is not supported in standard, I have activated userexit_save_document_prepare (MV50AFZ1) where I can add the other partner roles out of the purchase order into table XVBPA (VN). Thanks to this exit, the partner function VN is correctly added in the Outbound Delivery.
    My issue is the following this partner function should create an output message using the partner function VN but this one is not created during the Outbound delivery creation. But if I go to the VL02N and just save the Outbound delivery again (without change) now the output is correctly created and processed.
    Does someone of you know the reason why the output message for partner VN is not triggered at the Delivery Creation but
    after the manual save?
    Kind regards
    Chris

    I have just explained this in Copy partner from PO to inbound delivery

  • Output message can not be created in a PO

    Hi to you all,
    Output message can not be created in a PO for a customer. During my tests, the yellow output message was created automatically after I have saved the PO.
    I checked ME9F and the table NAST, there is no entry for the PO of the customer. This happens arbitrarily.
    Do you know how and why this can happen? Is it a program error or something else?
    Thanks.
    Esra

    Hi Esra,
    if I do understand you correctly, when creating the PO the system always finds a message to be created ("yellow" message). But arbitrarily the message cannot be generated in ME9F, correct?
    In my view, if the message is always determined correctly in the PO there cannot be any trouble concerning condition records, the error has to occur later in the process.
    Are there any error messages in the processing protocol of a message that cannot be created? What happens if you set the transmission time-spot to 4 (immediatelly)?
    Just my 2 cents
    Alicia

  • Invoice without reference in SRM not viewable in R/3 controlling

    Hi All,
    I am on extended classic scenario in SRM 4.0. When I post an invoice without reference to a PO in SRM, the invoice gets created in R/3. However in R/3 when I view these entries in controlling reports such as transaction KOB1 or KSB1, I am unable to drill into the line items to display the document. I get the error message "Original document is not in the local system".
    This seems to be only for controlling reports, as I can drill into the line items in finance reports such as FB03.
    I have applied note 682441 in R/3, but still face the same problem.
    Can anyone tell me if they have the same problem?
    Thanks,
    Paula.

    Hi Paula,
    Sorry to intercept.
    I am facing an issue while creating the Invoice without reference to PO. My system is SRM 5.0 with Extended Classic scenario active. May I request you to share your insight on the settings to be made to achieve this functionality.
    Also, I would be glad to have few words on creating the invoice with reference to local SRM contract.
    Thanks in anticipation.

  • User cannot receive External Send Output Message manually - ME22N

    Hi Guru's
    I have the following issue, once a User has saved the PO he wants to receive this PO to his email. He goes to "Messages" and selects Medium 5 "External Send" and in Partner he types his User ID in order to receive it.
    He is not receiving any emails and the status in Further Data is "2 incorrectly processed". When he types another User ID, this User does receive the email. Is there anything else I need to configure to this User ID so he can received this Output Messages? He is the only User that cannot receive these Output Messages.
    Regards

    Problem Solved!!
    I enter to table USR21 (Assign user name address key) and realized User ID did not exist. So I enter to table ADR6 (E-Mail Addresses)  and noticed it was a totally different User. I enter to table LFA1 (Vendor Master) and there was information about this User.
    This left me to one conclusion...This had nothing to do with the User ID
    The Client in the past created Vendors (MK01) has "Buyers". So when the Buyer wanted to send any PO to his email he just went to "Messages" and selected Output Type "NEU" / Medium 5 "External send" / Partner "Vendor#" = Buyer.
    I enter to MK02 and typed the Vendor# they gave him, in "General Data" check only "Address" and press ENTER, updated the email in the field and selected INT E-mail in "Standard Comm Mtd" and problem solved.
    Thank you all for your help
    Best Regards!!

  • How to process an output message after pick and pack in LM46?

    Hi,
    I've implemented the User Exit to print the HU using LM18, it's working great but no output message is processed (and indeed, the sticker is printed on my own printer instead of the one defined in my Z custom output message).
    I used LM46 to pick and pack the HU, am i missing a step?
    In other words, how to process my custom output message after the pick and pack?
    Is there some code I must add in the LM18 User Exit?

    You know, in a user exit or a BADi you can access any variable of the program you want.
    Just find what which program calls the Exit User, put a break-point in it, and find the variable you need to access.
    Then add this kind code in your Exit :
    DATA: l_var TYPE ....
    FIELD-SYMBOLS: <fs_var>    TYPE ANY.
    ASSIGN ('(PGMNAME)variable') TO <fs_var>.
    IF sy-subrc = 0.
      l_var = <fs_var>.
    ENDIF.
    Same thing for a table :
    DATA: lt_var TYPE TABLE OF....
    FIELD-SYMBOLS: <fs_var>    TYPE ANY.
    ASSIGN ('(PGMNAME)table[]') TO <fs_var>.
    IF sy-subrc = 0.
      lt_var[] = <fs_var>.
    LOOP AT lt_var ASSIGNING ...
    ENDLOOP.
    ENDIF.

  • Empty document found. Proceed without sending message

    Hi All,
    I have a file CC and it works fine , simple file.
    But when I add Trailer to it... then I have no output file..Instead the CC channel shows that the document is empty and cannot proceed:
    Here is the details ( Watch the Trailer added)
    ZOUT_MT 11 -ZIN_MT 11
    Recordset 1--1
    Rec 1unboundedTest01 1-----unbounded
    key(string) 1...1----
    key 1..1(string)
    name11(string) 1..1----
    name21 1..1(string)
    name12(string) 1..1----
    name22 1..1(string)
    Trail 1...1 -
    Trail 1---1
    key(string) 1..1 -
    key 1..1(string)
    test(string) 1...1 -
    test1..1 (string)
    In Config: Sender File CC
    Doc Name :ZOUT_MT
    Doc namspace : http://mytest.com/test1
    RecordsetName : Recordset
    Recordset Structure : Rec,*,Trail,1
    Key Field Name : key
    Recordset per message : 1
    Rec.fieldNames : key,name11,name12
    Rec.fieldSeparator : ,
    Rec.endSeparator : 'nl'
    Rec.processConfiguration: FromConfiguration
    Rec.keyFieldValue : 1
    Trail.fieldNames: key,test
    Trail.endSeparator: 'nl'
    Trail.processConfiguration : FromConfiguration
    Trail.keyFieldValue : 1
    Trail.fieldSeparator : ,
    From all this work above , when I put the file having:
    1,111,112
    1,222,223
    1,333,334
    1,99
    The output file in empty (null)...
    Does anyone out there understand why the output file is becoming null..
    here is the log I get in workbecnh (commuunication channel)
    Audit Log for Message: c1a434f5-ad9f-4a26-08c1-e7d579a5927a
    Time Stamp Status Description
    21.01.2009 11:48:22 Success Channel ztest_sender_cc: Entire file content converted to XML format
    21.01.2009 11:48:22 Warning Channel ztest_sender_cc: Empty document found. Proceed without sending message
    21.01.2009 11:48:22 Success File "/mylocation/interface/SCM/somefolder/in/shilpagirlsinput.txt" deleted after processing

    keyFieldValue must be different for Rec and Trail, keyfield is to distinguish Rec and Trail, their value must be different, otherwise how can you tell which record is Rec, and which is Trail?
    Try to put different keyfield value, chang the input file and run the scenario.
    Also because you specified cardinality 1...1 for Trail element, and 1 is used as keyfield for Rec, XI thinks there is no Trail in the outbound file, thus it produces empty document warning as Trail is required to be present by cardinality 1...1
    Jayson

Maybe you are looking for

  • List of sales order with only open qty

    Hello sap gurus,I am working in a support project for a leading cement manufacturer,I am facing a issue related to list of sales order only with remaining open quantities.In va05 transaction it gives the list of open sales orders,but if none of the l

  • DVI Monitor Recommendations

    I'm getting tired of the dim VGA video output of my mini and am considering a new DVI screen. I don't want to pay more than I have to, but I want a decent monitor that somebody knows from experience looks good on the mini. I am probably limited to a

  • Placing Google Map with CS5 [subject edited by moderator]

    I have dreamweaver CS5 and want to know how to embed a google map image please. I have successfully placed a link to the map, but not the image of the map.

  • 802.1x(ACS) with avaya phones

    Hi All , We are implementing wired dot1x for our wired users with EAP-TLS. When I am connecting laptop it is getting authenticated and it is working fine. For Voip(Avaya) we are using MAB .When we connect VOIP , after 30 seconds ACS is giving Access-

  • VLAN-based policer on Cat6500

    Hi, I'm trying to implement policer on Cat 6500 running CatOS 8.4. The configuration is as such: set qos enable set port qos 1/7 vlan-based set qos policer aggregate 2Mbps rate 2000 policed-dscp erate 2000 drop burst 26 eburst 26 set qos acl mac vlan