Change XML after CALL FUNCTION 'SDIXML_DOM_TO_XML'

Hi All,
i need a possibility to change a proper formed XML into something like this.
Example:
<PRESOL>  
<DATE> 0521
<YEAR> 99
<CBAC> demo
<PASSWORD> DEMO
<ZIP> 22030
<CLASSCOD> B
<NAICS> 123456
</PRESOL>
Thanks,
Christoph

Hello Christoph
I assume that you want to remove all closing XML tags from your XML except for the very last one. Since I do not think there is a standard function/class available for this kind of transformation, I would simply use a couple of string operations to get the result.
Instead of describing the procedure I send you a code sample (the logic should be straightforward):
*& Report  ZUS_SDN_XML_TRANSFORMATION
REPORT  zus_sdn_xml_transformation.
DATA:
  gd_xml         TYPE string,
  gt_split       TYPE STANDARD TABLE OF string,
  gd_string      TYPE string,
  gd_string_sav  TYPE string,
  gd_offset      TYPE i.
START-OF-SELECTION.
* sample XML string
  CONCATENATE
    '<PRESOL>'
    '<DATE> 0521 </DATE>'
    '<YEAR> 99 </YEAR>'
    '<CBAC> demo </CBAC>'
    '<PASSWORD> DEMO </PASSWORD>'
    '<ZIP> 22030 </ZIP>'
    '<CLASSCOD> B </CLASSCOD>'
    '<NAICS> 123456 </NAICS>'
    '</PRESOL>'
    INTO gd_xml.
* Just to see the entire string...
  WRITE: / gd_xml.
  SKIP 1.
* Split XML string at closing-tag marker
  SPLIT gd_xml AT '</' INTO TABLE gt_split.
* Just to see what happened...
  LOOP AT gt_split INTO gd_string.
    WRITE: / gd_string.
  ENDLOOP.
  SKIP 1.
* Do the string operations...
  LOOP AT gt_split INTO gd_string.
    gd_string_sav = gd_string.
    AT FIRST.
      CONTINUE.
    ENDAT.
    AT LAST.
      CONCATENATE '<' gd_string_sav INTO gd_string.
      MODIFY gt_split FROM gd_string INDEX syst-tabix.
      CONTINUE.
    ENDAT.
    SEARCH gd_string FOR '>' IN CHARACTER MODE.
    IF ( syst-fdpos > 0 ).
      gd_offset = syst-fdpos + 1.
      gd_string = gd_string+gd_offset.
      MODIFY gt_split FROM gd_string INDEX syst-tabix.
    ENDIF.
  ENDLOOP.
* Just to see what happened...
  LOOP AT gt_split INTO gd_string.
    WRITE: / gd_string.
  ENDLOOP.
  SKIP 1.
END-OF-SELECTION.
Regards
   Uwe

