'Invalid Order Reason' - reto-active billing

I am getting an error 'Invalid Order Reason' when system tries to create dr/cr memo request (order type B1) for retro-active billing.
Please let me know if someone else has seen this error

Thanks Jonathan!  I had to add the order type to the variant set up for Order Reason Code and the error was gone.
I have one more question.  When i assign the condition tables in  Access Sequence, it assigns the field to document structure automatically.  Is there a way I can change the assignment.
For example, I am trying to assign Payer to Customer number. However, system assigns Sold-to to customer number.
Any guidance on this would be greatly appreciated.

Similar Messages

  • Sales Order Exit : for defining the invalid Order reason.

    Hi all,
    I am looking for an exit that may cnotain code for defining invalid entries of order reason AUGRU.
    In VA01 , in my system, while creating order , we give order reason. But these reasons have been categorized as valid or invalid.
    Basically when we go in VA01 and give order reason then, there is a Z field that determines which order reasons are invalid. It is this code I want to reach. Can anyone give any idea which exit it could be or how I could look for it.
    thanks in
    Edited by: Inesha9 on Jun 22, 2011 9:05 AM

    Hi,
    It seems, you want to validate AUGRU of VBAK
    For that try with USEREXIT_CHECK_VBAK in include MV45AFZB.
    Another thing, there is z field u are talking about. Is this Z field is a part of VBAK ?
    Let us know, if it helps you. Thanks

  • Billing block and Order Reason

    Hi Gurus,
    I have recently created a billing block which I have entitled Z2 - Goods Movement and assigned it to all customized Z sales documents.
    This is a requirement from our client wich has the following effect:
    - It still allows delivery to happen
    - It doesn't print the invoices or other sales documents but saves them to be produced on demand at a later time
    Now the client wants to link this billing block so that when their end-user creates a sales ordermin VA01, he also chose an order reason to justify the use of this billing block. He wants to call this order reason: 'Billing block for goods movements'.
    1- Is that possible to do without using ABAP?
    2- How can I create a new Order reason myself?
    Your help us greatly appreciated.
    Thanks
    Chris

    Hi Chris,
    Your first point:
    I have recently created a billing block which I have entitled Z2 - Goods Movement and assigned it to all customized Z sales documents.
    This is a requirement from our client wich has the following effect:
    - It still allows delivery to happen
    - It doesn't print the invoices or other sales documents but saves them to be produced on demand at a later time
    You have created a billing block so it does not stop delivery to happen. To stop delivery you must use delivery block.
    With billing block you can not make billing document, then how you can print the invoice.
    You can create your order reasons in IMG- S&D -
    Elaborate what actually you want with order reasons? In billing block only you can give the reasons for that.
    Regards,
    Ravi

  • Order reasons in CRM 4.0

    Hi experts,
    We are working on CRM 4.0 and R/3 4.6c as the background.
    As part of our busines requirement we need to make order reason as the mandatory field while creating sales transaction in CRM .We have customized bringing order reasons through Activity Reason functionality in CRM .
    we have implemented a BAdi "CRM_ORDERADM_H_BADI".for making this activity reason as mandatory.
    every time we create sales transaction we need to put twice the activity reason inorder to get this BAdi to activate.
    Can anybody plz advice me in this regard why it is behaving like this?
    any helpful answers will be rewarded.
    Thanks in advance.
    DV.

    Hi Gunwan,
    Thank you for the response.
    We have implemented the BAdi"ZCRM_ORDERADM_H_BADI under Definition name CRM_ORDERADM_H_BADI.
    <b>Functionality of the BAdi:</b>In order to make the activity reason as mandatory field while creating so called Transaction.
    if we do not maintain Activity Reason while creating the Sales Transaction this BAdi will throw an error message.
    <b>The following is the Code:</b>Method: CRM_ORDERADM_H_CHECK
    method IF_EX_CRM_ORDERADM_H_BADI~CRM_ORDERADM_H_CHECK .
        data : lV_HEADER_GUID TYPE  CRMT_OBJECT_GUID,
               ev_process_type  TYPE  CRMT_PROCESS_TYPE,
               et_subject_wrk  TYPE  CRMT_SRV_SUBJECT_WRKT,
               t_msgidno type BAL_R_IDNO,
               ls_msgidno type BAL_S_IDNO,
               lt_msgidno type bal_r_idno,
               lv_save_message.
        CONSTANTS: BEGIN OF gc_object_name,
                   orderadm_h    TYPE  crmt_object_name  VALUE 'ORDERADM_H',
                  END OF gc_object_name.
    get header guid
        CALL FUNCTION 'CRM_INTLAY_GET_HEADER_GUID'
          IMPORTING
            ev_header_guid = lv_header_guid.
    get process type
        CALL FUNCTION 'CRM_INTLAY_GET_PROCESS_TYPE'
          EXPORTING
            iv_orderadm_h_guid  = lv_header_guid
          IMPORTING
            ev_process_type     = ev_process_type
          EXCEPTIONS
            proc_type_not_found = 1
            OTHERS              = 2.
    check for process types
        IF ev_process_type EQ 'ZOR' OR ev_process_type EQ 'ZFC'.
    get order reason code
          CALL FUNCTION 'CRM_SERVICE_OS_GET_REASON_OW'
            EXPORTING
              iv_ref_guid    = lv_header_guid
            IMPORTING
              et_subject_wrk = et_subject_wrk
            EXCEPTIONS
              invalid_guid   = 1
              no_valid_entry = 2
              OTHERS         = 3.
    delete message first
          ls_msgidno-sign = 'I'.
          ls_msgidno-option = 'EQ'.
          ls_msgidno-low-msgid = 'ZCRM_MW'.
          ls_msgidno-low-msgno = '006'.
          APPEND ls_msgidno TO lt_msgidno.
          CALL FUNCTION 'CRM_MESSAGES_DELETE'
            EXPORTING
              it_r_msgidno   = lt_msgidno
              iv_ref_object  = lv_header_guid
              iv_caller_name = gc_object_name-ORDERADM_H.
    send error message if order reason is not entered
          IF et_subject_wrk IS INITIAL.
            MESSAGE ID 'ZCRM_MW' TYPE 'E' NUMBER '006' WITH 'in Business Activity tab'
            INTO lv_save_message.
           CALL FUNCTION 'CRM_MESSAGE_COLLECT'
              EXPORTING
                iv_caller_name = gc_object_name-orderadm_h " See include program CRM_OBJECT_NAMES_CON
                iv_ref_object  = lv_header_guid.
          ENDIF.
        ENDIF.
    endmethod.
    plz advice me in this regard.
    Thanks in advance.
    DV.

  • How to Map the Categorization Reasons(SAP CRM) with Order Reasons(SD  ECC )

    Hi Team .
    I have created a service order for a spare parts material in CRM Web ui , order got saved successfully without errors and had replicated to ECC system.
    Issue : When the user is processing billing in ECC , the system is asking for the order reasons to enter for the Item . (Checked the order in the incompletion log in of ECC) . Though we have maintained the categorizations in the CRM System.
    The order reasons in the SD (ECC) and categorizations in the CRM are same.
    Client requirement: The order created in CRM by mentioning the categorization reasons should automatically replicate to the ECC system without deviation and billing should happen in ECC without asking the order reasons.
    Note # Order reasons cannot be removed from the ECC System
    Regards,
    VCS

    Dear Team,
    I had resolved the issue on my own .
    Sol : We had made the Order reasons mandatory in the CRM Web UI service order and we had removed the Incompletion Log for that particualr transactions types from the SD.
    Regards,
    VCS

  • How to map the Categorization Reasons (SAP CRM) with Order Reason (SAP ECC)

    Hi Team .
    I have created a service order for a spare parts material  in CRM Web ui , order got saved successfully without errors and had  replicated  to ECC system.
    Issue : When the user is processing for billing, the system is asking for the order reasons to enter for the Item . (Checked the order in the incompletion log in of ECC) .  Though we have maintained the categorizations in the CRM System. 
    The order reasons in the SD (ECC) and categorizations in the CRM are same. 
    Client requirement: The order created in CRM  by mentioning the categorization reasons should automatically replicate to the ECC system without deviation  and billing should happen  in ECC without asking the order reasons.
    Note #  Order reasons cannot be removed from the ECC System
    Regards,
    VCS

    Dear Team,
    I had resolved the issue on my own .
    Sol : We had made the Order reasons mandatory in the CRM Web UI service order and we had removed the Incompletion Log for that particualr transactions types from the SD.
    Regards,
    VCS

  • Save Order Reason for Sales Order

    Hi Gurus!!
    I need an urgent info!
    I am trying to save the order reason on the CRM sales order in order to have a pricing condition that is accessing the Combination Sales Organization/Order Reason succesfully fulfilled.
    The problem is that - the condition checks the order reason in a condition table with the order reason of type AUGRU - and I checked on CRMD_ORDER and although the order reason seems to be saved, the condition fails when accessing the order reason.
    Do you know how I can succesfully save the order reason? Am i supposed to maintain some kind of mapping? Can anybody explain how the order reason in CRM Sales Order is saved in CRM?

    Hi
    Maintain code entries for catalogue type A1 (activity reason).
    Don't forget to maintain business category BUS2000126 (business activity) to your sales order in CRM.
    Then maintain the mapping between the code for activity reason in CRM and the order reason in R/3, in CRMV_CODEMAPMSA view (in CRM side).
    Any problems look note 678281.
    Regards

  • How to restrict the order reason in Tcode Va01 while creating sales order

    Hi Gurus,
    My requirement is
    while creating sales order in VA01
    if order type is Zvol
    than the list of order reasons has to be restricted.
    Now 15 are coming from OVAU  tcode
    I need only 5 from these.
    Thanks & Reagrds
    kals.

    Hi,
    By doing the user exit in IW32 we achieved the requirement of restriction of maintenance order TECO functionality if any Service Entry sheet pending with reference of maintneance order.
    regards
    JKM

  • Calculation of open orders and shipped not billed orders amount

    Hi All,
    I have  a  requirement to arrive at the values of ‘Open Order’ and ‘Shipped not billed  ’ . 
    This is an interface program and the output will be sent to a target server.
    Input :  Company code,  Customer Code , Document date.
    Output Fields are:
    Customer Code
    Sum of all open orders value
    Sum of all shipped not billed orders  value
    To give an example
    A Customer has 50  orders and  the number of line items are  200 .
    Overall  order amount for 200 line items is 10,000.
    70 line items have been delivered (amounting to 5,000) and
    30 line items among the 70 delivered have been invoiced. (amounting to 3,000).
    I need to know the best way to get to:
    (1) Total "Open order" amount for the customer which is 5,000 in this example.
    (2) Total "Shipped not billed" amount for the customer which is 2,000 in this example.
    (3) Total "Invoiced" amount for the customer which is 3,000 in this example.
    We are looking for the tables to access and the sequence of access
    Since the interface is to be executed more than once in a day ,
    the execution time should be optimum
    Please suggest
    Thanks
    Venu

    check table VBUK
    GBSTK ne 'C'      "over all processing status
    and FKSTK ne 'C'  "open billing orders
    at header level
    and
    for item level check
    Vbup tbale
    make a join on Vbrk and VBuk in the where condition in addition to the selection criteria add the above two conditions and check the same.
    once you have all the open orders enable the items and do the subtotalling and grand total on the item loop.
    regards,
    vijay

  • To create Sale Order , Delivery and then Billing Automatically .

    hi all ,
    I want to create a program which will create SALES ORDER , then make DELIVERY of it and then BILLING  .
    Also i want to restrict the sale order to be create of those CUSTOMER whose credit limit is exceed , which is maintain in FD32 tcode .
    If i go with BDC for Sales order it creates the sales order with a warning message , which i dont want .
    Is there any BAPI for doing this ?
    I do have try to find out the customer whose credit limit are exceed so as to restrict them in Program itself , but do not find the table for credit exposure to compare it with credit limit .
    Please give me your Suggestion .
    Secondly , Which BAPI is suitable for DELIVERY and BILLING in 4.7 version .
    Thanks .

    Hi,
    Check these below BAPI's
    BAPI_SALESDOCU_CREATEFROMDATA
    BAPI_SALESORDER_CREATEFROMDAT1 Sales order: Create Sales Order
    BAPI_OUTB_DELIVERY_CREATE_SLS  Generates Delivery for Customer Order
    BAPI_BILLINGDOC_CREATE         Custimer Individual Billing Document : Create Billing Document
    BAPI_BILLINGDOC_CREATEFROMDATA Create Customer Individual Billing Doc.
    Regards,
    Jyothi CH.

  • REPORT for list of invoice with an order reason.

    Hi SAP Gurus !
    Is there any standard SAP report which will show me a list of invoice with an order reason field?
    I have tried VF05 and VF05n,but in both of them, order reason as a selection parameter field is missing.
    In case of any clarification kindly revert back to me.
    Regards,
    Ujjawal

    Thanks to all !
    Actually i was going  to create a query with VBRK and VBAK  tables but sales order number is not the common link as sales order number is present in VBAK table only.
    Apart from that i had tried to add VBRK and VBRP table then i was getting the list of invoice with order reasons (because order reason was getting copied from an order to invoice) ,but in this query i'm getting Order reason number with list of invoice only(Description of order reason is not coming).
    Please guide me for this if i'm wrong.
    Regards,
    Ujjawal

  • Sales Order - order reason - cost element error in PO creation

    Good day Friends,
    We have a third party order scenario in our group among different company codes (FI-SD).   This scenario is working fine among the existing companies.
    Now there is a requirement from finance department to capture the revenues at different cost centers based on the order reason selected in the sales order.
    When order reason is mentioned in the sales order the system is giving error at the time of purchase order creation as u201CCreate account 123456 for 16.05.2010 as a cost element in controlling area INTu201D
    Where as if the sales order is created without order reason there is no problem in purchase order creation.
    Here the account 123456 cannot be created as cost element because it will stop the other existing processes in this controlling area.
    Thanks

    I can tell you why it's occurring and maybe give you a few suggestions on what to do.  The G/L account assignment for the third party sales process is determined based on the account key/modifier assigned to the transaction and the valuation class assigned to the material.  In this case, the account key/modifier is determined based on the account assignment category assigned to the purchased order (in the standard system the account assignment category is X for third party processing and the account modifier is VAX).  You would find the G/L account based on the combination of the account key = GBB, account modifier and valuation class using t-code (OBYC). 
    Saying all that, currently that combination is finding a G/L account that is not setup as a cost element (probably your cost of goods sold  account) and that's normal for these types of posting.  You can only make postings to cost centers for accounts that are setup as cost elements, so currently the system will not let make a posting to a cost center. 
    So if you want this transaction to post to a cost center, but don't want to create a cost element for this account, then you must use a different G/L account for these postings.  The simplest options would be to either change the account modifier assigned to the account assignment category or assign a different valuation class to these materials.  Once you've change one of those you can now assign a different G/L account to that combination in OBYC and create that account as a cost element.
    thanks,

  • Return Order creation referanace to billing document.

    Hi , Experts,
                   I have one issue regarding return process , Pls do the needful ASAP.
    My question : I have created one direct sales order , After thet i have created PGI & billing , But after created billing document , I want to take return taht goods, So i had created return for same sales order quantity, & also created credit memo. But my problem is, that system allow me futher create return sales order with referance to billing document no. At a return order creation time system only give warning message - (There are already returns for item 000010: 2 EA)
    & allow to save return document no. But i want to erroe message after take return all billing quantity. Can any body suggest me, what is the customizing require for this,
    Thanks a lot in advance.
    Regards;
    Happy

    Hi, abdul sir,
                     Here no any error message, My problem is that , why all line item comes in delivery, B'cause i had already deliver 5 line item out of 10 item, Here system take delivered line item with 0 quantity, I don't want that delivered  line item at a time in delivery,
    Regards:
    Happy

  • Net value issue while creating return order with reference to billing

    Dear All,
    I created SO / DEL/ BILLING for qty 100 say net value-20000.When i created Return order with  refrence to billing document,
    net value appearing same ( 20000) for 50 quantity.Pl do advise asap as its required urgently.
    Thanks in advance.
    Regards
    raj
    Edited by: raj_sapsd on Aug 20, 2010 9:18 AM

    surelly problem in VTAF
    F2 to RE
    DATAT: 103
    DATAT: 103
    DATAT: 003
    Coping requirement 021
    item level TAN  and ietm cat proposal G2N
    DataT: 153
    Datat: 104
    datat: 004
    Coping requirement 303
    Update doc Flow X
    only possibilites Removed my Moderator
    Edited by: Lakshmipathi on Aug 21, 2010 9:31 AM
    Please avoid asking for points

  • How to put order in a delivery block ? on basis of shipto and order reason

    Hi can any one tell if there is any way duirng the order creation (Va01) we can read the shipto no and order reason code to put the orders on a delivery block ? the idea  is to do this only for certain shipto which have a soecial order reason.
    we are looking for solution via configuration first and if that is not possible then via some order header level user exit. in case of user exit we can read the special shipto number from a custom table....
    if this is not possible to use ship to number then we can use the soldto numbers along with the special order reason code.
    so if the order is having a shipto sold =xxxx and order reason code is zzzz then put the order on a delivery block....
    once the delivery block needs to be lifted we do not want to hit this logic in the order changed mode( va02)
    look forward to hear from the experts any solutions....or suggestions....thanks in advance

    Raj,
    The issue here is the while creating the order the system needs to validat two things 'sold-to-party and order reason'.
    I am still not sure whther this can be achieved through non ABAP way. check for some exits, if available.
    Prase

Maybe you are looking for

  • Button Background images created in Indesign do not show up in PDF on some computers.

    I have created buttons that let somone swap one image for another in a PDF in Indesign and the copied and pasted the form fields from the exported PDF to the main PDF document.  An example can be seen here:  http://lustreproducts.com/PDFs/may11/Round

  • After I do Node Manager nmConnect(...) I can no longer start a managed svr

    I am running 10.3.2 on both windown and redhat I have a domain with AdminServer and one managed server. I can start AdminServer from the shell with startWebLogic.cmd I can log into the web based 'console' I can go to Environment -> Servers and start/

  • Lacie 250GB hard drive problem with Aperature

    I have ran out of space on my G5 so attached a Lacie 250GB hard drive. However this immediately started causing errors on the program. It would create a grey box in the middle of the screen whenever I tried to import anything and would cause other pr

  • Creating Error Message in Reports

    Hello, I have a report that has a date range for a parameter screen. The user has requested that an error message will be displayed to prevent the user from making/entering the start date greater than the end date. Could someone please tell me what r

  • My ipad 2 won't start

    My ipad 2 won't start. Only the picture of itunes and the connector is on the screen.