How to export purchase order dtd from SRM 5.5

In earlier versions of SRM one could export an XML DTD based on the corresponding IDoc. However, in 5.5 there is no purchase order IDoc.
I need to send a vendor the DTD for the XML purchase order we are going to send to them electronically.
Where can I find and download the XML DTD for purchase orders in SRM 5.5?

Stuart,
we were doing this to transmit XML orders to a Market Place but we had to use our PI server.
If you have no PI server then I am not sure the option exists.
If you have a PI server, I suggest you ask the PI person as I know nothing about PI.  The config for XML output in SRM is in SPRO > SRM Server > Cross Application Basic Settings > Set Output actions and Output Format
Regards
Allen

Similar Messages

  • How to get purchase order number from delivery number?

    hi all,
    how to get purchase order number and item if i have only delivery.
    and in same way how to get po number and item if i know only batch number.
    kindly give me some solution i need this urgently.
    thanks in advance.

    Check the logic below:
    * Selecting the Sales Documents from VBFA for corresponding Invoice
        SELECT vbelv
                     posnv
          FROM vbfa
          INTO TABLE gt_itab3
         WHERE vbeln EQ gt_itab5-vbeln
           AND posnn EQ gt_itab5-posnr
           AND vbtyp_n EQ 'J'.
        IF sy-subrc EQ zero.
          SORT gt_itab3 BY vbelv posnv.
        ENDIF.
      ENDIF.
      IF NOT gt_itab3 IS INITIAL.
    * Selecting the Purchase Orders from VBFA for corresponding Sales Documents
        SELECT vbeln
               posnn
          FROM vbfa
          INTO TABLE gt_itab4
       FOR ALL ENTRIES IN gt_itab3
         WHERE vbelv EQ gt_itab3-vbelv
           AND posnv EQ gt_itab3-posnv
           AND vbtyp_n EQ 'V'.
        IF sy-subrc EQ 0.
          SORT gt_itab4 BY vbeln posnn.
        ENDIF.
      ENDIF.
    Batch number will be there in delivery item.
    Regards
    Kannaiah

  • How to capture Purchase order text from MM02

    Hi Friends ,
    i have a requirement like i have  to capture the purchase order text from MM02
    from one program.
    Pls give helpful code .
    Thanks & Regards
    Jagadeeshwar.Bachu

    hi
    check this code
    Hi,
    declare the paramters like:
    To fetch Long Text lines for READ_TEXT function module
    DATA:BEGIN OF dt_lines OCCURS 0.
    INCLUDE STRUCTURE tline. " Long Text
    DATA:END OF dt_lines.
    Variable declarations for Read_TEXT function module
    DATA : dl_name TYPE thead-tdname, " Object Name
    dl_lan TYPE thead-tdspras. " Language
    Constants
    CONSTANTS:
    Object ID for Long Text of Sales Item Text
    c_best TYPE thead-tdid value 'Z026', ID
    c_object TYPE thead-tdobject . " Object
    Object will be VBBK, and the Object name will be the concatenation of Sales order and Item No(for Item texts) and only Sales order for Header texts.
    Language will be default sy-Langu.
    In the loop of Sales orders call this fun module and use by passing all the above 4 paramters ID,OBJECT,NAME and LANG.
    You double click on that text
    GOTO -> header you will know the all above paramters.
    READ_TEXT
    READ_TEXT provides a text for the application program in the specified work areas.
    The function module reads the desired text from the text file, the text memory, or the archive. You must fully specify the text using OBJECT, NAME, ID, and LANGUAGE. An internal work area can hold only one text; therefore, generic specifications are not allowed with these options.
    After successful reading, the system places header information and text lines into the work areas specified with HEADER and LINES.
    If a reference text is used, SAPscript automatically processes the reference chain and provides the text lines found in the text at the end of the chain. If an error occurs, the system leaves the function module and triggers the exception REFERENCE_CHECK.
    Function call:
    CALL FUNCTION 'READ_TEXT'
    EXPORTING CLIENT = SY-MANDT
    OBJECT = ?...
    NAME = ?...
    ID = ?...
    LANGUAGE = ?...
    ARCHIVE_HANDLE = 0
    IMPORTING HEADER =
    TABLES LINES = ?...
    EXCEPTIONS ID =
    LANGUAGE =
    NAME =
    NOT_FOUND =
    OBJECT =
    REFERENCE_CHECK =
    WRONG_ACCESS_TO_ARCHIVE =
    Export parameters:
    CLIENT
    Specify the client under which the text is stored. If you omit this parameter, the system uses the current client as default.
    Reference field: SY-MANDT
    Default value: SY-MANDT
    OBJECT
    Enter the name of the text object to which the text is allocated. Table TTXOB contains the valid objects.
    Reference field: THEAD-TDOBJECT
    NAME
    Enter the name of the text module. The name may be up to 70 characters long. Its internal structure depends on the text object used.
    Reference field: THEAD-TDNAME
    ID
    Enter the text ID of the text module. Table TTXID contains the valid text IDs, depending on the text object.
    Reference field: THEAD-TDID
    LANGUAGE
    Enter the language key of the text module. The system accepts only languages that are defined in table T002.
    Reference field: THEAD-TDSPRAS
    ARCHIVE_HANDLE
    If you want to read the text from the archive, you must enter a handle here. The system uses it to access the archive. You can create the handle using the function module ACHIVE_OPEN_FOR_READ.
    The value '0' indicates that you do not want to read the text from the archive.
    Reference field: SY-TABIX
    Default value: 0
    Import parameters:
    HEADER
    If the system finds the desired text, it returns the text header in this parameter.
    Structure: THEAD
    Table parameters:
    LINES
    The table contains all text lines that belong to the text read.
    Structure: TLINE
    Exceptions:
    ID
    The text ID specified in the parameter ID does not exist in table TTXID. It must be defined there together with the object of the text module.
    LANGUAGE
    The parameter LANGUAGE contains a language key that does not exist in table T002.
    NAME
    The parameter NAME contains the name of a text module that does not correspond to the SAPscript conventions.
    Possible errors:
    The field contains only blanks.
    The field contains the invalid characters ‘*’ or ‘,’.
    OBJECT
    The parameter OBJECT contains the name of a text object that does not exist in table TTXOB.
    NOT_FOUND
    The system did not find the specified text module.
    REFERENCE_CHECK
    The text module to be read has no text lines of its own but refers to the lines of another text module. This reference chain can include several levels. For the current text, the chain is interrupted, that is, one of the text modules referred to in the chain no longer exists.
    WRONG_ACCESS_ TO_ARCHIVE
    The exception WRONG_ACCESS_TO_ARCHIVE is triggered if an archive is accessed using an incorrect or non-existing archive handle or an incorrect mode (that is, read if the archive is open for writing or vice versa).
    regards
    siva

  • HOW to retrieve PURCHASE ORDER DATA from archieve file and print a report

    Dear all
    1) I have retrieve purchase order data from archived files.
    2)  print purchase order data and created pdf file.
    VIJ.............
    Moderator message - Please ask a specific question - post locked
    Edited by: Rob Burbank on Apr 28, 2009 12:00 PM

    Dear all
    1) I have retrieve purchase order data from archived files.
    2)  print purchase order data and created pdf file.
    VIJ.............
    Moderator message - Please ask a specific question - post locked
    Edited by: Rob Burbank on Apr 28, 2009 12:00 PM

  • How to export purchased tv shows from my iMac to Apple TV

    Hello All,
    I have bought several TV shows from my Apple TV. I purchased them from the TV menu. Somehow the shows end up on my iTunes on my iMac.
    My question thing is: I can see the tv shows on my iMac in iTunes, but I can't see them or get them to play on my TV set via Apple TV.
    What am I doing wrong.
    Mike

    Michael Ryan. wrote:
    How do I get "devices" to show up?
    it will show up automatically once a device (iPod, TV) is connected, IIRC.
    on the TV, go to settings, then computers. is your Mac showing with a little "link" symbol ?
    are you being offered a choice to pair a library (not a shared library - you don't want that) ?
    JGG

  • Purchase Order Response in SRM from R/3 through XI

    Hello friends,
    While sending Purchase Order Response from R/3 to SRm through XI Iam getting this error in SXMB_MONI of XI and also in SRM:
    <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!-- Response
    -->
    - <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">
    <SAP:Category>Application</SAP:Category>
    <SAP:Code area="ABAP">APPLICATION_ERROR</SAP:Code>
    <SAP:P1 />
    <SAP:P2 />
    <SAP:P3 />
    <SAP:P4 />
    <SAP:AdditionalText><?xml version="1.0" encoding="utf-8"?><nr1:StandardMessageFault xmlns:nr1="http://sap.com/xi/SRM/Basis/Global"><standard><faultText>An error occured within an XI interface: Exception occurredE:BBP_PD:069 -Product data could not be intepreted E:BS:013 -System status INCM is active (Purchase Order Response 1000000037) Programm: CX_BBP_BD_ERROR===============CP; Include: CX_BBP_BD_ERROR===============CM002; Line: 57</faultText></standard></nr1:StandardMessageFault></SAP:AdditionalText>
    <SAP:ApplicationFaultMessage namespace="http://sap.com/xi/SRM/Basis/Global">StandardMessageFault</SAP:ApplicationFaultMessage>
    <SAP:Stack>The application triggered an exception</SAP:Stack>
    <SAP:Retry>M</SAP:Retry>
    </SAP:Error>
    can anyone please help me out in this...........
    Thanks in Advance...

    Dear Friends,
    I am SAP MM Certified Consultant & did my training for MM Module from Siemens ( Sapient College )& paid 2.5 lac for that and Since then I am working as a SAP MM consultant in an MNC since past 2 years, done 2 implementations  and had a functional experience of 4  years in purchasing .
    Had work for MNC’s only & having good expertise in Domain area .Total Experience 5 years out of that 2 years SAP MM experience .
    Dear all can you tell me what should i do so as to make a successful career in SRM.? How long should i stay in MM and what should I learn besides MM.I have already started working on SRM .
    I wish to do SRM training again from Siemens  but this point of time , I don’t have enough money to do SRM training from Siemens . Could anyone suggest , where I can learn SRM in Bangalore  & get trained in this New thing and do i need some programming knowledge in it.
    Could anybody send me some SRM documentation on my mail id [email protected]
    Thanks in advance.
    Regards,
    Savita Munshi

  • How to customize purchase order smartform BBP_PO in SAP SRM 7.0?

    Hi friends,
    I am new to SAP, as well as to SRM world. Currently I have a object with me from purchase order smartform in SRM. My job is to copy the standard PO form named BBP_PO into "Z" form and to make customizations in the copied one. I don't have idea about how to proceed with it. Please give me some idea about required processing classes, methods, BADI's, FM's etc,.. Can anyone please tell me how to do this job? I am a fresher so if you help me in this means, it would be very helpful for me and for my future.
    Thanks and regards,
    Siva

    Hello Siva,
    I searched and found the below steps ...
    why dont you try the same !
    How to customize an existing Standard Smart form in SRM - Overview.
    1. Copy existing Standard smart form in SRM, let us say, BBP_PO into "Z'' Smart form in Transaction SMARTFORMS.
    2. Do changes in Z Smart form add Desired Logos in Smart form using SE78 and SMARTFORMS transactions.
    3. Change in Jargon: Unlike ECC we will not have Driver program (in SE38), you will find Processing class and Processing method ( in SE24) for SRM Smart forms, where we write extraction logic.
    4. So, In case of SRM we should replace the (word) "Driver Program" with (the word) "Processing Class" and Perform as "Processing Method".
    5.Where to Link: Processing Class, Processing Method and Smart form? In SPRO, SRM Server -> Cross Apps -> Set Output Actions and Output Format -> Define Actions for Purchase Order Output -> Action definition -> Processing types, then select standard PO.
    6. If we are using (Completely- New) Custom Smart Form instead of Changing Standard Smartform, then Do change any settings in Step5, Otherwise, if you are planned to modify existing Smartform, with Small logic changes, format changes and Logo Changes then, Just Implement BADI - BBP_OUTPUT_CHANGE_SF in SE19 transaction.
    7. Put a simple code  in BADI as... CASE IV_OBJECT_TYPE.
    When  'BUS2201' .
       CV_SMARTFORM = 'Z_CustomSF'.
    ENDCASE
    8. Don't forget, you already copied Std Smartform into Custom Smartform say Z_CustomSF.
    9. I am using BUS2201 only becuase I was trying to change BBP_PO Smartform which is a Purchase Order Smartform.
    Hope this helps!
    - Vikas

  • How to send a Mail purchase order automaticaly from ME22N

    How to send a Mail purchase order automaticaly from ME22N

    Hi,
    First create an entry via NACE with medium =   5 ( External send ) with all other details same as normal print option. Now ensure that vendor master of the po has got the external e-mail id of the vendor. Now go to ME22n in mesages create a message with medium = 5 ( External Send ). Go to communication method, key in Communication strategy.Go to Further date & against Despatch time pick up option 4 viz. Send immeidately while saving an application. Now once you press the save button it will be sent to the address maintained in the vendor master of the vendor of the PO. Please note you require some basic settings from BASIS side as well.
    I hope this helps,
    You may also refer to the SAP note 191470.
    Regards
    Raju Chitale

  • Purchase Order Response in SRM 4.0 through XI

    Hi Friends
    We are working on SRM 4.0. We are sending a PO from SRM to R/3 usng XI in xml format.
    Now we want the Purchase Order Response in SRM from R/3 through XI. How can we achieve that?
    We have used an RFC receiver Adapter in XI to connect to SRM and we have mapped the ORDRSP IDoc to the PurchaseOrderConfirmation Message Type. But in the Message Monitoring of the RWB we are getting an error:
    Exception caught by adapter framework: error while processing message to remote system:com.sap.aii.af.rfc.core.client.RfcClientException: functiontemplate from repository was
    Delivery of the message to the application using connection AFW failed, due to: error while processing message to remote system:com.sap.aii.af.rfc.core.client.RfcClientException: functiontemplate from repository was .
    How to resolve this?
    In which format does this PO response should be sent to SRM and How to send this?
    Thanks in Advance....

    Hi Chris
    Thanks for the Response
    But Chris, I have some doubts regarding this.
    What is XI proxy Framework?
    I think the Proxy Framework consists of the Proxy Generator and the Proxy Runtime. The Proxy Framework for ABAP (generator and runtime) is part of the SAP Web Application Server and no specific installation is needed.
    Is the same as XI Framework?
    Dont we require any mapping? Because Iam getting the Sales Order details through ORDRSP IDoc fron the Vendor. So in order to transfer the data to SRM I require the mapping.
    Please Respond Immediately....
    Thanks in Advance...

  • Purchase Order Response in SRM 4.0

    Hi Friends
    We are working on SRM 4.0. We are sending a PO from SRM to R/3 usng XI in xml format.
    Now we want the Purchase Order Response in SRM from R/3 through XI. How can we achieve that?
    We have used an RFC receiver Adapter in XI to connect to SRM and we have mapped the ORDRSP IDoc to the PurchaseOrderConfirmation Message Type. But in the Message Monitoring of the RWB we are getting an error:
    <b>Exception caught by adapter framework: error while processing message to remote system:com.sap.aii.af.rfc.core.client.RfcClientException: functiontemplate from repository was</b>
    <b>Delivery of the message to the application using connection AFW failed, due to: error while processing message to remote system:com.sap.aii.af.rfc.core.client.RfcClientException: functiontemplate from repository was .</b>
    How to resolve this?
    In which format does this PO response should be sent to SRM and How to send this?
    Thanks in Advance....

    in pre-XI times in order to Acknowledge IDocs you used ALEAUD which is an incoming IDoc to the sending SAP system that collects all the received idocs in the receiving system and sends there processing status to the sending system.
    Problem is that this IDoc can only be generated on a job schedule.
    This is a shot in the dark but Maybe you can try to find this IDoc on the XI side and map to it the RFC response,
    this way you'll acknowledge the IDoc that basically were send to xi from the sending system.
    Why not using Sending Idoc on R\3, Recieving IDoc on SRM,sending ALEAUD from SRM to R3 all through xi???

  • How to send purchase order via e-mail.

    Please could someone let me know how to send purchase order via e-mail.
    I am an BC.
    e-mailing is functionning however I am not very familiar in settings for MM

    No, you do not need to touch ME_PRINT_PO. You need to put code before and after ME_PRINT_PO in the print program.
    Step 1 - Copy the standard print program SAPFM06P to make a Z version, lets call it ZSAPFM06P
    Step 2 - Copy include FM06PE02 to make a Z version, lets call that ZFM06PE02.
    Step 3 - ZSAPFM06P change the statement "Include FM06PE02" to read "Include ZFM06PE02".
    Step 4 - In include ZFM06PE02 you will find a subroutine called "ENTRY_NEU". In this subroutine you will see it first calls ME_READ_PO_FOR_PRINTING then calls ME_PRINT_PO. Before it calls ME_PRINT_PO just put:
    l_nast-nacha = 1.
    CLEAR l_nast-dimme.
    This means that ME_PRINT_PO will not e-mail, it will create a spool request.
    Step 5 - Still in ZFM06PE02, after ME_PRINT_PO has been called, add new code. First check that ent_retco EQ 0. If it does not then exit.
    Step 6 - Get the spool ID created by ME_PRINT_PO by either moving sy-msgv1 to a variable or select from NAST.
    Step 7 - Call function CONVERT_OTFSPOOLJOB_2_PDF using the spool ID from step 6, and put the result from table PDF into an internal table you can use later. ALso store the export variable pdf_bytecount, you will need it later.
    Step 8 - Call function SX_TABLE_LINE_WIDTH_CHANGE using the table from step 7 as content_in and put the results from content_out into a new internal table.
    Step 9 - Add some text into a internal table of type solisti1, this will be the body text of the e-mail.
    Step 10 - Add whatever receivers you want into an internal table of type somlreci1. If you just want it to go to the address that the PO would have gone to anyway, select the e-mail address from ADR6 where the address number = l_doc-xekko-adrnr, that is the data from the PO.
    Step 11 - Populate an internal table of type sopcklsti1 with data relevant to your PDF table from step 8 and the text table from step 9. You will have to put the size of the PDF from step 7 (pdf_bytecount) on the PDF line and the size of the text will be the number of lines of text * 255.
    Step 12 - Add info to a structure of type sodocchgi1. You can add the e-mail title in here, field obj_descr. Also add the size of the PDF and the size of the text from step 12 into doc_size, and give the doc a name in field obj_name. This can be anything, ZPDFPO for example.
    Step 13 - Call SO_DOCUMENT_SEND_API1 using the tables from steps 8, 9, 10 and 11 and the structure from step 12. You can amend the sending e-mail also. Set commit_work to space.
    Step 14 - That is all you need, but I actually call function RSPO_R_RDELETE_SPOOLREQ to delete the spool request created in step 4, then call NAST_PROTOCOL_UPDATE to add some more messages to the processing log of the PO.
    That is all.

  • How to view purchase order output

    Hi all,,
    am an ABAPer..
    i have an issue with the purchase order...
    But before that, how to view the output of the purchase order..
    from transaction me23n..
    please let me know the procedure..
    thanks in adv..

    You can get the output from ME23n. You need to go in Change Mode (=ME22n) for the output. If it is SRM PO then you need to go the section of 'Process Purchase Order' and there you can generate the output. 'Process Purchase Order' will be available with the role of Operational Purchaser or Strategic Purchaser role.
    Reward points for helpfull answers.
    Regards, Satya

  • How to trace purchase order number with respect to Purchase requestion numb

    Hi friends,
    Can u please help me how to Trace purchase order number with respect to purchase Requetuion  number. Is there any standard report  available in R/3

    Hi Vamsi,
    Thats what!!!
    Goto SE16 - EBAN - Give PR number in the iput screen.
    In the output screen you will have to do field selection from Menu - Settings - formatlist - choose fields.
    There you choose Purchase Order.
    So the output will display for you POs for the PR that you entered.
    Regards,
    Vishal

  • Purchase Order Creation from ME5A Report

    Hi experts,
    My client wants Purchase Order Creation from ME5A Report.
    He wants show Open Purchase Requisition through ME5A report then he will select Purchase Requisition Number or line item for po creation from there only.
    Please advice how I can map this process in sap.
    Thanks in advance,
    Chandhu

    Why don't you use ME57 to display open PRs and then assign sources and convert them to PO?
    Or use ME57 to assign sources and ME59 to automatically convert them to PO.
    You can create your very own format for report display using  custom "Scope Of List" for ME57.
    Look in SPRO under Purchasing>Reporting>Maintain Purchase requisition lists.

  • How to Display  'purchase order text' in MM03 using report program

    Hi Friends,
    Can anybody suggest me how to display 'purchase order text' in MM03 using report program.
    'Purchase order text' tab displays purchase long text of particular material .
    I coded as:
          SET PARAMETER ID 'MXX' FIELD 'E'.
          SET PARAMETER ID 'MAT' FIELD k_final-matnr.
          SET PARAMETER ID 'WRK' FIELD k_final-werks.
          CALL TRANSACTION 'MM03' AND SKIP FIRST SCREEN.
    It displays Purchasing tab other than Purchase Order Text tab of MM03.
    Please suggest me how can i solve this.
    Is there any parameter id to set values for Purchase Order text tab

    >
    Madhu Mano Chitra wrote:
    > I want how to navigate to MM03 'Purchase Order text'  tab/ view using ABAP code.
    > could any suggest me
    You can call a transaction and pass it a BDC table that tells it where you want it to go.  You have to work out for yourself what to put into the BDC table.  The code below works for tcode CATSSHOW.
    DATA: bdcdata_wa  TYPE bdcdata,
          bdcdata_tab TYPE TABLE OF bdcdata.
    DATA opt TYPE ctu_params.
       CLEAR bdcdata_wa.
        bdcdata_wa-program  = 'CATSSHOW'.
        bdcdata_wa-dynpro   = '1000'.
        bdcdata_wa-dynbegin = 'X'.
        APPEND bdcdata_wa TO bdcdata_tab.
        CLEAR bdcdata_wa.
        bdcdata_wa-fnam = 'SO_STATU-LOW'.
        bdcdata_wa-fval = '20'.
        APPEND bdcdata_wa TO bdcdata_tab.
        CLEAR bdcdata_wa.
        bdcdata_wa-fnam = 'ANDZEIT'.
        bdcdata_wa-fval = SPACE.
        APPEND bdcdata_wa TO bdcdata_tab.
        CLEAR bdcdata_wa.
        bdcdata_wa-fnam = 'PAST'.
        bdcdata_wa-fval = 'X'.
        APPEND bdcdata_wa TO bdcdata_tab.
        IF p_selscr = SPACE.
           CLEAR bdcdata_wa.
           bdcdata_wa-fnam = 'BDC_OKCODE'.
           bdcdata_wa-fval = '=ONLI'.
           APPEND bdcdata_wa TO bdcdata_tab.
        ENDIF.
        opt-dismode = 'E'.
        opt-defsize = 'X'.
    CALL TRANSACTION 'CAPP' USING bdcdata_tab OPTIONS FROM opt.

Maybe you are looking for

  • Cannot deploy ADF JSF project from JDeveloper 10.1.3.3.0 to AS 10.1.2.0.2

    Hi All, I've a small deployment issue which you guys might be able to help me with. I've developed an ADF BC JSF project using JHeadstart 10.1.3.2.50 and it was running fine on my self contained OC4J instance. But when I try to deploy it across to my

  • Recommended best practice to fetch detail block based on procedure

    HI I am creating a detail block (Dept)based on procedure which will be populated from the value from master block 'Emp'. For example, Detail block 'Dept' will be populated by calling procedure populate_detail(:emp.empno in number,dept.deptno out numb

  • Firefox opens but no window comes up--no new window, tab, etc.

    My iMac, OSX 10.9.4, opens Firefox so I have all the tabs running across the top, but no window will open. None of the top selections brings a window up--new window, new tab, private window, bookmarks, history, view--nothing.

  • BW-BCS

    Does anyone know the differences between SEM-BW based BCS, and SEM R3 Based BCS. Especially, the difference in use, and business use. So, When would I use BW based, and when R3 based? What are the reasons for using one or the other? Thanks in advance

  • FileNotFoundException thrown when opening a file for writing from EJB

    Hi, I know it is against EJB rules that access file IO from EJB. However we have a legacy system to working with and we need to generate a text file on file system. Weblogic (we are using 10.3) allows open a file for read from EJB. When we tried to o