How to delete / cancel a SC in transfer process ?

Hello all
We're on SRM 4.0 with SRM Server 5.0 SP08.
We found one older SC from august this year still being in transfer process. Of course today this one is no more required (because the user  "solved" the problem by creating a new SC which could successfully be transferred to the backend).
So my question is: how to get rid of this old SC being in transferred process? I'm not able to change or delete it using the BBP_MON_SC transaction. Are there other ways? Maybe using function module BBP_PD_SC_STATUS_CHANGE? But what to set in parameter I_ACTIVITY?
Thanks anyone in advance.
BR
Renaud

Hi,
Other alternatives ->
1) The FM BBP_PD_SC_DB_DELETE deletes from persistent layer.
2) The FM BBP_PD_SC_STATUS_CHANGE with 'DELE' activity, marks as deleted and keep the document in the persistent layer.
According your needs, you will need to choose which one fits your requirement.
To commit changes to DB from BBP_PD_SC_DB_DELETE you will need to COMMIT WORK, cuz even the FM doesn't display any error messages in the e_messages table, the deletion task is not commited.
About the BBP_PD_SC_STATUS_CHANGE FM, you will need to inactivate the follow on document status in the CRM_JEST table to achieve the deletion with the FM i have mentioned...
For both FM's *DB_DELETE and *STATUS_CHANGE you need to create a ZFM or ZREP to write the COMMIT WORK instruction after the execution of the FM.
BR,
Disha.
Pls reward points for useful answers.

