Error delivery address in PO automatically created trigged by saved SO

Dear all,
I find delivery address in PO automatically created via PR trigged by SO, it is not crorrect.
At present, delivery address in PO is the address of Plant not the ship to party address existing in SO.
Because of third party sales, vendor will send goods to customer directly according to the delivery address that is from ship to party.
I wish ship to party address will be copied to delivery address in PO
How can I do?
Thank you.

HI,
First thing to Ask is this this is a third party Scenario, the Item category should be "S"
Third Party.
So the Document type of the PO you are Using shoud have this Item category allowance.
KOnw at the item level you can enter your customer code (that is Ship to party code)
It also triggers automatically ,If there is a Sales order that triggers a Purchase req and that triggers a PO
the customer number follows automaticaly.
The linkage of creation of PR doc type  from Sales order has to be made in that respect. ( T code VOV6)
For your Information
the Delivey address comes from four ways
Plant
EKPO -Pass PO NUmber - collect the plant and pass in table T001W to get the address number
and pass the address number to ADRC table
Customer (third party)
IN table EKPO -collect the customer Number-KUNNR and pass that value to KNA1 table and then get the address number and then get the address from ADRC table.
Direct address number ( created by t code MEAN- Type ME01)
This adress number-ADRNR can be taken from EKPO table and pass this value to adrc table to get the address.
Vendor ( subcontracting)
In this IN EKPO we will have the vendor field -LIFNR and this field collect the vendor number and pass in LFA1 and get the address number and then pass the address number to ADRC table
If in EKPO,the address number and customer vendor field are blank then it picked from the plant and we have to default the Plant Address
hope so it helps
Regards
Anjanna

