Ship to party Address is not Printing-Script

Hi All,
We are facing a problem for a particular PO.
When we see the print preview for a particular PO for the first time Ship to party address is not printing .Whereas in the next time if we see the print preview its showing that address.Its because while runing for first time there is no value in w_adrc(work area) when that ship to party window .after that one perform is called at that time values are populated for w_adrc so when we runing for the second time its showing that value.Whereas we have faced another problem in another one PO.In that there was no value for w_adrc while that ship to party window called but its showing value in the print preview(w_adrc value is populate after that window called from a perform )Why it is like this?
Kindly help me in this issue..
Thanks.
Raj.

Hi Raja,
          In my project we are also facing same problem. are u able to find the solution for this problem.Please reply to me ASAP.

Similar Messages

  • Ship to party Address is not Printing

    Hi All,
    We are facing a problem for a particular PO.
    When we see the print preview for a particular PO for the first time Ship to party address is not printing .Whereas in the next time if we see the print preview its showing that address.Its because while runing for first time there is no value in w_adrc(work area) when that ship to party window .after that one perform is called at that time values are populated for w_adrc so when we runing for the second time its showing that value.<b>Whereas we have faced another problem in another one PO.In that there was no value for w_adrc while that ship to party window called but its showing value in the print preview(w_adrc value is populate after that window called from a perform )</b>Why it is like this?
    Kindly help me in this issue..
    Thanks.
    Raj.

    Hi Raja,
              In my project we are also facing same problem. are u able to find the solution for this problem.Please reply to me ASAP.

  • 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

  • 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

  • Ship to party address in sales order header

    Hi
    We changed the ship to party address at the header level and new address number got generated and updated the table VBPA.
    We need to revert the address so that the original address number of the ship to party should be updated in the table VBPA.
    Eg : Ship to party address number -  123
    During the creation of the sales order,  123 is updated in VBPA.
    We changed the address of the ship to party at header level and new addess number 963 got generated for the changed address and updated in the table VBPA.
    Now we need to revert the changes so that original address number 123 should get updated in VBPA.
    Please help us to resolve this issue.
    Thanks in Advance
    Shaju

    HI Shaju,
    This is not SAP standard, but a trick we learned and we have used successfully.
    Go to the change mode of sales order. Delete the ship-to and press enter. It will give you a warning, still press enter. If its very compulsory then put some other ship to party and then press enter. DO NOT save the sales order.
    There will be a lot of re-determinations, let them happen.BUT DO NOT save the sales order. Once all the re-detereminations happen. Delete the new ship-to and put in the old one. ANd you will have the old shipt-to with the oroiginal address and address number.
    Now save the sales order.
    The logic is when you put in the new ship-to then it re-determines everything including the address number. And then when you put in the old one, it will do one more round of re-determination and will copy the address number from customer master. Thus you get the original address.
    Hope this helps,
    Abhishek

  • 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

  • Delivery report output for'Ship-to party address and Sold-to party address'

    Hi Experts,
    We have an report output generated upon delivery creation.
    We need print following fields:
    Ship-to party #
    Ship-to party Name
    Ship-to Party Address
    Sold-to party #
    Sold-to party Name
    Sold-to Party Address
    As per i understand, we could get those field according to partner function....
    So experts, could please advise me from which table and field and logic to get above information....
    Thank you very much!!

    Hi,
    Are you changing partner details in delivery document?
    This partner address details will be updated in VBPA table.
    E.g change the partner street no.  in delivery document manually.
    Now goto VBPA table, enter correspondence sales document number for that delivery and execute.
    Click on partner function AG / WE get the address number (ADRNR) .
    Now goto ADRC table, enter this address number in ADRNR field and execute. you will get partner details.
    Regards,
    Chandra

  • Maintaining multiple ship to party address in SD

    Hi Guys,
    Could you please let me know, how we can maintain multiple ship to party address for a customer?
    Thanks,
    Kam.

    hi,
    this is to inform you that,
    you can create another SH against 0002 - or yours and create a multiple address for SH.
    then assign the SH number to original customer then this will reflect as two SH's one for the original customer and second is created SH in sales order you will get a POP up screen you can select manually there.
    or
    you can use contacts person address tab page for alternate address of SH if you dont want to trigger another SH and this is use ful for only address maintaince.
    if you can come to a confirmation that you are not using contacts person tab page for any other purpose.  then you can use it
    regards,
    balajia

  • Ship to Party address is missing country name in SAPScript FORM

    Hi All,
    i had modified the form for displaying the address of the Ship - to - party address, but the country name is missing in the FORM output, can any body suggest a solution for this..
    here is the code that i had written...
    FORM get_addr TABLES intab TYPE t_intab
                  out_tab TYPE t_outtab.
      DATA : wa_intab LIKE itcsy,
             w_outtab LIKE itcsy.
      DATA v_adrnr_we TYPE adrc-addrnumber.
      READ TABLE intab INTO wa_intab INDEX 1.
      v_adrnr_we = wa_intab-value.
      CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
        EXPORTING
          input  = v_adrnr_we
        IMPORTING
          output = v_adrnr_we.
      SELECT SINGLE * FROM adrc WHERE addrnumber = v_adrnr_we.
      READ TABLE out_tab INTO w_outtab WITH KEY name = 'Z_NAME1'.
      IF sy-subrc EQ 0.
        w_outtab-value = adrc-name1.
        MODIFY out_tab FROM w_outtab INDEX sy-tabix.
      ENDIF.
      READ TABLE out_tab INTO w_outtab WITH KEY name = 'Z_NAME2'.
      IF sy-subrc EQ 0.
        w_outtab-value = adrc-name2.
        MODIFY out_tab FROM w_outtab INDEX sy-tabix.
      ENDIF.
      READ TABLE out_tab INTO w_outtab WITH KEY name = 'Z_NAME3'.
      IF sy-subrc EQ 0.
        w_outtab-value = adrc-name3.
        MODIFY out_tab FROM w_outtab INDEX sy-tabix.
      ENDIF.
      READ TABLE out_tab INTO w_outtab WITH KEY name = 'Z_NAME4'.
      IF sy-subrc EQ 0.
        w_outtab-value = adrc-name4.
        MODIFY out_tab FROM w_outtab INDEX sy-tabix.
      ENDIF.
      READ TABLE out_tab INTO w_outtab WITH KEY name = 'Z_STREET'.
      IF sy-subrc EQ 0.
        w_outtab-value = adrc-street.
        MODIFY out_tab FROM w_outtab INDEX sy-tabix.
      ENDIF.
      READ TABLE out_tab INTO w_outtab WITH KEY name = 'Z_CITY1'.
      IF sy-subrc EQ 0.
        w_outtab-value = adrc-city1.
        MODIFY out_tab FROM w_outtab INDEX sy-tabix.
      ENDIF.
      READ TABLE out_tab INTO w_outtab WITH KEY name = 'Z_CITY2'.
      IF sy-subrc EQ 0.
        w_outtab-value = adrc-city2.
        MODIFY out_tab FROM w_outtab INDEX sy-tabix.
      ENDIF.
      CLEAR adrc.
    ENDFORM.                    "GET_ADDR
    and in the form editor it was like this.....
    PERFORM GET_NAME IN PROGRAM ZSD_SDPACKLI
    USING &VBPLA-ADRNR_WE&
    CHANGING &Z_NAME1&
    CHANGING &Z_NAME2&
    CHANGING &Z_NAME3&
    CHANGING &Z_NAME4&
    CHANGING &Z_STREET&
    CHANGING &Z_CITY1&
    CHANGING &Z_CITY2&
    ENDPERFORM
    ADDRESS DELIVERY PARAGRAPH AS\
    NAME     &Z_NAME1&, &Z_NAME2&, &Z_NAME3&, &Z_NAME4&
    STREET   &Z_STREET&
    CITY     &Z_CITY1&, &Z_CITY2&
      POSTCODE &VBPLA-PSTLZ_WE&
      COUNTRY  &VBPLA-LAND1_WE&
      REGION   &VBPLA-REGIO_WE&
      FROMCOUNTRY &VBPLA-LAND1_VST&
    ENDADDRESS
    Thanks in advance..!

    Hi Abaper,
    In ADRC table,you will have a field by name COUNTRY.This holds the country key.
    Using this country key LAND1 in ADRC table,you will have to fetch the Country name from T005T table.The field in the T005T which holds the Country name is LANDX.
    You will have to write select querries for this.
    By using LANDX from T005T table ,you can display the country name.
    Regards,
    Kashyap Ivaturi

  • Change of Ship-to-party address in IC WebClient

    Dear Guru's,
    Acc. my business requirement i need to configure IC-webclient,
    Scenario1:- End User should be able to change the Ship-to-party address (on customers request) thru IC-Webclient. (in this scenario sold-to-party & ship-to-party are 2 different addresses.)
    can ny1 guide me on this.
    Thanx in advance
    -Nirav.

    Hi,
    Nirav
    Pull in the Transaction BP view from the transaction launcher .This will have the BP transaction which will have the details in edit mode for you .You can restrict the views with authorisations for the user.
    Hope this will resolve your Issue
    Regards
    Raj
    Don't forget to reward!!

  • Maintaining multiple ship to party address in ECC 6.0

    Hi Guys,
    Could you please let me know, how we can multiple ship to party address for a customer in ECC 6.0?
    Thanks,
    Kam.

    I suggest you ask this question in an SD forum - and/or try to get this information from SAP help or a consultant.
    Markus

  • Schedule date changing with change in ship-to-party address

    Hi Experts,
    When ship-to-party address in the "Partners" (tab_pg) is changed from one country to the other in the header level, the confirmed quantity date is being changed automatically in the Schedule lines (tab_pg).
    Any help is highly appreciated........

    Hi Sunil,
    Whenever the ship to party is changed on the Sales order the Country (picked from ship to party master) will be redetermined. Few other parameters being redetermined are Shipping point, route, transit time etc because of the Ship-To-party(partner receiving the goods) chnages in Sales order. According to that the above parameters will be changed in SO.
    Hope this helps you.
    Thanks
    Arun

  • In JITM Ship to party number is not displayed.

    Hi,
    Scenario 1
    There are 2 ship to parties having same partner description.
    When the JIT call against this sold-to-party, partnr description is displayed in JITM, the ship-to-party is not getting picked up
    Scenario 2
    We removed/deleted one of the ship-to-parties from sold-to-party assignment in customer master and then executed JITM.
    The ship-to-party is not getting picked up, even after deleting one of the ship-tos
    Please explain the cause for both the scenarios.
    Thanks

    Hi Rajagopal,
    First of all, is the ship to party maintained as a partner function in ECC. If yes, then its a sales area dependent PF. This will ensure that ship to party has the same sales area as the sold to party.
    Then you can maintain settings so that the ship to party flows as a relationship to CRM (with associated Sold to).
    And then Partner Determination procedure can be defined which will pick the Ship to partner from this relationship.
    This will avoid the error that you mentioned.
    Regards,
    Rahul

  • Multiple ship to party  address default setting in the " sales order creat

    we use the SAP ECC 6.0,
    I've a problem about the "ship to party" in the sales order creation,
    the customer have 3 ship to party,
    the pop up "Partner selection", default show is: "Title" , "Name1"....
    But I want to default to show the "Street"
    I check the sap notes: 302835, and add the "SD_VARIANT_MAINTAIN" = A in my user profile.
    But seems can't working,
    when click the right mouse button. A menu can't displayed.
    Does anyone have the experience, Thanks.

    It seems so strange ...
    First of all you need to set the ALV administrator parameter among the parameters of your user-id
    System-> User Profile> Own Data> Parameters
    add the parameter "SD_VARIANT_MAINTAIN" = A in your user profile and SAVE
    After that, execute VA01 again; when the ship to party selection pop-up appears, place your cursor at a point on the screen and just the hotspot appears , click with the right mouse button in order to open the context menu.
    The "Administration" function would serve only to set the default display variant; the functions "Current Layout", "Save Layout" allow you to create the variant with the needed fields (the popup is an ALV .... )
    Try to execute the described steps and give us asap a feedback...
    Regards,
    Andrea

  • Ship to party address no change in sales order after delivery creation

    hi
    We have a below requirement
    After creation of delivery document,we should not be able to go and change ship to party in va02 of sales order..
    Tried using partner functions config,but it disables ship to party change completely...
    But we want to disable ship to party change only if delivery is already created.
    regards
    sudha

    hi swetha,
    as per my understanding goes:
    you need to make SH field GREY when a delivery document is generated for it.
    but now even if delivery is created or not SH field is GREYED.
    you can use
    USEREXIT_MOVE_FIELD_TO_VBAK in program MV45AFZZ
    LOGIC : when ever the sales order status is completed or partially completed then only this SH field should be GREYED other wise NOT.
    hope this clears your issue & please check from your end
    balajia

Maybe you are looking for

  • Calendar Entries not Displaying Properly in Desktop Outlook 2007

    We have 3 employees who have the Palm Treo 750 phone.  It appears that since the time change we have started having problems with calendar entries displaying properly on our computer desktop Outlook calendars.  So far we have observed the following:

  • How can I have a different set of cookies per tab ?

    I want to have more than one login to google, wikipedia, web mailer etc. at a time, all of which are implemented as cookies, without the need for multiple profiles, because those force me to have more than one window, bookmarks, set of preferences et

  • Text output to terminal or paging

    All, How do I send/print text to the console (System.out) so that I just fill the screen, then ask the user to press a key before printing another screen full. I want to output a license agreement with a more (or less) like paging functionality. This

  • My iPhone 4S only plays default alert

    When I first got the 4S I made a custom laert for a tweet and it played just fine.  Then I got another twitter client and got rid of the default one.  I realized it wouldn't play after that, so I got the default one back (the other one wasn't very go

  • Placing links in tables

    Hi, I need to insert links instead of plain text on the first column of a Table that I use to show the results of a search. I've managed to replace the TextView with a LinkToAction and now the text on the first column is clickable. Now all that I nee