USER STATUS BILLING BLOCKED

Good morning,
I am replicating a sales order frm CRM to ECC.
I have created a status profile (transaction CRMBS02). I have two status: accepted and cancelled.
When the status is cancelled I would like to block the billing, so the replicated sales order can't be billed. Do you know if i can add any transaction to block the billing??
I have seen the transaction CANC to add in the user status but it consists in delete the item, (so the price in ECC is 0).
Thank you very much
P.D I give points to the answers

Hi Robert,
I am also trying to replicate the user status from CRM to ECC.
As you said '
implement logic in method CRM_DATAEXCH_AFTER_BAPI_FILL of badi CRM_DATAEXCHG_BADI. Status is writen in IT_BUS_TRANS_MSG-STATUS_H. You must then fill appropriate structure for ERP side.'
Could you tell me which one would be the appropriate structure on ERP side. I dont find one in teh badi CRM_DATAEXCH_AFTER_BAPI_FILL
Thanks,
Oindrila

Similar Messages

  • Workflow item processed but not removing the billing block from item

    My credit memo has 310 items with billing block at header level and item level itself. We are removing billing block through workflow.
    The problem i am facing is work item is processed by the user but billing block is not removed from  the document at item level.
    Now if I want to remove the billing block what i have to do?

    Hi,
    Please check this sample code..
    PARAMETERS: p_vbeln TYPE vbak-vbeln.
    DATA: l_header_inx TYPE bapisdh1x,
          l_header_in  TYPE bapisdh1.
    DATA: lt_return TYPE STANDARD TABLE OF bapiret2.
    * update the flag.
    l_header_inx-updateflag = 'U'.
    l_header_inx-bill_block = 'X'.  " Billing
    l_header_in-bill_block  = ''.   " Remove Billing block.
    * Call the bapi.
    CALL FUNCTION 'BAPI_SALESORDER_CHANGE'
      EXPORTING
        salesdocument    = p_vbeln
        order_header_in  = l_header_in
        order_header_inx = l_header_inx
      TABLES
        return           = lt_return.
    * check for errors.
    LOOP AT lt_return TRANSPORTING NO FIELDS WHERE type = 'A' OR type = 'E'.
      EXIT.
    ENDLOOP.
    IF sy-subrc = 0.
      WRITE: / 'Error in updating'.
    ELSE.
      WRITE: / 'Billing block removed'.
      COMMIT WORK AND WAIT.
    ENDIF.
    Thanks
    Naren

  • Chance user status in sales order VA02

    hi all,
    have any FM or BAPI is available to change (block / release) the user status in sales order change,
    pls note me about this,
    Regards
    Usman

    Hi Aditya,
    thanks,,
    which table and which field need to import in this FM "BAPI_SALESORDER_CHANGE" to change User status (Release / Block) in Sales order.
    Regards
    Usman

  • How to add new actions in customization setting of user status ?

    Hii All
    I am tring to use user status for blocking the creation of new breakdown notification if one breakdown ntification is already pending on it. I want to set equipment under Breakdown status on equipment  when breakdown notification created on it, but when i check for setting the action in user status customization setting, cannot locate the create notification there action there & also cannot add the same in it.
    Can any body tell me how new action can be added there??
    Regards

    Makarand Gurjar,
    You won't be able to do this with user-statuses.
    See your other [VERY similar post|Blocking of Equipment for Notification creation;
    PeteA

  • Billing block status field VA02

    In VA02 where can i get the field of the user who changed the billing block status to NONE.

    Hi,
    Check this sample code..
    PARAMETERS: P_VBELN LIKE VBAK-VBELN.
    DATA: T_CDHDR LIKE CDHDR OCCURS 0 WITH HEADER LINE.
    DATA: T_CDPOS LIKE CDPOS OCCURS 0 WITH HEADER LINE.
    CONVERT TO INTERNAL ..
    CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
       EXPORTING
          INPUT = P_VBELN
       IMPORTING
          OUTPUT = P_VBELN.
    SELECT * FROM CDHDR
                 INTO TABLE T_CDHDR
                 WHERE OBJECTCLAS = 'VERKBELEG'
                 AND       OBJECTID      = P_VBELN.
    IF NOT T_CDHDR[] IS INITIAL.
      SELECT * FROM CDPOS
                   INTO TABLE T_CDPOS
                  FOR ALL ENTRIES IN T_CDHDR
                 WHERE OBJECTCLAS = T_CDHDR-OBJECTCLAS
                 AND       OBJECTID      = T_CDHDR-OBJECTID
                 AND       CHANGENR   = T_CDHDR-CHANGENR
                 AND       TABNAME     = 'VBAK'
                 AND       FNAME         = 'FAKSK'
                AND        CHNGIND      = 'U'
                AND        VALUE_NEW = SPACE.
       IF SY-SUBRC = 0.
         READ TABLE T_CDPOS INDEX 1.
        IF SY-SUBRC = 0.
           READ TABLE T_CDHDR WITH KEY CHANGENR = T_CDPOS-CHANGENR.
           IF SY-SUBRC = 0.
              WRITE: / 'USER NAME CHANGED BILBLOCK - ', T_CDHDR-USERNAME.
          ENDIF.
        ENDIF.
      ENDIF.
    ENDIF.
    Thanks,
    Naren

  • User exit at item level for billing block field default for VA41 or VA42

    Hi All,
    I want user exit at item level for contract (VA41or VA42) for the field Billing Block in the Billing document tab
    which has to populate with some default value.
    Which user exit i need to check.
    Regards
    Jai

    Hi,
    Use subroutine USEREXIT_FIELD_MODIFICATION in Include MV45AFZZ.
    Make sure this is for only tcodes VA41 and VA42 because this wil trigger for sales order also.
    Regards,
    Ashok.

  • Restriction of user status in service order for billing due list

    Dear CRM Experts,
    I have configured status profile for service order as OPEN,INPROCESS and Completed and have assigned this to the service order transaction type.
    Now once i save a service order without errors ,the system is automatically generating abilling document in  billing due list TX:BEA_DL_01 even though the user status assigned to it is OPEN ,INPROCESS AND COMPLETED.
    According to our client requirement ,a billing document has to be created in Billing due list if the User status assigned to it is COMPLETED only.
    Please suggest the solution.
    Bye,
    Madhav

    Hi Nanda,
    As per your last reply, for some Service Orders you are unable to change the Status. Can you have check whether those service Orders are error free?
    Sometimes, when there are errors in service orders or in 1Orders you cannot change the status from In Process or Open even when you have released certain Items.
    Hope this helps.
    Thanks,
    Samantak.

  • Milestone billing is possible eventhough billing status is blocked.

    Hi,
    The scenario is like: I create a sales order for a configurable material which requires to create sales order BOM. Now when I save the sales order, delivery block status and billing block status are shown as 'blocked'. Its obvious as I haven't yet created sales order BOM and run the costing for the same.
    But still I am able to do the milestone billing after removing billing block from the billing plan.
    Is it the standard SAP functionality or defect in the system?

    Hi
    it is standard SAP functionality, based on the sales document type it will happen.
    cheers

  • Delivery Block Status text  / Billing Block Staus text

    In  the Sales Order Overview Screen
    Sales View
    Even though we had removed the delivery Block from the Schedule lines and saved the order,
    We still have the
    Delivery Block Status  as  BLOCKED
    Billing Block Status  as  BLOCKED
    How can we remove this?

    Hi,
    Check sales document type in configuration VOV8 whether delivery and billing is blocked. if it is blocked make it as blank. and check in sales order.
    Regards,
    Sasikanth.Ch

  • Block Project Purchase Requisition using User Status

    Dear All,
    We need a copy of TECO, we tried to create a new status using BS22 transaction but its totally new activity of creating the system status. This transaction does not allow to copy an existing status. is there any other way to do so
    We alos tried to block the Purchase Requisition using user status, but its not working. Please guide
    Thanks in advance.
    Murtaza

    Yes, you are right I need the said status for WBS Element. I have assigned it to relevant WBS Elements but not working.
    Let me explain the scenario little more, there are activities having commitments (Purchase Requisitions), we need to process the existing PRs but new commitments must be blocked. we need to use status on WBSE to control it so that if we need to re-open the new commitments, we can do it by disabling the status.
    Murtaza

  • "Billing block" status has been set.

    One contract was incepted (Created) on 13.03.2008. BRI's also generated, BRI is nothing but which calculates the EMI amount with respective billing dates. But due to some reason all BRI got u201Cblock for billingu201D status. Because of that BILLING DUE list was not generated.
    Now we are getting collection from customer and it is lying in suspense account.
    Now, I need to know how this billing block status has set in all the BRI.How to rectify this.
    Give me some clarity on billing block.
    Immediate response appreciated.
    Thanks and regards
    Rajesh

    HI,
    Billing block may be set at Status Profile. Check your status profile. Double click on Status and see behind whether there any Radio Button Set or not (Based upon your requirement).
    You can also manually remove the Billing block status.
    Hope it answers your query.
    Regards,
    Ankush

  • User exit / BADI for billing block in VL01n

    Hello Techies,
    Through custom transaction we are creating delivery notes. We run a background job to pick up these delivery notes & create return deliveries using BDC call transaction method calling VL01N (We also create order of type return for same). Though i can not see any place where billing block is filled in custom program but still there are some deliveries with billing block. Could you please let me know if there is any User exit / BADI for billing block or any configuration setting for same?

    Just to add more details:
    Our program sets memory id field.
    We call transaction VL01N.
    program clears memory id field value.
    all this happens in loop for number of deliveries.
    In VL01 user exit overwrites LIKP-FAKSK value to 05. However we have written code here which imports value from memory id. by this we come to know that we have created this delivery using custom transaction & billing block should not be set.
    From this we can conclude that only when sy-subrc for import memory id is not equal to 0 then billing block is set.
    what could be the reason for sy-subrc for import memory id is not equal to 0 ?
    can it be because of number of deliveries created at a time where memory id export / import is causing problem?
    we are not able to replicate this issue in Dev/Quality systems.
    Thanks & Regards,
    Sachin

  • User status profile for Contract block in SAP SD

    Dear All
    We have a business requirement. Let me explain this first.
    Requirement is that every contract which is created by any user should be blocked. Some authorized users can release them. Sale order can not be created  until the sale order is released.
    Once the contract is released it should allow to create sale order. But after releasing contract if there is any change in quantity or net value or payment term etc. It should go in block status again and again those authorized user should release it for further processing.
    I have done following things so far.
    I have created status profile Z_SD_CON and assigned this in contract type in VOV8. I have also created "Authorization Key" Z0000001 and assigned in user master. But when i crated contract type CQ. It gave me following error.
    Status profile Z_SD_CON is not allowed for "Sales order header"
    Message no. BS020
    Diagnosis
    Status profile Z_SD_CON may not be used for object type 'Sales order header'.
    Procedure
    Use another status profile or allow the use of status profile Z_SD_CON by object type 'Sales order header'.
    Please suggest.

    Hi,
    You can control by defining various Statuses (Individual status of an object) . Once you selected the check box in object type come back and  select each status and click on details (f2) now click on New entries (f5) system will show you the Business transactions. Here you can give the Influence and next action for each business transaction.
    Like this way you can define en number of status profiles and assign to your document types as per your requirement.
    TIP:
    1.Authorization object for status profile is : B_USERSTAT
    2. you can define the authorization groups also (t code:BS52)  to assign against each status
    The above both you can assign in user profile (role) ask your basis people to help on this.
    Example: Suppose if you defined authorization group as Z123 & assigned against REAL status. Then the user who have the authorization for object  B_USERSTAT & group as Z123 can only release the sales order.
    Read  the below thread also
    [Status Profile|Sales Order Release Strategy;
    Hope this will clear your query

  • Unable to block creation of sales document from Quotation thru user status

    Dear Experts,
    I have maintained a status profile in my Quotation document through the use of user status. I have defined a status to forbid creation of sales document if the status has not yet been set to "Approved".
    However, even when the status is not yet "Approved", it still allows me to create subsequent sales document from this Quotation.
    Anything that I have missed here?

    Hi,
    It should not happen.
    Please check the Object types for which the status profile is created. It should be for either Sales Order header or Sales order Item.
    Make sure that the "create sales document" is "forbiddden" for the initial status only.
    Also please check Low- High numbers for each status.
    Hope this helps.
    Regards,
    Sharan

  • Block Order TECO on the basis of operation User Status

    Hi Experts,
    I am trying to restrict the TECO of maintenance order on the basis of order operation status. I have configured the user status profile and assigned it to order operation. This user status profile have two statuses, INCL - Incomplete and another is CMPL - Complete. I have prohibited the TECO for user status INCL. But when I create an order and try to TECO, the system allows me TECO it enenif the operation user status is INCL.
    Could you Pl. tell me, have I missed something in configuration?

    Dattatraya,
    Actually you can control TECO by completion confirmation of order operation as PCNF ( partial confirmation) for operation which you have mentioned in Order. So you can set up in configuration like allow TECO only once CNF ( Full confirmation ) for all operations mentioned in Order.
    For your mentioned scenario , I dont feel based on user status you can stop the TECO, anyway you can check with other experts as well.
    Riyaj

Maybe you are looking for

  • How to LOOP AT dynamic internal tables.

    I have an internal table name declared in field I_DYN_TAB with me and I want to loop at this I_DYN_TAB. ( 4 example: DATA: I_DYN_TAB(10) VALUE 'I_TAB'. where I_TAB is my internal table with data in it.) I already tried couple of things. A. READ TABLE

  • How do I save data in different spreadsheets inside an excel file?

    I am already able to save data into an excel file, but how can I instead send the data separated into segments, where each segment is placed on a different spreadsheet on the excel file I specify.

  • How to set default pag magnification to 100%

    Whenever I open a PDF in Adobe Acrobat 9 Standard v9.1.2 it opens to 69.2% zoom magnification. How can I set the default to open all PDF's at 100% zoom magnification? Thanks, Howard

  • Graph plot color

    Dear all, is there any way to have multiple colors in a single plot ? here's a brief of what i am trying to do: a graph is continuously running with a value '0'. when the stimulus is given, the value '1' is shown on the graph(just one value when the

  • Dynamic tables: pagination

    Hi, I've created a dynamic table with some buttons to add/remove/change position of a row. I also got another table after the first one. If I add too many rows the first table collides either with the other one or with the end of the page. How can I