Issue while uploading Partner Function in Sales Order through LSMW

Dear All,
I have to make change some partner function at item level in existing sales order. I have created the LSMW for changing the partner function at item level. But while recording the system field (Field Name ) will maintained as beow:
GVS_TC_DATA-REC-PARTNER(08)
GVS_TC_DATA-REC-PARTNER(09)
It will run successully when at line item the Partners which i have to change are availble at 08 & 09 level. But in some cases the partners are available on differnet position, in that case my LSMW will not work.
Is there any solution for the same.
Thanks in advance.
PM
Edited by: PM on Mar 7, 2012 6:47 AM

Hi,
This is the most common drawback while using LSMW. The position should be the same for all records to update the partner function. Else, think of of writing a BDC or manually updating it.
Regards,
Raghav

Similar Messages

  • Multiple bill to partner function in sales order

    How can a partner function be setup that it can appear more than once in a sales order ? 
    Need to make a sales orders with more than one "bill to partner".  When I add the same partner function with another customer in the header of the sales order I get error message VPD012  :  "partner function ZX can only occur 1 times in procedure ZEXP (sales document header) .
    I searched OSS,  and debugged for a while to try to find where that "1" is coming from. 
    In function SD_PCHECK_PARVW_COUNT_OK,  a counter is set to "1" based on the field TPAER-PAREI (line 86).  Allthough the flag "unique" is not set in partner function ZX, I get this error.
    Some further in the function, there is the comment :
    102     *     currently uniqueness of a partner is mandatory in sales docs, so
    103     *     if no CAS-Doc, partner has to be unique if not AA or AW
    Perhaps, in sales orders it is not at all possible to use multiple partners with the same partner function in sales orders ?
    Anyone having experience with this ?
    Thanks,

    Hi Dries,
    Even after you created your order you can maintain different bill to party.
    Go to VA02 screen
    Enter your order number.Enter.
    Goto item details Partners tab:
    Now all the details are in editable mode.enter your bill to party.Make sure your bill to party is in same sales area and company code as of sold to party.After entering the taxes will be redetermined message will come.
    Enter.
    Save.
    Now You do the same for all other items.
    Regards,
    Mohan.

  • Need a user exit to add custom partner function in sales order @ item level

    Hi,
    Need a user exit to add custom partner function in sales order at item level. Goto --> Item --> Partner.
    Thanks,
    Thiyagi

    HI Leo
      To add a condition price for a condition type, this has to be assigned in the <b>pricing procedure</b>. For each condition type in a pricing procedure, we will have <b>access sequences</b>. If we follow this approch, the price is automatically extracted basing on the access sequences when condition records are maintained. For this, no coding is required and everything can be done by configuration by Functional consultant.
       Naren is right to point out on the same.
      If you need to change the price for a particular condition which already exists, you can go by <b>pricing routines</b>. Go through transaction <b>VOFM</b> for the same. 
       I advice you to discuss with your functional consultant and understand the requirement and then go for modifying accordingly.
    Kind Regards
    Eswar

  • Making Mandatory of Partner functions in Sales Order

    Hi All,
    My requirement is as follows:
    While creating configenment Issue with ref to Fillup, In Sales Order Header(Issue) Bank Partner function should be mandatory.
    For that I have tried:
    In Partner function i have made the Partner as mandatory( I have ticked on Check box(M)).But still it is solving the purpose.In fact in the Bank Partner customer Number is getting copied.
    Please advice for the same
    Regards,
    Vinay

    Hi Vinay,
    If you set field "Mandatory function" in partner determination procedure for bank Partner function,
    then the document is incomplete when the partner is missing.
    However, bank partner function couldn't be the only one mandatory function, because sold-to, ship-to, bill-to and payer are also mandatory according to standard design. Please refer to note 381062.
    Regards,
    Smile

  • How to include a new Z Partner Function in Sales order header drop down lis

    Hello SAP experts,
    We have come up with a new requirement to include a custom Partner Function-ZI  in dropdown of SO header-Partners field.
    Current scenario- Presently we are maintaining this partner function  ( Say ZI-  Institute ) in customer master data-Sales area tab.There could be more than one partners under this PF in master data. While entering sales Order, all partners associated are displayed in Header- partners tab, where only SP, SH, BP, PY partner functions are displayed.
    Requirement- 1. Is to  provide Drop down of this ZI-Institute partner function (which I did not find presently) in SO header-partners field and user should be able to provide one of partner function as available in Customer master ( as there are more than one partners that can be set in Customer master data but user need to be able to provide ONE of this ZI partner fucntion in DROPDOWN of PF tab in SO header ).
    2. In addition, How can I link this new partner function in related sales reports against that particulat order and invoice?
    Kindly suggest your valuable inputs as what should be the procedure to get this.
    Many thanks in advance.

    Hi,
    Go to partner determination by VOPA
    OR
    IMG >> SD >> Basic function >> Set up partner functions >> set up partner function for sales document header
    click on partner function and Maintain partner function ZI  and back
    Then select your existing partner determination procedure (Standard is TA) and click on PARTNER FUNCTIONS IN PROCEDURE and add partner function. and make it mandatory so even user forget to mention then at the time of saving system can remind user 
    Then double click on PARTNER DETERMINATION PROCEDURE ASSIGNMENT
    Assign partner procedure to sales document
    Now when you creating sales order go to header partner tab and enter you institute partner number
    For sales order and invoice report
    Execute this report by selecting partner function ZI in VA05N and VF05 respectively
    kapil

  • To change/update/delete partner function in Sales order before saving it...

    Hi! All,
    I am having a unique requirement to change the partner function( BIll to party and Ship to party) for standard sales order in the  order save badi implemtation.
    Please sugest a FM that will be appropriate for this functionality.
    One more thing that i am able to do is that i am able to add one more BIll to party and Ship to party in the order but I am not able to delete the exsisting Bill to and ship to partner function from that order, SO if there is any Fm that will delete the exsisting ship to and bill to party my purpose would be solved.
    Please provide your suggetionas how can I proceed further.
    Thanks and regards,
    Mayank

    Hi,
    use the CRM_ORDER_MAINTAIN FM for changing the partners. Fill in the IT_PARNTER and the CT_INPUT_FIELDS parameters.
    For how to fill in I advise you set a breakpoint in this FM and do a partner change in the Sales Order Document.
    You can also find a lot of threads in the forums regarding the ORDER_MAINTAIN FM.
    BR,
    Erika

  • Can we view  SH's partner functions in Sales Order?

    Hi All,
    SP has a different SH and FA is assigned to SH in master record. When we create order we can see all the partner functions of SP but we can't see partner functions of SH. User wants to see which FA is assigned to SH. We can only view partner functions of SH in delivery document. Is it possible to view partner functions of SH in sales order as well? Please suggest the ways to configure this setting.
    Thanks!!

    Hi,
    Yes, you can view . Check the Partner determination procedure, include the partner function SH to your partner determination procedure assigned for your sales order.
    Regards,
    Murali

  • Mandatory partner function at sales order item level

    Hi all,
    I'm customizing partner schema at item level for sales order. I have created a custom partner function, I put it in a new sales order item partner procedure and i set this partner function as mandatory (I want that system show me a message if this function is missing at item level in sales order). This partner function is defined only at sales order item level (not at header level or customer master).
    If i create and save a sales order with an item type that use the item partner procedure I have created, system don't show me any message for the item custom partner function missing, else if it is set as mandatory in sales order item partner procedure.
    I have read some posts in these forums about this functionality, but it seems a different situation.
    Someone had a similar type of problem?
    Thank you in advance for any possible suggestion.
    Regards
    Gianpaolo

    Hi,
    First you have to create a new partner function.
    Then assign that partner function to the account group.
    Then assign that partner function to partner determination procedure for the item category.
    Over here click on the mandatory button also.
    Then assign that partner determination procedure to item category.
    Then to XD02 and give your customer number and in the partner tab maintain the data for that partner function.
    Now go to VA01 and create your sales order you will see you partner function.
    If you wont have maintained it in the customer master then it will prompt an error.
    Regards
    Raj.

  • Issue while changing Item Category during Sales Order Creation

    Hi,
    Requirement:
    Requirement is to change the item category of Sales Order item while creating the sales order.
    Rule is: If item category is IRAT then it should be changed to IRLN.
    For this, I am using the user exit "USEREXIT_SAVE_DOCUMENT_PREPARE" available in the include MV45AFZZ.
    Issue:
    Using the above mentioned exit, Item category is getting changed to the desired value in the created sales order BUT value of Billing Status (VBUP-FKSAA) which is supposed to get changed is blank.
    For example, Sales order is created from VA01 and item category is changed manually to the value mentioned above, then for the sales order created we have VBUP-FKSAA = 'A'. But when value of Item category is not changed manually and it is changed from the exit, then value of VBUP-FKSAA is blank.
    I have to find a solution which would change the value of Billing Status according to the change in the value of Item Category.
    Please suggest a relevant solution.
    Thanks a lot for responding.
    Abhinav.
    Edited by: Abhinav Jain on Apr 9, 2010 6:47 PM

    Hi Abhinav,
    I have a simmilar problem. In my case I am changing Reason of Rejection in the user-exit, but net value is not getting updated. Did you solve your problem? Any other way to change a field of a sales order item?
    Thanking you in advance,
    Nisha

  • Copy partner function from sales order to WBS element

    Hello
    Does someone know if it is possible to copy the partner function and its assignment from the sales order to the WBS element?
    In our project, we create sales order with article having a strategy group (85) view MRP3. Thanks to that a network and a WBS element is created in background based on template. In the template a partner determination procedure is maintained => partner tab in the WBS element is displayed (CJ20N) but the partners maintained in the sales order are not populated.
    Is something missing in the customizing?
    Is it possible to do it in standard?
    Kind regards
    Chris

    Hello Tison.
    I guess you have the Project created with a BAPI in your system in background. As far as I have seen I'd try the following in ABAP to create Partners in the Project Definition: BAPI_BUS2001_PARTNER_CREATE_M or the corresponding method ProjectDefinitionPI.PartnerCreateMultiple. This should happen in background when the Project is created also.
    Best regards.
    Jens Schmid

  • 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.

  • Partner selection at sales order entry: ship-to's flagged for deletion

    Hi All,
    I need some inputs for the following issue.
    For Partner selection at sales order entry level: ship-to's flagged for deletion are also proposed as it is entered in customer master. I dont want to delete the ship-to's marked for deletion in the customer master.
    In short - only the ship-to's that are not marked for deletion should get populated.
    Kindly suggest if there is an userexit for the same.
    Regards
    KCB

    Hi,
    You can try Blocking option for the particular Ship to Party.
    But this will not disable it appearing in the Partner Function Selection Pop up.
    Once you block it; though it appear in the selection pop up, you cannot select & proceed, as it gives a error message.
    You can set this block in 2 ways.
    1 - Tx: XD05
    Go to the Tx give the customer number, sales area & Pres enter.
    There you can set different type of blocks depend on your scenario.
    Save
    2 - Tx: XD02
    Go to TX, Give the Customer number (Ship to Party) & go in. Since you have marked him as a delete, you'll get a warning message there too.
    Select Menu option -> Extras -> Blocking Data
    You'll coime to the same screen as above.
    Maintain relevant blocks & Save
    Check whether it satisfy your requirement.
    Best regards,
    Anupa

  • Partner function for sales contract

    Hi
    I have to extract Sales related data from SAP R/3 to BW.
    Facing issue if someone just changes partner function for Sales contract as they are not captured in any of the standard extractors.
    If there is change in partner function for Sales order then it gets captured in 11 vascl but if its for contract then it doesnt get capture.
    Any solution ?
    Regards,
    monika

    Hi ! Ivy
    I guess there is a option.
    Try this out. Use the menu path IMG> Sales & Distribution> Sales> Lists> Set updating of partner index
    In the resulting screen, click on 'New Entries' make entries 0 - for sales orders and 4 - for contracts as transaction group. Under the column 'partner function' ener the partner function for which you want the report and save your entries.
    Now when you go for executing your report, click on the push button 'Partner functions' ( Say in VA05) , you will have the option for selecting the new partner functions , select and execute your report.
    Provide your feedback.
    Regards,
    PATHIK

  • Issue while uploading .TIFF file into Standard text using RSTXLDMC

    Hi All,
    We are facing issues while uploading .TIFF file into standard text through program RSTXLDMC.
    Getting the following error.
    TIFF format error: No baseline TIFF 6.0 file.
    The image is a colored one.
    Please provide me solution if anyone has worked in this area.
    Thanks in Advance,
    Anand Raj Kuruba.

    Hi,
    Often this error occurs because the TIFF file you have has been saved with some form of compression.  You need to open in a picture edit program and save as TIFF making sure options are set so there is no compression.
    Andrew

  • What is the need of creating partner functions for sales document type.

    Hi SAP (SD-GURUS),
    Actually we create partner functions  before creating customer ex: sold to party, ship to party, bill to party, and payer.
    These partner functions are going to be copied into sales order while processing sales order.
    Again what is the need of creating partner functions for sales document type.
    Thanks&Regards
    sreenivas peruru

    There are some Partners you could enter at Sales ORder Level. E.g. Sales Person, Employee Responsible, Forwarding Agent, Broker, etc.
    Thus these partner Determination need to be carried out at Sales Order Level & not at Customer Master level.
    So we have to configure partner Determination for various levels e.g. Customer Master, Sales Order, Delivery level etc...
    Hope this helps...
    THanks,
    Jignesh Mehta

Maybe you are looking for