Updating Street2 for Ship-To through Idoc in Sales Order

Hi,
I am trying to update Street 2 for the Ship-To / Bill-To customers while creating the Sales Order through Idoc by updating the value in E1EDKA1-STRS2 but it is not getting reflected in Sales Order.
Please suggest if there is any way to handle this.

Hi,
Option 1)
Search in the oss notes with the keyword E1EDKA1-STRS2.
Option 2)
Use the user exit EXIT_SAPLVEDA_001 and modify the following internal table in the user exit
DXVBADR   = XVBADR
Thanks
Naren

Similar Messages

  • Security object for shipping conditions (T-Code VA02-sales order)

    Hi
    I need to gray out filed-VSBED (shipping conditions) in T-code VA02 (sales order change) for users, what could be the security object to be used for this requirement?
    Regards
    sri

    The functional requirement till doesnt seem very clear to me , why would someone want to grey this field? (unless you have a strong case that you use different document types for normal orders, express deliveries, normal service, free of charge and a whole lot of possibilities)
    Your SD consultant should guide and let you know that:
    Shipping conditions are defined in customizing
    you can eithe assign particular shipping conditions to particuar sales document types to make it as a default
    (or) you can have the shipping conditions defined in the customer master
    the ones set up in SPRO take a preference, but as you rightly noticed - if a use wishes to change the shipping conditions proposed by the system he would be able to do that, and this CANNOT be controlled with authorization objects
    The only option you would have, is to find out if the users who are not suppposed to change the conditions beong to the same user group (or make a logical assesment on the common binding feature in the set of users)
    then evaluate if you want to make the program changes such that the changes affect only the particular set of users
    Note: Changes you make in ABAP do not necessarily apply to the complete user base - it depends on how well you analyse and plan the requirement

  • Over write ship to party address when sales order is created

    Hi
    I am creating sales order using BAPI_SALESORDER_CREATEFROMDAT2 but would like to change the shipto party address.
    I want to change the following address fields of shipto party
    Name1
    Name2
    Street
    STR_SUPPL1 (Street2)
    C_O_NAME (c/o name)
    POSTL_COD1 (City postal code)
    CITY
    COUNTRY
    REGION
    TRANSPZONE
    Following is the piece of code i wrote for partner structure and partner address structure of the BAPI.
    I_ORDER_PARTNERS-PARTN_ROLE    = 'WE'.
    I_ORDER_PARTNERS-PARTN_NUMB    = '0000241269'.
    I_ORDER_PARTNERS-country               = 'US'.
    I_ORDER_PARTNERS-TRANSPZONE    = 'US'.
    I_ORDER_PARTNERS-ADDR_LINK        = ''0000201328'.
    APPEND I_ORDER_PARTNERS.
      I_PARTNERADDRESSES-ADDR_NO      = ''0000201328'..
      I_PARTNERADDRESSES-NAME            = WA_CUSTOMER-NAME.
      I_PARTNERADDRESSES-NAME_2         = WA_CUSTOMER-NAME2.
      I_PARTNERADDRESSES-STREET         = WA_CUSTOMER-STREET.
    I_PARTNERADDRESSES-STR_SUPPL1   = WA_CUSTOMER-STREET2.
    I_PARTNERADDRESSES-C_O_NAME      = wa_customer-c_o_name.
      I_PARTNERADDRESSES-POSTL_COD1  = WA_CUSTOMER-ZIPCODE.
      I_PARTNERADDRESSES-CITY                = WA_CUSTOMER-CITY.
      I_PARTNERADDRESSES-COUNTRY     = WA_CUSTOMER-COUNTRY.
      I_PARTNERADDRESSES-REGION  = WA_CUSTOMER-REGION..
      I_PARTNERADDRESSES-TRANSPZONE  = WA_CUSTOMER-TRANSPZONE..
    In the above code address number 0000201328 is address number for customer 0000241269. Now the sales order is getting created but ship to party address is not overwritten with the values passed above. Ship to party address is just defaulted from customer master.
    What should i have to pass to the address number field.
    Any piece of code which is working would be more helpful.
    Thanks in advance
    Rajesh.

    I haven't tried for this, but from the documentation of FM I got this note:
    <i>Notes
    If the table is used to enter document addresses for a sales and distribution document, the address data is then not necessary in the document partner table BAPIPARNR / BAPIPARTNR ).</i>
    So, I am not sure wheather it is possible or not.
    Regards,
    Naimesh Patel

  • User Exit to change the Ship-to party address at Sales Order headder level

    Hi,
    I have requirement like this......
    I need to change the  ship-to party address at Sales Order headder level. for that which user exit i need to  use and which structure i need to use to update the transaction.
    I used : userexit_save_document_prepare, in that i passed data to 'xvbpa' and 'xvbadr' structures. even though it is not update the transaction.
    Please let me know the answer.
    Thanks,
    Satish.

    Hi Satish,
    Step1. Create new Data Copy Routine using Tcode VOFM.
    Step2. *-----------------------------------Ship to Party from contract
       IF CVBPA-PARVW = 'WE' OR
          CVBPA-PARVW = 'SH'.
        REFRESH IT_STP.
        SELECT KTOKD
               A~KUNNR
               NAME1
               NAME2
               A~ADRNR
               FROM VBPA AS A INNER JOIN KNA1 AS B ON A~KUNNR = B~KUNNR
               INTO CORRESPONDING FIELDS OF TABLE IT_STP
               WHERE VBELN = CVBPA-VBELN . 
    Step3.
       CALL FUNCTION 'POPUP_WITH_TABLE_DISPLAY'
            EXPORTING
              ENDPOS_COL   = 80
              ENDPOS_ROW   = 10
              STARTPOS_COL = 10
              STARTPOS_ROW = 5
              TITLETEXT    = 'Your Title'
            IMPORTING
              CHOISE       = T_SELIDX<=====Index No of selection
            TABLES
              VALUETAB     = IT_STP
            EXCEPTIONS
              BREAK_OFF    = 1
              OTHERS       = 2.
    Step4.
           READ TABLE IT_STP INTO WA_STP INDEX T_SELIDX.
            IF SY-SUBRC = 0.
              CLEAR:CVBPA-KUNNR, CVBPA-ADRNR.
              MOVE WA_STP-KUNNR TO CVBPA-KUNNR.
              MOVE WA_STP-ADRNR TO CVBPA-ADRNR. <========Address ID (Change Here).  
           ENDIF.
    Regards,
    Amrendra
    Moderator Message - Please do not reply to old, dormant threads.
    Message was edited by: Suhas Saha

  • How to trigger an Idoc from Sales order creation and change

    We are trying to trigger Idoc from sales order creation and change we have done following setting mentioned below:
    Follow the below steps:
    1. Go to NACE transaction
    2. Select V1 application and select OUTPUT TYPES
    3. Select the required output type and double click on Processing routines.
    4. Enter Medium as DISTRIBUTION ALE, Program as RSNASTED and Routine as ALE_PROCESSING.
    5. Save it.
    message type ORDERSP in the distribution model (BD64).
    Follow the below steps to configure the condition records:
    1. Go to NACE
    2. Select V1 application and select CONDITION RECORDS
    3. Select the requred output type and click on Condition records
    4. Selection screen will be displayed.
    5. Go for execution. In that screen enter the selection criteria. For eg Condition record is based on Sales document type. Then
    Sales doc type = OR
    Funt = SP
    Partner = blank. It means there is no restriction on partner numbers.
    Medium = A
    date/time = 4
    Lan = EN.
    Note: partner is left blank means, the sales order of type OR can be send to all partners.
    6. Save it.
    We also done ALE configuration.
    We are facing problem that from VA02 "No output has been selected for printing Message no. V1102"
    Kindly suggest the solution.
    Regards,
    Sharad Dixit

    Hi ,
    Please check the total error description and diagnosis as below :
    InVa02 enter SO  go to extras->output->Header->edit.You can find a table with all the triggered output types. Choose the output type BA00 with medium Distribution ALE and go for 'Processing log'. It will show you the error description.
    Please paste the diagnosis .
    Thanks and Regards,
    P.Bharadwaj

  • Changing ship to party address in sales order

    Hi All,
    We have a scenario herein in sales order, the ship to party  address is copied from some other ship to party address. Put simply if the ship to party in sales order 1 is A, the address of A will be copied from ship to party B. The ship to party B is in sales order 2.  The ship to party in sales order 1 will remain A only but the address is copied from B ship to address
    i just need to know where this kind of development must have been done. i.e the include program, exit etc.
    i am trying to see exit  EXIT_SAPLV09A_001, but i could not see it in se38?
    regards
    sachin

    Hi,
    In first place why you want to have such a requirement. Why can't you have the correct address in the Ship to Party master record in the XD01 and assign correct ship to party at the sales order line item, so that correct address flows to the sales order line item.
    Eg:
    Sold to Party A
    Ship to Party A & Ship to Party B (Both are assigned in the Partner tab of Sold to Party A)
    Ship to Party A has Address A & Ship to Party B  has Address B (Ship to Party B was created with Account Group SHIP TO)
    On the sales order line item, change the ship to party to Ship to Party B
    So that you have correct address in the relevant line item.
    As per your requirement, you have to have a Z table to keep the logic between hip to Party & relevant address.
    If not, check below link for all User Exits in SD>
    https://wiki.sdn.sap.com/wiki/display/ERPLO/SDUserexits
    Find a correct one for your requirement.
    Best regards,
    Anupa

  • SD How to create IDoc once Sales Order Invoice (Billing) has been created ?

    Hi,
    How to create IDoc once Sales Order Invoice (Billing) has been created ?
    I.e Once you click on save button of Invoice , IDoc Should genrate Automatically.
    Thanks

    Hello,
    Go to T.code VV31 and select the billing output type and select the access sequence required and in the details screen of create condition records give all the required entries for eg: may be Billing Type, Sales Organsiation etc.and in the medium choose the option as 6(EDI) and time select as 4 that is immediately after saving the document.Also please ensure that particular partners for whom idoc should be generated they need to have partner profile setup with the billing message types. Hope this helps.

  • How to create IDoc once Sales Order Invoice (Billing) has been created

    Hi,
    How to create IDoc once Sales Order Invoice (Billing) has been created   ?
    I.e Once you click on save button of Invoice , IDoc Should genrate Automatically.
    Thanks.

    Hi,
    We need to do custom configuration for this scenario such that an output type will be attached when ever an INVOICE is created.
    Refer to application V3 in NACE. The Output type should contain an entry with transmission medium: Distribution (ALE).
    for example check the customization done for an output type in NACE.
    Goto NACE ---> Select an application V3 ---> Click on processing routines ---> select the output type (Eg: RD00) ---> Click on Details button  (CNTRL + SHFT + F2) which gives the configuration info.
    For example we can generate the IDOC based on the settings in partner profiles for the customer (Sold To)
    With Regards,
    Dwaraka.S
    Edited by: Dwarakanath Sankarayogi on Jan 29, 2009 8:16 AM

  • Need information of Table containing Ship-to-party Partner at Sales Order

    Hello SAP folks,
    There is a scenario where we need to change the shipping address detail of a partner funtion "Ship-to-party" at Sales Order level. so I just wanted to know which tables stores all the data related to Address of Ship-to-party after the Sales Order is created.
    Suggestions are eagerly awaited in this topic !!
    Regards,
    Sarthak

    Hi sarthak
    As soon as you change the address for any partner in sales order, the changes are recorded in table ADRC. ( Normal address table for business partners)
    Select table VBPA and for the document number (VBLEN) and item number (POSNR) get the address number ( ADRNR) for the ship to party (WE)
    Now in the table ADRC with this ADRNR you can find the changed address for ship to party for the order.
    regards
    makarand

  • Update  Customer's Credit Exposure amount when saving sales order

    Hi All,
    My requirement is to update the Credit Exposure amount(KNKK-SKFOR) of the Payer based on the open items for the payer when saving a sales order.
    I checked the UserExit USER_CREDIT_CHECK2 however this is not working when I am trying to update the KNKK-SKFOR value in this userexit.
    Please help.
    Thanks.

    Dear Debashish
    As per my understanding, this is because the credit limit check is always applicable at 2 levels only i.e. Sales Order and Delivery.
    u r talking about Open Billing Doc and Open Items, but this is also covered within Open Sales Orders and Deliveries, isn't it?
    Hope this will help u.

  • Ship-to address overwritten in sales order/delivery

    Hello,
    We have a peculiar problem in our production. 
    Our user created a sales order, then two deliveries out of this order.  No PGI had been done and the ship-to code in the SO/deliveries was not changed. 
    The user then changed the ship-to address in one of the deliveries.  The address in the other delivery was overwritten with the same address and so was the ship-to address in the sales order.
    Any idea what went wrong? 
    We tested this in our test environment and there was no such problem.

    As per my knowledge by changing the address in SO or delivery does not impact any where. Usally  we change the address in partners tab at header level by double clicking on the code. If client required any specific address ( not CMR )  in excise output or commercial output this new address we can get by making some changes in smart form and print it out.
    Regards
    Jagan

  • How to find ship-to party of a sales order

    Hi,
    I want to display the sold-to party and ship-to party of a sales order, I know the sold-to party is in table vbak, but where can I find the ship-to party? In which table?
    Thank you!
    William

    Hi Zhiyuan,
      Table LIKP : Delivery Header Data.
    With luck,
    Pritam.

  • Function module for Delivery and billing based on sales order

    Hi Friends
    I am developing an object which has to create the sales order, delivery for that sales order and billing for it at the same time.
    I have tried for few function modules to create the delivery and billing but I am not able to achieve.
    Would you please help me by providing the correct function modules for these 2 activities?
    Thanks
    Praveen

    Hi Nikhil
    Thanks for reply,
    i am creating the sales order using the BAPI "BAPI_SALESORDER_CREATEFROMDAT1" only, but the billing document bapi
    "BAPI_BILLINGDOC_CREATE" is for online creation, it will call the t-code 'VF01'.
    I need to create the billing document with out calling the t-code like using bapi for sales order. Please suggest me if there are function modules to achieve this.
    Thanks
    Praveen

  • IDOC on sales order modification

    Hi all!
      I need to send an Idoc on Sales order creation (VA01) and modification (VA02).
    In VA01 i linked the IDOC to an output message. When i create and save the document, the message is generated and the idoc is sent
    In VA02 the message is not generated automatically.
    How can i generate an idoc (custom) when the sales order is changed ?
    Any suggestion will be really appreciated.
    Thank you in advance,
    Manuel

    In your output definition in NACE ->
    ( Application V1 - Select your output type - Display )
    On General Tab -> "Change Output" Block
    Program - <b>FM06AEND</b>
    Form Routine - <b>CHANGE_FLAG</b>
    If above values not maintained no output will be generated on sales order change.
    Cheers

  • Problem in updating Data for infotype P0009 through BADI

    Hi,
    we are facing a problem while trying to update value of Date field for infotype P0009 through PA30.
    we have tried to update by using BADI hrpad00infty, we are providing value in new_innnn structure of method
    AFTER_INPUT, but the value is not getting updated for that PARNR.
    Can anyone help me regarding the same?

    Hi
    HRPAD00INFTY BADI methods don't allow to modify any values of the current record being processed, but there's a possible wworkaround accessing memory fields using field-symbols:
    method IF_EX_HRPAD00INFTY~AFTER_INPUT.
      FIELD-SYMBOLS: <fs> type p0009.
      assign ('(MP000900)P0009') TO <FS>.
    if sy-subrc eq 0. 
      <FS>-YOURFIELD = YOUR_VALUE.
    endif.
    endmethod.

