How to Link an Alternative Payee to a Supplier via API - R12

Hi,
I want to know how to link an alternative Payee to a Supplier via API.
Below is the business scenario which we require,
Supplier Creation:_
Vendor Name: Supplier A
Site1 : SITE 1
Site2 : SITE 2
Supplier Relationship Creation:_
Relationship is set to for 'Supplier A', SITE2 with
Remit To Supplier Name : Supplier A
Remit To Supplier Site : SITE 1
and marked as Primary.
Invoice Creation:_
Invoice Num: Tst_Inv_1
Tst_Inv_2
Tst_Inv_3
Tst_Inv_4
Scenario:_
Before creating the relationship between SITE1 & SITE2,
The payment for Invoice 'Tst_Inv_1' created under SITE 1 is made to SITE 1 as expected.
The payment for Invoice 'Tst_Inv_2' created under SITE 2 is made to SITE 2 as expected.
After creating the relationship between SITE1 & SITE2,
The payment for Invoice 'Tst_Inv_3' created under SITE 1 is made to SITE 1 as expected.
The payment for Invoice 'Tst_Inv_4' created under SITE 2 is made to SITE 1 as expected as the Remit-To Supplier name and Remit-To Supplier Site is set 'Supplier A' and SITE 1.
Is there anyway to achieve this scenario via API.
I found one API (IBY_EXT_PAYEE_RELSHIPS_PKG) which will just tell whether any relationship is existing between those two suppliers, But not to create new relationships.
Regards,
Mano Pratheep

Hi,
Creat the following internal table
DATA: i_reclist LIKE somlreci1 OCCURS 0 WITH HEADER LINE.
Pass the values to this internal table as follows
i_reclist-receiver = '<give ur mail id>'.  "SAPoffice: Name of the recipient of a document (also ext.)
i_reclist-rec_type = 'U'.                              "Specification of recipient type
*U = INTERNET ADDRESS,
*B = SAP USER,
*P = PRIVATE DISTRIBUTION LIST,
*O = SAPOFFICE USER,
*R = SAP user in another SAP System
*X = X400 ADDRESS
*C = SHARED DISTRIBUTION LIST
APPEND i_reclist.
Pass the internal table to the Tables parameter of 'receivers'
receivers = i_reclist
Regards,
Chandu