Similar Messages

  • How to delete / cancel messages in PI adapter engine

    Hello expert,
    we have a scenario File (EOIO) --> PI --> ABAP. Today the file we received is big (>100mb), apparently PI can't handle it, and we got error
    Transmitting the message to endpoint http://host:port/sap/xi/engine?type=entry using connection File_http://sap.com/xi/XI/System failed, due to: com.sap.engine.interfaces.messaging.api.exception.MessagingException:
    Error transmitting the message over HTTP. Reason: java.io.IOException: Error writing to server.
    seems like PI adapter engine got problem while delivering the huge message to ABAP integration engine. In RWB message monitoring, the message is set to Error. Unfortunately the file has been picked up many times, thus the huge message is stuck in adpater engine. In RWB message monitoring, I can see the message listed many times and status is HOLDING because the previous message can not be delivered to Intergration engine. I want to delete/cancel all the messages, I tried in RWB message monitoring to cancell the messages, however after cancelling one message, it crashed the PI system and cause a reboot.
    My question is; Is there some place in NWA (net weaver admin) to force all the messages to be deleted? (Because deleting/cancel in RWB message monitoring does not work because it causes system crash).
    Thanks
    Jayson

    Hi Team,
    I couldn't able to delete old message's from one of Q system, Persistence layer is 584 % filled, after triggering delete job(RSXMB_DELETE_MESSAGES) and Persistence layer has come to 384% and further I couldn't able to delete old messages.I executed program "
                                                                                                          RSXMB_CHECK_MSG_QUEUE" and manage  to delete few entries.Could you please suggest how to reduce fill level to below 100%
    Switch Procedure (for Persistence Tables) Deactivated
    Number of Table Entries                                                           
    3.185.992
    Maximum Number of Table Entries                                                   
    830.000
    Current Fill Level in %                                                           
    384
    Threshold value for fill level for executing a switch run in %                    
    60
    Number of Logically Deleted Table Entries                                         
    0
    Decline of Fill Level in % Following Deletion                                     
    384
    Delete or archive processed XML messages
    Job log overview for job:    SAP_BC_XMB_DELETE_001 / 06302000
    Date       Time     Message text                                                                               Message class Message no. Message
    13.03.2013 06:39:55 Job started                                                                                     00           516          S
    13.03.2013 06:39:55 Step 001 started (program RSXMB_DELETE_MESSAGES, variant &0000000000034, user ID SAPBATCH)      00           550          S
    13.03.2013 06:39:55 Value for parameters DELETION-RELATED_OBJECTS-ASYNC: 1                                        XMS_ADM        375          S
    13.03.2013 06:39:55 Value for parameters DELETION-RELATED_OBJECTS-ROWS: 100                                       XMS_ADM        375          S
    13.03.2013 06:39:55 Value for parameters DELETION-RELATED_OBJECTS-IDX5_DELAYED: 0                                 XMS_ADM        375          S
    13.03.2013 06:39:55 Value for parameters DELETION-ROWS_PER_LOOP-DELETE: 100                                       XMS_ADM        375          S
    13.03.2013 06:39:55 Value for parameters DELETION-PERSIST_DURATION-ASYNC: 007                                     XMS_ADM        375          S
    13.03.2013 06:39:55 Value for parameters DELETION-PERSIST_DURATION-SYNC: 007                                      XMS_ADM        375          S
    13.03.2013 06:39:55 Value for parameters DELETION-PERSIST_DURATION_ERROR-SYNC: 007                                XMS_ADM        375          S
    13.03.2013 06:39:55 Value for parameters DELETION-PERSIST_DURATION-IDX5: 007                                      XMS_ADM        375          S
    13.03.2013 06:39:55 Value for parameters DELETION-PERSIST_DURATION_UNIT-ASYNC: D                                  XMS_ADM        375          S
    13.03.2013 06:39:55 Value for parameters DELETION-PERSIST_DURATION_UNIT-SYNC: D                                   XMS_ADM        375          S
    13.03.2013 06:39:55 Value for parameters DELETION-PERSIST_DURATION_ERROR_UNIT-SYNC: D                             XMS_ADM        375          S
    13.03.2013 06:39:55 Value for parameters DELETION-PERSIST_DURATION_UNIT-IDX5: D                                   XMS_ADM        375          S
    13.03.2013 07:27:58 0 XML messages deleted                                                                        XMS_ADM        351          I
    13.03.2013 07:27:59 Step 002 started (program RSXMB_TABLE_SWITCH, variant &0000000000034, user ID SAPBATCH)         00           550          S
    13.03.2013 07:28:00 Job finished                                                                                    00           517          S

  • How ro delete/cancel procurement Scheduling Agreement Release in APO system

    Hi,
    Can you please tell me the ways to delete procurement schedule agreement release in APO system.
    I have gone through the thread "How to delete the old schedule line release? and found two transactions but it seems both the transactions like /sapapo/cmds_del  & sappao/cmds_sc02 are used for sales scheduling agreement release deletion.
    The system is not allowing me to delete the same in APO system as these are APO scheduling agreements.
    Please help me on the same.Thanks in advance.Revert back if any further clarification is required.
    regards,
    kaushik

    Hi,
    Thanks for your reply again.
    The /SAPAPO/DELETE_PP_ORDER program does not select the release schedule lines though it selects the Scheduling Agreement Schedule Line (Not released) for deletion.
    The transaction /SAPAPO/PWBSRC2 for Deleting External Procurement Relationship but as long as the released schedule line exists , it is not possible to delete the scheduling agreements.
    I have gone through the help.sap.com site and I was not able to found anything about deletion or cancel/closing of Scheduling Agreement Release.
    Still waiting for the solution.
    regards,
    kaushik

  • How to delete/cancel files stuck in To Be Delivered (TBDL) status

    hi all,
    i just want to ask how to delete or cancel files that are stucked in To Be Delivered (TBDL) status in RWB? i have cleared both SMQ1 and SMQ2 and even performed a full system restart, but the files are still there. can anyone please shed some light with this issue? it will be deeply appreciated. thanks!
    Edited by: dwinXG on Jun 9, 2010 5:36 AM

    Hi,
         Normnally Message status goes to ToBeDelivered if there are no more queues available for that particular adapter queue..
    so here first you need to check the messages which are in DLNG status and the logs/reasons behind them...
    Normally you cannot delete the messages in ToBeDelivered...but give a try going to RWB and filter the messages with TBD..
    and try ot delete there...
    But I prefer for the rootcause causing the messages to be delivered as the reasons can be target system might be down..or restarted which made the particular adapter queue hung..so chk it out..
    HTH
    Rajesh

  • How To delete Inspection type permanently  in Mass processing?

    Hi SAP gurus,
    I have activated an inspection type 04. Later i found that tis particular inspection type is not useful for me. Using qa08 i deactivated this particular inspection type. But still materials goes to Quality Inspection (QI). But i want materials to go to Unrestricted Use directly. How to delete this inspection type permanently in mass processing.. Or please say me a other solution to make material go to Unrestricted use..
    Thanks in advance..

    Hi Paul..
    Yes i deactivated the inspection type after production is created. You have said that the inspection is still in "Q". Please say me how to find this. Another thing is, i found another option to send it to unrestricted. When doing GR, i selected stock type as Unrestricted. Since 04 inspection type is deactivated, its now going directly to unrestricted even after the production order is created before deactivation.
    Thanks a lot for your help.

  • How to  Delete the PO Error in Transfer in SRM

    Hi All,
    Can you tell me , what FM should i use to delete the PO in SRM
    I was using FM  META_PO_DELETE , but guess it deletes the PO in the Backend.
    Thanks & Regards,

    Hi,
    You want to delete the PO completely from the DB or just mark it as delete?
    If you want to delete it from the database then use the FM BBP_PD_PO_DB_DELETE.
    This will delete the PO completely from DB.
    If you just want to mark it as delete then there is button "Delete" in the PO you can use it. The PO is set to delete and the same info is transfered to backend.
    Regards,
    Zubair.

  • How to delete Cancelled lot in QM lot - QA32 T.Code

    Is it possible to delete canccelled lot (Lot with status LTCA)  in QA32 transaction. Pl. giude me.
    Ganesh

    physical deletion can only be made with archiving. Transaction SARA, object QM_PLAN
    This requires customizing and is usually a process rather than a transaction.
    http://help.sap.com/saphelp_erp2005/helpdata/en/8d/3e5fb3462a11d189000000e8323d3a/frameset.htm

  • How Goods Issu happens in the Stock transfer process with outbound delivery

    Hi,
    Can you please explain me how the goods issue happens in the Stock transfer scenario with outbound delivery?
    can we use VL02n for goods issue for single delivery doc(Delivery type-RL).
    Can we use the transaction VL23 for collective processing of goods issue for stock transfers.
    Thanks

    Hi Anil,
    ->You can use VL02N transaction to do PGI for the outbound delivery in the Stock transfer scenario.
    -->But you have mentioned that delivery type is RL -is this returns delivery
    Normally NL delivery will be used in STO(Rplenishment
    delivery)
    -->You can use VL06G transaction for collective PGI
        The transaction VL23 for delivery schdule in the back ground
    I hope it will help you,
    Regards,
    Murali.

  • How to delete batch input session still in process since year 2000

    Hi All,
    in our productive system we have still batch input session in process from year 2000, and I would like to delete them, but how to do this, because the error message is "Unable to schedule session .....".
    Thanks for your help

    Hi Olivier  ,
    Such error occurs when you are trying to run session in foreground and some error occurs with connection.
    As such these session are not harmful in any way. You can request basis person to remove those sessions.
    Regards,
    Mohaiyuddin

  • How can I cancel my Apple Developer registration process?

    I need to change my paiment information how can I change or stop my Apple Developer Registration please help me?

    You can't cancel it. Stop using the old one.
    (68864)

  • How to delete master data in bi 7? through process chain

    Hi all,
    I can see millons of records for master data is getting loaded daily. Can anyone pls advise me how to delete the master data through the process chain?
    Thanks
    pooja

    Hi,
    If Cube/DSO then we can choose the option Delete the Contente of the DataTarget in Process Type in PC. But for Mater data you can see any FM is available and keep that FM in Program and Insert that Program in PC's
    RSDMDD_DELETE_MASTER_DATA
    RSDPW_MASTERDATA_DELETE
    See the above TWO FMs in SE37 and if it is working then keep in in one simple program and then call that Propgram in Process Chain
    Thanks
    Reddy
    Edited by: Surendra Reddy on Jun 30, 2010 7:19 AM

  • Cancel the scheduled jobs for process chains - urgent

    Hi,
    How do I cancel the scheduled jobs for process chains which are going to run tonight.
    thanks,
    Radha

    Hello,
    Go into transaction code RSPC and then select the particular process chain by going into the edit mode and in the menu...
    Look for Execution --> Remove from Schedule.
    Let me know if that answered your question.
    Thanks
    Dharma.

  • How to delete the messages from SXMB_MONI which are already cancelled .

    Hi All,
    The messages were earlier in System error(Red flag) state so i cancelled it manually.
    I want to know how to delete the messages from sxmb_moni which are already cancelled manually using ctrl+f8.
    if not possible , then i want to see them in earlier state i.e.., in System error(Red flag).
    can any tell me the procedure of doing it.
    thanks
    Sai.

    Hi AmitSri,
    Thanks for u r reply,
    What is retention period, where can i find this option.
    And i don't have authorizations to sxmb_adm --> configure delete procedure
                                                                             --> Define interfaces for archiving and retention period.
    and to RSXMB_DELETE_MESSAGES in se38 , i don't have authorizations to run
    Is there any way to delete the messages or make them to System error( Red flag) which are manually cancelled.
    Thanks
    Sai.
    Edited by: sai_SHA on Aug 17, 2011 12:29 AM

  • How to delete the messages from sxmb_moni with status cancelled

    Hi ,
    how to delete the messages from sxmb_moni with status cancelled
    Is there any report for this
    Regards
    Suman

    I think just for deleting the jobs you can do this only
    Scheduling Delete Jobs
    To schedule delete jobs, proceed as follows:
           1.      In the Integration Engine -
    > Administration menu, choose Schedule Delete Jobs.
           2.      Select the job(s) to be scheduled.
           3.      Specify the start time and date.
           4.      Specify the period you want to use and choose Schedule.
    For an overview of all jobs, choose Jobs.

  • How to delete blank space from value of Infoobject in the transfer rule

    does anyboady know how to write a routine in the transfer rule in order to delete ending blank spaces from value of Infoobject 'ORDTEXT'. E.g. value: 'ABM    '?  After routine, the result should be 'ABM'.
    Thanks for any input.

    Deleting 'ending blank spaces' from a character type field (ie info-object or text) in SAP is not meaningful. For all usage, a char type field of length 8 having value  'ABM     '  is same as 'ABM'.
    Ok, HTML is changing the display in the above, so let me restate it
    For all usage, a char type field of length 8 having value  'ABM_____'  is same as 'ABM', take the underscore character (_) in the first string as a placeholder for space character.
    Edited by: Ajay Das on Jul 29, 2009 12:07 PM

Maybe you are looking for