Similar Messages

  • Error delivery address in PO trigged by saved SO

    I find delivery address in PO trigged by SO, it is not crorrect.
    At present, delivery address in PO is the address of Plant not the ship to party address existing in SO.
    Because of third party sales, vendor will send goods to customer directly according to the delivery address that is from ship to party.
    I wish ship to party address will be copied to delivery address in PO
    How can I do?
    Thank you.

    hello, friend.
    in SAP standard third party transactions, the behavior of the system should be this way:
    1.  the item category of the material in the sales order should be TAS;  this could be done either manually or automatically if the item category group in the material master is BANS
    2.  in the sales order, there will be a customer ship-to party, of course;  when you save a third party transaction (sales order), this should automatically trigger a PR
    3.  when the PR is converted into a PO (for a vendor to deliver the material), your company will be listed as the buyer but the ship-to party will be the customer
    4.  you then bill the customer while the vendor will bill your client
    regards.

  • Delivery Address in Purchase order Create ME21N

    Hello all,
         I am trying to capture the value in the Country field on the Delivery Address tab when creating a PO (ME21N).  We only want to write a certain condition if the Vendor is non-US and the Delivery country is US. 
         The initial value is populated in KOMK but it doesn't change if the Delivery address is changed manually. 
    We are using subroutine KOBEV_600 in Include RV61A600.  I tried using GET PARAMETER ID 'LND' but it never worked.  It always came back blank. 
    Thanks for any help.
    Kind regards,
    Chris Mowl

    Thank you for the responses although they didn't quite address my issue. 
    The solution we are testing at the moment is using the following code in User Exit ZXM06U14:
    DATA: lv_country TYPE land1.
    IF i_ekpo-adrn2 IS NOT INITIAL.
      SELECT SINGLE country FROM adrc
      INTO lv_country
      WHERE addrnumber = i_ekpo-adrn2.
      IF sy-subrc = 0.
        EXPORT lv_country TO MEMORY ID 'adrn2'.
      ENDIF.
    ELSEIF i_ekpo-kunnr IS NOT INITIAL.
      SELECT SINGLE land1 FROM kna1
      INTO lv_country
      WHERE kunnr = i_ekpo-kunnr.
      IF sy-subrc = 0.
        EXPORT lv_country TO MEMORY ID 'adrn2'.
      ENDIF.
    ELSE.
      CLEAR lv_country.
      EXPORT lv_country TO MEMORY ID 'adrn2'.
    ENDIF.
    When an Address number or Customer number are filled in on the "Delivery Address" tab for the item, they are filled in the i_ekpo-adrn2 or i_ekpo-kunnr fields respectively.  I then export the country value to memory and import it in RV61A600 where we check that value.

  • PO is getting created but showing error is address with status of IDoc - 51

    Hi Experts,
    I am using IDoc type  - PORDCR103
    Process code - copy of  IDOC_INPUT_PORDCR1 (Function Module)
    After processing through WE19 it is generating an IDoc number with status - 51 showing error in Address , But it is creating a PO.
    My requirement is In status -51 It should not create PO.
    Inside IDOC_INPUT_PORDCR1 a Bapi  'BAPI_PO_CREATE1' is used for creating PO. Here In RETURN parameter of BAPI a Row is comming with Message type - E.  Some other messages are also there of type 'S' and 'W'.
    After processing ,  PO is getting created with staus - 51.
    Please help me .
    Thanks
    Susanta
    Edited by: Susanta22 on Oct 11, 2011 12:29 PM

    Hi,
    in ur code ur filling the idoc data rcord, control record ryt ..before u append data to idoc data , u r also validating and u might be doing in loop for appening the idoc data.
    if there is any error in idoc then it won't distribute the data, it will be in error status only..u can only see the data in WE02. Then u can also change the data in WE02 and redistirbute it via BD87.
    if u have any conerns let me know
    Regards,
    Nagaraj

  • Automatically create a Delivery Order document on saving sales order

    hi,
    i want that a delivery document should be automatically created on saving sales order. how can i configure sap to do so?
    thanks

    Hi
    In VOV8 in the shipping tab immediate delivery switch is there
    There you have to put X and save
    then while you  create and save a sales order of that order type delivery will be created automatically
    No need to go for VL01n
    These are the settings done in cash sale and rush order in standard SAP
    Regards
    Raja

  • PR delivery address

    In purchase requisition Delivery Address  is determined automatically as a Plant Address.
    We want to use a  Single plant but could have a number of delivery addresses depending on where the Requisitioner is ordering.
    We cannot use Storage Location to determine the Address as Coustomization allows S.Loc per plant.
    We want default Delivery Address per Requisitioner

    Hi.
    You can create the address the in the transaction MEAN. This address you can the delivery tab in PR.
    Create a address for each requisitioner and enter the address no in the delivery tab view of the PR.
    Hope this will help you.
    Cheers
    Umakanth

  • How to default an address number delivery address in the PO item

    Hi All,
    I have some combination of certain Material / Vendor / Delivery address.
    I have created some address numbers from transaction MEAN.
    I can successfully assign these in PO detail manually. Then the address gets updated from it
    for plant or storage location if specified.
    What I need to know is how to "default" this address number in the PO detail.
    I couldn't fine appropriate field in info record, but I have a feeling that it should be possible.
    Could anyone help me on this please?
    Thanks,
    ATO

    Hi Nadia,
    Thank you for your reply.
    The plan is that storage location gets default on the PO by material master setting.
    I have configured the storage location address, so this defaults in the delivery address tab.
    This storage location is our warehouse to receive goods.
    Sometimes we delivery goods directory to the vendor without receiving into the warehouse.
    In this scenario, we are using the address number to print the vendor address on the PO output.
    The combination of material and vendor is unique when we need to deliver directory.
    So the expectation is to default this address number in this certain case.
    Do you mean this will be possible without user exit?
    Thanks,
    ATO

  • Workflow Issue - Delivery address XML Reference workflow - Error

    Hello All,
    I am an ABAP developer, with very limited knowledge in Workflow, and I am stuck with an ongoing issue for quite sometime. We have a scenario where we need to a workflow triggers for a specific UNDATED sales order lines (identified by values in VBAP-Zfield ) in R/3 box, and it carries an XML request (probably mails it) to a SAP CRM destination, which would now update some CRM tables and generate a Call list in the SAP CRM box. This is one flow that used to be fine, but has stopped working since the past few months may because of some change, which is not yet identified. as multiple projects are working on the same boxes.
    To elaborate -
    1 - We have a SALESORDER_CREATEFROMDAT2 Idoc creating the SO, where in, based on a CUTOFF date condition, (if it is in the past), a VBAP-ZFIELD for the corresponding line is set to a value (08).
    2 - This event is expected to trigger a workflow for the Undated order/Delivery resolution , which would then create an XML doc for the SO and send this across to CRM box
    3 -This will then update a Ztable. This will be handled by a batch job in CRM to generate a call list.
    Now we are facing a problem in the second step here, where in the activity - 'BCKGRD: Create XML_DOC for SO: xxxxxxxx' is completing successfully, but having a failure in the next step  - 'Delivery address XML Reference workflow - ERROR'
    This is how the detailed workflow log looks -
    WF-BATCH                  Web work item created                               03.04.2014 08:12:29
    WF-BATCH                  Execution started automatically                   03.04.2014 08:12:29
    WF-BATCH                  CL_SWF_RUN_ALERT_ERROR                   03.04.2014 08:12:31
    WF-BATCH                    IF_SWF_UTL_MAIL~SEND                      03.04.2014 08:12:31
    WF-BATCH                  SWW_RI_EXECUTE_S                            03.04.2014 08:12:31
    WF-BATCH                    SWW_RI_EXECUTE_S                           03.04.2014 08:12:31
    WF-BATCH                  Execution started automatically                      03.04.2014 08:12:31
    WFXML                     START_EXECUTION_IN_BACKGROUND            04.04.2014 04:00:35
    WF-BATCH                  Execution started                                          04.04.2014 04:00:36
    WF-BATCH                  CL_SWF_RUN_ALERT_ERROR                   04.04.2014 04:00:44
    WF-BATCH                    IF_SWF_UTL_MAIL~SEND                   04.04.2014 04:00:44
    WF-BATCH                  Execution started                                     04.04.2014 04:00:45
    WF-BATCH                    SWW_RI_EXECUTE_S                       04.04.2014 04:00:45
    I've also attached a screenshot for the errors, if that gives a clue.
    Request all the workflow experts to help me with a solution, or an approach towards a fix.
    Thanks & Regards,
    S Sen.

    Hi S Sen,
    Agree with Ronen....no mail recipient or from 10 records of mail recipient - one record is empty.
    Try to find out the intended email recipients....any data change there might have resulted in errors since few months. Maybe, some position got vacant, some config table to get the recipients got changed.....
    regards,
    Modak

  • Post code in delivery address when creating PO

    Hi friends,
    when creating PO, the post code field under delivery address tab is a required field. while some of our delivery address do not has post code. it seems a mandatory filed.
    How could I change it to a optional field.
    Thanks,
    Linda

    Ask your ABAPer to assist you on this.
    Path to Screen Variant
    Choose Basis Components - Application Personalization - Tailoring of Application Transactions - Configure Transaction-Related Display Values for Fields
    Screen variants allow you to simplify screen editing by:
    Inserting default values in fields
    Hiding and changing the ready for input status of fields
    Hiding and changing the attributes of table control columns
    A screen variant contains field values and attribute for exactly one screen. A screen variant may be assigned to multiple transaction variants, however. Screen variants are always cross-client; they may, however, be assigned to a client-specific transaction. They can also be called at runtime by a program. The different possibilities for calling screen variants guarantee great flexibility of use. A specific namespace has been designated for screen variants and they are automatically attached to the Change and Transport System.
    Check following lInk:
    http://wiki.sdn.sap.com/wiki/display/Snippets/TransactionVariant-AStepbyStepGuidefor+Creation
    Thanks & Regards
    JP

  • How to create an address code for PO delivery address?

    Hi Guys,
    How to create an address code for the delivery address in the purchase order? Please explain me with details.....
    Thanks
    Raja

    delivery adress records can be created with transaction MEAN.
    the number is purely internal.
    In ME21N you can then search by name (you will certainly not know the number)

  • Recovered Photos album automatically created, but no error messages.

    Previously when I opened iPhoto, I received a message (or rather 2 {I believe} duplicate messages) about importing recovered photos. I clicked OK and it created a Recovered Photos album, but its contents were empty. I deleted this album by putting it into iPhoto's Trash. When I reopened iPhoto, I received the message again, but this time it created a "Recovered Photos 2" album.
    I quit iPhoto and deleted the Import folder from my iPhoto Library. Now I don't get any messages, but the Recovered Photos (not Recovered Photos 2) album is still there. If I trash it and restart iPhoto, the it is automatically created again.
    How can I stop iPhoto from automatically creating the Recovered Photos album? I'm not receiving any error messages or messages whatsoever.

    Addendum to all about this question - I am trying to import my original CDs - hangs and does nothing at first track. Trashed the .plist, no help. Reinstalled fresh copy of iTunes - helped - FOR ONE DISK. After that, same problem.

  • Delivery Address coming as a default in the home screen for creating a SHC

    Dear Experts
    I have done some changes in the delivery address and while saving it was asking to maintain as a default address otherwise it was not able to save the changes I made.So I maintained it as a default and saved the changes.
    Now the issue is when we are in the home screen for creating a SHC this delivery address is coming as default.As we dont want this dekivery address to be default on  the screen and the requirement is that user should be able to search the delivery address.
    So we dont want that defaulted address.The other reasons were also checked and no where in the attributes we ahave maintained this default delivery adress.
    Can you please help us how can we remove this defaulted delivery addres in the SHC creation screen.
    Thanks and Regards
    Vikas

    HI Muthu
    Thanks for the reply.
    I again repeat I think you have not understood my question.These are very basic things you are mentioning about how to change the delivery address.i know all about this and in my query I have clearly asked that during the change option its asking to maintain the default delivery address and even if I dont select it my changes wont be saved.Second is even if I maintain another delivery address only then from the first delivery address the default screen will be unticked.
    Because the issue here is that what ever the delivery address is maintained its defaulting in the shop screen for the creation of the SHC.
    So my reequirement is how to set this.I have checked attributes and nowhere this delivery address has been maintained.
    Brief about Issue:
    We have done some changes in the delivery address (Transaction Edit
    internal addresses in the URL screen)and during the save it was asking
    us to maintain it as a default address without which it was not able to
    save.So after saving on the creation of the shopping cart screen this
    delivery address is coming as a default value.
    We dont want this to be defaulted and the user should have the search
    functionality for the delivery address.This problem is happening for
    the org id for which I have done the changes.When i assign my user id
    to the other org id the defaulted delivery address is not shown on the
    shopping cart creation home screen.
    We have checked in the attributes of the user and the org id and
    nowhere this delivery address has been maintained.
    I have checked the settings for the other org id for which it was not
    showing as defaulted on the shopping cart creation screen and compared
    these two and was not able to find any difference.Could you plase let
    us know the problem in this case.
    Regards
    Vikas

  • Automatically create batch during return delivery

    Dear SD Gurus,
    Good Day!
    Is there any way to make the system to create batch automatically during return delivery??
    The requirement is, to get the system to work like MM where batch can be set to be created automatically by movement type. During return delivery, we don't have to select the batch but system will automatically create a batch.
    Thanks and have a nice day.
    Best Regards,
    Soo

    Hi,
    It is possible to activate batch during delivery/return delivery. However this again needs to be configured by the MM team. If you work along with the MM team, they should be able to enable this functionality.
    Certain functions like Batch Mngt, Outputs etc are independent of the module and they work based on teh applications.
    Hope this helps you
    YOu can reward if it helps you

  • Create addition delivery address in PO

    Dear Experts,
    User request to maintain 2 delivery address during PO creation so that they have an option to select where to deliver this the said PO material.
    This is information that we need to add in PO as 2nd delivery address.
    (CNIE Sabah Branch) CNI Enterprise (M) Sdn. Bhd. Lot C6 Lorong 1A, KKIP Selatan, Kawasan MIEL, KKIP Jalan Sepanggar, 88460 Menggatal, Sabah. PIC: Mr. Thomas Kok / Mr. Paul Tel: 088-491100/01/02 Fax: 088-491105 (CNIE Sarawak Branch) CNI Enterprise (M) Sdn. Bhd. Lot 9392 Section 64, Kuching Town Land District, 3 1/2 Jalan Pending, 93450 Kuching, Sarawak. PIC: Mr. Gordon Ung / Ms. Chiam Tel: 082-340619/20/21 Fax: 082-345280 
    Appreciate if you could assist me set another delivery address in PO. Means they have option to select delivery address during PO creation. Thank you.
    rgds,
    nantha

    Dear Guru,
    Thank for your prompt answer. I'm asking this coz I need further understanding on this area Guru. Thats why I'm asking bout the delivery address under item details in PO.
    1. Address field. I get info such Number of delivery address when I click F1 for the info. What mean by this. The moment I select delivery address system pull one no. I'm not sure where the no. come from & how may I view all these no.
    2. And also I noticed that there is Address group as selection option when search for vendor (F4). May I know how the address group playing his part & how may I create this. Where do we maintain the address group.
    3. T/code : MEAN - appreciate if you could give me the path so that it will help me further.
    TQ
    rgds,
    nantha

  • I cannot order photo prints from iphoto. Error says that the delivery address is in an unsupported country. The address and my account are in the UK. Does anyone have any ideas?

    I cannot order photo prints from iphoto. Error says that the delivery address is in an unsupported country. The address and my account are in the UK. Does anyone have any ideas?

    I cannot order photo prints from iphoto.
    Are you trying to print from iPhoto on your Mac or iPad/iPhone? If you are trying to print form yor Mac, check, if the Print Products Store in the iPhoto Preferences > Advanced is set to U.K.
    Also the bimmling address, Delivery address, the country for your AppleID and Credit Card must all be in the same country. Check this document:
    http://store.apple.com/uk/help/print_products
    -- Léonie

Maybe you are looking for

  • How do I make a window expand to full screen?

    I am using Dreamweaver MX 2004 with Windows XP. My question is a page from my homepage www.artmanphoto.com > Portfolio > Business Portraits then click on the Gallery button. When my web designer built my site there was only two business portraits and

  • RMI SSL problem

    Hi, I am learning RMI whit SSL and I have a problem, I cant run the example form the RMI SSL tutorials. I can run the server, and bind the object but the client throw this exception: HelloClient exception: error during JRMP connection establishment;

  • OIM Custom reports - Un-Identified Accounts Report

    HI, I am working on *OIM custom reports . I was trying to get custom Un-Identified Accounts Report. Is there an example for the query Unidentified Account Report? I make query from oim10g is not working, especially table RCD, RCM. What is table name

  • Populating one Internal table from two internal tables.

    Hello Gurus, iam having 3 internal table with same structure , 1st internal table having some records 2nd internal table is also having some records what i need to do is to populate the records to the 3rd internal table which the common records in th

  • Adding A Navigation Bar To A Template...

    Hello! I have created a Dreamweaver Template that only needs to have a navigation bar added to it for it to be completed. However, when I click on the area I would like to add it to, click on Insert --> Image Objects --> Navigation Bar, nothing happe