Similar Messages

  • How to identify the alternative payee in payment run

    Hi All
    How to identify the alternative payee details in payment run by using transaction code F110 or which table or fields contain the alternative payee details for example REGHU & REGUP.
    How to identify the alternative payee details from system level. Any Update.
    Regards
    K.Gunasekar.

    Hi,
    EMPFG (Payment Recipient ) field in REGUH will give you the alternate Payee name of the Payment run executed in F110.
    Regards,
    SAPFICO

  • How to control the alternative payee from invoice postings

    hi,
    i have a requirement, we are useing the alternative payee for vandor payment, my client want to post only payments through alternative payee. some times by mistake users posted  invoices to alternative payee account. so here after i want to control the alternative payee from invoice postings. how to do the configuration.
    rgds
    gopal

    If I understand your question correctly, you are trying to prevent accidental invoice posting to altenative payee vendor instead of real vendor.
    If this is right, then block the alternate payee vendor in company code. Maintain Altenate payee in general data > Payment transactions data.
    Hope this helps.
    Regards
    Subodh

  • How can I grant Application access to a user via API ) programattically

    how do I grant access to a portal user from API
    I want to grant access to a user from an API, ie I need a
    command to grant "SCOTT" access to "EXAMPLE_APP" APPLICATION as
    an end user?

    Hi,
    I am assuming that you have already updated the EUL in the Administrator Edition, correct? If not, open Discoverer Administrator and login to the database you want to connect to. You must use your EUL user name which I assume has already been created and assigned the correct privileges in the database. You will be asked to update your EUL. Follow the prompts.
    Once logged into the EUL, go to Tools \ Privileges and find the user that you want to give administrator access to.
    Hopefully, this answers your question.
    Regards,
    Nancy

  • Delete alternative payees (EMPFK-LFZA)  at payment transactions

    Hi Gurus,
    can you please tell me how to maintain the alternative payee for vendors? The table is LFZA and field name is EMPFK.
    Thanks in advance.
    Narender.

    HI All,
    For the alternate Payee, there are SPRO settings. These are done at the account group. At the account group, one mentions which all fields to be made as supress/display/change. Hence, if the settings are made as to display, one cannot change the alternate payee. The only solution is to change the account group, if system allows to change similar acclount group.
    If you have some other solution, please provide the input.
    Thanks and Regards,
    Narender.

  • Post invoice F-43 use alternative payee, found error require field Tax Jur.

    Hello everyone
    i have some problem
    when i want to post invoice F-43,
    and document need alternative payee.
    in page input alternative payee data , system require field Tax Jurisdiction.  that i donot need it.
    you can see picture at link below.
    http://picturepush.com/public/3913234
    http://picturepush.com/public/3913243
    how can i remove required field Tax jurisdiction for alternative payee data ?
    I try to go to IMG  -> preparation for creating vendor master data-> Define account groups with screen layout (Vendors)
    and choose group 0003 (ALternative payee) but i donot found field Tax Jurisdiction for configure it.
    what shoud i do?
    please help.

    Hi,
    After entering the path : IMG-Financial Accounting-Accounts Receivable and Accounts Payable-Vendor Accounts-Master data-Preparations for creating vendor master data-Define Account Groups with screen layout(Vendors)
    select the 0003 for Alternative payee
    Duble click on it
    D'click on General data and D'click on Control
    You will find the Tax jurisdiction code there you can make changes
    thanks and regards
    ramanuja

  • F110- Alternative payee in payment proposal.

    Hello Experts,
    I have an issue with alternative payee, when I have executed a payment proposal for a vendor it has picked alternative payee in payment proposal.
    I can see assignment of alternative payee in table  LFA1 for that vendor, however I am unable to see any assignemnt of alternative payee in Vendor master records as well as at document entry level.
    Please let me know is any other way which it pick up the alternative payee in payment proposal other then through Vendor master record.
    Regards,
    MM

    Hi Kameshwar Rao,
    Thank you very much for your reply,
    As I mentioned in my question. I have checked in Vendor master General as well as Company code data, however I am unable to see any alternative payee assignment in vendor master record, but when I saw in LFA1 table for that vendor, I can see assignment of alternative payee for that specific vendor.
    Please let me know how it is display in LFA1 table even though it does not contains any entry in Vendor master record.
    Regards,
    Mahesh

  • Alternative Payee

    Hello,
    1) "Alternative Payee in Document Allowed" field is active for selection at the time of new Vendor creation. Hence this poses a risk of payment being recorded. The requirement is that we need only one alternative payee should be added and the field for selection of the same will be only one alternative payee in display mode at the time of creation of any vendor.
    2) Down Payment request (F-47) can be processed even though the PO is already closed. How to restrict that? The system should be configured so that Down Payment Request against closed POs can't be processed.
    Thanks,
    JK

    Hi,
    If vendor has a constant alternate payee, you can use Part Bank functionality other than using Alternate Payee.
    Goto Vendor Master(FK02) -> Bank Details -> Add bank details for vendor with part bank ID, say 1000 for actual vendor and 1010 for other account in which account holder is the alternate payee.
    Now while creating invoice, enter 1000 or 1010 in part bank field, therefore payment will be made through the selected accounts only.
    Do check this method yourself thoroughly if it fits your requirement !
    BR

  • Payment setoff between Vendor and Alternative payee vendor

    Hi
    It is assumed that if a vendor account points to another vendor account for payment i.e Alternate Payee vendor, the two account balances will be combined into one payment.  This is currently not happening. 
    A separate payment is issued under each vendor account.(i.e Original vendor and the Alternative payee vemdor).
    For an example a vendor that is linked to another for payment but there is a credit sitting on the Payee account that is not getting offset against the other invoices paid to the vendor.
    Note: Both Original vendor and Alternative payee vendor are created as vendors and payments are due to both the vendors.
    Regards

    Hi,
    Your assumption does work in our system (604). 
    This was the test I ran.
    Created main vendor.
    Created invoices and credit memo.
    Went back and updated vendor record to add an Alternative Payee.
    Then created additional invoices but still used the main vendor number.
    Ran F110 and all invoices and credit memo entered above paid to the Alternative Payee - non to Main Vendor but clearing docs are still under the Main Vendor under FBl1n.
    I think that is what you were wanting to work in yours?  Correct?
    Some questions for you:
    1. Did you check to see if there are any OSS notes?  like 1449061 or 1432181 that may apply?
    2. Did you confirm that both the main vendor and the alternative payee have the same payment methods??
    3. Have you analyzed the invoices/credit memos that the system is still paying on the main vendor to see what may be different about those?  For example are you using payment method supplement?

  • Account Number of the Alternative Payee and Pay all items separately

    Hi:
    I have create one vendor (FK01)  with fill the Account Number of the Alternative Payee (LFA1-LNRZA) and Indicator: Pay all items separately  (LFB1-XPORE).
    But when I go to F110 to make the payment it group payments in just a unique payment.
    How can I pay all item separately when it goes to an alternative payee account?
    Thanks!

    Hi:
    The problem comes in some vendors, we have some vendors with have as an alternative payee the same vendor but with different adress.
    Those alternative vendors just have in master data the information reference to adress but they dont have filled information about payee.
    So, when we make an automatic payee with F110 tcode it groups all the items wrongly in the same invoice wich is no correct because sometimes they develop to different invoices.

  • J1i2 report error ? if the vendor is attached with alternative payee

    Dear MM experts,
    I  am having an  issue with regard to J1i2 report. I have raised PO with JVCS tax condition on vendor (this vendor master has been attached with alterntive payee) .
    J1I2 report is not able get the data  of POs/MIROs detaile for such vendors (alternative payee attached). J1I2 is considering and pulling report for only Vendors (who are not having alternative payee code in vendor master data)
    Can i get help from experts, how I can get details of Vendors (attached with alternative payee vendor code).
    Thanks in advance,
    Thanks & regards
    Srihari
    Edited by: Ediga Srihari on Dec 24, 2009 11:37 AM

    problem/issued solved by sap service market place by suggesting us to go for Zreport.
    thanx
    Srihari

  • How to link operative chart of a/c, group chart of a/c to country specific

    how we link operative chart of accounts,group chart of accounts to country specific chart of accounts.
    how to maintain account groups and accounts to get consolidated report.

    Group chart of account is used for reporting purpose only.
    business senario
    your organization is spread into different countries where by they are legally bound to submitt account at a very detailed level but in other country it may be at a different pattern. what you can do is assign different operational chart of account to each company code (legal requirement) and assign all of those operational chart of accounts to a group chart of account i.e how your organization wants to see the accounts. by doing this you can have the report the way you want them to be regardless what operational chart of account the company code is using
    example
    your group company want to see salary at   A01101 Employee related expenses
    in Asian specific breakup is to be made at 11000 salary
                                                                  12000 allowances
    in other countries detail is to be given at 11001 Salary officeres
                                                               11002 Salary Staff
    in this case you can create 2 different operational chart of accounts for asia and other countries and than assign the same operational chart of account to your main chart of account
    remember the group chart of account has to be created as normal chart of accounts
    than assign each GL code to group account no
    as far as the alternative no is concerned they can only be used for reporting purpose and alternate no helps the user to find the new GL code

  • How to link BOM Alt with BOM qty

    Hi,
    How to link BOM Alt with BOM qty in a report??
    e.g.
    BOMA, Alt 1
    MatX Qty = 10
    BOMA, Alt 2
    MatX Qty = 15
    How to reach a perticular case, as STPO do not have a field for BOM Alt (i.e. for STLAL)
    Rgds,
    MS.

    Hi,
    STPO does not have BOM alt field.
    So when we see the out put of STPO, all the BOMs with all alternatives are displayed under single BOM number.
    How to identify a perticular BOM alternative to reach a perticular component. (Same component is used in all BOMs)
    Rgds,

  • How to create  an alternative bom for the same product

    Hi expert,
       I want to know how to create an alternative bom for the same product. Can i use the different bom usage to create or use the same bom usage? In addition, how can i use the production version to link the alternative bom for the same product?
    Please help me solve the problem.
    Thanks in advance for any assistance.
    George shi

    HI
    you can go with t-code CS01
    if you have the BOM already and you want to create the alternative BOM then just goto create BOM
    and enter the material and plant and uasge system will auto matically prapose the next numner ie, if you have Alt BOM1
    then next system will prappose 2.
    then you can enter the components as per you requirement
    if you go to different BOM usage then sytem will not go for alternative BOM it gives again alt bom 1.
    prodcution version you need to craet from mateial master
    each version you can go woith alternative BOMS
    Version 1 will have alt BOM1
    Version 2 can haev ALT BOM2
    -ashok

  • Did you know how to link the text in two or more text boxes?

    Did anyone know how to link the text in two or more text boxes in Pages 5.0? Thanks for your answer.
    Qualcuno sa come collegare il testo in due o più caselle di testo nella versione 5.0 di Pages. Grazie per le vostre risposte.

    It's just one of the many, many features that have been eliminated or changed. Leave feedback for the Pages team using the link in the Pages menu and review & rate the new versions in the Mac App Store.
    If you previously had iWork '09, those apps are still in your Applications folder in a folder named iWork '09. You can continue to use them to get things done.

