How to join tables to show the Ship-to party of the SO...

To output a list not only show the Ship-to Party of the SO header, but also  show the Ship-to party for every item of the SO.
Thanks!!!
How many tables coule get this done??
Thanks.

Hi Hoo Laa,
Use Partner function WE as Ship to party ( While selecting the data use WE,do not use SH)
Check the below program :
REPORT Zxyz.
tables : vbak,
         vbap,
         vbpa.
data : begin of i_final occurs 0,
       vbeln like vbak-vbeln,
       vkorg like vbak-vkorg,
      kunnr like vbak-kunnr," Sold to party
       posnr  like vbap-posnr,
       matnr  like vbap-matnr,
       kwmeng like  vbap-kwmeng,
       netpr like vbap-netpr,
       end of i_final.
data : begin of i_output occurs 0,
       vbeln like vbak-vbeln,
       vkorg like vbak-vkorg,
       kunnr like vbpa-kunnr," Sold to party
       posnr  like vbap-posnr,
       matnr  like vbap-matnr,
       kwmeng like  vbap-kwmeng,
       netpr like vbap-netpr,
       end of i_output.
start-of-selection.
select avbeln avkorg
       bposnr bmatnr bkwmeng bnetpr
       into table i_final up to 100 rows
       from vbak as a inner join vbap as b on bvbeln = avbeln.
loop at i_final.
select single * from vbpa into vbpa
                     where vbeln = i_final-vbeln
                     and   parvw = 'WE'. -> Partner function
if sy-subrc eq 0.
i_output-kunnr = vbpa-kunnr.
endif.
i_output-vbeln = i_final-vbeln.
i_output-vkorg = i_final-vkorg.
i_output-posnr = i_final-posnr.
i_output-matnr = i_final-matnr.
i_output-kwmeng = i_final-kwmeng.
i_output-netpr = i_final-netpr.
append i_output.
endloop.
end-of-selection.
loop at i_output.
write:/ i_output-vbeln,i_output-vkorg,i_output-kunnr,i_output-posnr,
        i_output-matnr,i_output-kwmeng,i_output-netpr.
endloop.
Thanks
Seshu

