Strange failure in  updating status of a item in CMS.

Hi,
our weblogic portal 10.3.2 application whishes to change the status of an item in CMS (from "published" to "retired"). We know that only the owner of the item or a superadmin can change item status. The strange thing is that: we have two separate testing environment: in one it works, in the other one not (com.bea.content.AuthorizationException: User does not have update privileges on this node)
We would like to understand why the behaviour differs in those two envs.
Do you know which user is impersonated by a weblogic application when accessing CMS using portal API?... do you have any hints for us?
thanks in advance

Pavani,
use bapi for this:
BAPI_SALESORDER_CHANGE
Amit.

Similar Messages

  • Update sales orders status after changing item completion rule

    Hello!
    I've just changed the item completion rule of a given sales document item (from 'B' to blank). But we have several old orders, which have deliveries created with reference, with some fields still open (due to the 'no reference' status at the item level). The orders created after the new condiguration are ok.
    So, is there any way I can update the status of those old orders? Already tried the report SDVBUK00, but did not work out.
    Any ideas are welcome.
    Thanks.
    Adriano Cardoso

    Hi,
    check if oss note 1472007 helps.
    Regards,
    JM

  • Update Approval Status of parent Folder based on approval status of folder items

    Hi,
    I have a SharePoint list which contains folders. Each folder contains one or more items. I wish to update the folder approval status to "Approved" when all the items inside the folder are approved.
    The workflow should trigger whenever the approval status of one or more items inside the folder is changed and is expected to check the approval status of all other items inside the folder. If all the items are approved the folder's approval status should
    be set to "approved".
    I am designing the workflow via SharePoint Designer 2013 and using SharePoint Online 2013 .
    Thanks a lot in advance.

    Hi,
    According to your post, my understanding is that you wanted to update Approval Status of parent Folder based on approval status of folder items.
    Per my knowledge,
    there is no out of the box way to accomplish this with SharePoint.
    Though we can loop the
    folder items to set the content approval status, we can not get the parent folder and then set the content approval status.
    As a workaround, I recoemend to create event reciever to get set the content approval status of the folder items.
    For more information, you can refer to:
    How to: Create a remote event receiver
    How to create a simple Remote Event Receiver for a Custom List in Office 365 SharePoint 2013 site
    Regarding SharePoint Online, for quick and accurate answers to your questions, it is recommended that you initial a new thread in Office 365 forum.
    Office 365 forum
    http://community.office365.com/en-us/forums/default.aspx
    Thanks,
    Linda Li                
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Linda Li
    TechNet Community Support

  • Getting status row for item '' activity id '' does not exist

    Hi,
    Need your help.
    Create a custom workflow SAMPRREQ. Its having following processes.
    1. Start Process
    2. Respond Notification.
    3. Function to update Table with the responded value.
    4. End process.
    After lauching the workflow, Notification send to the performer. Open the notification. When approver click the any of the result value (approve, reject, onhold) system giving followign message.
    3101: Status row for item 'SAMPRREQ/20130206161924', activity ID '242956' does not exist.
    I have seen some threads in the forums and bounce the database , purge the item type completly. But, still getting the error.
    Regards/Prasanth

    Sosa,
    When i run the wfstat nothing wrong in the info. unable to find the issue.
    But, i have narrow down the issue. In the function process in my workfow i am calling a custom function called update_approval_status_new.
    In this the value of the respond notification to be updated to a header table of this workflow and insert into events tables.
    When i comment these two dml ( update to header status & insert into events ) there is no error.
    Can any one tells me can i update and insert custom tables in workflow or not. If I want to do this, what is procedure.
    Regards/Prasanth

  • Problem with status-button in item view of ME21/22/23N

    Hello ABAP,
    i have to check for some conditions when a PO is saved, and due to those checks either save it or well, not.
    This is working fine so far.
    when you click check, or save, conditions get checked and window with errors pops up.
    I´m using the normal error message procession used in SAPLMEGUI which i have to fill with thos three makros.
    I just have one problem, my status button in item line doesnt get updated. i tried with a lot of metafields by now but it seems trial and error is not the way to go here.
    any tips?

    requirement resolved.
    solution follows:
    DATA: lt_ytab             TYPE TABLE OF ysdch_vbap_idnlf,
          lt_data             TYPE TABLE OF ymmch_check_idnlf_out, "added ID (TYPE INT4) Field to structure
          lt_out              TYPE TABLE OF char80.
    DATA: ls_ytab             TYPE ysdch_vbap_idnlf,
          ls_mska             TYPE mska,
          ls_data             TYPE ymmch_check_idnlf_out,
          ls_out              TYPE char80,
          lv_row_end          TYPE i VALUE 10.
    CONSTANTS:  lc_col_start        TYPE i VALUE 10,
                lc_col_end          TYPE i VALUE 40,
                lc_row_start        TYPE i VALUE 10,
                lc_title            TYPE char80 VALUE
                'Fehler, noch Bestand zu Liquidations/Annulationsaufträgen vorhanden'.
    *~~~Get header data
    ls_head = im_header->get_data( ).
    *~~~Get item data
    lt_items = im_header->get_items( ).
    LOOP AT lt_items INTO lr_item.
      ls_item = lr_item-item->get_data( ).  "EKPO
      "select liquidations/annulations orders for supplier material nr.
      SELECT *
      FROM   ysdch_vbap_idnlf
      INTO   TABLE lt_ytab
      WHERE  /fis/idnlf = ls_item-idnlf.
      LOOP AT lt_ytab INTO ls_ytab.
        "now lets see which of those orders has order stock
        SELECT SINGLE kalab kaspe
        FROM   mska
        INTO   CORRESPONDING FIELDS OF ls_mska
        WHERE  vbeln = ls_ytab-vbeln
        AND    posnr = ls_ytab-posnr.
        IF ls_mska-kalab GT 0 OR ls_mska-kaspe GT 0.
          ls_data-vbeln       = ls_ytab-vbeln.
          ls_data-posnr       = ls_ytab-posnr.
          ls_data-/fis/idnlf  = ls_item-idnlf.
          ls_data-kalab       = ls_mska-kalab.
          ls_data-kaspe       = ls_mska-kaspe.
          ls_data-meins       = ls_item-meins.
          ls_data-ebelp       = ls_item-ebelp.
          ls_data-id          = ls_item-id. "saved ID for later processing
          APPEND ls_data TO lt_data.
        ELSE.
          CONTINUE.
        ENDIF.
      ENDLOOP.
    ENDLOOP. " lt_item
    IF NOT lt_data IS INITIAL.
      "we got annulation/liquidation orders with order stock for this material
      "so popup a error message
      LOOP AT lt_data INTO ls_data.
        IF NOT ls_data-vbeln IS INITIAL AND NOT ls_data-posnr IS INITIAL.
          mmpur_business_obj_id ls_data-id. "using other makro now and making use of ID
          "using mmpur_business_obj_id instead of mmpur_business_obj_it
        ENDIF.
        mmpur_metafield mmmfd_item_number.
        mmpur_message  'W' 'YMMCH' '110' ls_data-vbeln ls_data-posnr ls_data-ebelp ' '.
      ENDLOOP.
      ch_failed = 'X'.
    ENDIF.
    Edited by: Florian Kemmer on Sep 7, 2010 3:22 PM

  • Status of line item of order (CRM)

    i am using the 'CRM_ORDER_MAINTAIN'  funtion module but it is working for updating the status of line item, my problem is that in our system order status is maintaing on the basis of item category Z used in Z order type is having the object type as SALES ITEM and which are automatically deliver relevant. We have noticed that the Z order line item status remains at "In Process" rather that moving to "Completed" status after running billing in R/3 system. At the same time the header status of the order reverts back to completed.
    SAP has given the option of modifying the ORDER_SAVE badi or modify the include LCRM_STATUS_ECF09 to change the status
    completed whenever there is Z item category appears (which looks for deliver document) .
    I applied the logic but when i maintain the status as completed for item category then it will not showing the billing doc number in doc flow .
    ip_guid = ls_orderadm_i-guid.
    ls_status-ref_guid = ip_guid.
    ls_status-ref_kind = 'B'.
    ls_status-status = 'I1005'. "'E0007'.
    ls_status-user_stat_proc = 'CRMORD_I'.
    ls_status-activate = 'X'.
    INSERT ls_status INTO TABLE lt_status.
    ip_guid = ls_orderadm_i-guid.
    ls_status-ref_guid = ip_guid.
    ls_status-ref_kind = 'B'.
    ls_status-status = 'E0004'. "'E0007'.
    ls_status-user_stat_proc = 'CRMORD_I'.
    ls_status-activate = 'X'.
    INSERT ls_status INTO TABLE lt_status.
    ls_status-ref_guid = ip_guid.
    ls_status-ref_kind = 'B'.
    ls_status-status = 'I1073'. "'E0007'.
    ls_status-activate = 'X'.
    INSERT ls_status INTO TABLE lt_status.
    ls_input_field-ref_guid = ip_guid.
    ls_input_field-ref_kind = 'B'.
    ls_input_field-objectname = 'STATUS'.
    ls_input_field_names-fieldname = 'ACTIVATE'.
    INSERT ls_input_field_names INTO TABLE ls_input_field-field_names.
    INSERT ls_input_field INTO TABLE lt_input_fields.
    ls_input_field_names-fieldname = 'STATUS'.
    INSERT ls_input_field_names INTO TABLE ls_input_field-field_names.
    INSERT ls_input_field INTO TABLE lt_input_fields.
    INSERT ip_guid INTO TABLE lt_obj_guids.
    CALL FUNCTION 'CRM_ORDER_MAINTAIN'
    EXPORTING
    it_status = lt_status
    CHANGING
    ct_input_fields = lt_input_fields.

    Hi ,
    I think you need to change the status in the header also.
    Did it work for updating item status?
    Ajith

  • Surcharge on Net not update in PO line item

    Hi,
      we had a problem in Surcharge on Net calculated as per condition value.  Some PO,s Surcharge+ Net value update in PO line item, some PO's not updating.
    I have checked all the configuration part. Validity periods maintained upto 9999.
    Info records valid, Vendor valid.
    Please help me.
    Regards,
    Sridhar

    Hi,
    I have checked EKPO table and I found  If Surcharge on net calculated then Item effects commitment filed (XOBLR) Updated. Otherwise surchage on net failure to calculate XOBLR not update in Table level.
    Is there any way to update XOBLR field?
    Regards,
    Sridhar

  • Not updating status of Purchase requisition status

    Dear Friends,
    Our client has got third party software interface with SAP.We create Purchase requisitions in SAP,doc type-NB and PRs are also created in Third party software and it will create Purchase requisitions with starting with number ZR in SAP automatically.
    When PRs with NB type are created and RFQs are created with reference to PRs and POs with reference to RFQs,then status of RFQ and PO is displaying in Purchase requisition status tab at item details.
    But PRs created by Interface Purchase requisitions status under item details tab i.e.ZR is not updated with RFQ and PO status.
    For updating Purchase requisition status, is there any setting in customisation,the samething we need to do for PRs for Third party soft in SAP.
    Please suggest what needs to done
    Regards,
    Magana

    PR active signifies that all relase procedure is complete and the PR is being in use.
    Status field indicates whether the PR is in release, prartial release, complete release or whether PR is refused to release.
    Soon after complete release status gets chaged to active and if not subjected to release startegy, then soon after completing the creation of PR, status becomes active.

  • Problem in workflow process when update status of CC32 via workflow

    Hi,
    i am working on workflow support issue which is relating to CC31/CC32, here we create change number in CC31, but we won't change status of CC31 in CC32. it is possible thru workflow item only. but when 3 rd person updating status from 2 to 3, he is geting error, because the previous statuses are not updated. it's happening sometimes only not all the times. why.
    venkey

    Hello,
    What's the error? What's CC31?
    regards
    Rick Bakker
    hanabi technology

  • Status row for item '', activity ID '264766' does not exist.

    I have developed a custom workflow which is AME configured. The workflow runs well in R12.1.2 instance. But when deployed to R12.1.3 it fails out.
    error starting at line 20 in command:
    exec XX_PACKAGE.XX_PROCEDURE(19098, 'XX_WF', '1:Yes;')
    Error report:
    ORA-01086: savepoint 'WF_SAVEPOINT' never established in this session or is invalid
    ORA-20002: 3101: Status row for item '', activity ID '264766' does not exist.
    ORA-06512: at "APPS.WF_ENGINE", line 4192
    ORA-06512: at "APPS.XXIFMIS_ICX_UTILS", line 20
    ORA-06512: at line 1
    01086. 00000 -  "savepoint '%s' never established"
    *Cause:    Trying to roll back to a save point that was never established.
    *Action:
    Could anyone suggest how I can debug this issue.

    Sosa,
    When i run the wfstat nothing wrong in the info. unable to find the issue.
    But, i have narrow down the issue. In the function process in my workfow i am calling a custom function called update_approval_status_new.
    In this the value of the respond notification to be updated to a header table of this workflow and insert into events tables.
    When i comment these two dml ( update to header status & insert into events ) there is no error.
    Can any one tells me can i update and insert custom tables in workflow or not. If I want to do this, what is procedure.
    Regards/Prasanth

  • MIRO - Business Area not getting updated in Vendor Line item

    Hello friends,
    I am posting Vendor invoice in MIRO transaction.
    After Posting if i see the financial document generated,
    Business area has not got updated in Vendor Line item.
    What could be the problem ?
    Please help me out.
    Hari Prasath

    Hi Kale,
    Make sure the field Business area is not supressed in tx. OB14. for the GL account in line item 001.
    On the other hand, have a look to the note and kba below:
    41294 - Business area in customer/vendor item
    Kba 1727802 - Business area not getting populated in sales/ purchase tax

  • I am trying to update a number of items which the software check brings up:      It runs and says it is installing but at the end I get this error message:    The update could not be expanded, and may have been corrupted during downloading. The update wil

    Hi,
    I am trying to update a number of items which the software check brings up:
    It runs and says it is installing but at the end I get this error message:
    BUT then I ge tthis:
    Can anyone help me to enable the software to update?
    Thanks

    Thanks.  Something isn't right as I just tried to download the iphoto update - it said it had competed the download but then when I clicked on the download item I get this:
    Think will have to take it into the store.....
    thanks for replying.

  • Update status is incorrect

    When I run update status reports, some computers show "not needed" for an update that is clearly needed. For instance, if I run a compliance report and look for the status of KB2775511, I get a lot of computers showing "Update is not required"
    - however, these computers don't have KB2775511 installed, and clearly need it.
    In fact, each client believes it needs the update because it's listed as "Missing" when I check the CCM_UpdateStatus WMI class at "root/ccm/SoftwareUpdates/UpdatesStore". Furthermore, if I deploy the update via SCCM to one of these computers,
    the computer recognizes it needs the update and installs it. So it seems that the report (or wherever the reports gets its information) is what's at fault here.
    The other odd thing I notice about the report is that the computers with incorrect statuses have very recent dates for "Last State Received", and no date for "Last State Change". This is different from computers that are correctly
    reporting their status, which have values for both, typically with older dates.
    Any idea why my reports are incorrect?
    Eric Hodges

    Hi,
    Have you checked the following log files:
    StateMessage.log(Client)
    It records details about software updates state messages that are created and sent to the management point.
    MP_Relay.log(Site system server)
    It records the transfer of files that are collected from the client.
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • Change System Status of SO item dynamically based on Reason for Rejection

    Hi ppl,
    Our SAP user has raised a requirement as described below:
    In sales order (in creation mode (VA01) or change mode (VA02)), if at the item level, the reason for rejection is mentioned, then the system status for that item should be automatically set to Technically Complete SET (TECO); and if the user removes the reason for rejection for the item, then the system status Technically Complete should be RESET automatically.
    We are looking for any user-exit or BADI available which would be allow this dynamic change of system status based on the reason for rejection field. (No manual interaction for setting or resetting the system status).
    Technically, the functionality is based on the below fields:
    Reason for Rejection: VBAP-ABGRU
    System Status: JEST-STAT
    Please provide suitable inputs.
    Thanks,
    Dawood
    Edited by: Dawood.S.Ghasletwala on Jun 29, 2009 3:14 PM

    program: SAPMV45A
    User exit: USEREXIT_SAVE_DOCUMENT_PREPARE.
    loop at xvbap where updkz NE 'D'.
      if not xvbap-abgru is initital.
        "set your system state here.
      else.
       "reset your system state here.
      endif.
    endloop.
    hmmm you can as well try if you got all you need to know already in userexit: USEREXIT_CHECK_VBAP.
    Edited by: Florian Kemmer on Jun 29, 2009 11:53 AM

  • Problem in CRM_ORDER_MAINTAIN for updating amount in line items

    Hi abapers,
    I have  a scenario as follows: i want to update amount  for line items  in a transaction. i use the bapi crm_order_maintain followed by CRM_ORDER_SAVE and bapi transaction _commit . The problem is i loop the itab by passing the trnstn id , prdct code  and new amount.
    i applied the logic as given by rita tan (thread no 4)
    link:[Re: Update Pricing Document with CRM_ORDER_MAINTAIN]
    as per the logic i delete the existing value and insert the new amount . this works fine in the first  loop and in second loop it deletes the existing record but does not insert the new value . It doesn't even give error too. what may be the problem.
    here's a snapshot of the code i have written:
    loop at itab.
    SELECT SINGLE * FROM CRMD_ORDERADM_H
              WHERE OBJECT_ID = WA_ZCMR_UPDATE-Z_OBJECTID
              AND PROCESS_TYPE = P_TYPE.
                    SELECT SINGLE * FROM CRMD_ORDERADM_I
                  WHERE HEADER = CRMD_ORDERADM_H-GUID
                  AND ORDERED_PROD = WA_ZCMR_UPDATE-PRODUCT_CODE.
                  SELECT SINGLE * FROM CRMD_LINK
                    WHERE GUID_HI = CRMD_ORDERADM_H-GUID
                    AND OBJTYPE_SET = '18'.
                    SELECT  * FROM  PRCD_COND
                      INTO CORRESPONDING FIELDS OF TABLE IT_PRCD_COND
                      WHERE KNUMV = CRMD_LINK-GUID_SET
                      AND KPOSN = CRMD_ORDERADM_I-GUID
                      AND KSCHL = 'ZR12'.
                      READ TABLE IT_PRCD_COND
                      INTO WA_PRCD_COND INDEX 1.
                        DELETE  FROM PRCD_COND
                        WHERE KNUMV = WA_PRCD_COND-KNUMV
                          AND KPOSN = WA_PRCD_COND-KPOSN
                         AND KSCHL = 'ZR12'.
                          COMMIT WORK.
                          WA_PRIDOC-REF_HANDLE = '0000000001'.
                          WA_PRIDOC-REF_GUID = CRMD_ORDERADM_I-GUID.
                          WA_PRIDOC-REF_KIND = 'B' .
                          WA_COND_ADD-KSCHL = 'ZR12'.
                          WA_COND_ADD-KBETR = WA_ZCMR_UPDATE-NET_VALUE.
                          WA_COND_ADD-KPEIN = '1'.
                          WA_COND_ADD-WAERS = 'INR'.
                          INSERT WA_COND_ADD INTO TABLE IT_COND_ADD.
                          CLEAR WA_COND_ADD.
                          WA_PRIDOC-COND_ADD = IT_COND_ADD.
                          CLEAR IT_COND_ADD[].
                          INSERT WA_PRIDOC INTO TABLE IT_PRIDOC .
                          CLEAR WA_PRIDOC .
                          WA_CT_INPUT_FIELDS1-REF_HANDLE = '0000000001'.
                         WA_CT_INPUT_FIELDS1-REF_GUID = CRMD_ORDERADM_I-GUID.
                          WA_CT_INPUT_FIELDS1-REF_KIND = 'B' .
                          WA_CT_INPUT_FIELDS1-OBJECTNAME = 'PRIDOC'.
                         INSERT WA_CT_INPUT_FIELDS1  INTO TABLE IT_CT_INPUT_FIELDS1.
                          CLEAR WA_CT_INPUT_FIELDS1.
                          AT END OF Z_OBJECTID.
                            CALL FUNCTION 'CRM_ORDER_MAINTAIN'
                              EXPORTING
                                IT_PRIDOC         = IT_PRIDOC
                              CHANGING
                                CT_INPUT_FIELDS   = IT_CT_INPUT_FIELDS1
                              EXCEPTIONS
                                ERROR_OCCURRED    = 1
                                DOCUMENT_LOCKED   = 2
                                NO_CHANGE_ALLOWED = 3
                                NO_AUTHORITY      = 4
                                OTHERS            = 5.
    CALL FUNCTION 'CRM_ORDER_SAVE'
    CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
    endat.
    endloop.
    Please help out.
    Regards,
    Navin
    Edited by: navin.c on Jan 7, 2010 10:09 AM

    Check the link below. This should help
    Re: Change Order Quantity in CRM Sales Order

Maybe you are looking for