Regarding Partner types LI and KU in WE20 transaction

Hi,
I want to send a purchase order to a particular vendor through EDI. When ever I create a PO if the customer is CUST1(for example) and vendor is VEND1(for example) then only EDI should trigger. Pls give me the possible configuration steps. <b>Is it possible by using LI and KU partner types in WE20.</b>
Points will be awarded for all helpful points.
Thanks&Regards
Giridhar Karnam

Hi Giridhar,
Please check the tab Permitted agent that might be used for specifying the vendor name.
I think these validatikons can be carried out while executing the Function Module.
Regards,
Ravi G

Similar Messages

  • Regarding Partner Type LI (Vendor) configuration

    Hi All,
    My scenario is File > XI> IDOC (INVOIC02 Idoc) Partner Type LI
    I had configured WE20 in receiving System for Partner Type LI and given the Process code details.
    Now in XI what are the steps that i need to configure( For Partner Type LI Vendor Only)?
    DO we need to create Parties for both Sender System and Recieving System?
    Please suggest with the various steps to be done for Hanling Partner Type LI in XI .
    And i think in receiveing SAP system only WE20 is enough for Partner Type LI ... correct me if i am wrong.
    Thanks and Regards,
    Sridhar Reddy

    Sridhar,
    I don't think because of change in partner types whether LI or KU...etc settings at xi will chnage :
    It is going to be same :
    1. Idoc Import .- through IR
    2. RFC destination pointing to R3
    3.  Port creation - IDX1 using the rfc destination created at step 2.
    Apart from this partner profiles needs to created at r/3 end .
    Regards

  • LSMW Upload SalesOrder Creation:problem in assigning Partner type SH and SP

    Hi
    I'm trying to upload sales order creation data using LSMW -BAPI Method
    Business Object : BUS2032
    Method : CREATEFROMDAT2
    Message type : SALESORDER_CREATEFROMDAT2
    Basic Type : SALESORDER_CREATEFROMDAT202
    and I'm passing the following header data
    Sales Order Type, Sales organisation, Distribution Channel, Division, Sold To Party, Ship To party,
    Purchase order number, PO Date, Requested delivery date, Order Reason, Payment terms, Incoterms part1, Incoterms part2, Document Currency.
    and the following item data
    MATERIAL NUMBER
    Order quantity
    Storage Location
    Item Category
    Item Usage
    Reason for Rejection
    Plant
    Net Weight
    Gross Weight
    Condition Type
    Amount
    Internal Order Number
    I'm assigning the header data to structure <b>E1BPSDHD1</b>
    and Item data to <b>E1BPSDITM,E1BPSDITM1</b>
    and Partner data to structure <b>E1BPPARNR</b>.
    When I am assigning Partner data to the structure E1BPPARNR, I want to assign both <b>sold-to-party</b> and <b>ship-to-party</b> ,(because I have two source fields of this type) but there is only target field related to the partner data , here I am assigning <b>partner type as SP</b> and <b>partner number as sold-to-party</b>, still there is an unassigned field ship-to-party, for this field I am unable to find a relevant target field so please help me how can I assing These two flat file fields <b>(sold-to-party,ship-to-party)</b>
    Looking for further more information : if there is many sold-to-party's and many ship-to-party's how can I go that in this situation i.e maintaining  Many to Many relationship using LSMW tool
    Thanks in advance
    regards
    Rajasekhar

    Here is what you have to do.
    In field mapping, double click on the field PARTN_NUMB (or any field of that structure) in change mode. This opens up the code editor. There just enter the following code. I am assuming you are doing only these fields. But if you are mapping more fields of this structure, you have to map them here.
    E1BPPARNR-PARTN_NUMB = ORDERHEADER-KUNAG.
    E1BPPARNR-PARTN_ROLE = 'AG'.
    E1BPPARNR-ITM_NUMBER = '000000'.
    *-- add more field mappings here, if needed
    TRANSFER_RECORD.   
    *-- Now pass the Ship-to record          
    E1BPPARNR-PARTN_NUMB = ORDERHEADER-KUNWE.
    E1BPPARNR-PARTN_ROLE = 'WE'.
    E1BPPARNR-ITM_NUMBER = '000000'.
    *-- Add more partners if needed by copying the above code.
    Remember, you need to do TRANSFER_RECORD only that many times as you have the partners. There will be one 'TRANSFER_RECORD' at the end of this structure, so keep that in mind.
    Srinivas

  • Regarding partner profiles LI and KU

    Hi,
    I need to send a PO created in one SAP system to a vendor system where it needs to create SO automatically.In this senario which partner type i need to use for outbound and which partner type i need to use for inbound ....(i.e in LI and KU which is used for outbound and which is used for inbound)
    Thanks&Regards
    Giridhar Karnam

    Hello Giridhar,
             In Outbound settings we need to select partner type as LI and Inbound settings we need to select partner type as KU in this Scenario.
    http://help.sap.com/saphelp_nw04/helpdata/en/dc/6b809b43d711d1893e0000e8323c4f/frameset.htm
    Above scenario is beautifully explained in the following blog. Refer this
    /people/srinivas.vanamala2/blog/2006/12/11/edi-basics
    Regards
    Srikanth
    <i>Reward me if helpful</i><u></u>

  • Regarding Movement type 601 and 602

    Hi,
    We need to copy movement types 601 and 602. I would request to please provide me the configuration settings and all integration settings.
    Thank You,
    Waiting for your reply.
    Regards,
    Usha.

    Execute OMJJ where you have the option to copy the standard movement types.  Also search the forum before posting such answered question.
    thanks
    G. Lakshmipathi

  • Partner determination procedure and add to the transaction.

    hi all
    i tried to set up the partner determination procedure and i want know the how to add the procedure to the transcation .

    Thank you  Michaels.
    i got it ...

  • Regarding:Movement type 501M and 502M

    Dear experts,
    How can i configure Movement type 501 M and 502 M for effective RTP Process.
    Pl guide me.
    With Regards
    Mukul Kumar

    HI
    If you want to do any changes in the STD MVT type please do not do that since the impact of MVT type is huge in IM. if you want to do any change please create a MVT type with 9 0r X or Y to create a customised MVT type.
    PLease go to TX OMJJ and select the MVT type 501 to say your customising number for example 900 in the range for the work area. select the MVT Type from the list and choose copy and select the option copy all. now enter your cutomised MVt type say 900. now  you can see a number of parameters on the left pane do the necessarry changes.

  • Reduce E1EDKA1 in IDoc regarding partner type

    Hi,
    im looking for an "non SAP XI" way to reduce the E1EDKA1 in the ORDERS IDoc.
    I want the following:
    IF E1EDKA1 PARVW = AG then the segment shouldn´t be reduced.
    IF E1EDKA1 PARVW = WE then the segment shouldn´t be reduced.
    IF E1EDKA1 PARVW = ZZ then the segment muste be reduced.
    any ideas to realize that ?
    I tried with BD56  and filtering technics but without success
    Thx,
    Gordon

    Hi,
    It can be done with user exit "EXIT_SAPLIEDP_902"
    Regards,
    Aubin

  • Regarding partner profiles

    Hi,
    How to use the partner types LI and KU in WE20 transaction.
    Thanks&Regards
    Giridhar Karnam

    Hi,
    WE20 is used for partner profile setups.In other words it is here where you define the partners who will send/receive a particular type idoc.
    You can set up the partner profile for either inbound or outbound idoc by giving in the following details.
    Enter the partner no. and the partner type(LI or WE).
    After giving the values goto Outbound parameters for outbound idoc.Give the partner role(OA,VN or any other),give the message type of the idoc.Give the receiver port and idoc type.
    Similarly do for inbound idoc.
    In WE20 the parner profile must be setup before you post any idoc to that partner.
    Hope it is useful.
    Thanks,
    Sandeep.

  • No address found for partner function type : 0002 and 0013

    Hi Experts,
    I have SRM PO and it is partially confirmed ,requester and Goods receipant has left the organisation, now another user trying to post the confirmation, getting the error :
    No address found for partner function type : 0002
    No address found for partner function type : 0013
    We understood that requester and Goods receipant  has left the organisation and this user is not there in organisation structure, hence we are getting the error.
    Now we are trying to amend requester and goods receipant  in the PO with new user(alreday there in the Orgn structure) but system is not allowing to do the same.
    How can i post the confirmation now?? is ther any way to post the confirmation without amending the PO ?
    Thanks in advance
    Suresh.A

    Hi
    Please find the below steps
    Step1:
    Fetch the shopping baskets GUID using the table CRMD_ORDERADM_H.
    Creator of shopping basket -CREATED_BY
    Shopping basket no.: OBJECT_ID
    Creation date: CREATED_AT
    Fetch the shopping baskets GUID.
    Step 2
    Fetch the GUID of Alternative goods recipient:New User who would be doing Goods Receipt
    Use the Function Module'HR_OBJECTBUPA_GETBUPA'
    Use function module BBP_PD_SC_GETDETAIL input the shopping basket and GUID.
    Fetch E_PARTNER-PARTNER_GUID's of Partner type 00000016 and 00000020.
    Go to CRMD_PARTNER table for the above GUIDs replace the PARTNER_NO for 16 and 20
    with PARTNER GUID of the alternative goods recipient.
    Thanks
    Trinath

  • Message "Wrong partner type LS" in message control

    Hi All,
    I am trying to send PO's out to a middleware system. I have configured the middleware system as a LS (logical system) done all the config required for Message control.
    But when I enter Output type = NEU and Medium = A (ALE) and Partner Function = LS and partner name and save the PO, I get the error "Wrong Partner type LS" in the processing log for that message. The details description says "The message record of the message control contains a partner role with a partner type LS that cannot be used here. Only the 'KU' and 'LI' partner types are allowed.". But i need to send it to partner type LS.
    Am I missing anything. Please Advise.
    Thanks in advance

    Hi!
    'By default' purchase orders can be send to vendors or plants - the two parties in the document. This is linked to the two different partner types KU and LI. Only partners of this type of a purchase order can be used to send data.
    Check, if you can create a partner definition (WE20) for KU (hopefully you have less plants then vendors).
    You also need a partner determination for the document - only out of this partners automatically a message output can be assigned.
    Regards,
    Christian

  • Partner types

    Hi all,
                I need some clarifications regarding partner types .i am sending a IDOC ORDERS.ORDERS04 purchase order and recieving   ORDERS.ORDERS04  as sales order .in this two cases in partner profile what showuld i configured.
    and what would be the process code.
    Regards
    Rao

    Rao,
    As you mentioned <b><i am sending a IDOC ORDERS.ORDERS04 purchase order and recieving ORDERS.ORDERS04 as sales order ></b>
    So according to this it is related with SD Module, So Process code to be used in this will be <b>ME10</b>.
    <b><I need some clarifications regarding partner types></b>
    In this case your parner types will be <b>LI</b>.
    Regards,
    Sarvesh
    Message was edited by:
            Sarvesh Singh

  • Basic type DELVRY03 and FM IDOC_INPUT_DELVRY

    Hi experts,
    i have a prblem using the basic type DELVRY03 and FM IDOC_INPUT_DELVRY. on transaction we19 am passing data to the segments of the basic type delvry03 so that i can update an outbound delivery...the problem here is that when am running the FM idoc_input_delvry....the data for the first item are updated correctly, but the second item is not updated properly...for the second item, the picked quanity is not taken from the segment E1EDL24...instead, this value is added to the delivery quantity...
    for example if the delivery quantity is initially 80 for the second item and in the segment e1edl24 i supply 80 to the field LGMNG...this value is not taken as the picked quantity but added to the delivery quantity and hence i get the delivery quantity as 160 and picked quantity as 0....
    I kindly requset you to please help on this...
    Points will be rewarded...
    Thanks,
    Vitish.

    Hi vitish,
    Please check whether u have given right batch number in the CHARG field..if no batch is there then u should not give any batch number...
    Regards,
    Madan Gopal Sharma

  • Control multiple updates and queries within one transaction in JPA

    Hi,
    I have a question regarding control multiple updates and queries within one transaction. We are using EclipseLink 2.3.1. With below code, will I be able to:
    - have all insert, update, select queries committed in one transaction;
    - queryGetBalance will return the latest OrgBalance after update;
    - if one fails, everything rolls back.
    Thanks!
    Jeffrey
    PS: I realized that I cannot use em.getTransaction().begin() and em.getTransaction().commit(), since I am using JTA.
    =============
    @PersistenceContext(unitName="Test")
    EntityManager em;
    em.setFlushMode(FlushModeType.COMMIT);
    newTransaction.setAmount(1000);
    newTransaction.setType("check");
    em.persist(newTransaction);
    orgAudit.setUpdateUser("Joe")
    orgAudit.setupUpdateTime(time);
    em.merge(orgAudit);
    Query queryUpdateBalance = em.createQuery("update OrgBalance o set o.balance = o.balance + :amount where orgId = :myOrgId");
    queryUpdateBalance.setParameter("amount", 1000);
    queryUpdateBalance.setParameter("myOrgId", 1234);
    Query queryGetBalance = em.createQuery("select OrgBalance o where o.orgId = :myOrgId");
    queryGetBalance.setHint("javax.persistence.cache.storeMode", CacheStoreMode.REFRESH);
    queryGetBalance.setHint("javax.persistence.cache.retrieveMode", CacheRetrieveMode.BYPASS);
    queryGetBalance.getResultList();
    em.flush();
    Edited by: JeffreyW on Dec 12, 2011 10:34 AM

    Yes, the operation will be in a single transaction, assuming you are using a JTA managed SessionBean and the code is part of a SessionBean method.

  • Idoc to File. Partner type as 'KU' and 'LI'.. Acheivable w/o using Party's?

    Hi all,
    Idoc to File scenario.
    I have the receiver partner type as 'KU' and sender partner type as 'LI'.
    I want to create the scenario without using party for these partner Types.
    Is it possible for me to create the B2B scenario without using party's?
    Is it mandatory that we need to use partys and Identifiers for these kind of scenarios?
    Kindly let me know if anyone has idea on this.
    Thanks
    -Seema

    Hi Seema,
    I appreciate that you chose to go with the parties
    That should be called a good design decision.......
    Now answering your query regarding the party identifiers
    Idoc to File :
    <SNDPOR>SAPDL1</SNDPOR>
    <SNDPRT>LI</SNDPRT>
    <SNDPRN>90000</SNDPRN>
    <RCVPOR>SAPXI</RCVPOR>
    <RCVPRT>KU</RCVPRT>
    <RCVPFC>SP</RCVPFC>
    <RCVPRN>36</RCVPRN>
    For Sender Party (say party INTERNAL)
    Agency : LD1_001
    Scheme: ALE#LI
    Name: 90000  (vendor number set in WE20 in the R/3)
    For Receiver Party (say party EXTERNAL)
    Agency: LDI_001 (SID_<client> BS as defined in SLD)
    Scheme: ALE#KU#AG  (AG for partner function SP)
    Name: 36  (customer number set in WE20 in the R/3
    This will resolve the IDoc header data into the following XI SOAP header information:
    Sender Party - INTERNAL
    Sender Service - LD1_001 (say this is the business system defined for logical system SAPLD1
    Receiver Party - EXTERNAL.
    Though, you can determine the receiver party alongwith the Receiver Service later at RCV DETERMINATION step, as I have said earlier.
    Yes, for outbound you have to maintain the identifiers for Sender Party type LI, but you can still skip the Receiver KU type and update the SOAP header at RCV DET step.
    File to Idoc:
    <SNDPOR>SAPXI</SNDPOR>
    <SNDPRT>KU</SNDPRT>
    <SNDPRN>36</SNDPRN>
    <SNDPFC>SP</SNDPFC>
    <RCVPOR>SAPDL1</RCVPOR>
    <RCVPRT>LS</RCVPRT>
    <RCVPRN>MAINSAP</RCVPRN>
    For Sender Party (say party INTERNAL)
    Agency: LD1_001 (SID_<client>)
    Scheme: ALE#KU#AG
    Name: 36
    For Receiver Party (say party EXTERNAL)
    Because the RCVPRT value is LS , no need to set the Receiver Party for that.
    But if you want to have some Receiver Party value for the same you can use Header Mapping in receiver agreement.
    Mandatory Setup in Receiver IDoc Adapter:
    Set the indicator -  Apply Control Record Values from Payload
    Remember to set the Identifiers in the Identifiers Tab in Idoc channel.
    Sender:
    Agency : LD1_001       Scehma : ALE#KU#AG
    Receiver:
    Agency: LD1_001        Schema : ALE#LS
    I am not sure why this ALE#LS entry is required, but according to my experience if we don't have that entry, the Idoc Adapter throws error while converting the Receiver Party (considering you use party in the ID configuration for both Sender and Receiver).
    Yes you are right, you can hard code the SNDPRN, RCVPRN values in the mapping and can take the values from payload...........for that set the following Indicators in Idoc channel:
    Take Sender from Payload
    Take Receiver from Payload
    Let me know if you have any concerns or any additional observation you make while configuring the scenarios. Thanks.
    Regards,
    Suddha

Maybe you are looking for