Maybe you are looking for

  • Row Level Security not working for SAP R/3

    Hi Guys We have an environment where the details are as mentioned below: 1. Crystal Reports are created using Open SQL driver to extract data from SAP R/3 using the SAP Integration Kit. 2. The SAP roles are imported in Business Objects CMC. 3. Crysta

  • Is there a 'Transferring music' guide for idiots?  Please help

    Please Help!!!  Two problems... 1) Bought a new PC, wanted to transfer music from old PC to new PC.  Wasn't sure how to do it, so I copied library onto a memory stick (just by copying and pasting) and downloaded to new PC.  Had to do it in sections b

  • Second monitor works on Vista, not OS X

    I'm not quite sure what's happening here, but I have a standard Acer LCD hooked up via the DVI-VGA adapter. When I plug it in, OS X doesn't see it - and nothing is displayed on the screen. However if I boot into Vista, the monitor is detected fine, a

  • Loading Files into CS3 Raw Presets

    I went from window's xp to vista. When I would open a RAW file I would be able to click the presets tab to the right of the picture where I had loaded Camera Raw Effects. Now that I have switched to vista, I am not able to find how to do that again.

  • Transfer time machine data (snow leopard) to new mb air (lion)

    MB Pro died. How do I transfer external Time Machine backup (Snow Leopard) to new MB Air (Lion)?