Smartform XML output stored in which table?

Hi Folks,
I wanted to know the  table where SAP stores the XML output of a Smartform...
If not tables , please let me know where the output is stored....
Thanks
Reddy

Hello Reddy,
I suppose you are you calling Smartform execution with this kind of call (more or less):
CALL FUNCTION v_fm_name
     EXPORTING
       ARCHIVE_INDEX                                   = s_archive_index
       ARCHIVE_INDEX_TAB                         = s_archive_index_tab
       ARCHIVE_PARAMETERS                    = s_archive_params
       CONTROL_PARAMETERS                  = s_control_param
       MAIL_APPL_OBJ                                   = s_mail_appl_obj
       MAIL_RECIPIENT                                  = s_mail_recipient
       MAIL_SENDER                                      = s_mail_sender
       OUTPUT_OPTIONS                              = s_output_options
       USER_SETTINGS                                 = 'X'
       LV_SALES                                               = p_sales
       LV_PADDR                                             = v_address_num
       LV_ADRNR                                             = v_adrnr
       LV_EQUNR                                             = v_equnr
       LV_SERNR                                             = v_sernr
     IMPORTING
       DOCUMENT_OUTPUT_INFO             =  s_doc_output_info
       JOB_OUTPUT_INFO                            =  s_job_output_info
     EXCEPTIONS
       FORMATTING_ERROR                        = 1
       INTERNAL_ERROR                              = 2
       SEND_ERROR                                      = 3
       USER_CANCELED                               = 4
       OTHERS                                                  = 5.
You can get the document XML in the IMPORTING parameter JOB_OUTPUT_INFO, for example to download the XML document you can do something like this:
     LOOP AT s_job_output_info-xsfdata INTO xsf_line.
          l_line = xsf_line.
          APPEND l_line TO l_table.
     ENDLOOP.
     CALL FUNCTION 'GUI_DOWNLOAD'
          EXPORTING
               filename                        = 'C:\temp\test.xml'
          TABLES
               data_tab                        = l_table.
I am not sure the data is stored internally in any databse table (in addition to be return in the JOB_OUTPUT_INFO parameter).

