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

Similar Messages

  • 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

  • Free form partner function field in Sales document header and item..

    Hello Experts,
    Is there anyway we can use the partner functions functionality in Sales document header and item level, so that we can enter a free form number in the Partner field? I mean is it possible to be able to enter a free form number WITHOUT getting validated against corresponding master data like Customer or Vendor master, Contact person, Personnel or User master records?

    Hi,
    It is not possible.
    Because partner function will be determined in the sales document header and item as per the configuration you have done in the partner determination.
    It is not possible to enter a number wihich is not created and assigned.
    Regards,
    Mullairaja

  • Multiple Partner Function in a sales Order

    Hi
    I have created a partner function  ZR Referred By ( Type Customer) but not able to enter multiple ZR in a sales Order
    Error .VPD012. Partner Function can occur only 1  in ..
    The requirement is to attach the referred customers for reporting purpose and there can be more than one customer referring this new Customer / Order.

    Hi
    Thanks for the input but  the solutions suggested by you all does not work.
    The Unique button is only relevant for Customer Master and not the Order. In the Order you can have only one.
    The Button Modifiable is only for allowing you to change a Partner and not adding another partner with the same partner function.
    Any way I figured a way out,  we can use the system provided AA ( Partner Function) and able to use multiple AAs in a Service Contract./Scheduling agreements.
    But if you need to have multiple partner in a sales Order ...Only way seems to be to have Z1, Z2 Etc ...
    Thanks

  • CRM Table for finding Partner Function for a Sales Order

    Hello everyone,
    I am trying to retrieve Ship-to-Party Customer Number for a particular Transaction (Sales Order) from a SAP CRM table.
    In SAP SD we have a table VBPA for the same.
    I would like to retrieve the same either from a single table if available or multiple linked tables in SAP CRM.
    I tried to link CRMD_ORDERADM_H & CRDM_PARTNER to retrieve the data .. But it dint work.
    I am new to CRM .. so Gurus, please share ur insight.
    Thanks
    Vin

    Hi,
    Select GUID_SET in table CRMD_LINK where GUID_HI = CRMD_ORDERAMD_H-GUID.
    Use the GUID_SET to select data in table CRMD_PARTNER.
    Best regards,
    Caíque Escaler

  • Partner Function Structure in Sales Order

    Hi All,
    What is the Partner Function Structure in Sales Ordere (Item Level)?
    (In which structure the partner functions are displays in sales order item level?)
    Thanks in advance.

    HI Raja,
    Thanks for your replay.
    I did the same thing what ever u said, but the thing is while doing debugging the values are not showing in that structure. Like header and item data will available in KOMK and KOMP structurs, not in screen field strucuture. I am thinking that there may be some structure for partner functions like KOMP, KOMK.
    Thanks

  • 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

  • Partner determination for sales document item

    Hi people
    We have a partner function in sales order (carrier) that must be determinate by item, this is necessary because we sell different materias in the same order that can't be transported by the same carrier.
    In customizing Partner Determination for Sales Document Header is possible to use an user exit assign the origin X, Y or Z, in this case I would use the exit EXIT_SAPLV09A_003, but for partner determination for sales document item i didn't find a way to assign the origin X, Y and Z
    Does anyone have an idea for solving this?
    Thanks
    Emerson

    Whatever Partner functions are assigned to the Procedure  assigned to the Sales document Type, only those partner functions will feature in the Sales document header.
    In the procedure assigned to the Item category you will find like that 3 only only as in the Sales order you can not have different Sold-to-party for different Item.
    Whichever Sold-to-party is there in the header that is applicable to all item. So at item  level Procedure
    sold-to-party partner function is not required to assign.
    Sold-to-party is unique for a Sales order and can not be changed.
    But at Item level, you can have different Ship-to-party for different items so the partner function has to be there and to deliver the item one SH is mandatory, that is why it has been marked mandatory in the Procedure.
    All the partner function assigned to the Procedure at header level will be copied to all item. In your procedure for the header you must be having 5 partner functions.
    You can change the SH at item level for few items.

  • 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

  • Error during material determination for sales document item - RRB

    Hi
    Iam getting following error when trying to create a billing request using DP91.
    Error during material determination for sales document item 40001560/000010
    Message no. AD01155
    Diagnosis
    An error occured during material determination for a dynamic item.
    System Response
    The system cannot perform the function.
    Procedure
    Check in the profile being used whether its characteristic allows the assignment of a material to each dynamic item.
    I have checked my DIP profile using ODP02 there are no errors in it, I have created a Setid and assigned it to costing element in selection criteria and material determination criteria.
    Material origin is checked in costing tab in material master.
    Appreciate help in resolving this.
    thanks,
    Vaishnavi

    Hi Vaishnavi
    The error which you are getting is related to costing.So kindly reach your FI Consultant
    please check the following links which may help you.Also check the link that has been provided my Lakshmipathi
    ERROR AT DP90  TRANSACTION
    Regards
    Srinath

  • Sales document item is not defined for this transaction in Pur.Order

    hi,
    At the time of convertion of pr to po one error message received.
    Sales document item 46 000010 is not defined for the transaction
    Message no. V1198
    Diagnosis
    You have tried to carry out a business transaction for this sales and distribution document item which, for this item, is not allowed.
    This may be due to the fact that this item is not part of a make-to-order production with cost management in the sales order.
    Procedure
    Please check your entries.
      this is MAKE TO ORDER SCENARIO  THIS ERROR IS FOR RAW MATERIAL  CONVERTION  AGAINST SALES ORDER.

    Hi,
    Check in material master MRP3 view there is field called strategy group where you have option to define the planning strategy like make to order/make to stock & like.
    Regards
    Ravi Shankar.

  • Classic Scenario PO has multiple OA Partner Functions for Vendor

    Hi,
    I have a 'design' issue. My R/3 Vendor has many OA Partner Functions for the different Branches they have and the PO needs to be Faxed to the OA Partner Function number, but the PO needs to be created against the VN Partner Function.
    So, how do i do this in SRM? I was going to have a seperate Catalog link for each OA Partner function, but this is not creating the R/3 PO with VN Partner Function of the 'core' Vendor number.
    Does anyone have any advice for this?
    regards Adam
    Using SRM 5.0 (Server 5.5) SP 8 and R/3 4.6C in Classic Scenario - my catalogs are external vendor.

    Hi
    Please see these links, which might help ->
    Partner function missing in backend PO
    Re: Error in transmission while PO cration
    "Multiple" partner data at PO header
    Partner functions in plan driven MM-SUS
    Re: Partner function not found
    Number range for business partner
    Re: Problem with BP. Assignment: Business partner person to user not unique
    Error in creation of Employee for Business Partner
    Re: enter exactly one partner of type vendor
    Re: Business partner as Vendor and Invoicing Party
    Partner functions in EBP for extended Classic Scenario
    Regards
    - Atul

  • Err in PO creation-Sales document item is not defined for this transaction

    Dear Consultants the errror  occurs when we process  Individual Purchase Order scenario.
    Err in PO creation-Sales document item is not defined for this transaction  
    Thanks&Regards,
    SanthaRam

    This error because the item category is not determined correctly in the sales order.
    Check the item category in Sales order line item, for Individual Purchase order scenario its TAB.
    If its not TAB, then check the assignement for Item category in VOV4.
    This thread is more of the SD part, so also put it in SD forum for better solutions.
    Regards,
    Sheetal

  • Err in PO creation-Sales document item is not defined for the transaction

    Hi,
    I am getting the following error while creating PO
    "Sales document item 30000183 000100 is not defined for the transaction
    Message no. V1 198
    Diagnosis
    You have tried to carry out a business transaction for this sales and distribution document item which, for this item, is not allowed.
    This may be due to the fact that this item is not part of a make-to-order production with cost management in the sales order."
    I have used an item category which is copy of TAB and the sales order line item is attached to WBS element.
    can any one guide me what needs to be done.
    thanks

    If you want the sales order creation to initiate a PO creation automatically, check if the "Create PO Automatically" button is ticked on for the item category in Transaction flow tab in tcode VOV7
    This will solve your problem, provided your configuration for PO on the MM side is fine.
    Reward if this helps.

  • How to set "Configuration Variant" for a sales order item using function

    Hello All,
    I use function module 'SD_SALES_DOCU_MAINTAIN'  to create Customer Indep. Requirements but how to set "Configuration Variant" for a sales order item.
    Is their any idea or sample code?

    Hi Zhijun zhang,
    <u>http://help.sap.com/saphelp_nw2004s/helpdata/en/c0/98038ce58611d194cc00a0c94260a5/content.htm</u>
    <u>http://help.sap.com/saphelp_nw04/helpdata/en/c0/980374e58611d194cc00a0c94260a5/content.htm</u>
    A variant is simply an SAP report where the parameters for running the report have been set by the user and then saved with unique name. This allows future retrieval and execution of the report faster without reentering the parameters. As a convention the variant name should start with with the digits 50 so searchs for LHU variants is easier and quicker.
    The first link will guide you by screen shot wise.
    Award points if it adds information.
    Thanks
    Mohan

