Need to create a message INVOIC from transaction MIRO

Hy,
try to find an answer on following prob.
I need to send the billing information from transaction MIRO to another system. They want to have a INVOIC02. I know how to create a message but i have not found a solution (wich function) to create a INVOIC02 with all information.
Any help ?? Is there another solution or do i have to develop the filling of the IDOC ?
Thanx
Jens

Hi again,
thanx for the answers. Helpful but not solving my prob. Perhaps i have to describe a little bit more.
My prob is not to create the IDOC. I can handle that. My problem is to find the right function to fill that IDOC.
On transaction M806 i have created a new Output type. But i do not know wich Processing Routine i have to use to fill the IDOC INVOIC02. I tried the Program RSNASTED and the the Form Routine ALE_PROCESSING.
Now the whole settings i made :
TA M806
New type : Ytcm
Program :    RSNASTED
Form Routine : ALE_PROCESSING
TA WE81
New message type : YTCMS2
TA WE82
New message type : YTCMS2
Basic type :                INVOIC02
WE20
Partner LS
Outbound : 
Message type :  YTCMS2
Basic type  :  INVOIC02
Message control
Application :   MR
Message type :  YTCM
Process code : SD09
With that settings i create the IDOC but this is not filled with the information of the billing (Transaction MIRO).
So i think perhaps the process code or the settings in TA M806 a not right.
Thanx again for helping me.
Regards
Jens

