Loading Multiple Partner Fuctions for a vendor using LSMW

Hi Everyone,
I need to upload multiple partner functions for vendors. I am using LSMW recording for transcation XK02.
The LSMW runs fine but instead of adding a new line for each partner function for a specific vendor it keeps overwritting the previous one. As a end result I get only the last partner function in vendor.
Any help in resolving this is highly appreciated.
Thanks
Zor

you can use below LSMW batch input method and pass the tcode XD02.. for partner functions....
TCODE                        Transaction Code
                    Rule :   Constant
                    Code:    BKN00-TCODE = 'XD02'.
Object               0050   Customer master
Method               0002   Extended PSM
Program Name         RFBIDEK0
Program Type         B   Batch Input

Similar Messages

  • Updating multiple bank details for each vendor, through LSMW

    Hi,
    We need to do a massive update on our vendors bank details, and I'm trying to do it via LSMW. I have two problems.
    Each vendor may have several bank accounts. In XK02 they appear in a list, and in LSMW the bank detail fields are inside arrays (for example the bank key on first line would be LFBK-BANKL(0)), but I don't know on what lines are stored the banks I want to update. Is it possible to determine the index n° of the array (line number) just by reading the table LFBK ? I can't go into XK03 for every vendor to check at which line the bank details are stored.
    Second, I don't know how to update a different line each time with a single batch input recording. When I record a LSMW batch input, I have to chose a specific field to update, which includes the line n°. How can I specify the line n° as a variable part of the data? Or alternatively, I could record the batch input to update enough lines for each vendor (say 5) and only provide data for the the lines to be updated, but I assume the lines without data would get deleted when the batch is run?
    Please help.

    Dear John;
    You may create your LSMW with a vendor which has n banks (say 5). You will write 5 rows of bank info. LSMW will create new field names for these areas. 01-02...
    LFBK-BANKS(01)                 TR
    LFBK-BANKS(02)                 tr
    LFBK-BANKL(01)                 0067-00002
    LFBK-BANKL(02)                 0067-00003
    LFBK-BANKN(01)                 1234
    LFBK-BANKN(02)                 1235
    you will prepare your excel for this purposes after then.
    I hope it will help.
    BR.
    Aydın

  • Multiple contact persons for single vendor--LSMW

    Hi experts,
        i want to upload multiple contact persons for single vendor. using lsmw direct input method or recording method is it possible..if possible can u let me know the procedure.
    Thx in advance,
    Neelu

    Hi
    in our company v wil upload contact person details in Sales Data......
    so its not possible to upload more than one contact person for vendor....
    can u tell me wr u people wil enter the contact person details?
    Regards
    Smitha

  • What are the tables for Partner Fuction regarding the Vendors Purchasing ?

    Hello Gurus,
    What are the tables for Partner Fuction regarding the Vendors Purchasing Organisation. I need the Partner Function Key, Parner Function Name, Number and the Name of the Number.
    Thanx in advance,
    Ramona

    Hi Jürgen,
    I know that table but it is only showing me the technical name of the Partner Function and I need also the rest: the text(name), number and the number name (text). I presume there are other tables for those infos.
    I am not sure if I understand what are these. I just want the table to upload the data to BW.

  • Multiple Partner Functions for a Sales document Item

    Hi,
    Can you please advise on modeling scenario for showing multiple partner functions for a given sales document in BI Report ..
    Because Key figure values should not be distributed for multiple records just becos of multiple partner functions but users want to see them in the reports along with sales doc and key figure
    I am explaining bit more clearly...
    I can achieve above requirement by having below model ..
    SDOC     ITEM  PF1  PF2  PF3  AMOUNT
    1000       10      AB    CD   EF    50000
    PF : Partner Function
    but as I feel it is a complicated task  to add more and more columns fro partner functions as and when new partner functions have been added or requested to show by users at sales doc level...
    So Can you please advise a better solution to meet the same requirement.
    Thanks & Regards,
    BRK
    Please advise me on this scenario
    Thanks & Regards,
    BRK
    Edited by: BRK on Jul 22, 2008 9:19 AM
    Edited by: BRK on Jul 22, 2008 9:29 AM

    SalesDoc______Item_______PartnerFunction________Amount
    80000_________10_____________A1_______________$1000
    80000_________10_____________A2_______________$1000
    80000_________10_____________A3_______________$1000
    This will be the normal display in the cube if there is only one Partner Function.
    But what we need is
    SalesDoc______Item_______PartnerFunction________Amount
    80000_________10_____________A1_______________$1000
    80000_________10_____________A2_________________' '
    80000_________10_____________A3_________________' '
    The Amount (KF) should be populated only for the first record for a SalesDoc / Item combo.
    You load data from source to the ODS, say delta.
    Suppose that the below record is already available in the ODS.
    SalesDoc______Item_______PartnerFunction________Amount
    80000_________10_____________A1_______________$1000
    And you get the following data as DELTA in the Data_Package from the source.
    SalesDoc______Item_______PartnerFunction________Amount
    80000_________10_____________A2_______________$1000
    80000_________10_____________A3_______________$1000
    If you populate the Amount again for these 2 records, then the total would sum to $3000, which is wrong.
    So what we do is,
    Write a Select stmt for ALL ENTRIES in Data_Package and fetch the records from the target ODS. Have it in an Internal table, say t_ODS1
    Take the SalesDoc / Item from the Data_Package and chk if it is present in the internal table t_ODS1.
    If it is present, then populate the Amount as ' ' (Blank)
    Else populate the Amount as $1000.
    Say, you are getting 3 new records, which is not present in the ODS1.
    In that case, your internal table t_ODS1 will be blank.
    Now again, we need to populate the Amount only for the first record among the 3 records.
    So, here comes the "Flag".
    Set the Flag as X, when we populate the Amount.
    Everytime chk the Flag <> X.
    Only if it is <> X, populate the Amount.
    Else Leave it Balnk.
    Hope I have explained in detail
    Regards,
    Balaji V

  • How to run multiple CodedUI Ordered Tests over multiple Test Agents for parallel execution using Test Controller

    we are using VS 2013, I need to run multiple Coded UI Ordered Tests in parallel on different agents.
    My requirement :
    Example:   I have 40 Coded UI Test scripts in single solution/project. i want to run in different OS environments(example 5 OS ).  I have created 5 Ordered tests with the same 40 test cases. 
    I have one Controller machine and 5 test agent machines. Now I want my tests to be distributed in a way that every agent gets 1 Ordered test to execute. 
    Machine_C = Controller (Controls Machine_1,2,3,4,5)
    Machine_1 = Test Agent 1 (Should execute Ordered Test 1 (ex: OS - WIN 7) )
    Machine_2 = Test Agent 2 (Should execute Ordered Test 2 (ex:
    OS - WIN 8) )
    Machine_3 = Test Agent 3 (Should execute Ordered Test 3
    (ex: OS - WIN 2008 server)  )
    Machine_4 = Test Agent 4 (Should execute Ordered Test 4 (ex:
    OS - WIN 2012 server) )
    Machine_5 = Test Agent 5 (Should execute Ordered Test 5 (ex:
    OS - WIN 2003 server) )
    I have changed the  “MinimumTestsPerAgent” app setting value
    as '1' in controller’s configuration file (QTController.exe.config).
    When I run the Ordered tests from the test explorer all Test agent running with each Ordered test and showing the status as running. but with in the 5 Test Agents only 2 Agents executing the test cases remaining all 3 agents not executing the test cases but
    status showing as 'running' still for long time (exp: More then 3 hr) after that all so  its not responding. 
    I need to know how I can configure my controller or how I can tell it to execute these tests in parallel on different test agents. This will help me reducing the script execution time. 
     I am not sure what steps I am missing. 
    It will be of great help if someone can guide me how this can be achieved.
    -- > One more thing Can I Run one Coded UI Ordered Test on One Specific Test Agent?
    ex: Need to run ordered Test 1 in Win 7 OS (Test Agent 1) only.
    Thanks in Advance.

    Hi Divakar,
    Thank you for posting in MSDN forum.
    As far as I know, we cannot specify coded UI ordered test run on specific test agent. And it is mainly that test controller determine which coded UI ordered test assign to which test agent.
    Generally, I know that if we want to run multiple CodedUI Ordered Tests over multiple Test Agents for parallel execution using Test Controller.
    We will need to change the MinimumTestsPerAgent property to 1 in the test controller configuration file (QTControllerConfig.exe.config) as you said.
    And then we will need to change the bucketSize number of tests/number of machines in the test settings.
    For more information about how to set this bucketSize value, please refer the following blog.
    http://blogs.msdn.com/b/aseemb/archive/2010/08/11/how-to-run-automated-tests-on-different-machines-in-parallel.aspx
    You can refer this Jack's suggestion to run your coded UI ordered test in lab Environment or load test.
    https://social.msdn.microsoft.com/Forums/vstudio/en-US/661e73da-5a08-4c9b-8e5a-fc08c5962783/run-different-codedui-tests-simultaneously-on-different-test-agents-from-a-single-test-controller?forum=vstest
    Best Regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Multiple reconcillation accounts for same vendor

    All SAP Gurus,
    Is it possible to have Multiple reconcillation accounts for same vendor code (where purchasing org and company code is same)?
    Regards,

    hi,
    You can't have more than one because the reconcilation account...Because this is the soul account by which you pay to vendor and send the details to further process to FI dept...
    Regards
    Priyanka.P

  • Which method is easiest for uploading data using LSMW?

    which method is easiest for uploading data using LSMW (Direct method or batch input method) bcs I am facing lot of problem using batch input method while recording.Even  I cannot use direct method using standard program.can anyone tell me some other easiest way for uploading MM01.?

    I personally used the direct input way 6 years ago and it was a little bit of a struggle cause I was very new to SAP at the time.  But it worked out to be ok in the end.  You just have to keep messing with it till the errors are clear and then you can upload for real.  The test mode is a nice touch, you can get rid of all of the errors before actually uploading the data.
    Regards,
    Rich Heilman

  • Multiple address for single vendor using business partner

    Hello folks,
              I have a issue,it's all about picking the right address in the payment posting.The Vendors have more than 7 addresses depending on the situation.Vendor Master(XK01) can be given 2 address and we are using Business Partner(BP) for storing other addresses.We are able to link the Vendor Master to BP from T-Code FLBPC1.Now when there is payment Posting it has to pick the address from BP if required.It is possible using MM module But we dont have MM for this.Plz suggest me.Thanks in advance.
    Cheers,
    Kumar

    Hi Sushil,
    The customers and vendors can only have a single address, but the Business partner can have multiple address.
    You can set up a synchronization from business partner -> customer/ vendor such that all the common data is synchronised between these objects. The standard address of the BP is copied into the address of the customer or vendor.
    You can set up this sync using
    Transaction SPRO -> SAP Reference IMG-> Cross-Application Components ->Master Data Synchronization-> Customer/Vendor Integration
    Do go through the doucmentaion provided in the path too, it explains the functionality well.
    Customers/vendors donot have the capacity to maintain multiple addresses.
    Hope this helps you.
    Regards,
    Rishu.

  • How to upload multiple company codes data for single vendor by LSMW Idoc

    Hi ,
    My requ is like this.
    uploading data by LSMW Idoc method
    In source file we have two company codes data for single vendor.
    It should create vendor for two company codes.
    But its not creating its showing error.
    How to handle this?
    Thanks in Advance.

    have you ever see this docu:
    http://help.sap.com/erp2005_ehp_04/helpdata/EN/1a/178ac72d3011d3bc3500105a6588b2/content.htm
    You can use the recording function to create a new object (or a new "import method") if neither a standard batch input program nor a standard direct input program nor the BAPI/IDoc method is available for a data object.
    Recordings are static, thats why you cannot do such flexible things like  multiple company codes at the same time.
    But with IDOC method it is certainly possible, I have done it several times already.
    Unfortunatly the creator of this thread did not say what error he got with the IDOC method. Maybe he will add this. Otherwise I dont think that anybody can help

  • F110 Payment Proposal multiple payment lines for same vendor

    Hello,
    Question for the FI community regarding single payments for multiple invoices for the same vendor. Is there any other place that would dictate the grouping (or non grouping) of multiple payment proposal lines for same vendor payment?
    I understand that there are two places:
    FBZP - Change view 'Maintenance of Company Code Data for a Payment Method", the flag for 'Single payment for marked item'
    Vendor Master - Automatic payment transactions, flag for 'Individual pmnt'
    Is there anywhere else where this may be dictated? At my location, we have two company codes that make ACH payments, settings for FBZP (Single payment for marked item flag) and selected vendor for payment in the vendor master is identical. I get different results when viewing the payment proposal for each company code. Company Code A parses out individual line items for payment in the proposal, and Company Code B does not. When I change the flag via FBZP for Company Code A, this resolves the issue. When I make the same change for Company Code B, there is no change.
    In all of my testing, I have left the 'Individual pmnt' flag for both vendor masters unchecked.
    I'm hoping that somebody in the community here would be able to point me in the right direction to understand why I am getting differences. Is there somewhere else that I can check?
    Thanks everyone.

    Ravi,
    Thanks for your reply, however in my post I already mentioned I have tested out both options via FBZP as well as the vendor master. You are correct, in only one case regarding my situation.
    In my example for Company Code B, I have the following scenarios:
    1. FBZP - single payment for marked item checked, Vendor individual payment option not checked, result is a single payment item for multiple invoices
    2. FBZP - single payment for marked item checked, Vendor individual payment option is checked, result is multiple payment items for each invoice
    3. FBZP - single payment for marked item not checked, Vendor individual payment option not checked, result is a single payment item for multiple invoices
    4. FBZP - single payment for marked item not checked, Vendor individual payment option is checked, result is a multiple payment items for each invoice
    Are you saying that the option in FBZP simply enables the grouping/non grouping based on what the vendor master record payment option is? Typically, that option for vendors is not checked in either of our company codes, therefore if the only difference is the setting in FBZP, then why would I be getting only a single payment for multiple invoices in the case of scenario 1 listed above?
    That's why I am wondering if perhaps there is something elsewhere than FBZP and vendor master settings that could be affecting this.
    Comments please?

  • Multiple order currency for same vendor

    I have a vendor who supplies me on local currency and also import in foreign currency.
    Since the bank details are same for this vendor, our accounts is not allowing us to create two different vendor codes.
    Is it possible to maintain info.record, contract and purchase order in two different currencies for the same vendor?

    Hi,
    In SAP, you can maintain certain vendor master data at vendor sub-range level in addition to the data maintained at purchase organisation level.
    In Customizing for Logistics General, you can specify whether you wish to maintain VSRs and different data in the vendor master record. Choose Business Partners -> Vendor -> Control Data -> Define Account Groups and Field Selection (Vendors) and select Vendor Sub-Range Relevant/Define Screen Layout Specific to Purchasing Organization.
    If you wish to maintain different data for vendor sub-ranges in the vendor master, you must use an account group that allows Data Retention at VSR level.
    Then goto purchasing data screen of vendor master and choose Extras -> Addl. purchasing data, and select Allow data retention at VSR level.  Now you will see a new button "Vendor Sub-range" by clicking which you can enter a different set of vendor master data including Currency.
    To pick this vendor subrange master data in purchase order, you need to enter the vendor sub-range number in purchase order line item material data tab.  You can also maintain vendor sub-range number in the info.record and contract.

  • Creating multiple partner function for a sale order @ header level

    Hi All,
    I have a requirement where in i have to create more than one partner funtion for a sale order @ header level. But the system did not allow this sort of scenario and i got the error,
    Partner function ZZ can only occur  1 times in procedure TA (Sales Document Header)
    the function module that was giving this error was SD_PCHECK_PARVW_COUNT_OK
    here the function module checks if a partner function already exists if so it throws that error. This also updates the VBPA table where partner function is one of the key fields.
    Our issue is that we have to allow the system to enable posting 2 or more partner function for the same sale order. It was also verified that the unique key was unchecked during configuration.
    is there any other way of over coming this issue as we are updating the standard table. Is it possible??
    Thanks a lot in advance for your reply....

    I believe this is a configuration setting, based upon the details of your post.  Typically, a sales order can have multiple partner functions, but usually the partner type is not duplicated at a single level (header or one item).  For example, it would not be logical to have multiple ship-to partners at the header level...these would be unique at the item level, if required.
    Speak to your SD functional specialist about the configuration controls for partners, if you must have more than one partner with parvw = ZZ, for the entire order (header level).
    Edited by: DaveL on Aug 23, 2011 3:00 PM

  • Remittance advice to multiple email id for one vendor

    Hi All,
    in vendor master data, we maintain email id for sending remittance advice to vendor. We have requirement to send remittance advice on more than one email id for a single vendor.
    Could you please advice how we can do this.
    Regards
    Deepak

    Hi ,
    We have done this . We created Z table where we can keep upte 3 mails ID for one Vendor and Payment ment progran look for that table when Generates Payment Advice .
    Many Thanks

  • Upload partner functions to customer master using LSMW

    Dear Friends,
    I'm trying to uplaod customer partner functions data through LSMW. I have tried to upload the data using recording method in LSMW(Tr. code: XD02).
    As per the business requirement, I need to upload multiple number(For example: 10 records) of SP(Sold to) partners to a single customer.
    While executing session, instead of adding all 10 records of partner functions, only the last record(i.e 10th records) is adding in the customer master.
    Your response will be highly appraciated.
    Regards
    Satish

    Hi Satish,
    You can't use XD02 to upload multiple partner functions by recording the transaction. It will not create multiple entries, always it will replace the existing ones with the new entry. you need to use the standard BI program or Idoc method do the same.
    I know the scenarios for the vendors it didnot work in that way for me at that time I used Standard BI method to create the multiple partner associations.

Maybe you are looking for