Maybe you are looking for

  • How can I stop iTunes from putting in a list of podcasts episodes the same episodes I already downloaded?

    If I download a podcast and delete it, when I refresh podcasts, I see the same podcast show up with the cloud next to it, as an option to be downloaded. This makes it impossible to keep track of what I already listened to. I dont want to keep the old

  • Macbook Air with Snow Leopard is freezing

    I have a first gen, fully updated, Macbook Air currently running Snow Leopard. Every once in a while, my computer completely freezes. No pinwheel, just a freeze. I can see the cursor, but I can't move it. It happens every few minutes and the freezes

  • Plugging in vs. Running on Battery

    So I've heard the old "commuter on a train" bit about how long a battery should be plugged in vs. running on battery, but I find this answer sorely lacking in details. Right now, I have new Macbook Pro that I run mostly where I can plug it in or run

  • Remote camera

    Someone can help me ? Everytime I turn on my toshiba from sleep I have  a window poping up from remote camera and blue tooth camera searching for a camera . I have tried to dowload the software for my camera canon witch didn't work and now I am stuck

  • Array stop work when i use reinit to default

    Hi guys, i'm using a array to save data from my DAQ.. and it saves when some seconds elapsed.. the problem is.. when a i use the invoke node "reinit default" of array after it the array gets empty (ok) but dont get more data (problem).. please help m