Similar Messages

  • Commit changes after CALL FUNCTION ... IN UPDATE TASK

    Hi ABAPers,
    I'm a bit confused about the behaviour of Update Function Modules.
    Following scenario:
    In our transaction (Modulpool with dynpros) the user clicks a butto to change some data:
    1. PAI-Modul performs FORM_A
    2. FORM_A calls FM_A several times in a LOOP
    3. FM_A does some business logic and calls FM_B IN UPDATE TASK
    4. FM_B modifies database tables
    5. After the LOOP FORM_A does COMMIT WORK AND WAIT
    Then the changes are not in the db immediately, the user will see the old data for a short time.
    Why does the COMMIT-statement not start the Update-process?
    Thanks,
    Markus

    Hi,
    This executes all high-priority update function modules registered using CALL FUNCTION ... IN UPDATE TASK in the order of their registration and in a common database LUW. If you do not specify the addition AND WAIT, the program does not wait until the update work process has executed it (asynchronous updating). If you specify the addition AND WAIT, however, program processing after COMMIT WORK will not continue until the update work process has executed the high-priority update function modules (synchronous updating).
    If all high-priority update function modules are completed successfully, the statement executes the low-priority update function modules together in a common database LUW.
    here high priority function moudles are function module with V1 task.
    Regards,
    Siva chalasani.

  • Interactive Gantt chart - how to receive updated XML after user changes

    Hello,
    I failed to receive changed XML after user updates.
    I've constructed following example:
    Created context attribute of type XSTRING, binded it to the "dataSource" property of the Gantt chart control.
    I pass following XML to the control:
    <?xml version="1.0" encoding="iso-8859-5" ?>
    <SAPJNetData version="1.0">
    <Application type="GANTT" version="1.0" />
    <TypeRepository version="1.0" href="/SAP/BC/WebDynpro/SAP/ZT_INV_WDR_TEST_GANTT/gantPR02P00086_3_tr.xml" />
    <UserInterface version="1.0" href="/SAP/BC/WebDynpro/SAP/ZT_INV_WDR_TEST_GANTT/gantPR02P00086_3_ui.xml" />
    <Graph type="Gantt.Graph" version="1.0">
    <rows>
      <row id="001" />
      <row id="002" />
      <row id="003" />
      </rows>
    <dates timeZone="GEurope/Berlin" locale="de_DE" format="dd.MM.yyyy" dateEnd="20.01.2010">
      <section date="01.01.2010" unit="DAY" unitSize="20" />
    <calendarItem id="Cal.1stDayInMonth">
      <repetition unit="MONTH" />
      </calendarItem>
    <calendarItem id="Cal.1stDayInWeek">
      <repetition unit="WEEK" />
      </calendarItem>
      </dates>
    <view>
      <viewpos date="01.01.2010" />
      </view>
    <chart id="Dummy">
    <timeScale>
    <section index="0">
      <ribbon type="Gantt.CProjects.Ribbon.Month" />
      <ribbon type="Gantt.CProjects.Ribbon.3Days" />
      </section>
      </timeScale>
      <grid type="Grid.CProjects.Gantt.TimeLine" calendarIDs="Cal.1stDayInWeek" />
    <table type="Gantt.Table" id="CProj-Table">
      <defaults typeCell="L.Table" typeHeader="L.Table" />
      <tree showRootIcons="TRUE" />
    <cols showInitially="4">
      <ids>TREE,ID2,ID3</ids>
      </cols>
    <header>
      <header width="30" />
      <label colid="TREE" width="250">Этап</label>
      <label colid="ID2">Дата с</label>
      <label colid="ID3">Дата по</label>
      </header>
    <rows>
      <ids>001,002,003</ids>
      </rows>
    <row>
      <header>1</header>
      <tree>Top Item</tree>
      <label>01.01.2010</label>
      <label>20.01.2010</label>
      </row>
    <row>
      <header>2</header>
      <tree parentRow="001">Subitem 1</tree>
      <label>01.01.2010</label>
      <label>10.01.2010</label>
      </row>
    <row>
      <header>3</header>
      <tree parentRow="001">Subitem 2</tree>
      <label>11.01.2010</label>
      <label>20.01.2010</label>
      </row>
      </table>
    <graph>
    <view>
      <backColor type="White" />
      </view>
    <node id="001" type="Gantt.CProjects.SummaryNode" rowID="001">
    <dates>
      <date>01.01.2010</date>
      <date>20.01.2010</date>
      </dates>
      </node>
    <node id="002" type="Gantt.CProjects.Node" rowID="002">
    <dates>
      <date>01.01.2010</date>
      <date>10.01.2010</date>
      </dates>
      </node>
    <node id="003" type="Gantt.CProjects.Node" rowID="003">
    <dates>
      <date>11.01.2010</date>
      <date>20.01.2010</date>
      </dates>
      </node>
      </graph>
      </chart>
      </Graph>
      </SAPJNetData>
    Then I run my example application, press standard "Save" button in Gantt chart control.
    After that my XML in context changes, but it's incorrect. There is no <graph> tag at all - this tag should contain all significant parameters of the chart.
    The resulting XML below:
    <?xml version="1.0" encoding="UTF-8" standalone="no"?>
    <SAPJNetData build="9295" date="04-Aug-2010 10:19:13" host="localhost" version="1.1247">
    <Application type="GANTT" version="1.0"/>
    <TypeRepository href="/SAP/BC/WebDynpro/SAP/ZT_INV_WDR_TEST_GANTT/gantPR02P00086_3_tr.xml" version="1.0"/>
    <UserInterface href="/SAP/BC/WebDynpro/SAP/ZT_INV_WDR_TEST_GANTT/gantPR02P00086_3_ui.xml" version="1.0"/>
    <GraphGantt version="1.1247"/>
    </SAPJNetData>
    All the chart in fact has completely disappeared. There is nothing left but file header.
    The question: How to get XML with all user changes back from the Gantt chart control?

    Long time, hah..
    Anyways thanks to behave like a responsible person on SCN and taking care of your threads..
    Liked.

  • Remote call function and destination

    Hi all @SAPforums,
    I used to call remotely a custom function, in a report, from many backends:
    CALL FUNCTION ZFOO destination mydest
    where mydest is a string containing the name of an RFC destination.
    My question is: is there a way, on the destination machine, to get the name/id of the "caller" ?
    The question arises from this task: I have to use the caller ID in a WHERE clause of a SELECT statement I have to write in ZFOO. I can - of course - pass the caller ID by adding a new parameter to the function, but this would make necessary a change on the CALL FUNCTION in every backend (quite expensive task, in terms of time). So if it's possible, from the callee, to get the name of the caller, I could just modify the function leaving the calls in every backend as they are.
    Thanks in advance

    >
    Matteo Montalto wrote:
    > Hello Wolfgang,
    > sorry for the stupid question... what does "destination" stands for?
    > Thanks for the help
    Hi ,
    they are two types of RFC calling is ther..
    1......
    CALL FUNCTION "function0module-name' DESTINATION "DEST" 
    --that means you are picking data from another r/3 sytem using detination from 'DEST'..
    2....
    CALL FUNCTION "function0module-name' IN BACKGROUND TASK DESTINATION "DEST" 
    --that means you are sending data to another r/3 sytem or any other sytem XI or and EDI
    using detination from 'DEST'..
    for 1 and 2..
    --go to t-code SM59 and see the DEST what type of connection is and what system it is connected..
    Regards,
    Prabhudas

  • Call function SXMB_SELECT_MESSAGES - determine message type

    After calling function SXMB_SELECT_MESSAGES, you get the
    following information in the return structure. How do you determine the
    message type based upon this information? Programatically (table name or
    functions)?
    outbound system,outbound namespace,outbound interface name
    inbound system,inbound namespace, and inbound interface name

    Hey,
    I forgot to mentation,
    if you are using swith proceudure than,
    need to use the table SXMSPEMAS2,
    in order to find the current table,
    pleae do the following:
    I hope I don't have minor syntax error
    (I didn't compile this before...)
    Report mizi.
    Data:
       lv_emast_table type tabname,
       lv_guid             like sxmsemast-msgguid,
       lv_pid               like sxmsemast-pid,
       ls_emast          type sxmsemast.
    Get values into lv_guid and lv_pid
    lv_guid = ...
    lv_pid   = ...
    call method
       cl_xms_persist=>get_current_table_contrainer
       importing
          ex_emast = lv_emast_table.
    select *
    from (lv_emast_table)
    into ls_emast         
    where
    msgguid = lv_guid and
    pid         = lv_pid.
    write: / ls_emast.

  • Call function POPUP_TO_CONFIRM after Excel close

    Good morning
    I have written code like this
    DATA: EXCEL TYPE OLE2_OBJECT.
      DATA: BOOKS TYPE OLE2_OBJECT.
      DATA: BOOK  TYPE OLE2_OBJECT.
      DATA: CELL  TYPE OLE2_OBJECT.
      DATA: FONT  TYPE OLE2_OBJECT.
      DATA: FILE  TYPE OLE2_OBJECT.
      CREATE OBJECT EXCEL 'EXCEL.APPLICATION'.
      CALL METHOD OF EXCEL 'WORKBOOKS' = FILE.
      CALL METHOD OF FILE 'OPEN'
        EXPORTING
          #1 = 'C:temp8D.xls'
          #2 = 1.
    CALL METHOD OF EXCEL 'CELLS' = CELL
        EXPORTING
          #1 = 6
          #2 = 'C'.
      SET PROPERTY OF CELL 'VALUE' = zak_pomoc.
    CALL METHOD OF EXCEL 'QUIT'.
      FREE OBJECT EXCEL.
    If user has modified the 8D file I want display this file on the screen, but first function POPUP_TO_CONFIRM  should ask him if he really wants to show file.
    I make it like this.
      call function 'POPUP_TO_CONFIRM'
        EXPORTING
          TITLEBAR              = 'Display report'
          TEXT_QUESTION         = 'Display report 8D?'
          DEFAULT_BUTTON        = '1'
          DISPLAY_CANCEL_BUTTON = 'X'
          START_COLUMN          = 25
          START_ROW             = 6
        IMPORTING
          answer                = ans.
             if ans eq '1'.
    DATA gs_excel TYPE ole2_object .
      DATA gs_wbooks TYPE ole2_object .
      DATA gs_wbook TYPE ole2_object .
      DATA gs_application TYPE ole2_object .
      CREATE OBJECT gs_excel 'EXCEL.APPLICATION' .
      SET PROPERTY OF gs_excel 'Visible' = 1 .
      GET PROPERTY OF gs_excel 'Workbooks' = gs_wbooks .
      GET PROPERTY OF gs_wbooks 'Application' = gs_application .
    *--Opening the existing document
      CALL METHOD OF gs_wbooks 'Open' = gs_wbook
        EXPORTING
          #1 = 'c:temp8D.xls'.
    endif.
    But there is my problem because two windows: first- asking about saving the file and the second- asking about showing the file, pop up in this same time.
    What condition should I write to call second window after this first one?
    Please, any suggestions?
    Thank you.

    Hello
    I'm just beginner and there is one thing I don't understand. Between lines
    CALL METHOD OF EXCEL 'QUIT'
    and
    FREE OBJECT EXCEL
    the window 'Do you want save changes' appears. And in that moment what is the value that says if the user chooses OK or QUIT?
    If I would know that value, I could call function POPUP_TO_CONFIRM in the right moment.

  • Changes not reflected in alv after calling check change method

    Hi to all experts,
    i have alv report with two editable fields ( checkbox and qty to print) when i  check the checkbox and dont change the qty to print i m able to see the changes . but when i change the checkbox and qty to print fields (both ) im unable to see the changes . what could be the reasons for this .please help ........
    user_command
    FORM user_command USING r_ucomm TYPE sy-ucomm
                        rs_selfield TYPE slis_selfield  .
      DATA: p_ref1 TYPE REF TO cl_gui_alv_grid.
      DATA: l_menge(4).
      CASE r_ucomm .
        WHEN 'SEL_ALL'.
          fl_sel = 'X'." setting up the flag for all selection.
          PERFORM sel_rec.
    *      rs_selfield-refresh = 'X'.
        WHEN  'DES_ALL'.
          fl_del = 'X'.
          PERFORM del_sel.
    *      rs_selfield-refresh = 'X'.
        WHEN 'EXEC' .
          IF p_ref1 IS INITIAL.
            CALL FUNCTION 'GET_GLOBALS_FROM_SLVC_FULLSCR'
              IMPORTING
                e_grid = p_ref1.
          ENDIF.
          IF p_ref1 IS NOT INITIAL.
            CALL METHOD p_ref1->check_changed_data.
          ENDIF.
          LOOP AT it_output INTO wa_output WHERE cbox EQ 'X'.
            READ TABLE it_mard INTO wa_mard WITH KEY matnr = wa_output-matnr.
            IF sy-subrc EQ 0.
              wa_smart-lgpbe = wa_mard-lgpbe.
            ENDIF.
            wa_smart-matnr =  wa_output-matnr.
            wa_smart-maktx =  wa_output-maktx.
            wa_smart-meins =  wa_output-meins.
            wa_smart-bldat =  wa_output-bldat.
            wa_smart-no_cop = wa_output-menge1.
            APPEND wa_smart TO it_smart.
            CLEAR wa_smart.
          ENDLOOP.
          CHECK fl_del NE 'X'.
          IF 1x3 = 'X'.
            PERFORM print_smartform1x3.
          ELSE.
            PERFORM print_smartform2x4.
          ENDIF.
      ENDCASE.
    fieldcatalog
    wa_fieldcat-col_pos   =  1  .
      wa_fieldcat-fieldname =  'CBOX'  .
      wa_fieldcat-tabname   =  'IT_OUTPUT' .
      wa_fieldcat-outputlen =   '1' .
      wa_fieldcat-seltext_m =    'SELECTION'.
      wa_fieldcat-checkbox  =    'X'.
      wa_fieldcat-edit      =    'X' .
      wa_fieldcat-input       = 'X'.
      APPEND wa_fieldcat TO it_fieldcat.
      CLEAR wa_fieldcat.
      wa_fieldcat-col_pos     =    2.
      wa_fieldcat-fieldname   =    'MENGE1'.
      wa_fieldcat-datatype             = 'INT4'.
      wa_fieldcat-seltext_m   =      'QTY TO PRINT'.
      wa_fieldcat-tabname     =    'IT_OUTPUT'.
      wa_fieldcat-edit        =    'X'.
      wa_fieldcat-input       = 'X'.
      APPEND wa_fieldcat TO it_fieldcat.
      CLEAR wa_fieldcat.
      wa_fieldcat-col_pos   =  3  .
      wa_fieldcat-fieldname =  'MBLNR'  .
      wa_fieldcat-tabname   =  'IT_OUTPUT' .
      wa_fieldcat-seltext_m =  'MATERIAL DOCUMENT NO'.
      wa_fieldcat-outputlen =  '10'.
      APPEND wa_fieldcat TO it_fieldcat.
      CLEAR wa_fieldcat.
      wa_fieldcat-col_pos   =    4.
      wa_fieldcat-fieldname =    'BWART'.
      wa_fieldcat-tabname   =    'IT_OUTPUT'.
      wa_fieldcat-seltext_m =    'MOVEMENT TYPE'.
      wa_fieldcat-outputlen =    '3'.
      APPEND wa_fieldcat TO it_fieldcat.
      CLEAR wa_fieldcat.
      wa_fieldcat-col_pos   =  5.
      wa_fieldcat-fieldname =  'MATNR'  .
      wa_fieldcat-tabname   =  'IT_OUTPUT' .
      wa_fieldcat-seltext_m =  'MATERIAL ID'.
      wa_fieldcat-outputlen =  '10'.
      APPEND wa_fieldcat TO it_fieldcat.
      CLEAR wa_fieldcat.
      wa_fieldcat-col_pos   =  6  .
      wa_fieldcat-fieldname =  'BTEXT'  .
      wa_fieldcat-tabname   =  'IT_OUTPUT' .
      wa_fieldcat-seltext_m =  'MOVEMENT TYPE DESC'.
      wa_fieldcat-outputlen =  '10'.
      APPEND wa_fieldcat TO it_fieldcat.
      CLEAR wa_fieldcat.
      wa_fieldcat-col_pos   =    7.
      wa_fieldcat-fieldname =    'MAKTX'.
      wa_fieldcat-tabname   =    'IT_OUTPUT'.
      wa_fieldcat-outputlen =    '40'.
      wa_fieldcat-seltext_l =  'MATERIAL DESCRIPTION'.
      APPEND wa_fieldcat TO it_fieldcat.
      CLEAR wa_fieldcat.
      wa_fieldcat-col_pos     =    8.
      wa_fieldcat-fieldname   =    'MENGE'.
      wa_fieldcat-tabname     =    'IT_OUTPUT'.
      wa_fieldcat-seltext_m   =    'QUANTITY'.
      APPEND wa_fieldcat TO it_fieldcat.
      CLEAR wa_fieldcat.
      wa_fieldcat-col_pos     =    9.
      wa_fieldcat-fieldname   =    'MEINS'.
      wa_fieldcat-tabname     =    'IT_OUTPUT'.
      wa_fieldcat-seltext_m   =    'UNIT OF MEASUREMENT'.
      wa_fieldcat-ref_tabname =    'T006'.
      wa_fieldcat-outputlen =      '3'.
      APPEND wa_fieldcat TO it_fieldcat.
      CLEAR wa_fieldcat.
      wa_fieldcat-col_pos     =    10.
      wa_fieldcat-fieldname   =    'WERKS'.
      wa_fieldcat-tabname     =    'IT_OUTPUT'.
      wa_fieldcat-seltext_m   =    'PLANT'.
      wa_fieldcat-outputlen =      '4'.
      APPEND wa_fieldcat TO it_fieldcat.
      CLEAR wa_fieldcat.
      wa_fieldcat-col_pos     =    11.
      wa_fieldcat-fieldname   =    'LGORT'.
      wa_fieldcat-tabname     =    'IT_OUTPUT'.
      wa_fieldcat-seltext_m   =    'STORAGE LOCATION'.
      wa_fieldcat-outputlen =      '4'.
      APPEND wa_fieldcat TO it_fieldcat.
      CLEAR wa_fieldcat.
      wa_fieldcat-col_pos     =    12.
      wa_fieldcat-fieldname   =    'EBELN'.
      wa_fieldcat-tabname     =    'IT_OUTPUT'.
      wa_fieldcat-seltext_m   =    'PUR ORDER NO'.
      wa_fieldcat-outputlen =      '10'.
      APPEND wa_fieldcat TO it_fieldcat.
      CLEAR wa_fieldcat.
      wa_fieldcat-col_pos     =    13.
      wa_fieldcat-fieldname   =    'LIFNR'.
      wa_fieldcat-tabname     =    'IT_OUTPUT'.
      wa_fieldcat-seltext_m   =    'VENDOR'.
      wa_fieldcat-outputlen =      '10'.
      APPEND wa_fieldcat TO it_fieldcat.
      CLEAR wa_fieldcat.
      wa_fieldcat-col_pos     =    14.
      wa_fieldcat-fieldname   =    'XBLNR'.
      wa_fieldcat-tabname     =    'IT_OUTPUT'.
      wa_fieldcat-seltext_m   =    'DELIEVERY NOTE'.
      wa_fieldcat-outputlen =      '16'.
      APPEND wa_fieldcat TO it_fieldcat.
      CLEAR wa_fieldcat.
      wa_fieldcat-col_pos     =    15.
      wa_fieldcat-fieldname   =    'BLDAT'.
      wa_fieldcat-tabname     =    'IT_OUTPUT'.
      wa_fieldcat-seltext_m   =    'DOCUMENT DATE'.
      wa_fieldcat-outputlen =      '10'.
      APPEND wa_fieldcat TO it_fieldcat.
      CLEAR wa_fieldcat.
      wa_fieldcat-col_pos     =    16.
      wa_fieldcat-fieldname   =    'BUDAT'.
      wa_fieldcat-tabname     =    'IT_OUTPUT'.
      wa_fieldcat-seltext_m   =    'POSTING DATE'.
      wa_fieldcat-outputlen =      '10'.
      APPEND wa_fieldcat TO it_fieldcat.
      CLEAR wa_fieldcat.
      wa_fieldcat-col_pos     =    17.
      wa_fieldcat-fieldname   =    'USNAM'.
      wa_fieldcat-tabname     =    'IT_OUTPUT'.
      wa_fieldcat-seltext_m   =    'USER ID'.
      wa_fieldcat-outputlen =      '12'.
      APPEND wa_fieldcat TO it_fieldcat.
      CLEAR wa_fieldcat.

    Hi,
    Refer this wiki code ALV Grid Display with checkbox to process selected records at runtime, it will definitely help you:-
    https://www.sdn.sap.com/irj/scn/wiki?path=/display/snippets/alv%252bgrid%252bdisplay%252bwith%252bcheckbox%252bto%252bprocess%252bselected%252brecords%252bat%252bruntime
    Regards,
    Tarun

  • Question about the sensor... just got my 4s yesterday after screwing up my 3 with the laterd version update.  EVery call I have been on has either changed to speaker, called another number or ended the call or activated facetime, which I have turned off.

    Question about the sensor... just got my 4s yesterday after screwing up my 3 with the laterd version update. EVery call I have been on has either changed to speaker, called another number or ended the call or activated facetime, which I have turned off. never had this trouble with my 3...I don't even want to talk to anyone on this phone! Is the sensor bad? That is what the AT&t rep suggested.

    Restore as new... if the problem still continues then there is a hardware issue.
    If it stops after a restore as new, then the issue is with the backup the device is currently setup with.

  • I am trying to generate purchase order and i create a BAPI also which is active. But when i call the BAPI from SYbase Mobile Object RFC then after calling it gives an Error "Conflict when calling a Function Module (Field Length)".

    i am trying to generate purchase order and i create a BAPI also which is active.
    But when i call the BAPI from SYbase Mobile Object RFC then after calling it gives an Error "Conflict when calling a Function Module (Field Length)".

    Hi,
    Yeah i tried my Z_BAPI in R3 and then giving some ERROR.
    This is my CODE-
    FUNCTION ZBAPIPOTV2.
    *"*"Local Interface:
    *"  IMPORTING
    *"     VALUE(POHD) TYPE  ZPOHD OPTIONAL
    *"     VALUE(POITEM) TYPE  ZPOITEM OPTIONAL
    *"  TABLES
    *"      RETURN STRUCTURE  BAPIRET1 OPTIONAL
    data: ls_pohd type bapimepoheader,
             ls_pohdx TYPE bapimepoheaderx,
             lt_poit TYPE TABLE OF bapimepoitem,
             lt_poitx TYPE TABLE OF bapimepoitemx,
             ls_poit TYPE bapimepoitem,
             ls_poitx TYPE bapimepoitemx.
       MOVE-CORRESPONDING pohd to ls_pohd.
       MOVE-CORRESPONDING poitem to ls_poit.
       ls_pohdx-comp_code = 'x'.
       ls_pohdx-doc_type = 'x'.
       ls_pohdx-vendor = 'x'.
       ls_pohdx-purch_org = 'x'.
       ls_pohdx-pur_group = 'x'.
       ls_poit-po_item = '00010'.
       APPEND ls_poit to lt_poit.
       ls_poitx-po_item = '00010'.
       ls_poitx-po_itemx = 'x'.
       ls_poitx-material = 'x'.
       ls_poitx-plant = 'x'.
       ls_poitx-quantity = 'x'.
       APPEND ls_poitx to lt_poitx.
    CALL FUNCTION 'BAPI_PO_CREATE1'
       EXPORTING
         POHEADER                     = ls_pohd
        POHEADERX                    =  ls_pohdx
    *   POADDRVENDOR                 =
    *   TESTRUN                      =
    *   MEMORY_UNCOMPLETE            =
    *   MEMORY_COMPLETE              =
    *   POEXPIMPHEADER               =
    *   POEXPIMPHEADERX              =
    *   VERSIONS                     =
    *   NO_MESSAGING                 =
    *   NO_MESSAGE_REQ               =
    *   NO_AUTHORITY                 =
    *   NO_PRICE_FROM_PO             =
    *   PARK_COMPLETE                =
    *   PARK_UNCOMPLETE              =
    * IMPORTING
    *   EXPPURCHASEORDER             =
    *   EXPHEADER                    =
    *   EXPPOEXPIMPHEADER            =
      TABLES
        RETURN                       = return
        POITEM                       = lt_poit
        POITEMX                      = lt_poitx
    *   POADDRDELIVERY               =
    *   POSCHEDULE                   =
    *   POSCHEDULEX                  =
    *   POACCOUNT                    =
    *   POACCOUNTPROFITSEGMENT       =
    *   POACCOUNTX                   =
    *   POCONDHEADER                 =
    *   POCONDHEADERX                =
    *   POCOND                       =
    *   POCONDX                      =
    *   POLIMITS                     =
    *   POCONTRACTLIMITS             =
    *   POSERVICES                   =
    *   POSRVACCESSVALUES            =
    *   POSERVICESTEXT               =
    *   EXTENSIONIN                  =
    *   EXTENSIONOUT                 =
    *   POEXPIMPITEM                 =
    *   POEXPIMPITEMX                =
    *   POTEXTHEADER                 =
    *   POTEXTITEM                   =
    *   ALLVERSIONS                  =
    *   POPARTNER                    =
    *   POCOMPONENTS                 =
    *   POCOMPONENTSX                =
    *   POSHIPPING                   =
    *   POSHIPPINGX                  =
    *   POSHIPPINGEXP                =
    *   SERIALNUMBER                 =
    *   SERIALNUMBERX                =
    *   INVPLANHEADER                =
    *   INVPLANHEADERX               =
    *   INVPLANITEM                  =
    *   INVPLANITEMX                 =
    ENDFUNCTION.
    i am trying to generate purchase order and i create a BAPI also which is active. But when i call the BAPI from SYbase Mobile Object RFC then after calling it gives an Error "Conflict when calling a Function Module (Field Length)". 

  • CALL FUNCTION 'SX_OBJECT_CONVERT_ALI_RAW' fields have changed since 46C

    We are implementing upgrade to mysap 700 from 46C
    PROGRAMS USING function call to 'SX_OBJECT_CONVERT_ALI_RAW'  fields have changed
    we used to send tables directly and now we are sendin fields to be changed
    i have tried to send the data but continue to have errors
    700 version has this function with these paramaters
    CALL FUNCTION 'SX_OBJECT_CONVERT_ALI_RAW'
      EXPORTING
        FORMAT_SRC            = SOURCE_NAME
        FORMAT_DST            = OUT_NAME
        ADDR_TYPE             = 'FAX'  " int or fax
        DEVTYPE               = DEVTYPE
       FUNCPARA              = 255
      CHANGING
        TRANSFER_BIN          = LISTOBJECT
        CONTENT_TXT           = content_txt
        CONTENT_BIN          = content_bin
       OBJHEAD              =
        LEN                   = OUTLEN
    EXCEPTIONS
       ERR_CONV_FAILED       = 1
       OTHERS                = 2
    changing
    TRANSFER_BIN        TYPE      SX_BOOLEAN                                         
    CONTENT_TXT         TYPE      SOLI_TAB                                           
    CONTENT_BIN         TYPE      SOLIX_TAB                                          
    OBJHEAD             TYPE      SOLI_TAB                                           O
    LEN                 TYPE      SO_OBJ_LEN                    
    when ran we get an abap dump content_bin                     
    Error analysis                                                                       
        An exception occurred that is explained in detail below.                         
        The exception, which is assigned to class 'CX_SY_DYN_CALL_ILLEGAL_TYPE', was     
         not caught in                                                                   
        procedure "GET_MEMORY_LIST" "(FORM)", nor was it propagated by a RAISING         
         clause.                                                                         
        Since the caller of the procedure could not have anticipated that the            
        exception would occur, the current program is terminated.                        
        The reason for the exception is:                                                 
        The call to the function module "SX_OBJECT_CONVERT_ALI_RAW" is incorrect:                                                                               
    The function module interface allows you to specify only                         
        fields of a particular type under "CONTENT_BIN".                                 
        The field "CONTENT_BIN" specified here is a different                            
        field type                                                                       
    it looks like i need to set <fs> pointer to the field but i am akwardly at this any help please will do well.
    this is how we used to use the function
    CALL FUNCTION 'SX_OBJECT_CONVERT_ALI_RAW '
          EXPORTING
               FORMAT_SRC      = SOURCE_NAME
               FORMAT_DST      = OUT_NAME
               DEVTYPE         = DEVTYPE
               FUNCPARA        = FUNCP
               LEN_IN          = INLEN
          IMPORTING
               LEN_OUT         = OUTLEN
          TABLES
               CONTENT_IN      = LISTOBJECT
               CONTENT_OUT     = OBJTXT
          EXCEPTIONS
               ERR_CONV_FAILED = 1
               OTHERS          = 2.
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.

    ok i solved my own problem.... i new i could.  here is the results
    first i had to dig into the bapi to find the proper definition to declare in my program i will present the code
    and let you exame the example.
    FORM GET_MEMORY_LIST TABLES   P_MYSECOND STRUCTURE ZLIPOV.
    DATA: LSIND LIKE SY-LSIND,
          LISTTAB LIKE ABAPLIST OCCURS 1 WITH HEADER LINE,
          OBJTXT LIKE SOLISTI1 OCCURS 10 WITH HEADER LINE,
          SOURCE_NAME LIKE SXCONVERT-FORMAT_SRC,
          OUT_NAME    LIKE SXCONVERT-FORMAT_DST,
          DEVTYPE     LIKE SXSERV-DEVTYPE,
          FUNCP       LIKE SXFUNCPARA,
          INLEN       LIKE  SOOD-OBJLEN,
          OUTLEN      LIKE  SOOD-OBJLEN,
          UPDFLG      TYPE I VALUE 0,
          LNCNT       TYPE I VALUE 0,
          LABLNCNT    TYPE I VALUE 0,
          PRVLN       TYPE I VALUE 0.
    this is the added structures for the new fields
    used for SX_OBJECT_CONVERT_ALI_RAW and the rest of the SX_OBJECT_CONVERT family
    data:
         TRANSFER_BIN TYPE  SX_BOOLEAN, " SHOULD BE SET TO X
         OBJHEAD like SOLI occurs 0,
         content_txt   LIKE soli  OCCURS 0,
         content_bin  LIKE solix OCCURS 0.
    CLEAR LISTOBJECT[].
    CLEAR OBJHEAD.
    CLEAR CONTENT_TXT[].
    CLEAR CONTENT_BIN[].
    CALL FUNCTION 'LIST_FROM_MEMORY'
         TABLES
              LISTOBJECT = LISTTAB
        EXCEPTIONS
             NOT_FOUND  = 1
             OTHERS     = 2
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    CALL FUNCTION 'TABLE_COMPRESS'
       IMPORTING
            COMPRESSED_SIZE =
         TABLES
              IN              = LISTTAB
              OUT             = CONTENT_BIN   " this will receive the data
       EXCEPTIONS
            COMPRESS_ERROR  = 1
            OTHERS          = 2
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
      SOURCE_NAME = 'ALI' .
      OUT_NAME    = 'RAW'.
      DEVTYPE     = 'POSTSCPT'.
    TRANSFER_BIN ='X'. " set to x our program will fail to convert stupid but needed
    describe table listtab lines inlen.
    DESCRIBE TABLE LISTOBJECT LINES INLEN.
    SX_OBJECT_CONVERT_ALI_RAW
    SX_OBJECT_CONVERT_ALI_PRT
    SX_OBJECT_CONVERT_OTF_RAW
    SX_OBJECT_CONVERT_OTF_PRT
    SX_OBJECT_CONVERT_INT_RAW
    DESCRIBE TABLE content_bin LINES INLEN.
    CALL FUNCTION 'SX_OBJECT_CONVERT_ALI_RAW'
      EXPORTING
        FORMAT_SRC            = SOURCE_NAME
        FORMAT_DST            = OUT_NAME
        ADDR_TYPE             = 'FAX'  " int or fax
        DEVTYPE               = DEVTYPE
       FUNCPARA              = 255 " this is used to prevent wrapping if beyond 132 characters
      CHANGING
        TRANSFER_BIN          = TRANSFER_BIN
        CONTENT_TXT           = content_txt " returns the data we want to address and work with
        CONTENT_BIN          = content_bin" data is conpressed and in binnary format
        OBJHEAD              = OBJHEAD
        LEN                   = OUTLEN
    EXCEPTIONS
       ERR_CONV_FAILED       = 1
       OTHERS                = 2
    move content_txt[] to OBJTXT[]. " in my case the program origianly used OBJTXT
                                                        "  so i chose to compy the data back here

  • Changing faces-config.xml after deploying ear file

    Hi,
    What would be the steps to follow if we want to change contenets of web application configuration files (for example, faces-config.xml) after app.ear file has been deployed?
    The app.ear file contains the faces-config.xml, and we are using Oracle AS 10.1.3.
    Thanks,
    Jean

    see my answer at
    Change web app config file of deployed app

  • After a function call values in the system sy-msgty.........

    After a function call values in the system sy-msgty,sy-msgit and sy-msgno are getting empty. And the program dumped suddenly with showing a message_type_unknown message.
    Here i wanted to know y these values are becoming empty
    Pls help me out here

    The first Idoc has two line items and the second idoc has 7 line items. As the split is per 5 line item- the target has 3 Idocs.
    Now the problem is that the header value in the target: REF_DOC_NO has to be created as per the number of line items and doesnt come from header record directly.

  • Performance After Using Call Function

    Hi All,
       I have a program, where it is having some performance issues.
    It is taking a lot of time at a customized Z Call Function.
    Please suggest some solutions.

    Hi,
    Firstly check if the Z Function module is remote enables or not...
    if it is remote enabled then it will take some time....
    then debug the function module and check which statement is hitting on performance, try to find out the other way round for that statement or if its a long loop then try to find out some optimized way for that loop...
    still if you are not able to then paste the code of the z function module may be we are of some help there
    Regards,
    Siddarth

  • How to use CALL FUNCTION '/1BCDWB/SF00000014' in smartform urgent

    hiiiiiiiii
    Iam doing classical report n i want my output to be printed in smartform.
    So my output is in IT_FINAL table.In smartform in Form Interface Table column i had declare :::
    Parameter Name: IT_FINAL
    Type Assignment:LIKE
    Associated Type:ZSD_FINAL ( Its a structure of IT_FINAL)
    And in SE38..iam using...............
    data: FM_NAME1 type RS38L_FNAM.
    CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
    EXPORTING
    FORMNAME = 'ZCSF_SDPRSR03_PR'
    importing
    FM_NAME = FM_NAME1.
    CALL FUNCTION FM_NAME1
    EXPORTING
    IT_FINAL = IT_FINAL.
    So while running its giving dump..
    I DONT KNOW HOW TO USE THE ABOVE FUNCTION MODULE.
    CALL FUNCTION '/1BCDWB/SF00000014'
    EXPORTING
    ARCHIVE_INDEX =
    ARCHIVE_INDEX_TAB =
    ARCHIVE_PARAMETERS =
    CONTROL_PARAMETERS =
    MAIL_APPL_OBJ =
    MAIL_RECIPIENT =
    MAIL_SENDER =
    OUTPUT_OPTIONS =
    USER_SETTINGS = 'X'
    IMPORTING
    DOCUMENT_OUTPUT_INFO =
    JOB_OUTPUT_INFO =
    JOB_OUTPUT_OPTIONS =
    EXCEPTIONS
    FORMATTING_ERROR = 1
    INTERNAL_ERROR = 2
    SEND_ERROR = 3
    USER_CANCELED = 4
    OTHERS = 5
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    Please suggest me with example if possible......URGENT.
    (Rewards if solved)
    Regards.

    Hi
    see the below doc and do accordingly
    How to create a New smartfrom, it is having step by step procedure
    http://sap.niraj.tripod.com/id67.html
    step by step good ex link is....
    http://smoschid.tripod.com/How_to_do_things_in_SAP/How_To_Build_SMARTFORMS/How_To_Build_SMARTFORMS.html
    Here is the procedure
    1. Create a new smartforms
    Transaction code SMARTFORMS
    Create new smartforms call ZSMART
    2. Define looping process for internal table
    Pages and windows
    First Page -> Header Window (Cursor at First Page then click Edit -> Node -> Create)
    Here, you can specify your title and page numbering
    &SFSY-PAGE& (Page 1) of &SFSY-FORMPAGES(Z4.0)& (Total Page)
    Main windows -> TABLE -> DATA
    In the Loop section, tick Internal table and fill in
    ITAB1 (table in ABAP SMARTFORM calling function) INTO ITAB2
    3. Define table in smartforms
    Global settings :
    Form interface
    Variable name Type assignment Reference type
    ITAB1 TYPE Table Structure
    Global definitions
    Variable name Type assignment Reference type
    ITAB2 TYPE Table Structure
    4. To display the data in the form
    Make used of the Table Painter and declare the Line Type in Tabstrips Table
    e.g. HD_GEN for printing header details,
    IT_GEN for printing data details.
    You have to specify the Line Type in your Text elements in the Tabstrips Output options.
    Tick the New Line and specify the Line Type for outputting the data.
    Declare your output fields in Text elements
    Tabstrips - Output Options
    For different fonts use this Style : IDWTCERTSTYLE
    For Quantity or Amout you can used this variable &GS_ITAB-AMOUNT(12.2)&
    5. Calling SMARTFORMS from your ABAP program
    REPORT ZSMARTFORM.
    Calling SMARTFORMS from your ABAP program.
    Collecting all the table data in your program, and pass once to SMARTFORMS
    SMARTFORMS
    Declare your table type in :-
    Global Settings -> Form Interface
    Global Definintions -> Global Data
    Main Window -> Table -> DATA
    Written by : SAP Hints and Tips on Configuration and ABAP/4 Programming
    http://sapr3.tripod.com
    TABLES: MKPF.
    DATA: FM_NAME TYPE RS38L_FNAM.
    DATA: BEGIN OF INT_MKPF OCCURS 0.
    INCLUDE STRUCTURE MKPF.
    DATA: END OF INT_MKPF.
    SELECT-OPTIONS S_MBLNR FOR MKPF-MBLNR MEMORY ID 001.
    SELECT * FROM MKPF WHERE MBLNR IN S_MBLNR.
    MOVE-CORRESPONDING MKPF TO INT_MKPF.
    APPEND INT_MKPF.
    ENDSELECT.
    At the end of your program.
    Passing data to SMARTFORMS
    <b>call function 'SSF_FUNCTION_MODULE_NAME'</b>
    exporting
    formname = 'ZSMARTFORM'
    VARIANT = ' '
    DIRECT_CALL = ' '
    IMPORTING
    FM_NAME = FM_NAME
    EXCEPTIONS
    NO_FORM = 1
    NO_FUNCTION_MODULE = 2
    OTHERS = 3.
    if sy-subrc <> 0.
    WRITE: / 'ERROR 1'.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    endif.
    <b>call function FM_NAME</b>
    EXPORTING
    ARCHIVE_INDEX =
    ARCHIVE_INDEX_TAB =
    ARCHIVE_PARAMETERS =
    CONTROL_PARAMETERS =
    MAIL_APPL_OBJ =
    MAIL_RECIPIENT =
    MAIL_SENDER =
    OUTPUT_OPTIONS =
    USER_SETTINGS = 'X'
    IMPORTING
    DOCUMENT_OUTPUT_INFO =
    JOB_OUTPUT_INFO =
    JOB_OUTPUT_OPTIONS =
    TABLES
    GS_MKPF = INT_MKPF
    EXCEPTIONS
    FORMATTING_ERROR = 1
    INTERNAL_ERROR = 2
    SEND_ERROR = 3
    USER_CANCELED = 4
    OTHERS = 5.
    if sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    endif.
    Smartform
    you can check this link here you can see the steps and you can do it the same by looking at it..
    http://smoschid.tripod.com/How_to_do_things_in_SAP/How_To_Build_SMARTFORMS/How_To_Build_SMARTFORMS.html
    SMARTFORMS STEPS.
    1. In Tcode se11 Create a structure(struct) same like the Internal table that you are going to use in your report.
    2. Create Table type(t_struct) of stracture in se11.
    3. In your program declare Internal table(Itab) type table of structure(struct).
    4. Define work area(wa) like line of internal table.
    5. Open Tcode Smartforms
    6. In form Global setting , forminterface Import parameter define Internal table(Itab) like table type of stracture(t_struct).
    7. In form Global setting , Global definitions , in Global data define Work area(wa) like type stracture(struct).
    8. In form pages and window, create Page node by default Page1 is available.
    9. In page node you can create numbers of secondary window. But in form there is only one Main window.
    10. By right click on page you can create windows or Go to Edit, Node, Create.
    11. After creating the window right click on window create table for displaying the data that you are passing through internal table.
    12. In the table Data parameter, loop internal internal table (Itab) into work area(wa).
    13. In table there are three areas Header, Main Area, Footer.
    14. Right click on the Main area create table line by default line type1 is there select it.
    15. Divide line into cells according to your need then for each cell create Text node.
    16. In text node general attribute. Write down fields of your work area(wa) or write any thing you want to display.
    17. Save form and activate it.
    18. Then go to Environment, function module name, there you get the name of function module copy it.
    19. In your program call the function module that you have copied from your form.
    20. In your program in exporting parameter of function pass the internal table(itab).
    SAP Smart Forms is introduced in SAP Basis Release 4.6C as the tool for creating and maintaining forms.
    SAP Smart Forms allow you to execute simple modifications to the form and in the form logic by using simple graphical tools; in 90% of all cases, this won't include any programming effort. Thus, a power user without any programming knowledge can
    configure forms with data from an SAP System for the relevant business processes.
    To print a form, you need a program for data retrieval and a Smart Form that contains the entire from logic. As data retrieval and form logic are separated, you must only adapt the Smart Form if changes to the form logic are necessary. The application program passes the data via a function module interface to the Smart Form. When activating the Smart Form, the system automatically generates a function module. At runtime, the system processes this function module.
    You can insert static and dynamic tables. This includes line feeds in individual table cells, triggering events for table headings and subtotals, and sorting data before output.
    You can check individual nodes as well as the entire form and find any existing errors in the tree structure. The data flow analysis checks whether all fields (variables) have a defined value at the moment they are displayed.
    SAP Smart Forms allow you to include graphics, which you can display either as part of the form or as background graphics. You use background graphics to copy the layout of an existing (scanned) form or to lend forms a company-specific look. During printout, you can suppress the background graphic, if desired.
    SAP Smart Forms also support postage optimizing.
    Also read SAP Note No. 168368 - Smart Forms: New form tool in Release 4.6C
    What Transaction to start SAP Smart Forms?
    Execute transaction SMARTFORMS to start SAP Smart Forms.
    Key Benefits of SAP Smart Forms:
    SAP Smart Forms allows you to reduce considerably the implementation costs of mySAP.com solutions since forms can be adjusted in minimum time.
    You design a form using the graphical Form Painter and the graphical Table Painter. The form logic is represented by a hierarchy structure (tree structure) that consists of individual nodes, such as nodes for global settings, nodes for texts, nodes for output tables, or nodes for graphics.
    To make changes, use Drag & Drop, Copy & Paste, and select different attributes.
    These actions do not include writing of coding lines or using a Script language.
    Using your form description maintained in the Form Builder, Smart Forms generates a function module that encapsulates layout, content and form logic. So you do not need a group of function modules to print a form, but only one.
    For Web publishing, the system provides a generated XML output of the processed form.
    Smart Forms provides a data stream called XML for Smart Forms (XSF) to allow the use of 3rd party printing tools. XSF passes form content from R/3 to an external product without passing any layout information about the Smart Form.
    SmartForms System Fields
    Within a form you can use the field string SFSY with its system fields. During form processing the system replaces these fields with the corresponding values. The field values come from the SAP System or are results of the processing.
    System fields of Smart Forms
    &SFSY-DATE&
    Displays the date. You determine the display format in the user master record.
    &SFSY-TIME&
    Displays the time of day in the form HH:MM:SS.
    &SFSY-PAGE&
    Inserts the number of the current print page into the text. You determine the format of the page number (for example, Arabic, numeric) in the page node.
    &SFSY-FORMPAGES&
    Displays the total number of pages for the currently processed form. This allows you to include texts such as'Page x of y' into your output.
    &SFSY-JOBPAGES&
    Contains the total page number of all forms in the currently processed print request.
    &SFSY-WINDOWNAME&
    Contains the name of the current window (string in the Window field)
    &SFSY-PAGENAME&
    Contains the name of the current page (string in the Page field)
    &SFSY-PAGEBREAK&
    Is set to 'X' after a page break (either automatic [Page 7] or command-controlled [Page 46])
    &SFSY-MAINEND&
    Is set as soon as processing of the main window on the current page ends
    &SFSY-EXCEPTION&
    Contains the name of the raised exception. You must trigger your own exceptions, which you defined in the form interface, using the user_exception macro (syntax: user_exception <exception name >).
    Example Forms Available in Standard SAP R/3
    SF_EXAMPLE_01
    Simple example; invoice with table output of flight booking for one customer
    SF_EXAMPLE_02
    Similar to SF_EXAMPLE_01 but with subtotals
    SF_EXAMPLE_03
    Similar to SF_EXAMPLE_02, whereby several customers are selected in the application program; the form is called for each customer and all form outputs are included in an output request
    Advantages of SAP Smart Forms
    SAP Smart Forms have the following advantages:
    1. The adaption of forms is supported to a large extent by graphic tools for layout and logic, so that no programming knowledge is necessary (at least 90% of all adjustments). Therefore, power user forms can also make configurations for your business processes with data from an SAP system. Consultants are only required in special cases.
    2. Displaying table structures (dynamic framing of texts)
    3. Output of background graphics, for form design in particular the use of templates which were scanned.
    4. Colored output of texts
    5. User-friendly and integrated Form Painter for the graphical design of forms
    6. Graphical Table Painter for drawing tables
    7. Reusing Font and paragraph formats in forms (Smart Styles)
    8. Data interface in XML format (XML for Smart Forms, in short XSF)
    9. Form translation is supported by standard translation tools
    10. Flexible reuse of text modules
    11. HTML output of forms (Basis release 6.10)
    12. Interactive Web forms with input fields, pushbuttons, radio buttons, etc. (Basis-Release 6.10)
    Regards
    Anji

  • What is the use of CALL FUNCTION MODULE - AT BACKGROUND TASK?

    Hi experts,
    I found Call functional module in background task will make the FM run at the next commit work as some people said. So I have some questions:
    1 if we use COMMIT WORK commend, the pending FM will be called? If there are several FMs called at background task, what is the sequence of them? How many conditions will trigger the running of these FMs?
    2 Where can I find the log of this pending FMs? In SAP library, it says there are 2 tables. But I checked these tables and can only find the FM name and user of it. And I can not understand content of these tables. It seems one is for the main information of FM, and the other is for the data of the FM, maybe the parameters.
    3 If I call a FM in this way, Can I canncel it before the next commit work in some way?
    Finally, thanks for reading and help.

    HI,
    When the COMMIT WORK statement is executed, the function modules registered for the current SAP-LUW are started in the order in which they were registered. ROLLBACK WORK deletes all previous registrations for the current SAP-LUW.
    If the specified destination is not available when COMMIT WORK is executed, an executable program called RSARFCSE is started in background processing. By default, this tries to start the function modules registered for a SAP-LUW in their destination every 15 minutes and up to 30 times. These parameters can be changed in the transaction SM59. If the destination does not become available within the defined time, it is recorded in the database table ARFCSDATA as the entry "CPICERR". The entry in the database table ARFCSSTATE is deleted after a standard period of eight days

Maybe you are looking for

  • NFe de entrada no GRC

    Pessoal, aqui no cliente existe uma categoria de NFE ex: IK. Sempre que eles fazem entrada nessa NFe, ela tá indo pro GRC. Vcs sabem o que pode ser? Existe alguma maneir, mesmo errônea do usuário enviar essa nfe pro grc? Já que essas NF-e de entrada

  • "Create links from URLs" preference no longer working in sticky notes

    I work with reading other people's sticky notes in Adobe Acrobat X Pro (now version 10.1.1). When they wrote URLs in the sticky notes it used to recognize them as links; now they're just plain text. My Preferences > General > "Create links from URLs"

  • Selecting from a column based on the id

    Hello All, Is there a way to update a table based on the column id? Example: I have a table where column 2 is an accumulated dollar amount. Each row of the column is a lease. I need to update column 3 with $$ that i get from my cursor say x. Then col

  • In "Previews" when adding text to a picture I can't change the font, even though a few days ago I could.  How do I fix this?

    In "Previews" when adding text to a picture I can't change the font, even though a few days ago I could.  How do I fix this?

  • Help on HR_MAINTAIN_MASTERDATA

    Hi, My  Requirement is to dynamically create a record in Infotypes 0032 & 0105 while hiring  an employee. For which i  am  writing  a subroutine, In that subroutine i  am  calling 'HR_MAINTAIN_MASTERDATA', the function module is getting  triggered wh