Address details while saving the order

hello experts
i am having the requirement where i wanted to fetch the Ship-to Address details that is changed by the user while saving the order.
I tried using different FMs like BAPI_BUPA_ADDRESS_GETDETAIL but these fetch the address from master data. What i want is the new address entered by the user.
In CRM_ORDER_READ i am getting a new ADRNR for the newly entered address (itab_partner-addr_nr)but not able to find any FM to get the details out of it.
did anyone know how to get the same?
Thanks in advance.
regards
rajeev

Hi,
I tried FM BUA_BUPA_ADRC_GET. This one returns address details from memory but doesn't have partner relation in it.
basically it populates partner's name into NAME1 field of ADRC.
regards
rajeev

Similar Messages

  • To set an error while saving the order when the item categor changed in CRM

    Hello SAP Gurus,
    As per our current system set up, whenever the order created in CRM once replicated to ERP should not change the item category in CRM .If the item category is changed( allows the system) and saved, it gives an error as u201CItem category should not be changedu201D. We have been encountering  this type of issue since long back
    To avoid this type of issue, an error should through while saving the order when the user changes the item category in CRM.
    Can someone help me to achieve this.
    Thanks in advance.
    Cheers
    Sreedhar

    Sreedhar,
    Can't you control it by Item Category determination?
    JD

  • Changes in the material, the order should be blocked while saving the order

    Hi,
    A sales order is already there and delivery is not yet done. The requirement is, If I make any changes in the material, the order should be blocked while saving the order.
    Is there any indicators or some fields which tells material is changed in the order. How this can be realised.
    I thought of table CDPOS, but this can be used only after Order is saved.
    Please provide your inputs.

    Use user-exit MV45AFZZ, form-routine USEREXIT_SAVE_DOCUMENT_PREPARE.  Compare the values in XVBAP-MATNR(New Values) and YVBAP-MATNR(Old values).  If the values are different, update the value VBAK-LIFSK to block the order.

  • Process order date changes automatically while saving the order

    Hi All,
    While creating a process order in COR1, system proposes the scheduled start date and finish date as current date (today's date), but while saving the order, the dates automatically changes to previous day's date (one day before). Can any one help in what config change needs to stop this auatomatic date change..?  Thanks in advance.
    Regards,
    DS.

    Dear,
    I would suggest you to carrout Master reciepe scheduling and update the Inhouse production time to the material master, this would enable the basic start dates and sheduled start dates to be same.
    If you dont want to carrout scheduling of order, then in OPUZ transaction for the plant/order type combination deactivate the check box for automatic scheduling.
    Regards,
    Prasobh

  • Error message while saving the sales order

    hi all,
    i have maintained a material material master, sold to  etc  pr00 conditions maintained, schedule line is determined correctly  but i am still getting this message while saving the order
    "Product 234345 does not have schedules assigned. Contact system administrator
    Message no. ZV276"
    can anybody help?
    Sa

    Suman,
    i would suggest you please sit with your abaper he can might be solved your issue.
    because Message no. ZV276 seems to be comes from user-exit which you implement for VA01/VA02 Tx.
    Amit.

  • While saving the sales order through Va01 and Va02 and email has to send

    Hi Experts,
    My requirement is to send an email with PDF formatted display of the Sales order to the sold to party's email id while saving the Salesorder through Va01 and Va02.
    I need the following .
    How to send an email with PDF formatted attachment of Salesorder display ? (we have done the formatting of display through SMARTFORMS )
    I think we can do it by userexits program name is MV45AFZZ while saving the document.
    Please suggest me the best possible way.
    Thanks ,
    Saritha

    Hi, there is no need for a customer devlopment on this. A standard smartform output will do with output medium '5' (external send). Then the smartform output will be send as PDF to the e-mail address in the output partner. Have a look at transaction NACE.
    Regards Jack

  • Error While saving the Production Order

    Dear Experts
    Pls let me know why am getting the below error while saving the production order after release..
    PSFC_STD_LAYOUT does not exist
    Message no. SSFCOMPOSER004

    Dear,
    Please check have you assigned the scheduling profile in work scheduling view of materail master?
    Then go to OPKP check the same scheduling profile where you have activited the On realese execute printing remove this tick mark and then try with new order.
    Or you can do the configuration in Tocde :OPK8 here assign the PSFC_STD_LAYOUT in forum.
    Regards,
    R.Brahmankar

  • Error while saving the maintenance order??

    Dear Experts,
    I am creating maintenance order for order type:PM01 and I given all parameters when I am saving the order I am getting some error called
    " Field reported by must be filled".
    Can u please tell me how to save this order.
    Thanks & Regards,
    Sunil Boya

    Hello Shashank,
    I'm sorry , I could not completely get you. The issue discussed in this thread is a simple one, where the QMNAM field was marked mandatory in the Notification Configuration setting (Tcode OIAL) . See the picture.
    You need to just change the radio-button setting to Input to get rid of this error. If your issue is not this and something-else, then it will be better if you start a new discussion by detailing further, especially about what you want about the integration of Notification and Order. You want it or not?
    Regards
    KJogeswaraRao

  • What is the BADI  while SAVING purchase order using me22n?

    what is the BADI  while SAVING purchase order using me22n?
    while i will save purchase order through me22n, badi should be fire what is badi for that?
    regards,
    dushyant.

    Dushyant,
    Hopefully you know how to implement the BADI ME_PROCESS_PO_CUST now.
    The following are the codes that you can put in the method "Post".
      DATA: LW_HEADER        TYPE MEPOHEADER,
            LW_POSTED_HEADER TYPE MEPOHEADER,
            LW_VALID         TYPE MMPUR_BOOL,
            ITAB_ITEM        TYPE PURCHASE_ORDER_ITEMS,
            LW_ITEM          TYPE MEPOITEM,
            ITEM_INTERFACE   TYPE PURCHASE_ORDER_ITEM,
            ITAB_ACCT        TYPE PURCHASE_ORDER_ACCOUNTINGS,
            ACCT_INTERFACE   TYPE PURCHASE_ORDER_ACCOUNTING,
            LW_ACCT          TYPE MEPOACCOUNTING,
            LW_POSTED_ACCT   TYPE MEPOACCOUNTING,
            W_ACCT_CHANGED  TYPE C,
            W_GRANT_AMT      TYPE EKPO-NETWR,
            W_FINANCE_AMT    TYPE EKPO-NETWR,
            W_FLAG           TYPE C.
    Check if PO header data is valid
      CLEAR LW_VALID.
      CALL METHOD IM_HEADER->IS_VALID
        RECEIVING
          RE_VALID = LW_VALID.
      CHECK LW_VALID = 'X'.
    PO header data is valid
    Get the newly updated PO header data
      CLEAR LW_HEADER.
      CALL METHOD IM_HEADER->GET_DATA
        RECEIVING
          RE_DATA = LW_HEADER.
    Get the posted PO header data
      CLEAR LW_POSTED_HEADER.
      CALL METHOD IM_HEADER->GET_PERSISTENT_DATA
        IMPORTING
          EX_DATA = LW_POSTED_HEADER
        EXCEPTIONS
          NO_DATA = 1.
      IF SY-SUBRC <> 0.
        CLEAR LW_POSTED_HEADER.
      ENDIF.
    Get PO line items
      REFRESH ITAB_ITEM.
      CALL METHOD IM_HEADER->GET_ITEMS
        RECEIVING
          RE_ITEMS = ITAB_ITEM.
      LOOP AT ITAB_ITEM INTO ITEM_INTERFACE.
    Check if PO line item is valid
        CLEAR LW_VALID.
        CALL METHOD ITEM_INTERFACE-ITEM->IS_VALID
          RECEIVING
            RE_VALID = LW_VALID.
        IF LW_VALID <> 'X'.
    This PO line item is not valid
          CLEAR W_ACCT_CHANGED.
          EXIT.
        ENDIF.
        CLEAR LW_ITEM.
        CALL METHOD ITEM_INTERFACE-ITEM->GET_DATA
          RECEIVING
            RE_DATA = LW_ITEM.
    Get the account interface
        REFRESH ITAB_ACCT.
        CALL METHOD ITEM_INTERFACE-ITEM->GET_ACCOUNTINGS
          RECEIVING
            RE_ACCOUNTINGS = ITAB_ACCT.
        LOOP AT ITAB_ACCT INTO ACCT_INTERFACE.
          CLEAR LW_ACCT.
    Get the newly updated PO item data
          CALL METHOD ACCT_INTERFACE-ACCOUNTING->GET_DATA
            RECEIVING
              RE_DATA = LW_ACCT.
          CLEAR LW_POSTED_ACCT.
    Get the posted PO item data
          CALL METHOD ACCT_INTERFACE-ACCOUNTING->GET_PERSISTENT_DATA
            IMPORTING
              EX_DATA = LW_POSTED_ACCT
            EXCEPTIONS
              NO_DATA = 1.
          IF SY-SUBRC > 0.
            CLEAR LW_POSTED_ACCT.
          ENDIF.
          IF LW_ACCT-LOEKZ <> LW_POSTED_ACCT-LOEKZ OR
             LW_ACCT-KOSTL <> LW_POSTED_ACCT-KOSTL OR
             LW_ACCT-PRCTR <> LW_POSTED_ACCT-PRCTR OR
             LW_ACCT-PS_PSP_PNR <> LW_POSTED_ACCT-PS_PSP_PNR.
    Account assignment was changed
    We will force this PO to go through workflow
            W_ACCT_CHANGED = 'Y'.
          ENDIF.
        ENDLOOP.
      ENDLOOP.

  • "Procurement Wizard"  window opens for a particular warehouse while saving Sales Order

    Hello All,
    We have upgraded SAP B1 8.8 to SAP B1 9.0
    My client is facing one of problem while saving Sales order using particular warehouse.
    Actually client is having 4 warehouses (A,B,C,D) in which if they use one particular warehouse "A" for saving Sales order they are facing a issue. The scenario is here below:
    1. Client selects all required details of sales order with along with particular warehouse "A".
    2. On saving SO "Procurement Wizard" is automatically triggered even if procurement document field is unchecked in logistic tab of SO.
    3. This is happening only for a particular warehouse "A". Whereas if I select other 3 warehouses (B,C,D) the system saves SO without trigerring "Procurement Wizard".
    Client is using SAP B1 9.0 PL 08 
    We don't want this  "Procurement Wizard" window to open for this. As we haven't selected any check box for  "Procurement Wizard" so it should not open for a particular warehouse "A".
    Do you think any issue with my warehouse or system settings? Please let me know.
    Please refer screen shots.
    Thanks in advance.

    Hi Saurabh,
    As per your Screen Shot, I think you have Add-on.
    Please stop that Add-on and then check above Scenario.
    Thanks
    Regards::::
    Atul Chakraborty

  • User Exit while saving the Excise Invoice in J1IIN

    Dear All,
    I want know whether anu User Exits are there while saving the Excise Invoice in J1IIN.
    The "scenario" here is as follows:
    ---I will create an invoice(Commercial) in VF01. Suppose I got a number 1234(This is Billing Document number).
    ---Now I will go to J1IIN and create an Excise Invoice by reffering to the VF01 Billing Doc Number.I will enter all the details. Then I will Save it. While saving I want to check the following aspect:
                         I want to compare the Billing Document Number and Excise Invoice Number and give error if both the numbers are not same.
    ---That is I want to see that Excise Invoice and Billng Document number should be same.
    I need your suggestion in the above scenario.
    I will definitely reward if problem is solved.
    Regards,
    Raj Kumar Reddy.

    Hi Raj,
    Here is a list of available userexits for transaction J1IIN :
    J_1I7_USEREXIT_DEPOT_BEF_SAVE
    J_1I7_USEREXIT_DUTY_IN_EXPORT
    J_1I7_USEREXIT_EXCISE_BEF_SAV
    J_1I7_USEREXIT_EXGRP_DETERM
    J_1I7_USEREXIT_SERGRP_DETERM
    hope they are of some use.
    Regards,
    Philip Johannesen

  • Error while saving the GTC

    Hi All,
    I am getting below error message, when I try to save GTC created.
    "An error occurred while saving the information for generic technology connector S2TSI TRUSTED CONNECTOR. Check the application logs for more details. "
    Even I am getting the same error when I try to modify the existing GTC connectors.
    Can someone please let me know how to resolve this issue. I am not able to locate the log files where I need to check.
    Thanks in advance.....
    Regards
    Arun

    Hi Arun,
    what type of GTC you are creating (Flat file / Database)?
    Regards,
    Sheik

  • Error while saving Production Order

    Hi all
    I am getting the following error while saving the Production Order -
    "Class for order classification has not been generated".
    I went into the custiomization settings and tried to generate the class. But I get another error "No batch input data for screen SAPMSSY3 0131". The line items are also all in red and green.
    Any help would be highly appreciated.
    Thanks in advance.
    Hrishi

    Solved.

  • Error while saving Prod order - "Class for order classification"

    Hi all
    I am getting the following error while saving the Production Order -
    "Class for order classification has not been generated".
    I went into the custiomization settings and tried to generate the class. But I get another error "No batch input data for screen SAPMSSY3 0131". The line items are also all in red and green.
    Any help would be highly appreciated.
    Thanks in advance.
    Hrishi

    Solved

  • Error while saving purchase order

    Hi all,
    While saving purchase order i am getting the following error.
    Syntax error in program SAPLV61A
    in include RV64A932
    in line 10
    Statement"*&"is not defined.check your spelling.
    Thanks& Regards,
    Hari.

    Hi Hari,
    I've just encountered the same problem as you have now in your latest post.
    Normally the include that you mentioned is a formula condition value include which you can modify but you probably have
    to register this object first on the SAP OSS pages to get an Access key to modify it.
    After you've obtained a key launch transaction VOFM and comment out the line "TABLES: VBRK, VBAK".
    As you see below SAP did exactly the same thing in several other includes.
    Include FV64A582
    -> is a formula condition value
        tx VOFM
                -> Formulas
         -> Condition Value
         -> Routine number 582
    At line 37 I commented out "TABLES: VBRK, VBAK." which is not used
    anyway in this include.
    On top of that SAP commented out these definitions in several other
    includes: eg. FOICH002, FOICH002, OI_LV61ATOI.
    If other persons have comments on this topic please respond/advise.
    Hari, inform us if this resolved your problem.
    Also reward points if my post aided you in resolving your issue.
    Thank you for feedback.
    Best regards,
    Tom Cockaert.

Maybe you are looking for