Similar Messages

  • How to fetch the VAT registration number of the ship to party from billing

    Dear SDN Team
    How to fetch the VAT registration number of the ship to party from the billing document.  Can you proide some information for fetching the VAT registration number of the ship to party.
    Normally only the payer VAT registration number will be displayed in the Invoice.  But in my case the Ship to party VAT number is displayed. 
    I have resolved this problem by doing the customizing setting in order to have the payer vat registration number.  But for the Old Billing documents it is more than 30,000 documents where it was printed with the ship to party VAT number.  So i need to identify those documents.
    Can you please help to resolve this problem.
    With Regards,
    Jai

    Hi,
    To get VAT from the ship to from Billing, You have to first fetch the BILLING NUMBER from the VBRK and then goto the Document flow in VBFA to get the SALES DOCUMENT NUMBER and with sales document you will get the SHIP TO number from the VBPA with the PARVW = SH
    Once you got the SHIP TO , then goto the KNA1 and get the VAT ID in the field STCEG
    so the logic will be as follows
    VBRK---VBELN and then
    VBFA--VBELN with the document Category as C
    VBPA-VBELN and get the  KUNNR with PARVW =SH
    Now with KUNNR ( ship to ) get the VAT ID from KNA1-STCEG
    regards,
    santosh

  • How to join table in LCDS

    Hello,
    How can I join tables in LCDS and show them in a datagrid?
    I run LCDS3 and tomcat.
    All help is appricitated

    If an entity has relationships, joins are implicit e.g.: A customer can have multiple orders - Having access to customer gives you access to all the orders associated with the customer. Here the joins are implicit.
    However, we don’t support randomly joining tables (that don't have a relationship in the data model) in this release. You are required to create a custom data management assembler, which gives you full control over the SQL. It is likely that the next release may support joining tables directly from the data model.
    -Anil

  • SAP QUERY(SQ03/02/02) - how to join tables

    Hi MM Wizards,
    I would like to know how to join tables EINE & A017 through SAP Query?
    Thanks,
    Kaveri

    Hi Kaveri,
    A017 is a pooled table.  SAP Query does not support joins against Pooled tables.  You should stick to transparent tables if you want to use Query.
    You can do a direct read of A017, but you will just end up with a glorified SE16 display.
    You could have a programmer write some ABAP and place it into the 'extras' section in SQ02 to grab the additional data that you want, but once you have decided to enlist the aid of an ABAPer, it is better just to write a custom Z program from scratch.
    Regards,
    DB49

  • How to populate the ship-to-party in Sales Order at the header level

    Hi Config experts,
    I created Sales Order. I entered the Sold-to-party number, item and Qty and when I press ENTER, the ship-to-party field does not get populated with Business Parter number. I am expecting the same sold-to-party number to get populated automatically in ship-to-party field too. But it is still empty.
    Any clues how to get BP no. automatically in ship-to-party field.
    Thanks,
    John

    Hi John,
    The partner is determinated by access sequences on your partner function in partner determination procedure. For example, if you set the access sequence 0017 'Current Partner: Sold-To Party' on ship-to party on your partner determination procedure, you can see the ship-to is set as sold-to when you enter the sold-to.
    Regards,
    Masayuki

  • How text will be redetermined if the ship to party is changed

    Hello,
    The test is maintaining at ship to party level and if the ship to party is changed how the text will be redetermined here in the order the text is not redetermining. kindly give the solution for redetermination on this.
    Regards,
    Kishore.a

    Hi Kishore,
    Sorry, note 784371 is not released to customer anymore.
    Please refer to note 548615, point 5 about the description of this standard system behavior.
    You want to change the SAP standard behavior described above with a user-defined modification and trigger the text determination in dependency of other fields (for example ship-to party).
    Take into account that all header texts and item texts entered manually are lost when you call you own text determination again.
    If you still want to modify, use the following include for the item
    data:
      > FV45PFAP_VBAP_FUELLEN_TEXTE
    and for the header data, use the include
      > FV45KFAK_VBAK_FUELLEN_TEXTE
    In both includes, the RV_TEXT_COPY function module is called. A user exit is not provided here.
    Ensure that the modification is retained (using transaction SPAU) when you import a new Support Package after an upgrade.
    Thanks,
    Alex

  • HT3412 I want to send a Photo book to Belgium but I can't change the Country (now is Italy) in the shipping contacts  but only the address (name, street, city) and there is Italy fix. How can I do ?

    I want to send a Photo book to Belgium but I can't change the Country (now is Italy) in the shipping contacts  but only the address (name, street, city) and there is Italy fix. How can I do ? Can I send from my country a photobook in another country?

    You can change the Print Store location from iTaly to Belium in iPhoto's Advanced preference pane:
    Then try to order.  HOWEVER, you still may not be able to order.  Over here in the States the shipping address must be in the same country as the billing address of the credit card used.  It may be the same way over in Europe.
    Give it a try and see. Let us know how you fare.
    OT

  • Get the Ship-to-Party from Sales Order and Line item

    Hi all,
    I am developing one report in which I want to get the Ship-to-Party for a particular Sales Order and Sales Order Line item number.
    I can see table VBPA from I can get value of KUNNAR and so on. But my concern is that can the Ship-to-Party differ for different line items for sales Order, if yes how to get that one, any table or any function module?
    In my scenario i found out that ship-to-party only depend upon sales order and partner function not line item.
    please help me..
    regards,
    vikas.

    Hi,
    First step: Customer Creation (T. Code: XD01)
    i) Create Sold to Party (Ordering Party) with Account Group: Sold-to-Party
    ii) Create as many Ship-to-Party and Bill-to Party, if reqd, with Account appropriate Account Groups.
    iii) Match all the Ship-to-party/ Bill-to-Party/ Payer for the respective Sold-to-Party under Tab: Sales Area data, Sub-tab: Partners.
    Second Step: Sales Order Creation (T.Code: VA01)
    i) Enter Sold-to-Party at Header Level.
    ii) Enter Materials (at Line-item level).
    iii) Now, System will pop-up all the Ship-to-Party/ Bill-to Party/ Payer, Matched for the particular Sold-to-Party. Click on appropriate selection.
    OR
    Now, (if option doesn't pops-up) select the line and Double Click on to the same line. it will lead to the next page. Here, Click Tab: Partners
    Now, in Column: Partner Function, search for appropriate Partner: Ship-to-Party or Bill-to-Party or Payer.
    Remember: Sold-to-Party will be non-editable as entered at Header level.
    Repeat the same for Each Line-item.
    Regs,
    Amit K. Yadav

  • Sold to party and Ship to party are the same but has different address

    Hi,
    I have problem here wherein Sales order has the same sold to party and ship to party but they have different address. When the customer master data is changed the sold to party in the sales order is also updated but the ship to party is not updated.
    I've checked the table VBPA and I noticed that the value of ship to party VBPA-ADRDA is 'E' (manually enetered).
    Is this the reason why the address of ship to party in sales order is not updated whenever the customer master is change?
    Another question, how does ship to party entered in sales order manually?
    Thanks in advance.

    Hi,
    Please correct me if I have understood the scenario incorrectly which I try to explain below:
    Sales order is created where SP and SH both have same address initially and while creating the SO, address of the SH was changed manually by Header>partners>SH
    Now master data for that customer is changed for address. As per the standard functionality of SAP, all sales order created for that customer will have new address for SP only.
    If address of SH needs to be changed in SO, it has to be done manually by the same way as explained in the above mails.
    As far as manually entering the SH in SO is concerned, system will automatcally selects the SH if only one record is available for SH. If you have specified more than one SH, system will give you an option to select one by displaying a pop up.
    Please let me know if you find this explanation suitable.
    Ravi

  • 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

  • Fax number is not picking from the ship to party to send COA

    Hello,
    To fax COA, output type in delivery is not picking up fax number from customer or from partner function.
    Condition records are maintained for partner function ship to party and condition records and output determination procedure is also assigned.
    Can anyone guide what is missing to pick up fax number from partner function ship to party or sold to party?
    Thanks

    Hello Sandeep,
    Thanks for your response!
    yes it is maintained there for ship to party. my question is at delivery item level, if I select output type and check the communication method for FAX, it is showing blank or sometime wrong fax number.
    I am expecting to pick up  fax number which is maintained at XD02 for the ship to party by refering condition record vv22. Here, I have maintained fax details in contact person of that parner function in the sales area of customer. Else, you can guide me the right procedure to sent COA fax to recipients.
    Hope above information helps you to understand my issue, else I will elaborate more.
    Thanks

  • BAPI_SALESORDER_CHANGE - Want to change the Ship-to-party at header level

    Hi
    I want to change the Ship-to-party at header level in the Sales Order created. I tried using the BAPI BAPI_SALESORDER_CHANGE  as shown below.
    When I run the program I get the log as Sales Order 45 saved succesfully. However, I don't find the SO changed. Apart from this I get an Express Message saying the Updation failure. Not sure of what'z wrong here.
    Pls help
    thanks
    girish
    REPORT  ZBAPI_SALESORD_CHANGE.
    data : zBAPISDHD       type BAPISDH1,
           zSALESDOCUMENT  type BAPIVBELN-VBELN.
    data : zORDER_ITEMS_IN     like /AFS/BAPISDITM occurs 0 with header line,
           zORDER_SCHEDULES_IN like /AFS/BAPISDSCHD occurs 0 with header line,
           zORDER_PARTNERS like BAPIPARNR      occurs 0 with header line,
           zRETURN         like BAPIRET2 occurs 0 with header line,
           so_no           type BAPIVBELN-VBELN,
           zORDER_HEADER_INX    TYPE BAPISDH1X,
           zPARTNERCHANGES like  BAPIPARNRC occurs 0 with header line.
    clear : zBAPISDHD.
    so_no = '0000000045'.
    data : l_comp_qty like zORDER_ITEMS_IN-COMP_QUANT.
    l_comp_qty = 10.
    zBAPISDHD-SALES_ORG = 'BP01'.
    zBAPISDHD-DISTR_CHAN = '02'.
    zBAPISDHD-DIVISION = '01'.
    zORDER_HEADER_INX-UPDATEFLAG = 'U'.
    zORDER_HEADER_INX-SALES_ORG  = 'X'.
    zORDER_HEADER_INX-DISTR_CHAN = 'X'.
    zORDER_HEADER_INX-DIVISION = 'X'.
    Ship to pary
    zORDER_PARTNERS-PARTN_ROLE = 'WE'.
    zORDER_PARTNERS-PARTN_NUMB = 'BPAFS0007'.
    append zORDER_PARTNERS.
    zPARTNERCHANGES-DOCUMENT = '45'.
    zPARTNERCHANGES-ITM_NUMBER = '10'.
    zPARTNERCHANGES-UPDATEFLAG = 'U'.
    zPARTNERCHANGES-PARTN_ROLE = 'WE'.
    zPARTNERCHANGES-P_NUMB_OLD = 'BPAFS0001'.
    zPARTNERCHANGES-P_NUMB_NEW = 'BPAFS0007'.
    append zPARTNERCHANGES.
    CALL FUNCTION 'BAPI_SALESORDER_CHANGE'
      EXPORTING
        SALESDOCUMENT               = so_no
        ORDER_HEADER_IN             = zBAPISDHD
        ORDER_HEADER_INX            = zORDER_HEADER_INX
      SIMULATION                  =
      BEHAVE_WHEN_ERROR           = ' '
      INT_NUMBER_ASSIGNMENT       = ' '
      LOGIC_SWITCH                =
      NO_STATUS_BUF_INIT          = ' '
      TABLES
        RETURN                      = zRETURN
      ORDER_ITEM_IN               =
      ORDER_ITEM_INX              =
        PARTNERS                    = zORDER_PARTNERS
        PARTNERCHANGES              = zPARTNERCHANGES.
      PARTNERADDRESSES            =
      ORDER_CFGS_REF              =
      ORDER_CFGS_INST             =
      ORDER_CFGS_PART_OF          =
      ORDER_CFGS_VALUE            =
      ORDER_CFGS_BLOB             =
      ORDER_CFGS_VK               =
      ORDER_CFGS_REFINST          =
      SCHEDULE_LINES              =
      SCHEDULE_LINESX             =
      ORDER_TEXT                  =
      ORDER_KEYS                  =
      CONDITIONS_IN               =
      CONDITIONS_INX              =
      EXTENSIONIN                 =
    data : s_BAPIRET2 like  BAPIRET2.
    CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
    exporting
    wait = 'X'
    importing
    return = s_bapiret2.

    Thanks Prashanth. It worked !!!!!!!!!!!!!
    Now I am facing another type of problem. The requirement is to change the Sales Order Item Quantity. I basically planned to update the quantity of Schedule Item which needs to be changed. When I run the below code, it works and says the Sales Order changed succesfully. However I get an express message saying the Database update failure. I don't get any sort of technical information.
    Appreciate if you could help me finding the error.
    Thanks
    regards
    girish
    Note --> I am trying to change the Quantity for 2 line item in SO '56' to 40 Units.
    REPORT  ZBAPI_SALESORD_CHANGE.
    data : zBAPISDHD       type /AFS/BAPISDHD,
           zORDER_HEADER_INX    TYPE /AFS/BAPISDHDX,
           zSALESDOCUMENT  type BAPIVBELN-VBELN.
    data : zORDER_ITEMS_IN     like /AFS/BAPISDITM   occurs 0 with header line,
           zORDER_ITEM_INX     like /AFS/BAPISDITMX  occurs 0 with header line,
           zORDER_SCHEDULES_IN like /AFS/BAPISDSCHD  occurs 0 with header line,
           ZSCHEDULE_LINESX    LIKE /AFS/BAPISDSCHDX occurs 0 with header line,
           zORDER_PARTNERS like BAPIPARNR      occurs 0 with header line,
           zRETURN         like BAPIRET2 occurs 0 with header line,
           so_no           type BAPIVBELN-VBELN,
           zPARTNERCHANGES like  BAPIPARNRC occurs 0 with header line.
    data : l_comp_qty like zORDER_ITEMS_IN-COMP_QUANT.
    data : g_qty like /AFS/BAPISDSCHD-REQ_QTY.
    g_qty = 40.
    l_comp_qty = 40.
    clear : zBAPISDHD.
    so_no = '0000000056'.
    zBAPISDHD-REFOBJTYPE = '/AFS/ORDER'.
    zBAPISDHD-SALES_ORG = 'BP01'.
    zBAPISDHD-DISTR_CHAN = '02'.
    zBAPISDHD-DIVISION = '01'.
    zBAPISDHD-PMNTTRMS = '0001'.
    zORDER_HEADER_INX-UPDATEFLAG = 'U'.
    zORDER_HEADER_INX-SALES_ORG  = 'X'.
    zORDER_HEADER_INX-DISTR_CHAN = 'X'.
    zORDER_HEADER_INX-DIVISION = 'X'.
    zORDER_HEADER_INX-PMNTTRMS = 'X'.
    **********ITEM ***************************************
    zORDER_ITEMS_IN-ITM_NUMBER = '00020'.
    zORDER_ITEMS_IN-MATERIAL = 'F1202'.
    zORDER_ITEMS_IN-PLANT = 'BP01'.
    zORDER_ITEMS_IN-ITEM_CATEG = 'TAS'.
    zORDER_ITEMS_IN-SHIP_POINT = 'BP01'.
    zORDER_ITEMS_IN-COMP_QUANT = l_comp_qty.
    zORDER_ITEMS_IN-TARGET_QTY = l_comp_qty.
    zORDER_ITEMS_IN-TARGET_QU = 'ST'.
    append zORDER_ITEMS_IN.
    zORDER_ITEM_INX-ITM_NUMBER = '00020'.
    zORDER_ITEM_INX-UPDATEFLAG = 'U'.
    zORDER_ITEM_INX-MATERIAL = 'X'.
    zORDER_ITEM_INX-PLANT = 'X'.
    zORDER_ITEM_INX-ITEM_CATEG = 'X'.
    zORDER_ITEM_INX-SHIP_POINT = 'X'.
    zORDER_ITEM_INX-COMP_QUANT = 'X'.
    zORDER_ITEM_INX-TARGET_QTY = 'X'.
    zORDER_ITEM_INX-TARGET_QU = 'X'.
    append zORDER_ITEM_INX.
    *********SCHEDULE LINE******************************
    refresh zORDER_SCHEDULES_IN.
    clear zORDER_SCHEDULES_IN.
    zORDER_SCHEDULES_IN-ITM_NUMBER = '000020'.
    zORDER_SCHEDULES_IN-SCHED_LINE = '0001'.
    zORDER_SCHEDULES_IN-REQ_DATE = '20070525'.
    zORDER_SCHEDULES_IN-DATE_TYPE = '1'.
    zORDER_SCHEDULES_IN-SCHED_TYPE = 'CS'.
    zORDER_SCHEDULES_IN-GRID_VALUE = 'BLK2728'.
    zORDER_SCHEDULES_IN-REQ_CATEGORY = '1DE'.
    zORDER_SCHEDULES_IN-REFOBJTYPE = '/AFS/ORDER'.
    zORDER_SCHEDULES_IN-REQ_QTY = g_qty.
    append zORDER_SCHEDULES_IN.
    refresh ZSCHEDULE_LINESX.
    clear ZSCHEDULE_LINESX.
    ZSCHEDULE_LINESX-ITM_NUMBER = '000020'.
    ZSCHEDULE_LINESX-SCHED_LINE = '0001'.
    ZSCHEDULE_LINESX-UPDATEFLAG = 'U'.
    ZSCHEDULE_LINESX-REQ_DATE = 'X'.
    ZSCHEDULE_LINESX-DATE_TYPE = 'X'.
    ZSCHEDULE_LINESX-SCHED_TYPE = 'X'.
    ZSCHEDULE_LINESX-GRID_VALUE = 'X'.
    ZSCHEDULE_LINESX-REQ_CATEGORY = 'X'.
    ZSCHEDULE_LINESX-REFOBJTYPE = 'X'.
    ZSCHEDULE_LINESX-REQ_QTY = 'X'.
    append ZSCHEDULE_LINESX.
    CALL FUNCTION '/AFS/BAPI_SALESORD_CHANGE'
      EXPORTING
        SALESDOCUMENT               = so_no
        ORDER_HEADER_IN             = zBAPISDHD
        ORDER_HEADER_INX            = zORDER_HEADER_INX
      SIMULATION                  =
      BEHAVE_WHEN_ERROR           = ' '
      INT_NUMBER_ASSIGNMENT       = ' '
      LOGIC_SWITCH                =
      TABLES
        RETURN                      = zRETURN
        ORDER_ITEM_IN               = zORDER_ITEMS_IN
        ORDER_ITEM_INX              = zORDER_ITEM_INX
        ORDER_SCHEDULE_LINES        = zORDER_SCHEDULES_IN
        ORDER_SCHEDULE_LINESX       = ZSCHEDULE_LINESX.
      PARTNERS                    =
      PARTNERCHANGES              = zPARTNERCHANGES
      PARTNERADDRESSES            =
      ORDER_CFGS_REF              =
      ORDER_CFGS_INST             =
      ORDER_CFGS_PART_OF          =
      ORDER_CFGS_VALUE            =
      ORDER_CFGS_BLOB             =
      ORDER_CFGS_VK               =
      ORDER_CFGS_REFINST          =
      ORDER_TEXT                  =
      ORDER_KEYS                  =
      CONDITIONS_IN               =
      CONDITIONS_INX              =
      EXTENSIONIN                 =
    *CALL FUNCTION 'BAPI_SALESORDER_CHANGE'
    EXPORTING
       SALESDOCUMENT               = so_no
       ORDER_HEADER_IN             = zBAPISDHD
       ORDER_HEADER_INX            = zORDER_HEADER_INX
    TABLES
       RETURN                      = zRETURN
       ORDER_ITEM_IN               = zORDER_ITEMS_IN
       ORDER_ITEM_INX              = zORDER_ITEM_INX
       PARTNERS                    = zORDER_PARTNERS
       PARTNERCHANGES              = zPARTNERCHANGES
      PARTNERADDRESSES            =
      ORDER_CFGS_REF              =
      ORDER_CFGS_INST             =
      ORDER_CFGS_PART_OF          =
      ORDER_CFGS_VALUE            =
      ORDER_CFGS_BLOB             =
      ORDER_CFGS_VK               =
      ORDER_CFGS_REFINST          =
      SCHEDULE_LINES               = zORDER_SCHEDULES_IN
      SCHEDULE_LINESX              = ZSCHEDULE_LINESX.
      ORDER_TEXT                  =
      ORDER_KEYS                  =
      CONDITIONS_IN               =
      CONDITIONS_INX              =
      EXTENSIONIN                 =
    data : s_BAPIRET2 like  BAPIRET2.
    CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
    importing
    return = s_bapiret2.

  • No text redetermination once change the ship to party

    Hello Experts,
    We have text like picking/packing/shipping text in ship to party. and we have assigned such text value in ship to party.
    Suppose:
    Ship to party A has shipping text: ABCDEFG
    Ship to party B has shipping text: 12345678
    I create the sales order with ship to party: A and system determine text (header level) as ABCDEFG, I save it later i change the ship to party in sale order from A to B. according to business logic system should change the shipping text from ABCDEFG to 12345678 once I change the ship to party from A to B. But it is not happening.
    Even though changing the ship to party from A to B, system is not redetermining text and I am wondering why it's happening?
    Is it the standard functionality ? why it is happening ?
    Thanks,

    How text will be redetermined if the ship to party is changed
    Please refer the above tread, System does not re determine the text if Ship to party  is changed, it changes only for SP, also if you want to redetermine the SH text then refer the notes also which was mentioned in the above tread.
    thanks,
    Srinu.

  • Modification of the ship to address in the sales order at item level

    SAP ECC6
    Sales order. Transaction code VA01/VA02
    Creation/modification of the ship to address at item level/Allowed by SAP when sold to ≠ ship to/Impossible when
    sold to = ship to
    Hello All,
    I would like to set up an enhancement on the sales order.
    > What we want : we want to have the possibility to modify the ship to party address at item level. Indeed, we sometimes make slight modifications to address, such as adding the words "to the attention of"
    > What we don’t want : create a new ship to, to take into account the address modification or manage this modification in an item text
    > What SAP allows : At item level (as at header level) SAP allows you to modifiy the ship to address when the sold to ≠ ship to. BUT, SAP forbids the modification of the ship to address when the sold to = ship to
    Is there a means on the customizing to authorize these modification address at item level each time the sold to = ship to ?
    Many thanx
    Best regards
    Vincent

    sold to party=ship to party
    goto item and tab partner
    select partner function ship to party, again enter same code and press enter
    now see item partner automaticlly selcted.
    now double click on ship to party and change addrss etc accordingly.
    Hii Vincent,
    It is possible to change address of shipt to party at item level and it doest matter if sold to part & ship to party are same or different at header level.
    Please see above images.
    All you have to do is to select ship to party again in item tab-partners and enter code.
    Please check item you are using is activated for business data.
    Regards,
    Nouman

  • Change the address of ship to party in the shipment document

    Hello Gurus,
    Is there a way we can change the address of ship to party in the shipment document????
    When I go to stages, it only display the address, its not allowing me to change the address though the shipment is in change mode.....
    Please advise...
    Thanks and Regards,
    Pavan P.

    Dear Pavan,
    You try with this option,I havn't tried in my system because I have some technical problem in my system.
    -->Go to Shipment document in Display mode (transaction VT03N).
    -->Click on Document flow Icon
    -->Select delivery then click on Display document.
    -->System will take you to the Delivery document display mode here you Change the display mode of the delivery to the change mode.
    -->Now you click on address push button go into address detail screen then change the address.
    Note:-You can able to change the address of the ship to party before PGI.
    I hope it will help you
    Regards,
    Murali.

Maybe you are looking for