Similar Messages

  • Parked Vendor Invoices stored in which tables?

    Parked Vendor Invoices (not yet post) stored in which tables (both header and items)?

    Hi,
    Check out following tables
    VBSEGA - Document Segment for Document Parking - Asset
    VBSEGD - Document Segment for Customer Document Park
    VBSEGK - Document Segment for Vendor Document Parking
    VBSEGS - Document Segment for Document Parking - G/L A/c
    hope this helps

  • Error messages in ABAP program are stored in which table

    hi all,
    Can anyone tell
    error messages in ABAP program are stored in which table??

    Hi Sir ,
    Please have a look below .Hope it is suitable and simpler solution for your question.
    Please do reward if useful.
    Thankx.
    Fuction module for storing error messages  ->'format_message'
    for example...
    data : v_message(100) type c.
    call transaction NNNN mode A update S messages into it_messages.
    loop at it_messages where msgty = 'E'.
    call function 'format_message'
    exporting
    *it_messages details
    importing
    v_message.
    write :/ v_message.
    clear v_message.
    endloop.
    Anothe method - ->
    Here is a sample of the program code for that:
    LOOP AT it_messtab.
    CALL FUNCTION 'FORMAT_MESSAGE'
    EXPORTING
    id = it_messtab-msgid
    lang = it_messtab-msgspra
    no = it_messtab-msgnr
    v1 = it_messtab-msgv1
    v2 = it_messtab-msgv2
    IMPORTING
    msg = g_msg
    EXCEPTIONS
    OTHERS = 0.
    IF it_messtab-msgtyp = 'S'.
    it_sucess-sucess_rec = g_msg.
    it_sucess-lifnr = it_header-lifnr." Based on your field
    it_sucess-tabix = v_lines.
    APPEND it_sucess.
    ELSEIF it_messtab-msgtyp = 'E'.
    it_error-error_rec = g_msg.
    it_error-lifnr = it_header-lifnr.
    it_error-tabix = v_lines.
    APPEND it_error.
    ELSE.
    it_info-info_rec = g_msg.
    it_info-lifnr = it_header-lifnr.
    it_info-tabix = v_lines.
    APPEND it_info.
    ENDIF.
    ENDLOOP.

  • Route Description is stored in which table??

    Hi, i want to collect full route infomations within a SO by using a Query.
    Currently i know that there should join some tables to get some info.
    For example:
    My output list will be showed like below:
    SO#                         VBAK
    Created on                     VBAK
    SOrg./DChl/Dv           VBAK
    Sold-to pt                     VBAK
    Material                     VBAP
    Plnt                    VBAP
    ShPt                    VBAP
    Route                     VBAP
    Departure Country       ???         
    Departure zone            ???
    Shp.Cond.                      VBAK
    Trans. Group              MARA
    DestinationCtry           ???
    Transport.zone             VBPA
    Route Description        ???
    I dont know which table could be used to get the value of those ??? fields??
    And also want to know the Trans.Group found in table VBPA is right or not?
    Thanks!!!
    Message was edited by:
            Hoo Laa
    Message was edited by:
            Hoo Laa

    Incase of Route determination without weight.
    Table-Field: VBAP-ROUTE --> You get Route in Sales Order
    Table & Field Link: TROLZ01-ROUTE = VBAP-ROUTE --> Table Joints
    Table-Field: TROLZ01-ALAND --> You can capture Departure Country from here.
    Table-Field: TROLZ01-AZONE You can capture Departure Zone from here
    Incase of Route determination with weight
    Table-Field: VBAP-ROUTE --> You get Route in Sales Order
    Table & Field Link: TROLZ02-ROUTE = VBAP-ROUTE --> Table Joints
    Table-Field: TROLZ02-ALAND --> You can capture Departure Country from here.
    Table-Field: TROLZ02-AZONE You can capture Departure Zone from here
    Regards,
    Rajesh Banka
    Reward suitable points.
    How to give points: Mark your thread as a question while creating it. In the answers you get, you can assign the points by clicking on the stars to the left. You also get a point yourself for rewarding (one per thread).

  • Cost element hierarchy stored in which table..

    Hi Experts,
    could you please tell me which tables are storing the cost element hierarchy, which is displayed
    in KAS3 hierarchy...like cost center group hierarchy is stored in SETNODE , which is displayed in
    KSH3 transaction.
    Thanks.

    Check these tables.
    TKZU1
    EVCE
    TPIK2
    TPIK3
    TORB1

  • RFQ stored in which table.

    Hi Gurus,
                  I want to know in which table the RFQ(Vendor Requisition number) is stored.
    Regards,
    Krishna

    Hi Bala,
    Check the EKKO table for RFQ, like this.
    EKKO-BSTYP = 'A'.
    (Purchasing Document Category )
    EKKO-BSART = 'AN'.
    (Purchasing Document Type)
    Regards,
    KV.

  • Where does ATP feed back from APO gets stored  (in which table) in R/3?

    Hi ALL,
    I am facing problem in finding in which table the response in R/3 gets stores after ATP check is done in APO?
    I will be grateful, if you experienced guys can help me find it?
    Thanks in advance
    Reetesh

    I would be surprised if the ATP feedback from APO gets stored in R/3 table. When a product location is flagged as GATP relevant, and when say a sales order is created in R3 (or any other business event flagged as ATP relevant) an RFC call is done to APO system and all calculations are done then and there in APO-- only confirmed quantity is sent back to R3. What you see in R3 is confirmed quantity and there is no other thing sent back to R3.

  • Smartform xml output

    Hello Frnds,
    Actually I want to store the output of the smartformx xml output in a file.
    I am able to see it in spool ... but how to get it into a file ?
    How & where to ser port type FILE.
    Thanks & Regards

    Hi ,
    Check this thread, may be it helps you
    xml output from smartforms
    smartform output
    Re: FB_CONVERT_FORM_TO_XML ?
    Re: XML OUTPUT
    http://help.sap.com/saphelp_nw04/helpdata/en/6c/28923c114011d5b675006094192fe3/frameset.htm
    Regards,
    Raghav
    Message was edited by:
            Raghavendra  L

  • How to find the current User Name and stored in which table

    In which table the current user name (Login) is stored?

    Hi Mohanapriya
    The query provided by Gordon can not run on query generator as the $USER is a runtime variable.
    You need to save it to a query then use it in a FMS(Formatted Search.)
    Just open a form(ex:sales order ), click the field in which you want to show the user name,
    then press ****+F2 or Tools->Search Function->Define,
    Search by Saved query,then assign the save query to the field.
    After that ,you can run the FMS(shift+F2) to get the current user info.
    Regards,
    Syn Qin
    SAP Business One Forums Team

  • Parked Vendor Invoices (MIR7) stored in which tables ?

    Dear All,
    I need to write a report to show all park documents.
    I know that this table store park document header.
    vbkpf      - Store All Park Documents Header (Include Vendor Invoice (MIR7))
    However, I have checked some tables in the following and doesn't contain any vendor invoice details line transactions.
    VBKPF       Document Header for Document Parking
    VBSEC   Document Parking One-Time Data Document
    VBSEGA  Document Segment for Document Parking
    VBSEGD  Document Segment for Customer Document
    VBSEGK  Document Segment for Vendor Document
    VBSEGS  Document Segment for Document Parking
    VBSET   Document Segment for Taxes Document
    VBWF09  People with Release Authorization
    VBWF15  People with Release Authorization
    Please help to comments which table to store Parked Vendor Invoices details line transactions.
    Thanks in advance,
    Best Reqards,
    Leo

    Hi,
    Please check the table RSEG - Document Item: Incoming Invoice
    Regards,
    jigar

  • Generate xml output file from relational table

    Hi All,
    I'd like to generate an XML file from a relational table but would like to persist the XSD in Oracle does anyone have a working example?
    Edited by: houchen on Jun 2, 2009 5:34 AM

    From the FAQ on the {forum:id=34} forum, {thread:id=416001}.
    If you are wanting to register the schemas in Oracle, you will find info on that as well in the FAQ.

  • BI Publisher bursting report Output stores in which table

    Hi gurus,
    I need to develop a functionality where in need to cut report output into multiple pieces based on the customer/invoice.
    Like if i generate Pdf output of XML publisher report, then I need to cut again this report as per invoice number related to customer.
    I know that bursting does this part and emails out. Based on the group it will trigger those emails to customer. Here i want to capture all those invoice wise pdf files into any clob custom table, which i will create. But I am not aware whether this files will be stored any else in the server of Oracle applications.
    I want those pdf files need to be stored in to my custom tables else if already stores where can i find that information.
    Regards,
    Nagendra

    For Example
    1. click on Edit.
    2. This brings to a screen where you see templates defined for your report.
    3. On the Right Hand side, one will 'View Thumbnails' and 'View s List'. Click on 'View a List'.  Please make sure Excel output is part of outputs enabled for the template and also is the default output.

  • XML input stored in normalized tables

    We have a system in place already, but have just found out that we'll be receiving some files intended for dataloads in XML format.
    Where should I start looking for documentation on how to process these files? Most of the docs I've seen so far have to do with storing XML data in XML format. Is that where I'd start, perhaps using a GLOBAL TEMP TABLE which would hold data as XML, and then move the data from that table to the permanent table using SQL?
    Clueless,
    Chuck

    In 9i it is possible to shred the XML documents into normalised tables. Using the Oracle approach is a much better approach than writing your own code to navigate the DOM: I did that in an 8i project and it's some of the most complicated, least maintainable code I ever churned out. Although I imagine the 9i support for XPath might make the task easier.
    Cheers, APC

  • Fetch XML data stored in database table column dynamically

    Hi All,
    I am working as a SQL guy but never worked on XML in SQlbefore.
    During some project work , we need to fetch value from xml stored in database column.
    Problem is rowsof xml column arebit different and have different values.
    Could anybody help me to build something dynamic to fetch all values from each row .
    My data look like:
    TEXT
    <
    RiskEndorsement><ExistingExposureSplitLimitsChange><NewRiskLimitSeq>536504</NewRiskLimitSeq><EffDate>11/1/2011</EffDate></ExistingExposureSplitLimitsChange></RiskEndorsement>
    <
    RiskEndorsement><MandatoryStateRateSplit><StateCode>NY</StateCode><EffDate>4/1/2011</EffDate></MandatoryStateRateSplit></RiskEndorsement>
    <
    RiskEndorsement><NonAnniversaryExModSplit><RiskBureauSeq>197608</RiskBureauSeq><RiskIDStatusSeq>1616</RiskIDStatusSeq><RiskIDNbr>0389463</RiskIDNbr><ExModStatusSeq>1607</ExModStatusSeq><ExModFactor>0.890</ExModFactor><SplitDate>3/11/2012</SplitDate></NonAnniversaryExModSplit></RiskEndorsement>
    <
    RiskEndorsement><NonAnniversaryExModSplit><RiskBureauSeq>197613</RiskBureauSeq><RiskIDStatusSeq>1616</RiskIDStatusSeq><RiskIDNbr>0389463</RiskIDNbr><ExModStatusSeq>1607</ExModStatusSeq><ExModFactor>0.970</ExModFactor><SplitDate>1/13/2013</SplitDate></NonAnniversaryExModSplit></RiskEndorsement>
    <
    RiskEndorsement><MandatoryStateRateSplit><StateCode>AL</StateCode><EffDate>7/1/2011</EffDate></MandatoryStateRateSplit></RiskEndorsement>
    <
    RiskEndorsement><AnniversaryRatingDateSplit><RiskBureauSeq>208975</RiskBureauSeq><RiskIDStatusSeq>1616</RiskIDStatusSeq><RiskIDNbr>230094357</RiskIDNbr><ExModStatusSeq>1607</ExModStatusSeq><ExModFactor>0.8700</ExModFactor><SplitDate>1/1/2012</SplitDate></AnniversaryRatingDateSplit></RiskEndorsement>
    <
    RiskEndorsement><AnniversaryRatingDateSplit><RiskBureauSeq>213467</RiskBureauSeq><RiskIDStatusSeq>1616</RiskIDStatusSeq><RiskIDNbr>2431638</RiskIDNbr><ExModStatusSeq>1607</ExModStatusSeq><ExModFactor>0.6800</ExModFactor><SplitDate>10/1/2013</SplitDate></AnniversaryRatingDateSplit></RiskEndorsement>
    <
    RiskEndorsement><NonAnniversaryExModSplit><RiskBureauSeq>213473</RiskBureauSeq><RiskIDStatusSeq>1615</RiskIDStatusSeq><RiskIDNbr>917661014</RiskIDNbr><ExModStatusSeq>1607</ExModStatusSeq><ExModFactor>0.860</ExModFactor><SplitDate>10/1/2013</SplitDate></NonAnniversaryExModSplit></RiskEndorsement>
    <
    RiskEndorsement><AnniversaryRatingDateSplit><RiskBureauSeq>213497</RiskBureauSeq><RiskIDStatusSeq>1616</RiskIDStatusSeq><RiskIDNbr>1146456</RiskIDNbr><ExModStatusSeq>1607</ExModStatusSeq><ExModFactor>0.830</ExModFactor><SplitDate>10/1/2013</SplitDate></AnniversaryRatingDateSplit></RiskEndorsement>
    Andrew

    Please post a concise and complete example. Include table DDL and sample data INSERT statements.
    Cause the solution depends on your actual structure. Otherwise take a look at the
    nodes() method.
    E.g.
    DECLARE @Sample TABLE
    ID INT IDENTITY ,
    Data XML
    INSERT INTO @Sample
    ( Data )
    VALUES ( '<RiskEndorsement><ExistingExposureSplitLimitsChange><NewRiskLimitSeq>536504</NewRiskLimitSeq><EffDate>11/1/2011</EffDate></ExistingExposureSplitLimitsChange></RiskEndorsement> ' ),
    ( '<RiskEndorsement><MandatoryStateRateSplit><StateCode>NY</StateCode><EffDate>4/1/2011</EffDate></MandatoryStateRateSplit></RiskEndorsement> ' ),
    ( '<RiskEndorsement><NonAnniversaryExModSplit><RiskBureauSeq>197608</RiskBureauSeq><RiskIDStatusSeq>1616</RiskIDStatusSeq><RiskIDNbr>0389463</RiskIDNbr><ExModStatusSeq>1607</ExModStatusSeq><ExModFactor>0.890</ExModFactor><SplitDate>3/11/2012</SplitDate></NonAnniversaryExModSplit></RiskEndorsement> ' ),
    ( '<RiskEndorsement><NonAnniversaryExModSplit><RiskBureauSeq>197613</RiskBureauSeq><RiskIDStatusSeq>1616</RiskIDStatusSeq><RiskIDNbr>0389463</RiskIDNbr><ExModStatusSeq>1607</ExModStatusSeq><ExModFactor>0.970</ExModFactor><SplitDate>1/13/2013</SplitDate></NonAnniversaryExModSplit></RiskEndorsement> ' ),
    ( '<RiskEndorsement><MandatoryStateRateSplit><StateCode>AL</StateCode><EffDate>7/1/2011</EffDate></MandatoryStateRateSplit></RiskEndorsement> ' ),
    ( '<RiskEndorsement><AnniversaryRatingDateSplit><RiskBureauSeq>208975</RiskBureauSeq><RiskIDStatusSeq>1616</RiskIDStatusSeq><RiskIDNbr>230094357</RiskIDNbr><ExModStatusSeq>1607</ExModStatusSeq><ExModFactor>0.8700</ExModFactor><SplitDate>1/1/2012</SplitDate></AnniversaryRatingDateSplit></RiskEndorsement> ' ),
    ( '<RiskEndorsement><AnniversaryRatingDateSplit><RiskBureauSeq>213467</RiskBureauSeq><RiskIDStatusSeq>1616</RiskIDStatusSeq><RiskIDNbr>2431638</RiskIDNbr><ExModStatusSeq>1607</ExModStatusSeq><ExModFactor>0.6800</ExModFactor><SplitDate>10/1/2013</SplitDate></AnniversaryRatingDateSplit></RiskEndorsement> ' ),
    ( '<RiskEndorsement><NonAnniversaryExModSplit><RiskBureauSeq>213473</RiskBureauSeq><RiskIDStatusSeq>1615</RiskIDStatusSeq><RiskIDNbr>917661014</RiskIDNbr><ExModStatusSeq>1607</ExModStatusSeq><ExModFactor>0.860</ExModFactor><SplitDate>10/1/2013</SplitDate></NonAnniversaryExModSplit></RiskEndorsement> ' ),
    ( '<RiskEndorsement><AnniversaryRatingDateSplit><RiskBureauSeq>213497</RiskBureauSeq><RiskIDStatusSeq>1616</RiskIDStatusSeq><RiskIDNbr>1146456</RiskIDNbr><ExModStatusSeq>1607</ExModStatusSeq><ExModFactor>0.830</ExModFactor><SplitDate>10/1/2013</SplitDate></AnniversaryRatingDateSplit></RiskEndorsement> ' );
    SELECT ID ,
    ExistingExposureSplitLimitsChange.value('NewRiskLimitSeq[1]', 'INT') AS NewRiskLimitSeq ,
    ExistingExposureSplitLimitsChange.value('EffDate[1]', 'DATE') AS EffDate
    FROM @Sample S
    CROSS APPLY S.Data.nodes('/RiskEndorsement/ExistingExposureSplitLimitsChange') A ( ExistingExposureSplitLimitsChange );
    SELECT ID ,
    MandatoryStateRateSplit.value('StateCode[1]', 'NVARCHAR(255)') AS StateCode ,
    MandatoryStateRateSplit.value('EffDate[1]', 'DATE') AS EffDate
    FROM @Sample S
    CROSS APPLY S.Data.nodes('/RiskEndorsement/MandatoryStateRateSplit') A ( MandatoryStateRateSplit );
    SELECT ID ,
    NonAnniversaryExModSplit.value('RiskBureauSeq[1]', 'INT') AS RiskBureauSeq ,
    NonAnniversaryExModSplit.value('RiskIDStatusSeq[1]', 'INT') AS RiskIDStatusSeq ,
    NonAnniversaryExModSplit.value('RiskIDNbr[1]', 'INT') AS RiskIDNbr ,
    NonAnniversaryExModSplit.value('ExModStatusSeq[1]', 'INT') AS ExModStatusSeq ,
    NonAnniversaryExModSplit.value('ExModFactor[1]', 'FLOAT') AS ExModFactor ,
    NonAnniversaryExModSplit.value('SplitDate[1]', 'NVARCHAR(255)') AS SplitDateText
    FROM @Sample S
    CROSS APPLY S.Data.nodes('/RiskEndorsement/NonAnniversaryExModSplit') A ( NonAnniversaryExModSplit );
    SELECT ID ,
    AnniversaryRatingDateSplit.value('RiskBureauSeq[1]', 'INT') AS RiskBureauSeq ,
    AnniversaryRatingDateSplit.value('RiskIDStatusSeq[1]', 'INT') AS RiskIDStatusSeq ,
    AnniversaryRatingDateSplit.value('RiskIDNbr[1]', 'INT') AS RiskIDNbr ,
    AnniversaryRatingDateSplit.value('ExModStatusSeq[1]', 'INT') AS ExModStatusSeq ,
    AnniversaryRatingDateSplit.value('ExModFactor[1]', 'FLOAT') AS ExModFactor ,
    AnniversaryRatingDateSplit.value('SplitDate[1]', 'NVARCHAR(255)') AS SplitDateText
    FROM @Sample S
    CROSS APPLY S.Data.nodes('/RiskEndorsement/AnniversaryRatingDateSplit') A ( AnniversaryRatingDateSplit );

  • ALV Layout set fields stored in Which table?

    HI All,
    I Developed ALV Report,and created Layout for that . I want to know where the all fields for particular layout set are stored?

    Hi
    i am getting the error, not_found.
    if i found the table entries i have 8 entries.
    CALL FUNCTION 'LT_VARIANT_LOAD'
      EXPORTING
      I_TOOL                      = 'LT'
        i_tabname                   = '1'
      I_TABNAME_SLAVE             =
       I_DIALOG                    = ' '
      I_USER_SPECIFIC             = ' '
      I_DEFAULT                   = 'X'
      I_NO_REPTEXT_OPTIMIZE       =
      I_VIA_GRID                  =
      I_FCAT_COMPLETE             =
    IMPORTING
      E_EXIT                      =
       ET_FIELDCAT                 = ttet_fieldcat[]
      ET_SORT                     =
      ET_FILTER                   =
      changing
        cs_layout                   = tcs_layout
        ct_default_fieldcat         = tct_default_fieldcat
        cs_variant                  = GT_disvari
    EXCEPTIONS
       WRONG_INPUT                 = 1
       FC_NOT_COMPLETE             = 2
       NOT_FOUND                   = 3
       OTHERS                      = 4
    IF sy-subrc <> 0.
          MESSAGE 'Error loading variant!' TYPE 'I'.
        ENDIF.
    any clue on this

Maybe you are looking for

  • Why isn't the Searh box working??

    No matter what I type into the search box, I don't get ANY results.  Is it broke?

  • On a Mac, how do I delete RSS from the bookmarks menu?

    Firefox is 7.0.1, Mac OS is 10.6.8. I have RSS tags in my bookmarks menu, probably from an older Mac, and I want to delete them. All I can do with them is open them; they won't budge! Help!

  • Photo will not disappear from Photos app

    I saved a photo from my messages into my camera roll, imported it into iPhoto, and synced it back to my iPhone.  A few minutes later I deleted the photo from my iPhoto Library . . . but it refuses to disappear from my iPhone.  I've turned off photo s

  • HT5622 How do I get refund from unwanted iCloud upgrade?

    I upgraded my iCloud storage thinking that it would allow me to upgrade to latest iOS system which I don't have room for.  The iCloud upgrade is no use for this so I want to claim the money back.  How do I do this?

  • Lost all contacts iOS7 on iPAD

    "upgraded" to iOS7 on my iPad last night.  This morning I noticed that all my contacts on the iPad have gone missing.  I tried syncing in iTunes but no joy.  Contacts seem to have gone missing in iCloud too.  iCloud is supposed to sync contacts from