Error encountered when Adding an Item style Flex in Search criteria

Hi All,
I am trying to add an Item style Flex in the Searchable region(search criteria region) ,then I have encountered an error saying
Program error. Please inform your support representative that the descriptive flexfield in the application could not be found.
Thanks
AK

Can I use the DFF which exists in different Responsibility,caz i am using the DFF which exists in Oreder Management and i am adding the DFF in Sales Contracts Workbench User Responsibility.
Thnaks
AK

Similar Messages

  • C#: when adding listview items the screen flashes and only single listview column loads?

    When adding listview items, the listview1 items flash and only the first listview column loads (there are 5 columns in all)?
    Background...
    I was having cross-threading issues on 3 form components which I was able to resolve (see
    code here). Now I think the soluiton which involves creating a delegate and performing an "InvokeRequired" check (see
    what I used), I'm having an issue passing 5 values for each column. Below is the code involved calling this invoking check for each and their methods.
    Before having the cross-thread issue the "listview1.Items.Add(values.text) add the comma separated string values to the appropriate columns, but that doesn't happen through the cross-thread fix required.
    The "Loading()" method is handled through and async/await method causing the initial cross-thread issue.
    private void Loading()
    int t = 1;
    foreach (string line in scripts)
    string[] listValues = line.Split(',');
    ListViewItem values = new ListViewItem(listValues);
    if (t == 1)
    AddColumn("Script Name", 200); // Creates column headings
    AddColumn("Date and Time", 150);
    AddColumn("SID", 75);
    AddColumn("Environment", 75);
    AddColumn("Client", 75);
    t++;
    else
    if ((values.Text != "") && (values.Text != "Script Name"))
    //listView1.Items.Add(values);
    AddItem(values.Text);
    if (!dictScript.Contains(values.Text))
    dictScript.Add(values.Text);
    //cbxScriptList.Items.Add(values.Text);
    AddScript(values.Text);
    private void AddItem(object o)
    if (this.listView1.InvokeRequired)
    AddItemCallback d = new AddItemCallback(AddItem);
    this.Invoke(d, new object[] { o });
    else
    { // code that adds item to listView (in this case $o)
    listView1.Items.Add(o.ToString());
    private void AddScript(object o)
    if (this.listView1.InvokeRequired)
    AddCBXCallback d = new AddCBXCallback(AddScript);
    this.Invoke(d, new object[] { o });
    else
    { // code that adds item to listView (in this case $o)
    cbxScriptList.Items.Add(o.ToString());
    private void AddColumn(object o1, object o2)
    if (this.listView1.InvokeRequired)
    AddColCallback d = new AddColCallback(AddColumn);
    this.Invoke(d, new object[] { o1, o2 });
    else
    { // code that adds item to listView (in this case $o)
    listView1.Columns.Add(o1.ToString(), (int)o2); // Creates column headings
    SV

    Ok, I still have the flickering issue, I could use some guidance on that. And I should note that before I had the code-threading issue, I never had any flickering, it all appeared simultaneously.
    However, I was able to populate all columns (5 in all).  I had two corrections to make.
    1) My method should not have been passing the parameter as text but as the object ListViewItem:
    // Not This...
    AddItem(values.text)
    // This is Correct...
    AddItem(values)
    2) Then I needed to cast my object as a ListViewItem in my method call:
    private void AddItem(object o)
    if (this.listView.InvokeRequired)
    AddItemCallback d = new AddItemCallback(AddItem);
    this.Invoke(d, new object[] { (ListViewItem)o });
    else { // code that adds item to listView (in this case $o)
    listView1.Items.Add((ListViewItem)o);
    SV

  • Can we implement partial page rendering on item style Flex??

    Hi All,
    In an xml,
    I have item style 'Flex' for expense account.
    Requirement is :
    In the same page i have other LOV which brings the data based on one of the segments of that expense account.
    So any changes in one of the segments for the expesne account need to be stored and LOV query should be modified accrodingly..
    So trying with following possibilties
    1) Use partial page rendering for expense account
    2) Split the page into two so that first expense account is displayed and any modifications to it are handled in controller and use LOV Mappings to update the query.
    So can partial page rendering can be implemented for Item style "Flex".
    Can anyone please provide the inputs to handle this scenario and best possible solution?
    Issue is very hot right now.. Quick help needed..

    Hi
    No u can not use PPR for flex items although u can create context flexfield .
    thanx
    Pratap

  • Error encountered when checking for software update!

    How come there is an error encountered when I was trying to check for the software update for the iPad? Presently, my iPad is on iOS 6. So I would like to ask if anyone of you here experiencing the same thing or it is just me? And are there any specific reasons for this phenomenon? Thanks for helping me in overcoming this matter. Your efforts will be appreciated.

    Now I completely understand what you are trying to do.
    There is no update for any of the iPad versions except for the iPad Mini. There was an update released yesterday for the iPad Mini and the iPhone 5 only. If you are running iOS 6.0.1 - you ARE up to date regarding the software.
    But - you should still not be getting an error message when you look for the update. You should see this message on the iPad.
    If your phone is the iPhone 5 - you should be seeing the update that is available.

  • SDK Error -5002 when adding a sales order

    I'm getting an error -5002 when adding a sales order.
    Source code:
          IDocuments m_so2 = SBOCOMUtil.newDocuments(icmp, SBOCOMConstants.BoObjectTypes_Document_oOrders);
          line = m_so2.getLines();
          m_so2.setCardCode("2173231916");
          m_so2.setCardName("test Sales order");
          SimpleDateFormat formatter = new SimpleDateFormat("dd.MM.yyyy");
          Date today = Calendar.getInstance().getTime();
          m_so2.setDocDueDate(today);
          line.setItemCode("01005");
          line.setDiscountPercent(new Double(10));
          line.setItemDescription("description Testing");
          line.setQuantity(new Double(3));
          line.setTaxCode("0");
          line.add();
          long rc = m_so2.add();
    Question:
    Where can I find a list of error codes that can be easy to understand? PDF, word, etc.
    Thanks.

    Hi Diego,
    Looking at your code I see that you are doing a
    line.add();
    You don’t need to have this here unless you are adding another line to your document.
    Maybe this will help you.
    Also just because java is a bit different from VB get the last error message using
    SBOErrorMessage errMsg= comp.getLastError();
    System.out.println(errMsg.getErrorMessage());
    -Cormac

  • Error 5 when adding to PSA

    Hi All,
    I faced an error 'Error 5 when adding to PSA'  (going into short dump ABAP runtime erro : Message Type X Erro). I am trying to load the data from ODS to another ODS with full upadte through PSA . I am facing this error. Can anybody help me in this issue. Please this is very urgent, all the dependant loads are stopped in production.
    Thanks in Advance
    Narendra

    Thanks, This is solved by myself. I deleted all the failed requests in the PSA.

  • F-04: give error message when clearing AP items with payment block key(R)

    Hi all,
    Customer wants to prevent payment for AP items with payment block key(BSEG-ZLSPR) .
    I want system giving error message when doing payment clearning with t-code:F-04.
    How can I realize it ?
    Thanks Grus!
    Lynn

    Please configure the following nodes properly:
    Financial Accounting>>Accounts Receivable and Accounts Payable>>Business Transactions>>Outgoing Payments Global Settings>>Payment Block Reasons>>Define Payment Block Reasons & Define Default Values for Payment Block
    For the error message: You may define a validation in OB28 with the help of ABAP consultant

  • Error Message when adding Expired Bidder

    Good Day Experts!
    I would like to know if there is a way to restrict adding of expired contact persons in an RFx.
    Thank you!

    If the system allows you to add expired bidders, you could implement the BBP_DOC_CHECK_BADI to throw an error message when that happens.

  • Awt.List Flicker when adding many items.

    I need to add a lot of items to an awt.List (around 100),
    is there a way to do this off-screen so that it wont flicker
    like crazy while I'm adding the items in a loop?
    Thanks,
    Rob.

    you can make your list invisible setVisible(false) when it performed the adding make it visible.You can use Thread.sleep() to stay for a while till adding has not been done!
    hope it will match with ur requirements

  • Error -9672 when adding my printer as a Bonjour printer after OS 10.5

    I can not add my HP Color LaserJet 2600n as a bonjour printer to my Airport extreme
    It gives me error -9672 when I try to make it my default printer
    It was working find on OS 10.4

    Fuga
    Oh, a belated welcome to Apple Discussions!!
    iFelix kindly provided me with these links:
    HP Deskjet 5000 Series and Photosmart 1000 Printers - 'Error - 9672' Message Displays in Mac OS X when trying to add printer in Printer Setup Utility
    HP Photosmart C3100 and C4100 Series All-in-Ones - Mac OS: 'Error:-9672' Displays on the Computer When Adding a Printer Using the Printer Setup Utility while Connected to an Apple Airport Base Station by USB.
    Hope you can resolve your problem with the aid of these.

  • Error encountered when clicking on the UWL

    Hi,
    I have this exception when selecting on the pending task in the UWL where it accompany with PAGE_NOT_FOUND.
    Any idea how to resolve?
    Error looking up url: portal_content/com.sap.pct/platform_add_ons/com.sap.caf.eu.gp.folders.gp/com.sap.caf.eu.gp.roles.runtime/com.sap.caf.eu.gp.worksets.runtime/com.sap.caf.eu.gp.pages.procinstance
    [EXCEPTION]
    javax.naming.NameNotFoundException: [Xfs] Object not found: com.sap.caf.eu.gp.worksets.runtime/com.sap.caf.eu.gp.pages.procinstance at portal_content/com.sap.pct/platform_add_ons/com.sap.caf.eu.gp.folders.gp/com.sap.caf.eu.gp.roles.runtime/com.sap.caf.eu.gp.worksets.runtime [Root exception is javax.naming.NamingException: [Xfs] Object not found: com.sap.caf.eu.gp.worksets.runtime/com.sap.caf.eu.gp.pages.procinstance at portal_content/com.sap.pct/platform_add_ons/com.sap.caf.eu.gp.folders.gp/com.sap.caf.eu.gp.roles.runtime/com.sap.caf.eu.gp.worksets.runtime]
    at com.sapportals.portal.pcd.gl.PcdPersContext.filteredLookup(PcdPersContext.java:555)
    at com.sapportals.portal.pcd.gl.PcdPersContext.deepFilteredLookup(PcdPersContext.java:467)
    at com.sapportals.portal.pcd.gl.PcdFilterContext.filterLookup(PcdFilterContext.java:480)
    at com.sapportals.portal.pcd.gl.PcdProxyContext.recursiveLookup(PcdProxyContext.java:1503)
    at com.sapportals.portal.pcd.gl.PcdProxyContext.proxyLookupLink(PcdProxyContext.java:1579)
    at com.sapportals.portal.pcd.gl.PcdProxyContext.proxyLookup(PcdProxyContext.java:1523)
    at com.sapportals.portal.pcd.gl.PcdProxyContext.lookup(PcdProxyContext.java:1321)
    at com.sapportals.portal.pcd.gl.PcdGlContext.lookup(PcdGlContext.java:71)
    at com.sapportals.portal.pcd.gl.PcdProxyContext.lookup(PcdProxyContext.java:1314)
    at com.sapportals.portal.pcd.gl.PcdProxyContext.lookup(PcdProxyContext.java:1307)
    at javax.naming.InitialContext.lookup(InitialContext.java:351)
    at javax.naming.InitialContext.lookup(InitialContext.java:351)
    at com.sapportals.portal.pcd.pcm.roles.RoleNavigationConnector.getNodes(RoleNavigationConnector.java:463)
    at com.sapportals.portal.pcd.pcm.roles.RoleNavigationConnector.getNode(RoleNavigationConnector.java:337)
    at com.sapportals.portal.navigation.cache.connector.CacheNavigationConnector.getOriginalNode(CacheNavigationConnector.java:905)
    at com.sapportals.portal.navigation.cache.connector.CacheNavigationConnector.getNode(CacheNavigationConnector.java:777)
    at com.sapportals.portal.navigation.NavigationService.getNavNode(NavigationService.java:1591)
    at com.sapportals.portal.navigation.NavigationService.getNode(NavigationService.java:615)
    at com.sapportals.portal.navigation.NavigationEventsHelperService.getCurrentNavNode(NavigationEventsHelperService.java:443)
    at com.sapportals.portal.navigation.NavigationEventsHelperService.getCurrentLaunchNavNode(NavigationEventsHelperService.java:483)
    at com.sapportals.portal.navigation.NavigationEventsHelperService.getCurrentLaunchNavNode(NavigationEventsHelperService.java:471)
    at com.sapportals.portal.navigation.workAreaiView.doContent(workAreaiView.java:125)
    at com.sapportals.portal.prt.component.AbstractPortalComponent.serviceDeprecated(AbstractPortalComponent.java:200)
    at com.sapportals.portal.prt.component.AbstractPortalComponent.service(AbstractPortalComponent.java:114)
    at com.sap.portal.prt.core.RequestDispatcherFactory$PortalComponentRequestDispatcher$5.service(RequestDispatcherFactory.java:308)
    at com.sap.engine.services.servlets_jsp.server.deploy.impl.module.IRequestDispatcherImpl.dispatch(IRequestDispatcherImpl.java:93)
    at com.sap.portal.prt.core.RequestDispatcherFactory$PortalComponentRequestDispatcher.service(RequestDispatcherFactory.java:298)
    at com.sap.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:278)
    at com.sap.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:115)
    at com.sapportals.portal.prt.core.async.AsyncIncludeRunnable$1DoDispatchRequest.run(AsyncIncludeRunnable.java:359)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.sapportals.portal.prt.core.async.AsyncIncludeRunnable.run(AsyncIncludeRunnable.java:372)
    at com.sapportals.portal.prt.core.async.ThreadContextRunnable.run(ThreadContextRunnable.java:176)
    at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:729)
    at java.lang.Thread.run(Thread.java:606)
    Caused by: javax.naming.NamingException: [Xfs] Object not found: com.sap.caf.eu.gp.worksets.runtime/com.sap.caf.eu.gp.pages.procinstance at portal_content/com.sap.pct/platform_add_ons/com.sap.caf.eu.gp.folders.gp/com.sap.caf.eu.gp.roles.runtime/com.sap.caf.eu.gp.worksets.runtime
    at com.sapportals.portal.pcd.gl.xfs.BasicContext.lookup(BasicContext.java:1346)
    at com.sapportals.portal.pcd.gl.PcdPersContext.lookup(PcdPersContext.java:788)
    at com.sapportals.portal.pcd.gl.PcdPersContext.filteredLookup(PcdPersContext.java:547)

    Hi,
    Check this thread:
    Page_Not_Found error encounter in GP Runtime
    Reward points if it's helpful.

  • Error message when adding values to another table

    hi i have a situation where am adding values from a view to a bean,my use case is i have a list of user in my view where am adding them to my bean by clicking the button,but now i what to validate when adding a user in such a way that if i added a use in my bean and i try to add that user again in current selection i must have validating error saying the user have been added already my code is
    Edited by: adf0994 on 2012/12/13 2:19 PM

    looks like you should have asked this in the ADF-forum...
    JDeveloper and ADF
    Why don't you simply configure the user name beeing unique in your entity?
    ADF would raise an exeption for you.
    public String onRowCreate( Row currentRow ) {
    return null;
    }Don't do that.
    returning a literal null is almost ever a mistake! In this certain case you should declare you methods return type as void and ommit the return statement.
    bye
    TPD

  • Exchange 2013 LED=441 4.4.1 Error encountered when trying to communicate with primary IP address

    Hello,
    Im running Exchange 2013 on Server 2012R2, and all has been fine for a while until some users complained that ome of there external recipients are not receiving their mails. if I look in the mail que I indeed see the messages stuck with the comment:
    [{LRT=14-4-2015 14:36:14};{LED=441 4.4.1 Error encountered while communicating with primary target IP addre
    ss: "Failed to connect. Winsock error code: 10013, Win32 error code: 10013." Attempted failover to alternat
    e host, but that did not succeed. Either there are no alternate hosts, or delivery failed to all alternate
    hosts.
    Initially i thought it might had to do with the PTR but I checked and the reverse lookup is fine, also the mail server ip's are not blacklisted. I've tried every suggestion on all forums I could find from changing MTU sizes to disabling TLS but nothing seems
    to work the majority of the mail goes out just fine but to a couple of domains it doesn't any input would be greatly appreciated.
    I have only the internal DNS server configured on the NIC, only one NIC is available and OWA, Outlook and Activesync clients work just fine.

    http://public.wsu.edu/~brians/errors/their.html
    If this is happening when you try to send to several domains, then I suggest you might be blacklisted or otherwise being considered a spam source.
    Do you have an SPF record?  Is your IP address in a blacklisted range?
    Ed Crowley MVP "There are seldom good technological solutions to behavioral problems."

  • Error while trying to add a new field in search criteria by VO extension

    Hi,
    I am trying to add a new field by using the VO extension to a seeded OAF page used to search Repository contracts.
    I get the following error on opening the page after I have compiled my code on server and bounced apache.
    Message not found. Application: FND, Message Name: FND_VIEWOBJECT_NOT_FOUND. Tokens: VONAME =SSPN_AdvancedSearchAttributesPVO; APPLICATION_MODULE = oracle.apps.okc.repository.search.server.ContractsAdvSearchAM;
    I extended the AM also after this to include the extended VO but still the error comes.
    This page is a dynamic search page where the results change based on the different search criteria.
    Cheers
    Swati

    Hi,
    I extended the AM also after this to include the extended VO but still the error comes.There is no need to extend the AM for extending a VO. Hopefully the VO which u extending already attached to the AM oracle.apps.okc.repository.search.server.ContractsAdvSearchAM.
    Regards,
    Gyan

  • Error when adding an item to HU  using FM ADD_TO_EXISTING_HU

    Please I need help, could some tell me what I am doing wrong I keep an error when I try to add an item to a HU, here is the code:
    FUNCTION zrf_hu_add_pack.
    ""Local Interface:
    *"  IMPORTING
    *"     VALUE(HU_HEADER) LIKE  BAPIHUHDRPROPOSAL STRUCTURE
    *"        BAPIHUHDRPROPOSAL
    *"     VALUE(USERNAME) LIKE  SY-UNAME OPTIONAL
    *"     VALUE(PRINTER) TYPE  RSPOLNAME OPTIONAL
    *"  EXPORTING
    *"     VALUE(RETURN) LIKE  BAPIRET2 STRUCTURE  BAPIRET2
    *"  TABLES
    *"      HU_ITEMS STRUCTURE  BAPIHUITMPROPOSAL
      DATA: ret TYPE STANDARD TABLE OF bapiret2,
            header TYPE bapihuhdrproposal,
            hukey TYPE bapihukey-hu_exid,
            huheader TYPE bapihuheader,
            itemsproposal TYPE STANDARD TABLE OF bapihuitmproposal,
            itm TYPE STANDARD TABLE OF bapihuitem,
            item_prop TYPE  huitm_prop,
            obj TYPE hum_object,
            del_type TYPE vbtyp,
            hu_ext TYPE  hum_exidv_t,
            hu_int TYPE hum_venum_t,
            out_msg TYPE huitem_messages_t,
            tmp_vbeln TYPE vbeln,
            hu_hdr TYPE huhdr_proposal,
            hu_mm TYPE hum_plant_stloc,
            itm_wa LIKE LINE OF itm,
            item_prop_wa LIKE LINE OF item_prop,
            hui_wa LIKE LINE OF hu_items.
      DATA: ls_handling_units TYPE hum_rehang_hu,
            ls_high TYPE vekp-venum.
      DATA: it_items LIKE huitm_proposal,
             hm_obj TYPE hum_object,
             hu_prop TYPE huhdr_proposal,
             hu_add TYPE huhdr_add,
             hu_add_wa LIKE LINE OF hu_add,
             hu_items1 TYPE huitm_prop,
             hu_items_wa LIKE LINE OF hu_items1.
      DATA: hu_msg TYPE huitem_messages_t,
              hu_msg_wa LIKE LINE OF hu_msg,
              hu_hdr1 TYPE     hum_hu_header_t,
              hu_hdr1_wa LIKE LINE OF hu_hdr1.
      DATA: i_mm_data  LIKE  hum_plant_stloc,
            hu_internal TYPE  hum_venum_t,
            hu_external TYPE  hum_exidv_t,
            handling_unit TYPE  huitem_from,
            h_unit_l TYPE huitem_from,
            is_item_proposal TYPE  huitm_proposal,
            i_delivery_type  TYPE  likp-vbtyp ,
            et_messages      TYPE  huitem_messages_t.
      DATA: venum TYPE venum.
      DATA: lt_hu LIKE bapihunumber OCCURS 0 WITH HEADER LINE,
            lt_huhdr LIKE bapihuheader OCCURS 0 WITH HEADER LINE.
      DATA: t_return TYPE TABLE OF bapiret2.
    get header
      lt_hu-hu_exid = hu_header-hu_exid.
      APPEND lt_hu.
    get HU header
      CALL FUNCTION 'BAPI_HU_GETLIST'
        EXPORTING
          onlykeys      = ' '
        TABLES
          hunumbers     = lt_hu
          huheader      = lt_huhdr
          return        = t_return
        EXCEPTIONS
          error_message = 2
          OTHERS        = 4.
      IF sy-subrc NE 0.
        CALL FUNCTION 'BALW_BAPIRETURN_GET2'
          EXPORTING
            type   = sy-msgty
            cl     = sy-msgid
            number = sy-msgno
            par1   = sy-msgv1
            par2   = sy-msgv2
            par3   = sy-msgv3
            par4   = sy-msgv4
          IMPORTING
            return = return.
        ROLLBACK WORK.
      ELSE.
    get defaults
        PERFORM get_user USING username.
    handling unit
        READ TABLE lt_huhdr INDEX 1.
        APPEND hu_header-hu_exid TO hu_external.
        APPEND lt_huhdr-hu_id TO hu_internal.
        h_unit_l-exidv = lt_huhdr-hu_exid.
        h_unit_l-venum = lt_huhdr-hu_id.
    APPEND h_unit_l to handling_unit.
    hold delivery number
        tmp_vbeln = hu_header-pack_mat_customer.
    convert or pad
        CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
          EXPORTING
            input  = tmp_vbeln
          IMPORTING
            output = tmp_vbeln.
    set up object key
        obj-object = '01'.
        obj-objkey = tmp_vbeln.
        CONDENSE obj-objkey.
    get delivery type from delivery header
        SELECT SINGLE vbtyp INTO del_type
        FROM likp
        WHERE vbeln = obj-objkey.
    set status
        hu_header-hu_status_init = '1'.
        MOVE-CORRESPONDING hu_header TO hu_mm.
        hu_mm-plant = hu_header-plant.
        hu_mm-stge_loc = hu_header-stge_loc.
        hu_mm-whse_no = '101'.
        hu_mm-stge_type = '916'.
        hu_mm-stge_bin = tmp_vbeln.
    set up items
        LOOP AT hu_items INTO hui_wa.
          hu_items_wa-velin = '1'.
          hu_items_wa-belnr = tmp_vbeln.
          hu_items_wa-posnr = hui_wa-lower_level_exid.
          MOVE hui_wa-pack_qty      TO hu_items_wa-quantity.
          MOVE hui_wa-base_unit_qty TO hu_items_wa-meins.
          CALL FUNCTION 'CONVERSION_EXIT_MATN1_INPUT'
            EXPORTING
              input        = hui_wa-material
            IMPORTING
              output       = hu_items_wa-matnr
            EXCEPTIONS
              length_error = 1
              OTHERS       = 2.
          hu_items_wa-charg = hui_wa-batch.
          hu_items_wa-werks = hui_wa-plant.
          hu_items_wa-lgort = hui_wa-stge_loc.
         APPEND hu_items_wa TO hu_items1.
    sort items
       SORT hu_items1 BY belnr posnr.
    copy and change function ADD_TO_EXISTING_HU if neccessary
          CALL FUNCTION 'ADD_TO_EXISTING_HU'
            EXPORTING
              i_hu_id               = ''
              i_hu_ref_doc          = obj
              i_mm_data             = hu_mm
              i_hu_internal         = hu_internal
              i_hu_external         = hu_external
              is_handling_unit      = h_unit_l
              is_item_proposal      = hu_items_wa
              i_delivery_type       = del_type
            IMPORTING
              et_messages           = hu_msg
            EXCEPTIONS
              not_possible          = 1
              delivery_update_error = 2
              OTHERS                = 3.
          IF sy-subrc <> 0.
            CALL FUNCTION 'BALW_BAPIRETURN_GET2'
              EXPORTING
                type   = sy-msgty
                cl     = sy-msgid
                number = sy-msgno
                par1   = sy-msgv1
                par2   = sy-msgv2
                par3   = sy-msgv3
                par4   = sy-msgv4
              IMPORTING
                return = return.
            ROLLBACK WORK.
          ELSE.
            COMMIT WORK AND WAIT.
          ENDIF.
        ENDLOOP.
      ENDIF.
    ENDFUNCTION.

    It probably has something to do wit the kind of HU that you are using.
    If you call a " where used " of the error message HUFUNCTIONS 261 you will see that there are several checks concerning the kind of HU.
    The types of HU's can be found in domain VPOBJ.
    Hope this helps,
    Regards,
    Dirk.

Maybe you are looking for