Similar Messages

  • How to create a single invoice from several delivers? (BAPI for VF01)

    Hi all,
    I want to create a single invoice from several delivers, just like VF01.
    I just tried BAPI_BILLINGDOC_CREATEMULTIPLE, and the problem is that this bapi creates an invoice for each deliver, and i need to create only one invoice.
    Can you tell me how to do it?

    Here you go....
            wa_vbsk_dummy-smart = 'F'.
            wa_vbsk_dummy-ernam = sy-uname.
           v_posting = 'E'.
          v_datum = sy-datum.
    IT_KOMFK willhave delivery numbers, billing doc type date etc.
    CALL FUNCTION 'RV_INVOICE_CREATE'
        EXPORTING
          invoice_date  = v_datum
          vbsk_i        = wa_vbsk
          with_posting  = v_posting
          id_no_enqueue = c_true
        IMPORTING
          vbsk_e        = wa_vbsk
        TABLES
          xkomfk        = it_xkomfk
          xkomv         = it_xkomv
          xthead        = it_xthead
          xvbfs         = it_xvbfs
          xvbpa         = it_xvbpa
          xvbrk         = it_xvbrk
          xvbrp         = it_xvbrp
          xvbss         = it_xvbss.
    Cheers
    Ravish

  • How to create A/R Invoice from draft

    Hi,
              How to create A/R Invoice from documnet draft using DIAPI.
    Thanks,
    P.Suresh Kumar

    Hi Suresh Kumar,
    You may check this as a reference: Re: Problems while saving the tax values in a Draft Document to AP Invoice
    Thanks,
    Gordon

  • Hi, we need to create the test environment from our production for oracle AP Imaging. we have soa,ipm,ucm and capture managed servers in our weblogic. can anyone tell me what is the best way to clone the environment, can I just tar the weblogic file syste

    Hi, we need to create the test environment from our production for oracle AP Imaging. we have soa,ipm,ucm and capture managed servers in our weblogic..
    Can anyone tell me what is the best way to cloning the application from different environment, the test and production are in different physical server.
    Can I just tar the weblogic file system and untar it to the new server and make the necessary changes?
    Can anyone share their experiences and how to with me?
    Thank in advance.
    Katherine

    Hi Katherine,
    yes and no . You need as well weblogic + soa files as the database schemas (soa_infra, mds...).
    Please refer to the AMIS Blog: https://technology.amis.nl/2011/08/11/clone-your-oracle-fmw-soa-suite-11g/
    HTH
    Borys

  • Coudnt create confirmation or Invoice from EBP

    Hi all,
    I am working in SRM 5.0 Classic scenario..The scenario works well when i post goods receipt and invoice in backend and also it getting reflected in EBP...But when i try to create confirmation or invoice from EBP it shows
    confirmations contains error or invoice contains error
    i have done all the necessary ALE settings(the distribution model etc.)
    can anyone help me in this...
    Thanks&Regards,
    Hari.

    Goods Confirmation transferred via IDOCS
    Service Confirmation transferred via RFC
    Check RZ20 for the errors, if not see BBP_PD or else just put a BREAK-POINT at meta_bapi_dispatch and debug to your function module and see what was the error from lt_retun parameter in the RFC function module called from SRM to R3.
    Error will give you a hint for your issue.
    Please reward points if useful.
    Thanks
    Kasee Palaniappan

  • Cannot create A/R Invoice from Delivery

    Hi everyone.
    I have a Delivery based on a Sales Order and want to make an A/R Invoice from the Delivery using the "Copy to" button on the Delivery form. When I do that I get the following message:
    "One or more down payment that are linked to the base document(s) have not been paid. Continue?"
    When I press "Yes" the following error occurs:
    "Business partner of copied down payment document must be the same as business partner of target document."
    But I didn't create any down payments.
    Do you have any suggestions as to what may be the cause of the problem?
    Vladimir.

    Hi Vladimir,
    What is your B1 version and PL? Is there any relation between your question and SDK?
    Thanks,
    Gordon

  • What are customizing steps to create pro forma invoice from STO delivery?

    I have copied FUPI output for pro forma invoice billing type F8. I tested and was able to successfully get it to work for a regular delivery that was created from a standard sales order.  However, I need this to also work for a stock transport order created delivery but I keep getting the error that the item is not relevant for billing.  I have searched the web for 2 days and did find one posting that was exactly the same issue that I have and the person asking the question said they solved the problem but did not provide the answer as to how.
    I tried changing the item category NLN billing relevance to D from a J and that did not work either. I need the pricing to print on the pro forma invoice also.  On a standard sales order created delivery it works like a charm.
    this is what I hope to accomplish - create sto - create delivery from sto - create pro forma invoice for customs 
    Any help would be greatly appreciated.
    thanks in advance
    Donna

    Hi
    In VOV7 the billing relevance for  item category NLN should be  maintained as A (delivery related billing)
    Then you need to maintain copy controls  in VTFL between NL to F8
    In copy controls at header level copying requirements should be 009
    At item level for item category NLN copying requirements should be 010
    Pricing is picked from the OVKK settings that is for your sales area, CPP as the receiving plant is the customer, and DPP from the billing type of F8 For this combination you need to maintain Pricing Procedure
    In VTFL At item level for item category NLN the pricing type should be B
    If you need to maintain this settings you can create F8 proforrma invoice in intra comapny STO
    Regards
    Raja

  • How to stop creating mutiple performa invoice from delivery document

    case -
    i am creating stock transfer performa invoice on the basis of stock trf purchase order and delivery document. i want to stop creating multiple performa invoice.
    Mukesh Kumar

    If your requirement is to generate a certain output automatically only once for a certain document, you can set it for the output type in  transaction NACE (for example - NACE --> select the application --> "Output types").
    There's a "Multiple issuing" indicator (VN_T685B-MEHRF) through which you can control the desired behaviour.
    Edited by: Csaba Szommer on Jul 28, 2010 1:40 PM
    Sorry, I misunderstood your question...please neglect the suggestions above...
    As per SAP online help there's no limitation how many proforma invoices can be created from one delivery / sales order:
    http://help.sap.com/erp2005_ehp_04/helpdata/EN/dd/5610c9545a11d1a7020000e829fd11/frameset.htm
    If you want to restrict this, I think you should follow KC's suggestion and modify your copy control routine.
    Since in standard system this function does not exists you won't find suitable copy routine. That's why - in my opinion - you should use the same copy routine which has been set till now - you just have to modify it (add an ABAP code to check whether proforma invoice is already created or not; maybe you can check the entries in table VBFA)
    Edited by: Csaba Szommer on Jul 28, 2010 1:46 PM

  • Need to create 'Characteristics' using data from legacy system

    Hi All,
            I need to create the 'Characteristics' in SAP using the data from legacy application. The allowable values list defer between characteristics.
    1) which upload tool & method I can use?
    Thx,
    Gopi

    no problem, lsmw is fine to read from text files, you can define the path & format in step 'Specify Files'
    Message was edited by:
            Harris Veziris

  • To create a customer invoice from vendor invoice

    Hi i have a requirement to create customer invoices from vendor invoice. i would like to know if it is feasible??
    if it is possible is there any bapi or function module to transfer data from the vendor invoices to the customer invoice.
    regards
    prasannakumar

    hi,
    refer to this below link
    http://help.sap.com/saphelp_47x200/helpdata/en/5f/e411bb044411d2bf5d0000e8a7386f/frameset.htm
    -Reward If helpful
    -chaitanya

  • Need to create an edit Page from a Multiselect List

    I make one or more selections of values from a Multiselect List; I need to branch to another page in which I display all of the selected List items and two other columns (per item) that can be edited; i.e., this second page will look like one or more rows consisting of (1) List item, (2) value1 from a Table, (3) value2 from a Table. I need to be able to change value1 and/or value2 for any or all of the rows and have those changes reflected in the Database. (The List item is display only).
    My question is: which construction wizard can I use for this second page? I can collect my List items in a PL/SQL Table, but how can I display them and their related columns so the column values are editable?

    Thanks for the reply. I understand how to create Collections with the values I need to display and modify; however, I'm unsure which construction Wizard to employ to launch the Page ("Form based upon a Procedure", etc.)
    I looked in the Tutorials for a "collection demo" and found these potential candidates: "Build an Issue Tracking System", "Create a Simple Survey Application", and "Serving Application Express Reports". Is it one of these? If not, please tell me where I can find the "collection demo". Thanks.

  • Help needed on Creating SOAP message

    hi all
    i am trying to use the saaj from JWDP1.4 to manually create a soap message and send it to a .net webservice. when i run it, i keep getting error complaining the http header :
    com.sun.xml.messaging.saaj.SOAPExceptionImpl: Invalid Content-Type:text/html.here is the code, notice the part i use the message to add header information, but it didn't get added for some reason. any help would be much appreciated.
    import javax.xml.soap.SOAPConnectionFactory;
    import javax.xml.soap.SOAPConnection;
    import javax.xml.soap.MessageFactory;
    import javax.xml.soap.SOAPMessage;
    import javax.xml.soap.SOAPPart;
    import javax.xml.soap.SOAPEnvelope;
    import javax.xml.soap.SOAPBody;
    import javax.xml.soap.SOAPElement;
    import java.io.FileInputStream;
    import javax.xml.transform.stream.StreamSource;
    import javax.xml.transform.TransformerFactory;
    import javax.xml.transform.Transformer;
    import javax.xml.transform.Source;
    import javax.xml.transform.stream.StreamResult;
    import java.net.URL;
    public class JWTest {
       public static void main(String args[]) {
          try {
             //First create the connection
             SOAPConnectionFactory soapConnFactory =
                                SOAPConnectionFactory.newInstance();
             SOAPConnection connection =
                                 soapConnFactory.createConnection();
             //Next, create the actual message
             MessageFactory messageFactory = MessageFactory.newInstance();
             SOAPMessage message = messageFactory.createMessage();
              //  Add the HTTP headers.
              message.getMimeHeaders().addHeader("User-Agent", "Mozilla/4.0 [en] (WinNT; I)");
              message.getMimeHeaders().addHeader("Host", "m25385");
              message.getMimeHeaders().addHeader("Content-type", "text/xml");
              message.getMimeHeaders().addHeader("SOAPAction", "TELUS.Geomatics.WebServices.AdslAvailability.GetAdslAvailability/GetAvailability");
              message.setProperty(SOAPMessage.CHARACTER_SET_ENCODING, "utf-8");
             //Create objects for the message parts           
             SOAPPart soapPart =     message.getSOAPPart();
             SOAPEnvelope envelope = soapPart.getEnvelope();
              envelope.addNamespaceDeclaration("xsd", "http://www.w3.org/2001/XMLSchema");
              envelope.addNamespaceDeclaration("xsi", "http://www.w3.org/2001/XMLSchema-instance");
             SOAPBody body =         message.getSOAPBody();
            //Populate the body
            //Create the main element and namespace
            SOAPElement bodyElement =
                      body.addChildElement(envelope.createName("GetAvailability" ,
                                              "TELUS.Geomatics.WebServices.AdslAvailability.GetAdslAvailability"));
            //Add content
            bodyElement.addChildElement("postalCode").addTextNode("T6J2S4");
              bodyElement.addChildElement("phoneNumber").addTextNode("7057211380");
              bodyElement.addChildElement("callingSystem").addTextNode("MyTelus");
            //Save the message
            //message.saveChanges();
            //Check the input
            System.out.println("\nREQUEST:\n");
            message.writeTo(System.out);
            System.out.println();
            //Send the message and get a reply  
            /*Set the destination
            String destination =
                "http://m25385/GeoExplorer/webservices/ADSLAvailability/GetADSLAvailability.asmx";
              URL endpoint = new URL("http://m25385/GeoExplorer/webservices/ADSLAvailability/GetADSLAvailability.asmx");
            //Send the message
            SOAPMessage reply = connection.call(message, endpoint);
            //Check the output
            System.out.println("\nRESPONSE:\n");
            //Create the transformer
            TransformerFactory transformerFactory =
                               TransformerFactory.newInstance();
            Transformer transformer =
                            transformerFactory.newTransformer();
            //Extract the content of the reply
            Source sourceContent = reply.getSOAPPart().getContent();
            //Set the output for the transformation
            StreamResult result = new StreamResult(System.out);
            transformer.transform(sourceContent, result);
            System.out.println();
             //Close the connection           
             connection.close();
            } catch(Exception e) {
                System.out.println(e.getMessage());
    }

    Can this be done in actionPerformed method If you want the user to have to hit enter after every character they type, yes. Most auto-complete implementations don't, and they'll hate you for it.
    Can anyone be more specific What is your specific problem? have you already implemented your combo-box model that will prune the available selections, or not? If not, start there.
    Also if is enter S in textfield wont the focus in the
    Dropdown be on the first choice starting with S ?Not if the combo is editable and the drop down is not showing.
    is it possible with JComboBox or someother Swing componentYes. Follow the steps in the previous post.
    Pete

  • Need to create a vertical view from horizontal table w/delimited column

    I would like to create a vertical view frm a table that has a colon delimited column.
    I can get a single row to work. I need the level to reset to 1 when the row changes.
    any Ideas? the key to the table is: sos,nr,prgm_cd,mth
    here is my select for a single row w/where clause removed:
    SELECT SOS,NR,PRGM_CD,trunc(sysdate-(30*LEVEL) , 'mm') MTH,
    ADD_MONTHS(trunc(sysdate,'q'),-3*LEVEL) QTR,
    SUBSTR(qty,
    INSTR(qty,':',1,LEVEL) +1,
    INSTR(qty,':',1,LEVEL+1) - INSTR(qty,':',1,LEVEL)-1) QTTY
    FROM (SELECT SRC_SUPL_CD SOS,APPL_PRGM_DESIG_NR,TYP_PRGM_CD,':'||PAST_PRGM_QY||':' qty from
    rssp_api_master )
    CONNECT BY LEVEL < LENGTH(qty) - LENGTH(REPLACE(qty,':'))
    ex. data
    sos nr prgm_cd qty
    aaa 3 xx 1:2:3:4:5:5
    bbb 3 xx 9:10:11:12:13
    need to look like this
    aaa 3 xx 1
    aaa 3 xx 2
    bbb 3 xx 9
    bbb 3 xx 10
    bbb 3 xx 11

    See this thread
    Re: rows into column
    Nicolas.

  • In the message class M7 i NEED TO CHANGE THE MESSAGE 301 FROM E to w.

    In the program LMBGBFES I want to change the mesage e301 to w301 in the enhancement point but sap is not allowing to do so.
    CAN YOU GIVE A SOLUTION TO HOW TO DO IT.
    with regards ,
    Mahasweta Mitra

    hai mahasweta,
    u cant change the message from E301 to W301 as the code where the message is placed does not come under any enhancement point so that cannot be enhanced , u can do even with implicit enhancements but that does nto fall under it i mean uisng implicit enhancement options u can add some new code at start and end of the programs, u can use enahcnement poitns to enhance the code which comes under that point and it is obvious sap do not allow everythign to be modifed , so if u want to really chnage ti then u cna use access key and change it but it has implications on other programs from where this is called
    regards
    m.a

  • I need to create a pdf document from another pdf.

    I would like to utilize the tags function within Acrobat to either delete the extra tags or extract the tags I need.  Is this doable without addition software?

    Are you attempting to delete content based on the tags? If so, it doesn’t work that way. You could work in the Content navigation pane to remove content but just remember that information on each page won’t reflow. Also, things like headings/page numbers and such won’t renumber either. If you need to do this level of editing you should export the PDF to a format like Word.

Maybe you are looking for

  • What is vector? plz help

    what is vector? what does it do? how do i use?

  • When will SIRI be on the iPad 2

    Will Siri ever be on the iPad 2, I'm really disappointed that Siri is not on the ipad 2 with the lastest iOS 6. Consumers spend a lot of money on these devices and then find out a fantastic feature will not be available on the iPad 2 but it will be a

  • SQL Reporting server error

    Hi guys, When I set up bpc 7.0sp04, I meet an error "the Sql server reporting must be running before the installation continues". However, I check the Sql server reporting, it is running, I restart it and continue. But I still meet the same error. Is

  • Problems parsing a XML with binary element

    Hi, I'm trying to parse a xml that contains an element with the type "xs:hexBinary". The problem is that when i load a file in to the xml everything goes fine ... no matter the size of the file (i've tested it with 6Mb file), the problem is that when

  • Customize output fields

    Hi, Relatively new to oracle. I have a form with radio button having 3 choices there . now i want to customize the report so that if i select no option in to radio button on form i will get all three fields ( of radio button ) and their values . if i