Quotation With IPPE Structure.

Hi Experts...
I have a scenario where i wish create a quotation with variant configuration (like building block J66), but my customer use the IPPE to manage the product structure (no super bom or super router). Anybody have a documentation or experience to share against quotation with IPPE and variant configuration? Its possible explode the IPPE structure in a quotation?
Best Regards,
Richard.

Hi,
your client would probably need to convert the iPPE structure into classic configurable (sales) material BOM. iPPE has 2 primary use cases:
1. Repetitive Manufacturing in Automotive
2. Engineering product structure (today, in SAP PLM web UI, this is called Product Structure Management) - to be converted into classic configurable sales/manufacturing material BOM (today, done through Guided Structure Synchronization).
I guess your customer is using ECC DIMP 5.0 or the DIMP switch in ECC 6.0? Which of both? Which industry?
Hence iPPE is not available directly for explosion in quotation processing.
Regards, Ulf.

Similar Messages

  • LSMW to create Sales Order refer to Quotation with multiple line items.

    Hi Gurus,
    I am new to LSMW, and my requirement is that, I have a file downloaded from another system, it is like this:
    Quotation No.  Sold to party  data        item no.       material no.     quatity
    556                         10000012                 10              19077                1
    556                         10000012                 20              19078                1
    557                         10000011                 10              19076                1
    And it is required I need to create orders in VA01 refering to quotations, and then delete all the items from quotation, and add the items in the file. I am now doing it through transaction recording in VA01, but I came to a difficult part, that is how I can process line items. Because the items number will only be decided at runtime, so I can not record a BDC for that. And I have read some guides on LSMW, one of it said that transaction recording in LSMW can not deal with deep structures. So could any1 help on this?
    Best regards,
    Vincent

    Dear SD Gurus n Experts,
    I have solved the above problem. But there is another problem appearing regarding the date format. Now system generating a message: Date . . is not valid.
    While I am using Date: YYYYMMDD format in flat file, which is SAP's Standard Format.
    In SDN Link: LSMW upload Sales Order using VA01/VA02     I have found that there are some date fields which are mandatory to filled. Here I have mapped
    VDATU - Requested delivery date,  BSTDK - Customer purchase order date,  PRSDT - Date for pricing and exchange rate,  BSTDK_E - Ship-to party's PO date, FKDAT - Billing Date, KORDT - Delivery Date,
    and PRGRS - Date type is Constant = D
    Can any one tell me, where is the priblem.
    With thanks,
    DSC

  • Quotation with Ref Opportunity

    Hi All,
        Users creating the quotations with ref to the opportunity.
    Now the Client requirement is quotation should created with reference to opportunity only those products status is completed.
       System should allow the user to create quotation with ref opp those product status is not completed.
    Opp ID   Product  Status
    200        aaa        In process
                 bbb         Completed
                 ccc        Completed
                 ddd         in process
    system should allow the user to create quotation with ref to opp only for those product, which their status is completed
      i.e quotation should created for the products   " bbb & ccc"
    Can any one help me to implement this, it urgent
    Thanks
    Gskumar

    Implement the copy control badi, CRM_COPY_BADI method -> COPY.
    Here you get the preceding documents item details in structure IS_REF_ORDERADM_I, from the item guid, obtain the item status, if its not complete then riase the execption do_not_copy and this item will not be copied.
    Attach the badi implementation to your copy control customizing.
    Regards,
    Kiran

  • Report on BEx query with 2 structures (one in rows and one in columns)

    Hi, experts! I have to make Crystall report on BEx query with 2 structures, one in columns (with KF's), and one in rows. Is it possible to create such report? Because when I create such report, I cant see fields in structures, only characteristics fields.
    Ok, I found samr problem in another thread. Sorry.
    Edited by: Mikhail Sychev on Dec 5, 2009 9:53 PM

    Hey Flora,
    Happy to hear that its working now.
    Answering your question, again its upto the connection and report format you are using. Based on your question i hope you your report output should be like this.
    You cannot map to two labels for the series, again this report format is possible only in cross tab through Webi. I would suggest you to concatenate the material and month in a dimension in webi like below.
    I have done the concatenation in excel level, i would suggest you to do that in webi. Try to reduce the formula as much in excel.
    or
    If you are using Query browser connection, then i would suggest you to create a separate report which will display the actual vs plan material wise, here you need to pass the material as a prompt.
    Hope this helps in clear, please revert me for any clarification.

  • Report Designer with two Structure in Column

    Hi Experts,
      Is not possible a Report Designer use a query with 2 structure in column ?
      If  i need use two structure in the column, exist a workaround for this case ?
    Tks and best regads ...
    Alex

    Unfortunately not.
    You may try to work around to have set of virtual chars and key figures; but resposne time will not be encouraging.
    Ravi Thotahdri

  • Create Quotation with reference to Quotation

    After we create a Quotation with reference to second quotation. It is coming all data with material and pricing in second quotation.
    Since only one Condition type value is not coming. This condition value is maintaining the manual and mandatory in pricing condition.
    I have created the condition class u2013 (Price) and calculation type -(Percentage) in this condition.
    What is problem, it not coming the percentage in this condition?
    Regards,
    Devendra

    HI,
    in copy control t-code vtaa>>>item  level settings>> maintain pricing type as " C"
    Problem should be solved.
    Pls rewad points accordngly

  • Product Hierarchy and creating quotations with brands - require solution

    Hi,
    We are using product heirarchy in our system ( its a 18 character key), the first 8 character is for the brand.
    Material is created with a different character combination and the material is assigned the complete 18 character key in the material master record.
    Now the requirement is that the distributor places a plan to buy a particulat brand ( not material i.e with specific colour, which he will do it at a later stage) with quantity and price, this has to be captured in the SAP.
    Once the distributor's plan is approved, he will place a purchase order and Sales order gets created automoatically.
    My line of thought is capture his plan in quotation and once he places orders , an sales order is created with reference to the sales order.
    The challenge is how to capture brand in a quotation with price. 
    Can we create material master records for these brands which are used only in quotations and SO can be created with original materials ( the final finished product).
    Please provide me your valuable solutions and suggestions.
    Thanks
    Venkata Rama Reddy.K

    Hi Hans,
    We don't want to wait for until billing to update price since we have the CI created at the time of delivery not billing.  CI document also needs to display correct pricing for custom purposes.
    Also, we would like to keep pricing on the Sales Doc. and Billing Invoice the same.  This is why we would like to trigger re-pricing on sales order.   And when pricing is re-invoked, we need to re-read the PRODH data to ensure new price is retrieved.
    Thanks for your response.
    Hannah

  • Error  - Material cost estimate with quantity structure

    Hello Gurus!
    Can anyone please help with the following problem:
    I’m trying to do the material cost estimate with quantity structure, but the system is throwing back the message  " There is no exchange rate for exchange rate type P on 1.01.2008: CHF -> EUR". 
    This happens because I have a subcontratation in my routing in CHF, and in transaction OB08, and I don’t had defined that rate (type P CHF –EUR).
    I need to know if there is any solution to the system assumes other Type of Exchange Rate (the last real exchange rate that I have introduced in my system, not the planned!)
    Points will be assigned to the suitable answer.
    Thanks in advance.
    Mary Jane

    Hi Sridhar
    Thanks for your reply.
    In OKEQ for the version 0, I have the rate type M.
    I don't understand why the system throwing back the message  " There is no exchange rate for exchange rate type P on 1.01.2008: CHF -> EUR".!
    Do you know why?
    Thanks and regards
    Mary Jane

  • Material cost estimate with quantity structure (tcode: CK11N)

    Hey dear friends.
    I donu2019t know in which forum I should put my question above.
    In fact, Iu2019m new to SAP PM module.
    Iu2019m trying to create material cost estimate with quantity structure (tcode: CK11N) for a material u201CXu201D.
    This material is manufactured.
    While running the transaction CK11N, I got an error message.
    After analyzing this error message, Iu2019ve realised that somebody had assigned wrong activity types to cost centers which are linked to this material in tcode: CR03, tab: costing.
    So Iu2019ve changed and assigned the right activity types.
    Then, Iu2019ve tried to run the tcode CK11N again. But the system still brings the wrong activity types and seems to ignore the ones that Iu2019ve assignedu2026
    It seems like the old activity types still linked to the cost centers somewhere else than in tcode CR03u2026
    Any idea about what am I mising ?
    Thank's in advance.
    Bahia.

    Dear Bahia,
    If its rate routing means,i guess you must be working in REM scenario.
    So goto CA22,delete the existing operation and then assign the same work center in a new
    operation,check what activity types is it proposing in the rate routing,if its reflecting correctly means
    save the datas.
    Also goto KKF6N--->click the change mode icon and then calculator button to create a preliminary cost
    estimate and then save the datas.
    One of our forum friend has asked you to check the production order read PP master data once
    again,but understand there is no production order concept in REM scenario,only planned orders.
    Then come back with your queries.
    Regards
    Mangalraj.S
    Edited by: Mangalraj.S on Jun 17, 2009 12:05 PM

  • Material Cost Estimate with Quantity Structure (How to download)

    Is there a standard report or feature available in SAP to download the material cost estimate with quantity structure?
    Currently we have to print screen and it is very tedious and can't do analysis with those screenshots.
    Please advice.

    Hi,
    There is a standard report you can use - S_P99_41000111 - Analyze/Compare Material Cost Estimates .
    With this report, you can report the standard cost estimates for a range of materials.
    Good Luck!!!  Assign points if this was a useful input to you.
    Thanks and Regards,
    Bhuvaneswari.S

  • Material cost estimate with Quantiy structure

    Hello All,
    Can anyone please help in the following problem. When we do material cost estimate with quantiy structure, system is throwing message as "source of supply cannot be determined".
    Maximum points will be assigned to the suitable answer.
    Thanks in advance.
    Srinivas

    Hi, Srini,
    Please check in material master data whether this material is in-house produced or externally procured, which can be found in MRP view.
    Please also check your costing variant and valuation variant for material cost estination, I think possibly you chose stratey L FROM Purchasing Info Record. If not, ignor it.
    If it's externally procured, SAP logic is that firstly it will check the source list, then determine the quota arrangement and find proper vendor for the selected material. The error message is possibly caused by missing vendor or wrong quota reason. So please follow the SAP logic to check data one by one.
    Please check the following link on vendor determination in online help document.
    http://help.sap.com/saphelp_erp2005vp/helpdata/en/7e/cb938143a311d189ee0000e81ddfac/frameset.htm
    Please specify if you also used mixed costing for material.
    Good luck!

  • Material cost estimate and mateiral cost estimate with quantity structure

    Hi sap guys,
    What is the difference between material cost estimate and material cost estimate with quantity structure

    Hi
    Both are in one way the same.
    Material cost estimate can be calculated as
    1. Material with quantity structure
    2. Material without quantity structure
    You can get more insight into it at the following link
    http://help.sap.com/saphelp_47x200/helpdata/en/7e/cb938143a311d189ee0000e81ddfac/frameset.htm
    Regards,
    Suraj

  • I need help with event structure. I am trying to feed the index of the array, the index can vary from 0 to 7. Based on the logic ouput of a comparison, the index buffer should increment ?

    I need help with event structure.
    I am trying to feed the index of the array, the index number can vary from 0 to 7.
    Based on the logic ouput of a comparison, the index buffer should increment
    or decrement every time the output of comparsion changes(event change). I guess I need to use event structure?
    (My event code doesn't execute when there is an  event at its input /comparator changes its boolean state.
    Anyone coded on similar lines? Any ideas appreciated.
    Thanks in advance!

    You don't need an Event Structure, a simple State Machine would be more appropriate.
    There are many examples of State Machines within this forum.
    RayR

  • How to use STRANS to translate XML to ABAP with deep structure

    every experts, I want to use Tcode: STRANS to translate XML to ABAP, But it does not work well,
    here is XML code,I want to translate this XML into an an Inter table gt_orders with deep structure of oeb, and colum oeb is also and intertable,how can I do this.
    <?xml version="1.0" encoding="gb2312" ?><axmt410><ObjectID>setSalesOrder</ObjectID><azp01>000000</azp01><oea00>1</oea00><ta_oeaecn>SO-140227-3041</ta_oeaecn><oea03>25325017</oea03><oea02>2014-02-27 17:44:44.0</oea02><ta_oea002>2763.0</ta_oea002><ta_oea001>0.0</ta_oea001><oea14></oea14><oea15>25325017</oea15><oea23>RMB</oea23><oeaconf>S3</oeaconf><oea10></oea10><oeaud01>null</oeaud01><ta_oea007></ta_oea007><oea25>101</oea25><ta_oea008>0</ta_oea008><ta_oea009>null</ta_oea009><oeauser>Hanjingya</oeauser><ta_oeanday>2014-02-27 17:44:44.991</ta_oeanday><ta_oeamday>2014-02-28 08:30:14.866</ta_oeamday><ta_oeacday>2014-02-28 08:30:14.866</ta_oeacday><oeaud02>0</oeaud02><ta_oea030>null</ta_oea030><oeb><oeb03>1</oeb03><oeb04>7400208249</oeb04><oeb05>PCS</oeb05><oeb17>921.0</oeb17><oeb13>921.0</oeb13><oeb15></oeb15><oeb12>5</oeb12><oeb09>990001</oeb09><ta_oeb001></ta_oeb001><ta_oeb002>Yunnan</ta_oeb002><ta_oeb003>address1</ta_oeb003><ta_oeb004>zhangdagui、zhanglan</ta_oeb004><ta_oeb005>15974749998、15987782008</ta_oeb005><ta_oeb006>address and street</ta_oeb006><oebud01></oebud01></oeb><oeb><oeb03>2</oeb03><oeb04>7400208250</oeb04><oeb05>PCS</oeb05><oeb17>921.0</oeb17><oeb13>921.0</oeb13><oeb15></oeb15><oeb12>5</oeb12><oeb09>990001</oeb09><ta_oeb001></ta_oeb001><ta_oeb002>Yunnan</ta_oeb002><ta_oeb003>address2</ta_oeb003><ta_oeb004>zhangdagui、chenlan</ta_oeb004><ta_oeb005>15974749998、15987782008</ta_oeb005><ta_oeb006>address and street</ta_oeb006><oebud01></oebud01></oeb></axmt410>
    I write these codes in SAP XSLT  editor
    <xsl:transform xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
       <xsl:output encoding="iso-8859-1" indent="yes" method="xml" version="1.0"/>
       <xsl:strip-space elements="*"/>
       <xsl:strip-space elements="*"/>
       <xsl:template match="/">
         <asx:abap xmlns:asx="http://www.sap.com/abapxml" version="1.0">
           <asx:values>
             <ORDERS>
               <xsl:apply-templates select="//axmt410"/>
             </ORDERS>
           </asx:values>
         </asx:abap>
       </xsl:template>
       <xsl:template match="axmt410">
         <OBJECTID>
           <xsl:value-of select="ObjectID"/>
         </OBJECTID>
         <AZP01>
           <xsl:value-of select="azp01"/>
         </AZP01>
         <OEA00>
           <xsl:value-of select="oea00"/>
         </OEA00>
         <TA_OEAECN>
           <xsl:value-of select="ta_oeaecn"/>
         </TA_OEAECN>
         <OEA03>
           <xsl:value-of select="oea03"/>
         </OEA03>
         <OEA05>
           <xsl:value-of select="oea05"/>
         </OEA05>
         <OEA02>
           <xsl:value-of select="oea02"/>
         </OEA02>
         <TA_OEA002>
           <xsl:value-of select="ta_oea002"/>
         </TA_OEA002>
         <TA_OEA001>
           <xsl:value-of select="ta_oea001"/>
         </TA_OEA001>
         <OEA14>
           <xsl:value-of select="ora14"/>
         </OEA14>
         <OEA15>
           <xsl:value-of select="ora15"/>
         </OEA15>
         <OEA23>
           <xsl:value-of select="ora23"/>
         </OEA23>
         <OEACONF>
           <xsl:value-of select="oeaconf"/>
         </OEACONF>
         <OEA10>
           <xsl:value-of select="ora10"/>
         </OEA10>
         <OEAUD01>
           <xsl:value-of select="oeaud01"/>
         </OEAUD01>
         <TA_OEA007>
           <xsl:value-of select="ta_oea007"/>
         </TA_OEA007>
         <OEA25>
           <xsl:value-of select="ora25"/>
         </OEA25>
         <TA_OEA008>
           <xsl:value-of select="ta_oea008"/>
         </TA_OEA008>
         <TA_OEA009>
           <xsl:value-of select="ta_oea009"/>
         </TA_OEA009>
         <TA_OEA013>
           <xsl:value-of select="ta_oea013"/>
         </TA_OEA013>
         <TA_OEA014>
           <xsl:value-of select="ta_oea014"/>
         </TA_OEA014>
         <TA_OEA015>
           <xsl:value-of select="ta_oea015"/>
         </TA_OEA015>
         <TA_OEA016>
           <xsl:value-of select="ta_oea016"/>
         </TA_OEA016>
         <TA_OEA017>
           <xsl:value-of select="ta_oea017"/>
         </TA_OEA017>
         <TA_OEA018>
           <xsl:value-of select="ta_oea018"/>
         </TA_OEA018>
         <TA_OEA019>
           <xsl:value-of select="ta_oea019"/>
         </TA_OEA019>
         <TA_OEA020>
           <xsl:value-of select="ta_oea020"/>
         </TA_OEA020>
         <TA_OEA021>
           <xsl:value-of select="ta_oea021"/>
         </TA_OEA021>
         <TA_OEA022>
           <xsl:value-of select="ta_oea022"/>
         </TA_OEA022>
         <TA_OEA028>
           <xsl:value-of select="ta_oea028"/>
         </TA_OEA028>
         <OEAUSER>
           <xsl:value-of select="oeauser"/>
         </OEAUSER>
         <TA_OEANDAY>
           <xsl:value-of select="ta_oeanday"/>
         </TA_OEANDAY>
         <TA_OEAMDAY>
           <xsl:value-of select="ta_oeamday"/>
         </TA_OEAMDAY>
         <TA_OEACDAY>
           <xsl:value-of select="ta_oeacday"/>
         </TA_OEACDAY>
         <OEAUD02>
           <xsl:value-of select="oeaud02"/>
         </OEAUD02>
         <TA_OEA030>
           <xsl:value-of select="ta_oea030"/>
         </TA_OEA030>
         <OEB>
           <xsl:for-each select="oeb">
             <OEB03>
               <xsl:value-of select="oeb03"/>
             </OEB03>
             <OEB04>
               <xsl:value-of select="oeb04"/>
             </OEB04>
             <OEB05>
               <xsl:value-of select="oeb05"/>
             </OEB05>
             <OEB17>
               <xsl:value-of select="oeb17"/>
             </OEB17>
             <OEB13>
               <xsl:value-of select="oeb13"/>
             </OEB13>
             <OEB15>
               <xsl:value-of select="oeb15"/>
             </OEB15>
             <OEB12>
               <xsl:value-of select="oeb12"/>
             </OEB12>
             <OEB09>
               <xsl:value-of select="oeb09"/>
             </OEB09>
             <TA_OEB001>
               <xsl:value-of select="ta_oeb001"/>
             </TA_OEB001>
             <TA_OEB002>
               <xsl:value-of select="ta_oeb002"/>
             </TA_OEB002>
             <TA_OEB003>
               <xsl:value-of select="ta_oeb003"/>
             </TA_OEB003>
             <TA_OEB004>
               <xsl:value-of select="ta_oeb004"/>
             </TA_OEB004>
             <TA_OEB005>
               <xsl:value-of select="ta_oeb005"/>
             </TA_OEB005>
             <TA_OEB006>
               <xsl:value-of select="ta_oeb006"/>
             </TA_OEB006>
             <OEBUD01>
               <xsl:value-of select="oebud01"/>
             </OEBUD01>
           </xsl:for-each>
         </OEB>
       </xsl:template>
    </xsl:transform>
    and I use below ABAP program for a test, but the items from XML can not translate into Interner table gt_orders-oeb[]
    TYPE-POOLS abap.
    CONSTANTS gs_file TYPE string VALUE 'C:\temp\order02.xml'.
    * This is the structure for the data from the XML file
    TYPES:
       BEGIN OF typ_s_oeb,
         oeb03     TYPE string,    "
         oeb04     TYPE string,    "
         oeb05     TYPE string,    "
         oeb17     TYPE string,    "
         oeb13     TYPE string,   
         oeb15     TYPE string,   
         oeb12     TYPE string,    "
         oeb09     TYPE string,    "
         ta_oeb001 TYPE string,    "
         ta_oeb002 TYPE string,    "
         ta_oeb003 TYPE string,    "
         ta_oeb004 TYPE string,    "
         ta_oeb005 TYPE string,    "
         ta_oeb006 TYPE string,    "
         ta_oeb013 TYPE string,    "
         ta_oeb014 TYPE string,    "
         ta_oeb015 TYPE string,    "
         ta_oeb016 TYPE string,    "
         ta_oeb017 TYPE string,    "
         ta_oeb018 TYPE string,    "
         ta_oeb019 TYPE string,    "
         ta_oeb020 TYPE string,    "
         ta_oeb021 TYPE string,    "
         ta_oeb022 TYPE string,    "
         oebud01   TYPE string,    "
       END OF typ_s_oeb.
    TYPES: typ_t_oeb TYPE TABLE OF typ_s_oeb WITH KEY oeb03.
    TYPES:
       BEGIN OF typ_s_order,
         objectid   TYPE string,   "
         azp01      TYPE string,   "
         oea00      TYPE string,   "
         ta_oeaecn  TYPE string,   "
         oea03      TYPE string,   "
         oea02      TYPE string,   "
         ta_oea002  TYPE string,   "
         ta_oea001  TYPE string,   "
         oea14      TYPE string,   "
         oea15      TYPE string,  
         oea23      TYPE string,   "
         oeaconf    TYPE string,   "
         oea10      TYPE string,   "
         oeaud01    TYPE string,   "
         ta_oea007  TYPE string,   "
         oea25      TYPE string,   "
         ta_oea008  TYPE string,   "
         ta_oea009  TYPE string,   "
         oeauser    TYPE string,   "
         ta_oeanday TYPE string,   "
         ta_oeamday TYPE string,   "
         ta_oeacday TYPE string,   "
         oeaud02    TYPE string,   "
         ta_oea030  TYPE string,   "
         ta_oea013  TYPE string,
         ta_oea014  TYPE string,
         ta_oea015  TYPE string,
         ta_oea016  TYPE string,
         ta_oea017  TYPE string,
         ta_oea018  TYPE string,
         ta_oea019  TYPE string,
         ta_oea020  TYPE string,
         ta_oea021  TYPE string,
         ta_oea022  TYPE string,
         ta_oea025  TYPE string,
         oeb        TYPE typ_t_oeb,
        END OF typ_s_order.
    * Table for the XML content
    DATA: gt_itab       TYPE STANDARD TABLE OF char2048,
           gs_itab       LIKE LINE OF gt_itab.
    * Table and work ares for the data from the XML file
    DATA: gt_orders     TYPE STANDARD TABLE OF typ_s_order,
           gs_orders     TYPE typ_s_order.
    * Result table that contains references
    * of the internal tables to be filled
    DATA: gt_result_xml TYPE abap_trans_resbind_tab,
           gs_result_xml TYPE abap_trans_resbind.
    * For error handling
    DATA: gs_rif_ex     TYPE REF TO cx_root,
           gs_var_text   TYPE string.
    * Get the XML file from your client
    CALL METHOD cl_gui_frontend_services=>gui_upload
       EXPORTING
         filename                = gs_file
       CHANGING
         data_tab                = gt_itab
       EXCEPTIONS
         file_open_error         = 1
         file_read_error         = 2
         no_batch                = 3
         gui_refuse_filetransfer = 4
         invalid_type            = 5
         no_authority            = 6
         unknown_error           = 7
         bad_data_format         = 8
         header_not_allowed      = 9
         separator_not_allowed   = 10
         header_too_long         = 11
         unknown_dp_error        = 12
         access_denied           = 13
         dp_out_of_memory        = 14
         disk_full               = 15
         dp_timeout              = 16
         not_supported_by_gui    = 17
         error_no_gui            = 18
         OTHERS                  = 19.
    IF sy-subrc <> 0.
       MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
               WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    ENDIF.
    * Fill the result table with a reference to the data table.
    * Within the XSLT stylesheet, the data table can be accessed with
    * "IPERSON".
    GET REFERENCE OF gt_orders INTO gs_result_xml-value.
    gs_result_xml-name = 'ORDERS'.
    APPEND gs_result_xml TO gt_result_xml.
    * Perform the XSLT styleshee
    TRY.
         CALL TRANSFORMATION zfx_so_xml_to_abap
         SOURCE XML gt_itab
         RESULT (gt_result_xml).
       CATCH cx_root INTO gs_rif_ex.
         gs_var_text = gs_rif_ex->get_text( ).
         MESSAGE gs_var_text TYPE 'S'.
    ENDTRY.
    LOOP AT gt_orders INTO gs_orders.
    ENDLOOP.

    The simplest way seems to me is to use a XSL file for that. The <xsl:output> attributes doctype-system and doctype-public generate the DTD declaration <!DOCTYPE YOUR_ROOT SYSTEM "yourDTDfile.dtd"> and <!DOCTYPE YOUR_ROOT PUBLIC "yourDTDfile.dtd">, respectively.
    When calling transformerInstance.transform() the XSLT processor performs the identity transformation - it just copies elements, attributes, content, processing instructions and comments to the result stream.
    If you're using an xsl file for your transformation already, simply add <xsl:output doctype-system="yourDTDfile.dtd"/> to your existing XSL file.
    If you're only using the identity transformation you'd need to change the line of code where you obtain the transformer instance from the TransformerFactory to:
    t_factory.newTransformer(new StreamSource("test.xsl"));
    and use this as test.xsl:
    <?xml version="1.0"?>
    <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
       <xsl:output doctype-system="yourDTDfile.dtd"/>
       <!-- this is the identity transformation -->
       <xsl:template match="*|@*|comment()|processing-instruction()|text()">
          <xsl:copy>
             <xsl:apply-templates select="*|@*|comment()|processing-instruction()|text()"/>
          </xsl:copy>
       </xsl:template>
    </xsl:stylesheet>Good luck.

  • File Content Conversion with Multiple structures

    Here is the scenario
    Legacy to XI -> XI to R/3 (App Server)
    txt file and fixed length.
    <b>Test file</b>
    100WELCOME    0430000960603201321
    2000000000040008000803
    <b>Table2</b>
    RecordType
    PriorityCode
    Destination
    BankOrginNo
    CreationDate
    CretionTime
    Spaces
    <b>Table2</b>
    RecordType
    Destination
    BankOrginNo
    ReferenceCode
    ServiceCode
    RecordLength
    CharactersPerBlock
    PartialCompression
    CompressionSpaces
    <b>Content Conversion Parameters:</b>
    Document Name: Details
    RecordsetName  : recordset
    Recordsetstructure  : Table1,1,Table2,*
    Recordsetsequence: Ascending
    RecordsetperMessage: *
    Keyfieldname          : KF
    Kefieldtype          : String(Case-Sensitive)
    Table1.keyFieldValue     :'1'
    Table1.fieldFixedLengths:1,2,10,10,6,4,47
    Table1.fieldNames :RecordType,PriorityCode,Destination,BankOrginNo,CreationDate,CretionTime,Spaces
    Table2.keyFieldValue     :'2'
    Table2.fieldFixedLengths: 1,10,10,10,3,3,4,1,38
    Table2.fieldNames:RecordType,Destination,BankOrginNo,ReferenceCode,ServiceCode,RecordLength,CharactersPerBlock,PartialCompression,CompressionSpaces
    ignoreRecordsetName     :true
    When I am trying with first structure it is working fine, where as 2 structures it is not.
    in the adopter monitoring it show it pics the file from Legacy(file adopter display green), where as SXMB_MONI it is not showing any thing.
    can any body help on this do I need to maintain any other parameters for file content conversion.
    Thanks
    M

    HI,
    I can see that.
    The number of characters in the file for TABLE2 is lesser then the number of field size given.
    for eg. if the table2 fixed field length sum is 20 ,your file contains only 10 characters. Please give complete data for table2
    Test file
    100WELCOME 0430000960603201321
    <b>2000000000040008000803</b>
    Table2.fieldFixedLengths: 1,10,10,10,3,3,4,1,38
    Ragards
    vijaya
    Message was edited by: vijaya kumari

Maybe you are looking for

  • Release Stratergey of PO

    Dear Experts, I make the Release Stratergy for PO but how can I give the authorization for seperate user means two seperte user Id should be release the Po. RCR

  • Sales Quantity  with Unit  . Multivalue Error.

    Dear  all, I  have  crosstab  with   sales qty  in  y axis  and  x axis  is structure.   when i  concatenate   salesqty   and unit    and drop it in    crosstab  it gives   error  with  multivalue  .please   suggest  solution .     x axis  structure 

  • In transit problem

    Dear Guru,      some quantity is in the stock in transit at plant level. I couldn't clear this quantity because no document reference and split valuation type. i try to use mvt 557 to remove but the system ask me to input valuation. actually no valua

  • Jtable setDefaultEditor on a cell??

    I have a table that has several cells that are of type integer. I would like to place a custom editor on one of the columns. I have wrote my editor but it works on all of the interger cells rather than the "Zip Code" cell that I would like it to work

  • When i try to open idvd, all i get is a "?" symbol

    when i try to open idvd, all i get is a "?" symbol over the idvd icon