SAPscript ZMEDRUCK - add Ordering Address for unsaved PO

Greetings,
I have a change requirement for a working print preview using ZMEDRUCK for transaction ME21N.
Users can choose from multiple ordering addresses for vendors - they want to see the ordering address vendor they have selected (shown on the ME21N screen header under the partners tab) on the print preview of the Purchase Order. 
IF the PO has been saved this is not a problem, I can pick the ordering address vendor number from EKPA based on the Purchase Order Number. 
BUT before the PO is saved this record doesn't exist yet.  Does anyone know what fields/process should be used to extract the ordering address vendor number to add to the print preview BEFORE the PO is saved?
Thank you!
Marcy

I'm using 4.6C
Ravi: this the requirement/problem.  The end users in the system use the print preview before they save the document.  They do not want to save unless they can verify the proper ordering address is showing.
Max: this FM seems to be used but I'm not sure how I can use it for this purpose. 
I know the data appears in screen 111 for SAPLEKPA and the value I want shows in WRF02K-GPARN, but how do I refer the ordering address vendor number populated on that screen in ZMEDRUCK? 
Thanks,
Marcy
Message was edited by: Marcy Gavel
Message was edited by: Marcy Gavel

Similar Messages

  • HT201342 Hello, I have an Apple-iCloud account and have used one e-Mail address with that account. I want to add another address for my wife. How do I do it? Thanks

    Hello, I have an Apple-iCloud account and have used one e-Mail address. I would like to add another address for my wife on same account. How do I do it?

    Hey there Raul,
    It sounds like you have an iCloud account, and want to create one for your wife using the same iCloud account. You can do this with an iCloud Alias, and this article will help you do that. Keep in mind that any and all purchases made with the alias will not be transferrable or merged with another account if she wants to have her own account down the road.
    iCloud: Create or change email aliases
    http://support.apple.com/kb/PH2622
    Thank you for using Apple Support Communities.
    All the best,
    Sterling

  • HT201320 Can't Add Email address for FaceTime or Messaging????

    Just bought replacement Ipod touch because battery died on old one, can't add email address for facetime and messaging because it says it is already in use.  Don't have any information on old ipod...any suggestions?  I was able to add the address for mail, but it won't let me add it for messaging or FaceTime.

    Did you register your old ipod with apple?  If so go here https://supportprofile.apple.com and delete it from your profile

  • How do I add the Address for 2 different PARTIES to the same complex folder

    I have a PARTY table and an INTERESTED PARTY table and both contain an ADD_ID from the ADDRESS table.
    I created a complex folder with both PARTY.ADD_ID and INT_PARTY.ADD_ID and I want to add the Address info for each each to the folder.
    I am only prompted to CHOSE A JOIN when adding the first ADDRESS items, but not for the second.
    How do I get both addresses into the same complex folder?

    Hi Lance,
    Using Discoverer Admin 9i, I had already created the Complex folder and was dragging items from the simple ADDRESS folder into it.
    Because the simple Address folder is joined to so many other folders being used by my complex folder, I was prompted to chose which join I was referring to - so I selected ADDRESS->PARTY.
    Then I tried dragging the same set of address items into the same complex folder again. I expected it to ask me to chose another join (ADDRESS->INTERESTED PARTY) - but it didn't. It assumes I'm still referring to the PARTY join, but I'm not.
    I even tried bringing the ADDRESS table in from the database twice (like you would do in an Access query).
    I joined ADDRESS->PARTY and ADDRESS1->INTERESTED PARTY, but Discoverer got hung up on that so I ditched that idea.
    I will look into your suggestion of manually entering the appropriate SQL.
    Thank you for responding.
    G Brookes

  • Add email address for all users on server

    We recently upgraded one of our servers to Yosemite Server from Mavericks, while everything migrated over basically with out any problems for what ever reason it cleared out all the email address's for users in the open directory database.
    Is there a way to quickly add back in the email address [email protected] to each open directory account on the server, while it would be possible to do each one by hand we have over 4,000 users on the server and each needs to be getting mail on multiple domains on hosted by the server.

    Oracle's update:
    UPDATE
    ======
    kindly there is no ready code script for this issue
    as per Oracle policy ,customizations are not supported
    Thank you,
    Global Customer Services
    I'll look into the Packge FND_USER_PKG thanks and see what i can spot. Any one ever done something like this before?
    Thanks,
    Lance

  • Output determination for ordering address

    Hi
    In our business, more than one ordering address might be available for the same vendor. Therefore, we need to send Purchase Orders to different Ordering Address for the same vendor.Kindly help how to maintian the output determination for this.
    -Prabu

    Hi Prabhu
    Output determination
    What is output?
    Output is communication. When we create a transaction in sales & distribution, and save the transaction we may have to communicate to the concerned business partner about the transaction.
    Example;
    Customer--Purchase Order-VA01 (Create sales Order)- save the sales order- send the order confirmation to the customer
    Here the output is “ Order confirmation”
    This output is sent to business partner-Customer-Sold to Party
    Other Examples: Quotation, Invoice, Delivery note, Packing List
    Output determination happens through Condition Technique.
    Condition records are very important here. And these records contain answers to following questions.
    a)     What is the Output Type? Order confirmation or Invoice etc
    b)     Who is the recipient? A Sold-to-party or Payer etc.
    c)     What is the media? Take print out and send, or as email? Or Fax? Or EDI (Electronic data Interchange)
    d)     When output to be processed? Immediately when the transaction saved or scheduled to happen at particular Time etc
    e)     In which language the output to be prepared
    Customization:
    IMG—SD—Basic functions—Output Control
    Output Determination
    Output Determination using Condition technique
    Maintain Output Determination for Sales Documents
    Maintain output types
    SAP provides standard Output types for sales, shipping, transportation and billing
    Sales:
    AF00                    Inquiry
    AN00                    Quotation
    BA00                    Order
    RD03                    Cash sales invoice
    Each of this condition type has Repository data called Routines
    a)     Program---Program that reads data from tables (VBAK / many tables storing data pertaining header etc)
    b)     Form routine—Program used for creating layout
    c)     Form---Layout
    The Output type has an Access sequence
    Example: BA00 has access sequence 0010
    Access sequence uses sales document type as the field under table 7
    SAP provides standard Procedures, Copy the procedure and assign it to the Sales document Type
    Select maintain output determination procedure
    Position               V10000 (Order Confirmation)
    Select V10000 and Copy as
    ZV1000 Kirlosakr Order Confirmation
    Save
    Assign output determination Procedure
    Allocate Sales Document Header
    Position ZKOR
    Sales document Type               Procedure
    ZKOR                              ZV1000
    Save
    Now maintain Condition Records
    SAP menu—Logistics—Sales & Distribution—Master data-Output--sales document
    Create VV11
    Sales Doc=ZKOR
    Partner function=SP
    Media=1 Printout
    Date=4 immediately when saving transaction
    Lang=EN
    Now select Communication Tab
    Printer= A000 virtual Printer
    Save the Record
    Create an order and check the Order Confirmation
    Create VA01
    Save
    VA02- sales document—issue output to
    Select BA00 and select Print review to see the Output
    Outputs for shipping processes customization carried out under Logistics Execution
    IMG Menu—Logistics execution—Shipping—Basic shipping Functions-Output Control-Output determination---
    Maintain output determination for outbound deliveries
    Std Delivery outputs
    LD00                    Delivery document
    PL00                    Packing List
    Follow the same procedure, like in sales, Copy the std Procedure and assign to respective documents like Delivery document etc
    Output determination for Groups---Used for picking list generation
    Output determination for handling units—for packing
    Reward if useful to u

  • Copying Ordering Address in Cart when importing from MDM: Problem

    Hi,
    There is are two enhancements in my scenario. My problem is in part 2 but to understand part 1 is required to mention.
    Part1: Configuring new partner function in SPRO for ECC ordering address vendor. As a result one separate section named "Ordering Address" got appeared in shopping cart screen.-->This one Is running fine
    Part 2:  When I will import MDM items by "Add to Shopping cart" at the time of creation of shopping cart, all fields including Ordering Address for the corresponding main vendor "Source of supply tab) will be populated automatically.
    For this I had to write the following code-logic in the SC_CHANGE method of BADI BBP_DOC_CHANGE_BADI.
    loop at it_item
    Reading the vendor which is in Source of supply screen
      CALL FUNCTION 'BBP_PD_CTR_GETDETAIL'
       EXPORTING
         i_object_id               = wa_item-ctr_hdr_number
         i_read_flags              = X
       TABLES
         e_partner                 = i_partner.
    now read i_partner with partner function (lets say 00000701) and then append this partner into ET_PARTNER table.
    I copied the partner_guid and p_guid of main vendor(lets say partner func = 00000019) to get reflect into the shopping cart "Ordering Address" tab While appending.
    I tested shopping cart getting populated with desire result and going into "ordered" state.
    But when I check the Purchase Order (which has just got generated as a result of shopping cart creation) I found  one hyperlink named  "SEVERAL" for "ODERING ADDRESS"  instead of any value.
    Also I checked the line item and saw not all line items has desired ordering address under "PARTNER" tab.
    Can any body help me out why this auto generated PO has problem with Ordering Address where as I can see the Shopping Cart got created properly with desired OA value for every line item.
    Is this due to Partner_GUI or P_GUID value which I am manipulating within BBP_DOC_CHANGE_BADI badi.
    Thanks
    Shibasis

    Hi Rosa,
    We have a similar requirement, and so it would be helpful if you elaborate the functionality of your final solutions.
    Cheers.

  • Purchase Order to Ordering Address

    Hello Experts,
    We have multiple Ordering Addresses for a main vendor which are created with seperate vendor numbers. Main vendor is created with multiple ordering address as Partner Function (OA) on it and individual Ordering Addresses vendors are created with  Partner Function  -VN as Main Vendor and OA - as Ordering Address vendor.
    Example -
    Vendor Master record of main vendor 1234-
    Partner Function
    Main Vendor (VN) - 1234
    Invoicing Party (PI) - 1234
    Ordering Address (OA) Vendor 1 - 123401
    Ordering Address (OA) Vendor 2 - 123402
    Vendor Master record of Ordering Address vendor 123401
    Partner Function
    Main Vendor (VN) - 1234
    Invoicing Party (PI) - 1234
    Ordering Address (OA) Vendor 1 - 123401
    Vendor Master record of Ordering Address vendor 123402
    Partner Function
    Main Vendor (VN) - 1234
    Invoicing Party (PI) - 1234
    Ordering Address (OA) Vendor 1 - 123402
    We have a requirement to create Purchase Orders using Ordering Address vendor, example Vendor number on the PO will be 123401 (Ordering Address vendor) and Partners on the PO will be VN - 1234, PI - 1234 and OA -123401
    Similarly Vendor number of PO vendor will be 123402 (Ordering Address vendor) and Partners on the PO will be VN - 1234, PI-1234 and OA -123402
    We want to understand the pros and cons of going with this approach of creating POs. Normally we create PO for Main Vendor and Ordering Address Vendor as Partner OA on it.
    Thanks in advance.

    is this okay for you?
    Usually one wants to see all statistics for the main vendor, and not for each order address.
    what do you actually achieve the VN vendor number, where is it used for what?

  • Change of sales order address while changing the delivery address

    Hi,
    Problem: Changing delivery address in outbound delivery is changing the originating sales order address for one user while for a different user id the sales order and delivery has their different delivery addresses.
    Scenario:
    1. A new sale order is created and its address for ship to party is modified (to say A1)
    2. Delivery for the sales order is created and the ship to party address is modified (to say A2).
    While executing this scenario with two different users we are getting different result
    For user 1, after step 2 both the sales order and delivery has shipping address as A2
    whereas for user 2, sales order has address A1 and delivery document has address A2
    How can this difference in behaviour be explained?

    Found the solution myself,
    The standard behavior is being modified in the user exits V09A0001 ( Reference/duplicate decision making manual address). Also refer to note 97832 for detailed solution.

  • Order Address per Line Item in OLA

    Hi, hoping someone can help with an OA/OLA query.
    One of our Buyers would like to use a different ordering address for one of the line items in an OLA.  Is there any way to set up an Ordering
    Address per line item in the OLA?  Or does she need to create a new OLA?

    I'd suggest writing your own might be easier. Oracle buckets the exposure as per the list below whereas you are probably only interested in seeing a total order exposure (by line item for bottles/shells) and total AR exposure summary.
    Also the standard report will look at the unit sell * the ordered quantity in calculating transaction amounts on open orders which is your problem. If I've understood your requirement correctly, you only want to consider the shells and bottles in the credit check because you enforce prepayment for liquids so presumably your AR o/s balances are only for money owing on shells and bottles.
    In that case, your only real issue is at the order entry stage (again because Oracle will be considering the total transaction value if you're using the standard automated credit check) which is why I suggested the manual workaround there.
    1     Header uninvoiced orders
    2     Header uninvoiced orders tax
    3     Line uninvoiced orders
    4     Line uninvoiced orders tax
    5     Line uninvoiced freight
    6     Header uninvoiced freight
    7     Header and line freight
    8     Invoices
    9     Payments at risk
    10     Order holds
    11     Line holds
    13     Order tax holds
    14     Line tax holds
    15     Order freight holds
    16     Line freight holds     
    17     Header and line freight holds
    18     External exposure
    21     G_BR_INVOICES
    22     G_BR_PAYMENTS_AT_RISK
    23     G_HEAD_RETURN_UNINV_ORDERS
    24     G_LINE_RETURN_UNINV_ORDERS
    25     G_ORDER_RETURN_HOLDS
    30     G_ORDER_RETURN_HOLDS
    31     G_LINE_RETURN_HOLDS

  • Overwrite Maintenance order address in IW32

    Hi expert,
    I've got requirement to replace some value in Maintenance order address (for example: Name and Postal Code) that was changed by user and need change it back to previous value.
    I tried to use EXIT_SAPLCOIH_009 but didn't get the details in that user exit.
    I've also tried BADI ADDRESS_UPDATE and using method ADDRESS1_SAVED.
    I could find new value in IM_T_XADRC but It's protected, then I try to directly change name value in :
    (SAPLSZA0)XADRC[]
    (SAPLSZA0)ADRC
    (SAPLSZA0)ZADRC[]
    but after save the value was not changed to my replacement value.
    Really appreciate any inputs

    the issue solved by myself, using BADI ADDRESS_CHECK
    thanks

  • I'm trying to add the email address for my verizon phone to iMessaging.  In order to verify, you have to reply to an imbedded link in the message.  Unfortunately the link is truncated.  Any idea how to get around this?

    I'm trying to add the email address for my verizon phone to iMessaging.  In order to verify, you have to reply to an imbedded link in the message.  Unfortunately the link is truncated.  Any idea how to get around this?

    You need to ask Apple to reset your security questions. To do this, click here and pick a method; if that page doesn't list one for your country or you're unable to call, fill out and submit this form.
    (122986)

  • Mail's Add to Address Book inverts name order in Address Book

    Using Mail's 'Add to Address Book' function results in inverted first/last name order in Address Book: Under every combination of setting for 'show first name before/following last name' and 'sort by first/last name' in the AB prefs, using Mail's Add to Address Book on 'Bob Jones' results in 'Jones' in the first name field and 'Bob' in the last name field.
    Are others also seeing this? Any workarounds?

    Thanks for testing, Ernie. I double-checked my system using your settings and still saw the names in the wrong fields. Something must be off with my setup but I have no idea what it might be! If anyone can replicate this problem, maybe we can figure it out.

  • How do I add an email address for a family member to my .mac account?

    Can I add an email address for my mother to my .mac account?  I'd like to set up, manage and pay for an email address for her use.  I thought this was possible but can't seem to navigate myself to the place where I can get an additional address.

    So, after further reading I assume that I must ad an apple id for my mother.  Is this correct?  Can I, as the responsible party, control purchases and apps that are added to the device I have provided her?  I'm not so worried about what she might do as I am what a grandchild might do without her knowledge.

  • How do I add an address to my ipod touch for imessage?

    How do I add an address to my ipod touch so I can imessage them?

    Add that person to your Contacts app. Make sure the email address or phone number you add is the one(s) that have registered for Messages

Maybe you are looking for