Maybe you are looking for

  • How do I upgrade safari on my imac 12.1 A while ago I got a message about the free upgrade but it was confusing

    I have  an imac OSX 10.6.8    How do I upgrade the safari that came with my mac?  Several websites say the browser is out of date.

  • I need to break the install process

    Hi, I recently tried to run an archive and install on my G5 Mac - Dual 2ghz - 1 gb ram OSX Version 10.4.11. Unfortunately, I am missing the "correct" version of disk 2. As a result, I cannot continue with the install. Nor can I do anything with this

  • New MacBook Pro i7 2.66 - Kernel Panic Errors

    Greetings! I have a new MBP, less than 3 weeks old now. I have received numerous kernel panic errors and am not sure how to decipher the log. I have run disk utility from the install disk and no problems came back. Not sure what to do. The *first two

  • How to install oracle XE in Ubuntu 12.10 32bit

    Hello everyone! I 'd be grateful if could give me some instructions on how to install oracle XE in Ubuntu 12.10 32bit. In addition i d like to know which package i need to install. Is oracle-xe_10.2.0.1-1.0_i386.deb the right package? Thank you

  • Clear search region

    i have a report region based on an sql query. I currently have the problem that if i navigate to the next set of search results (eg 31-45). when i try another search in the same region the results are not displayed because the search region is still