Reg:Allocation by group

Hi Experts,
                  I have an issue in allocation by groups , the user does not need to plan for certain base members of the profit center group.
       I maintained a property as DONTPLAN in profit center and i told them to maintain X there and i thaught of filtering in Script logic.
       But the problem is that i can filter the values using XDIM but i dont know the way to pass to Allocation logic.
*SELECT(%ACC%,"ID", "ACCOUNT", "TOPDOWNALLOC = 'Y'")
*SELECT(%CurrencyList%,"ID","RPTCURRENCY","CURRENCY_TYPE = 'R'")
*SELECT(%ENTI%,"ID","ENTITY","ID = %ENTITY_SET%" )
*SELECT(%CATE%,"ID","CATEGORY","ID = %CATEGORY_SET%" )
*SELECT(%TIME%,"ID","TIME","ID = %TIME_SET%" )
*SELECT(%PTC%,"ID","PROFIT_CTR","ID = %PROFIT_CTR_SET%" )
*SELECT(%PTC2%,"[ID]","PROFIT_CTR","[ DONTPLAN <> 'X']" )
*XDIM_MEMBERSET RptCurrency = %CurrencyList%
*XDIM_MEMBERSET CATEGORY = %CATE%
*XDIM_MEMBERSET TIME = %TIME%
*XDIM_MEMBERSET ACCOUNT = %ACC%
*XDIM_MEMBERSET PROFIT_CTR = BAS(%PTC%)
*XDIM_MEMBERSET PROFIT_CTR  <> %PTC2%
//FROM HERE ON HOW CAN I PASS BASE MEMBERS VALUE TO ALLOCATION.
*FOR %ACCT%=%ACC%
*RUNALLOCATION
*FACTOR = USING/TOTAL
*DIM ENTITY WHAT =%ENTI%.INP ; WHERE=%ENTI%; USING=%ENTI%; TOTAL=%ENTI%
*DIM CATEGORY WHAT=%CATE%; WHERE=<<<; USING=ACTUAL; TOTAL= <<<
*DIM ACCOUNT WHAT=%ACCT%_INP; WHERE=BAS(%ACCT%); USING=BAS(%ACCT%); TOTAL=<<<
*DIM DATASRC WHAT=INPUT; WHERE=INPUT; USING=UPLOAD; TOTAL=<<<
*DIM PROFIT_CTR WHAT=BAS(%PTC%_IN); WHERE=BAS(%PTC%); USING=BAS(%PTC%); TOTAL=<<<
*DIM COSTCENTER WHAT= NO_COSTCENTER; WHERE=BAS(1004322231); USING=BAS(1004322231); TOTAL=<<<
*DIM TIME WHAT=BAS(%TIME%); WHERE=BAS(%TIME%); USING=BAS(2009.TOTAL) ; TOTAL=<<<
*DIM RPTCURRENCY WHAT=LC; WHERE=INR; USING=IN; TOTAL=<<<
*ENDALLOCATION
*COMMIT
*NEXT
Regards
Vinoth

Hi Vinoth,
First of all, you can use properties directly in RUNALLOCATION,  like
*DIM PROFIT_CTR WHAT=[DONTPLAN]= X; WHERE=[DONTPLAN]=Y; USING=<<<; TOTAL=<<<
I'm not sure if you can use <> there, but can't you put some Property value on those members on which you want to plan instead of on those that you don't want?
Also you can put more than one condition on same Property and it will be interpreted as OR even thought you have AND there.
Hope this helps.
Gersh

Similar Messages

  • Component Allocation in Group Routing

    Hello,
    I am working on a group routing.
    After add the group members in "Material Assignment" in CA02,
    i do the "Component Allocation" one by one for each material number.
    Is there any method to do it in a group manners or any better method to work on this?
    Thank you.
    Collinn

    Dear Collinn,
    It seems you are having one group routing(same group no and group counter no) for a list of materials.
    In this case if the BOM is common for all these list of materials,then making the component allocation to the individual operation
    makes sense.But practically the chances for such case is less.
    Moreover I would suggest you to make the component allocation manually in the routing. The reason why I doubt is you have to
    build the logic if you are going to do the same in the BDC,so the challenge here will be identifying the component no ,along with the
    item no and asigning properly to the operation.So this input has to be accurate i the input file which you will be giving for upload.
    Correct me If I'm wrong.
    Regards
    S Mangalraj

  • HI GURUS REG CUSTOMER ACCOUNT GROUP

    hi,
    in cust account group 0001-sold to party, for Terms of Payment field , there r two different entries would be maintained in customer master .
    one in company code data and other is in sales area data billing
    pl tell me which is the entry where system first look in and is it mandatory to maintain one entry which should be that?
    ok thanks

    hi,
    the system will take in account the payment terms you have mentioned in the sales area data billing tab.
    normally we maintain the payment terms in both the sales area tab and company code data same
    payment terms in the sales area data billing tab should be maintained as mandatory
    pls reward points if the answer is helpful
    REgards,
    Murali

  • Reg: Adding Country Group 99 for Infotype 9

    Hello Guru's,
    Can anyone help me with adding a New Country to Infotype 0009 (Bank Details).
    1. In Component FPM_OVP_COMPONENT - Application HRESS_A_PERSINFO - Created a Application Configuration(AC)
    2. Started the AC and gave Component Configuration(CC) to go to the applications for Bank Details
    3. Go to Edit Page -  Bank Details edited the Wire Schema for HRESS_CC_PER_DTL_BANK_XX to use Custom Config id created for FPM_FORM_UIBB and FPM_LIST_UIBB
    4. In the General Settings - Floorplan Settings - Application Controller Settings - Changed the Configuration Name to Z configuration name which was created for Component HRESS_C_PERSINFO_CONFIG
    5. Component HRESS_C_PERSINFO_CONFIG is used to link the custom Component Configuration created where the masking is done.
        Created 2 Component Configuration for FPM_FORM_UIBB for US and UK and within the Component Configuration created for HRESS_C_PERSINFO_CONFIG replaced to open the link for US and UK.
    6. Component Config for HRESS_C_PERSINFO_CONFIG is missing the configuration for Country Grouping 99, so created an entry for Other Countries and assigned the US Component Configuration to open.
    Note 2035081 - How to add a custom infotype to ESS 'Personal Profile' in WD ABAP
    I couldn't find any document or note to add a country to Infotype.
    Please help me.
    Thanks,
    Pramod

    Hi Siddharth Rajora,
    When using GENIL_MODEL_EDITOR to add the Dependent Object and activating the changes, it is giving error on other Dependent Objects which are not been touched.
    Below is the error I am getting when saving the entry.
    Let me know if there is anything else I am missing.
    Thanks,
    Pramod

  • Reg : Customer Account Group Change

    Hi Dear All,
    Can any one Tell me that what effect will be there if i change the Customer account group from 0001-sol to party to EXPO-acc gr for Export customer.
    As the customer is old and by mistake it has been created in 0001 instead EXPO acc group.
    i need to know that what will be the effect on all sales data and accounting documents created already for that customer .
    This i have to do for  around 1500 records
    pl suggest me the probable effects for the same.
    ok thanks

    Hi sunil,
    You can change Account Group of a customer at any time. Its not going to effect the previous records.
    But once after changing the Account group, what ever you customers you create will follow the new account group procedure.
    But the thing is, if you want to process the old account group customers, must check that the corresponding fields are active / already in use or not. For example if you dont maintained one field in old account group customers and now with new account group if you want to process with that field, then you have to go the change mode and maintaine those field for all those customers which are not maintained earlier.
    Like this if you can check the change in the Fields from old account group and new account group, then there wont be any problem.
    Hope this gives you some idea.
    REWARD IF HELPFUL.
    Regards,
    Praveen

  • Reg: Vendor Account Group Number Range

    Hi Guru's,
      I have created 3 Account groups for vendor -
    MV- Material Vendor , SV - Service Vendor , Ov - One Time Vendor
    And i need to number range (external) like this for MV- MV10000 to MV19999 and SV - SV10000 to SV19999
    i tried by XKN1 but the system says Enter the intervals without overlap .
    Guide me to achieve this.
    Thanks in advance
    Regards
    Anand

    Hi
    Thanks for your solution.. It means my intervals falls under a to zzzz.
    i have a query A to  ZZZZZ is alphanumeric or alphabetic?
    Can we set the range only as alphabetic .. that is no numeric is allowed .
    Regards
    Anand

  • Reg: Profit Center Group Upload Prog

    Hi,
    In profit center group upload program im using FM: BAPI_PROFITCENTERGRP_CREATE, when
    im trying to upload data, in the flat file, if Hierarchy level '0' is appearing once means
    i can able to upload, but Hierarchy level '0' appears n number of times in flat file.
    how can i write logic; if level '0' appears means upload the file. after saved again need to come bak to the loop and need to process 2nd group(it starts with '0'). i need to pick one group from the internal table and process the logic, thn need to come out of loop and next set of group.
    Following code is working for a single set of profit center group.
      wa_pg[] = it_pg[].
      LOOP AT wa_pg.
        t_bapiset_hier-groupname = wa_pg-pcg.
        t_bapiset_hier-hierlevel = wa_pg-hierlvl.
        t_bapiset_hier-descript  = wa_pg-pcgdesc.
        APPEND t_bapiset_hier.
      ENDLOOP.
      CALL FUNCTION 'BAPI_PROFITCENTERGRP_CREATE'
        EXPORTING
          controllingareaimp       = 'S001'
      TOPNODEONLY              = ' '
    IMPORTING
      CONTROLLINGAREA          =
      GROUPNAME                =
      RETURN                   =
        TABLES
          hierarchynodes           = t_bapiset_hier
          hierarchyvalues          = t_bapi1116_values
      CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
       EXPORTING
         wait          = 'X'
    IMPORTING
      RETURN        =
    Thanks
    Hema

    Hi,
    Could you please try as follows:
    DATA: l_str type sychar50.
    LOOP AT wa_pg.
    if wa_pg-hierlv = '0' and t_bapiset_hier[] is not initial.
        perform call_bapi.
        clear: t_bapiset_hier, t_bapi1116_values, t_bapiset_hier[], t_bapi1116_values[].
    endif.
    t_bapiset_hier-groupname = wa_pg-pcg.
    t_bapiset_hier-hierlevel = wa_pg-hierlvl.
    t_bapiset_hier-descript = wa_pg-pcgdesc.
    APPEND t_bapiset_hier.
    at last.
        perform call_bapi.
        clear: t_bapiset_hier, t_bapi1116_values, t_bapiset_hier[], t_bapi1116_values[].
    endat.
    ENDLOOP.
    form call_bapi.
    CALL FUNCTION 'BAPI_PROFITCENTERGRP_CREATE'
    EXPORTING
    controllingareaimp = 'S001'
    TOPNODEONLY = ' '
    IMPORTING
    CONTROLLINGAREA =
    GROUPNAME =
    RETURN =
    TABLES
    hierarchynodes = t_bapiset_hier
    hierarchyvalues = t_bapi1116_values
    CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
    EXPORTING
    wait = 'X'
    IMPORTING
    RETURN =
    endform.
    Regards,
    Prasanth

  • Reg:: People and Groups Permission reports in sharepoint 2013

    Hi Techys,
    We have one SharePoinr 2013 team site, The total number of users for the site is 3200 members. Now my customer requirement is, they requested a report for people and groups and its permissions along with member names by group wise.
    Example: I'm having one SharePoint 2013 team site named as "My Auditions", it contains 28 groups with different permission levels. Each group having minimum 70 users. Now we need a report for each group permission along with group members.
    Kindly help me to getdown from the customer concern.
    Many Thanks,
    Madhu

    I would suggest a tool like Metalogix ControlPoint. It can quickly produce nice looking reports for this type of information.
    Trevor Seward
    Follow or contact me at...
    This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.
    Hi Trevor,
    I have decided to say very big thank for your great suggestion, I have installed the Control-point trial version in my personal Lab environment. It's working as i'm expected. But, I have to do the same task for my customer. How can i install the control-point
    in prod server without customer permission. even i'm having all uid and password as administrator.
    Could you please suggest me is there any scripting or ootb features.
    Many Thnaks,
    Madhu

  • Reg:Allocation on previous year actuals

    Hi Experts,
                      I have an issue in allocation, i wrote allocation logic to allocate profit center by previous year actuals that was ok but if there are new profit center created for this year and there wont be any previous year actuals for it so he asks me to allocate the amount evenly to all the profit centers if that possile in Run allocation ?
    the script below
    *SELECT(%ACC%,"ID", "ACCOUNT", "TOPDOWNALLOC = 'Y'")
    *SELECT(%CurrencyList%,"ID","RPTCURRENCY","CURRENCY_TYPE = 'R'")
    *SELECT(%ENTI%,"ID","ENTITY","ID = %ENTITY_SET%" )
    *SELECT(%CATE%,"ID","CATEGORY","ID = %CATEGORY_SET%" )
    *SELECT(%TIME%,"ID","TIME","ID = %TIME_SET%" )
    *SELECT(%PTC%,"ID","PROFIT_CTR","ID = %PROFIT_CTR_SET%" )
    *XDIM_MEMBERSET RptCurrency = %CurrencyList%
    *XDIM_MEMBERSET CATEGORY = %CATE%
    *XDIM_MEMBERSET TIME = %TIME%
    *XDIM_MEMBERSET ACCOUNT = %ACC%
    *XDIM_MEMBERSET PROFIT_CTR = %PTC%
    *FOR %ACCT%=%ACC%
    *RUNALLOCATION
    *FACTOR = USING/TOTAL
    *DIM ENTITY WHAT =%ENTI%.INP ; WHERE=%ENTI%; USING=%ENTI%; TOTAL=%ENTI%
    *DIM CATEGORY WHAT=%CATE%; WHERE=<<<; USING=ACTUAL; TOTAL= <<<
    *DIM ACCOUNT WHAT=%ACCT%_INP; WHERE=BAS(%ACCT%); USING=BAS(%ACCT%); TOTAL=<<<
    *DIM DATASRC WHAT=INPUT; WHERE=INPUT; USING=UPLOAD; TOTAL=<<<
    *DIM PROFIT_CTR WHAT=BAS(%PTC%_IN); WHERE=BAS(%PTC%); USING=BAS(%PTC%); TOTAL=<<<
    *DIM COSTCENTER WHAT= NO_COSTCENTER; WHERE=BAS(1004322231); USING=BAS(1004322231); TOTAL=<<<
    *DIM TIME WHAT=BAS(%TIME%); WHERE=BAS(%TIME%); USING=BAS(2009.TOTAL) ; TOTAL=<<<
    *DIM RPTCURRENCY WHAT=LC; WHERE=INR; USING=IN; TOTAL=<<<
    *ENDALLOCATION
    *COMMIT
    *NEXT
    Regards,
    Vinoth

    Hi Vinoth,
    First, what REF_DATA is. Initially WHEN statement in BPC NW worked on members defined in your XDIM statements rather than records from your Application like in BPC MS. Starting from BPC NW 7.0 SP09 (7.5 SP04) default behavior of WHEN has been changed to be based on Application data. For compatibility purposes and to leave a choice of using Dimension data a new statement was introduced - *WHEN_REF_DATA. You can read in more details about it in OSS Note [Note 1474115 - Enable new keyword: *WHEN_REF_DATA for script logic|https://websmp130.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=1474115].
    So, based on what Profit Centers you have to use you have to put either *WHEN_REF_DATA=MASTER_DATA or *WHEN_REF_DATA=TRANS_DATA.
    I didn't understand why would you need multiple new Profit Centers. I can see 2 options of implementing your scenario:
    1. You create an Input Schedule that allows user to enter number of Profit Centers. Than you use that number in your RUNALLOCATION.
    2. You create a script that calculates number of Profit Centers and stores it in same Application. Than you use that number in your RUNALLOCATION.
    a) Your script calculates total number of Profit Centers and puts it on member NO_PC. Than FACTOR = 1/USING will be in RUNALLOCATION
    b) You populate value 1 on each Profit Center on some special Account. Than FACTOR = USING/TOTAL will be in RUNALLOCATION.
    You have to decide first which path is more convenient for you. Some of the considerations I explained in my previous posting. After than we can proceed with developing that script; otherwise there are too many unknowns in that task.
    Regards,
    Gersh

  • Reg Authenticated Users Group

    Hello Everyone.
    We created two Roles Role1 and Role2 for this Roles we have assigned the Group "Authenticated Users"
    Now the client requirement is they wants to remove couple of users who are assigned to Role1(who belong to "Authenticated Users" group.
    Though it is not a good practise One thing I can do is search for the group "Authenticated Users" in portal  then choose modify and choose assigned users and remove the users from this group.So,that they can not see Role1
    If I remove the users from the group "Authenticated Users" then they will not be able to see Role2 as they are removed from the "Authenticated Users" group which is assigned to Role2
    Can anyone help me out regarding this issue.

    Hi Shailesh,
    What you understood is correct ie  "Both the users have been added to Role 1 and Role 2, and both the roles have been assigned to "Authenticated Group".
    I tried the step what you have stated.
    once I login to portal --- User administration -- identity management
    search for the user.
    choose modify
    if I click on assigned roles I do not see either Role1 or Role2 under assigned roles
    but if i click on assigned groups I see " Authenticated  Users"
    thanks in advance

  • URGENT: Allocating server groups to a particuler user/user group

    Hello All,
    Can we allocate a particuler server group to a a particuler user/user group? If yes, could you tell me how? We are using BO 4.1.
    A prompt reply will very much be appreciated.
    Thank you.

    Yes - you can, but ONLY for scheduling reports.
    you can create a server group and then while scheduling a report - there is an option "schedule for" here you can specify the intended group name and there is also an option called "Scheduling Server Group" so you can select the server group created  - this way, you can set a schedule to run for a particular group/user and have the group/user to use specific servers in a server group that you created.
    Hope this helps.
    Message was edited by: Rahul Verma

  • Reg. checkbox by group and simple types

    Hi,
    I have checkbox by group UI elemnet.
    I have binded the text property of the checkbox by group to a context attribute and its type property is selected from a simple type.
    In the view layout on NWDS its showing the label names which i hav given in the simple type. but when i deploy it and run it in browser its just showing only one check box. its not showing the label names.
    how to get the label names, using simple types. i,m able to get it using code.
    how to get it by simpletype???
    thanks, suresh

    hi,
    in case of check boxes, it will not work with
    a simple type
    write code similar to this according to your requirement
    in wdDoModifyVIew();
    if(firstTime){
    String[] names = {"one","two","three"};
    for(int i=0;i<names.length;i++){
    IPrivateCheckView.IXElement nelem =wdContext.nodeX().createXElement();
    wdContext.nodeX().addElement(nelem);
    nelem.setName(names);
    where X is a node ,
    Name is attribute under node X
    of type string
    bind the texts property of the check box group to the Node X
    Regards,
    Satya.
    Edited by: Satya on Nov 7, 2008 8:34 AM

  • Reg copying function group

    Hi All,
    I want to copy the function group COISSELECT to ZCOISSELECT.I have done from SE80 transaction but the problem is I want to change some includes in this function group when I am copy it has been asked target function module names but it has not been asked the target include programs so I am not able to modify the includes in this function group.
    Please some body suggest some idea how to do this?
    Mahesh

    Copy the includes separately in SE38.
    Replace with the new include name in your FG where it is declared.
    For eg:
    INCLUDE ABC. "declaration in FG
    This needs to be replaced with INCLUDE ZABC.
    Automatically the FMs in the FG will start referring to the code in the new include.

  • Reg:Allocation using UJR_WRITE_BACK

    Hi Experts,
                     I am doing allocation using badi based on previos year actuals.
                     I am using FM UJQ_RUN_RSDRI_QUERY to get the previous year actuals but the problem is that i have to use this FM
                     multiple times for every record.so it affects the performance of the system.
                     Can anyone send the sample code for this scenerio or helps me out in fetching database values effectively.
    Regards,
    Vinoth

    * Call SQE to read transaction data
    TRY.
        CALL FUNCTION 'UJQ_RUN_RSDRI_QUERY'
          EXPORTING
            i_appset_id       = lv_appset_id
            i_appl_id         = lv_application_id
            it_dim_name       = lt_dim_name
            if_check_security = abap_false
          IMPORTING
            et_data           = <lt_tx_data>.
      CATCH cx_ujq_exception.
    ENDTRY.
    I used this simple code and got all the records into the ITAB. hope this helps
    Sravan

  • Issue with Product Allocation Scenario

    I am Trying out Product Allocation in APO (SCM 5.0).
    Relevant setup in SPRO - Product Allocation Object, Group, Procedure, Sequence etc., Planning Object Structure, Planning Area, CVC generation, Connection between Planning Area and Product Allocation object in GATP, assignment in Location Product Master (at Customer Location) Product Allocation Procedure, Check mode, ATP Group has been done in APO.
    After entering data in appropriate keyfigures (Allocated Qty) it shows up under GATP>> Reporting >> Product Allocations >> Time Series per CVC
    Have carried out ATP Simulation to check that for a given product at Customer the Product Allocation against a Required Quantity takes place correctly.
    Now trying to carry out the Product Allocation check by creating a Sales Order in ECC. In that case during the material availability check screen in APO, the product allocation does not show up.
    I believe it is related to master data settings for the product in ECC. My questions are as follows:
    1. In ECC the product exists at the manufacturing plant only (and not at customer as in APO). There in MRP3 tab Strategy Group is maintained. Is this along with Availability Check field responsible for determining the check instruction (combination of check mode + business event) in APO for the Product Allocation check.
    2. If so (which I guess it is) I can see the check instruction picked up in APO while creation of sales order in ECC is different from the check instruction I ran simulation with. How can I ensure the same check instruction is chosen (in which case I believe the availability check result will be same as the ATP Simulation carried out in APO).
    3. In APO I ran simulation for the product at customer location (and maintained the required ATP settings in the product master). In case of Sales Order creation in ECC how does system pick up the Check Mode and Business Event for the product (having Sold-to as customer and Supply Plant as the plant code) and use it in APO.
    4. Any other setting/configuration that is missed causing this behaviour.
    I guess some of the questions is a bit hazy but I would appreciate if someone can outline the Product Allocation Scenario. I am trying out based on Building Block S59 Demand Planning for Product Allocation but of course it does not detail out enough.
    Disclaimer: My knowledge of GATP is almost nil but am exploring.
    Thanks,
    Somnath

    Hi Somnath,
    It will be a pleasure to help you out.
    Firstly I will list out all the steps which I can think of:
    (1) R3-You have moved all the ATP customizing from R3 to APO via ATP integration model.
    (2) APO- goto SPRO>APO>GATP>General Settings>Maintain Check Instructions
    Here go to Check Mode- 041 and Business Event- A and maintain the following settings manually in development and migrate it all the way to Production
    I am assuming here that you want to first do an allocation check and then availability check**
    Product Allocation: Change from NO CHECK to First Check
    Product Check: Change from First Check to Second Check
    This check mode and business event is the most common one which is triggered while placing a sales order
    See the following blog for DETERMINATION OF CHECK MODE
    http://solution-timezone-issue.blogspot.com/
    There might be other check modes( 030, 050) which might also require this change. However you can judge that while placing a sales order and when you go to the availability screen, You have the tab - SCOPE OF CHECK CONTROL where you can see the Check Mode + Business Event
    Following guidelines can be used to modify Check Instrctions after Customizing Import from R/3 –
    1.     Business Event A*  is Sales Order Entry (The main scope of GATP) so define check instructions for all check modes since it is not possible to identify the requirement class that may come over on an order. For Business Event A* if availability check was being done in R3, then define check instructions with Allocation as first step, then Availability check as second step. Else if no availablity check in R3 then define check instructions with no availability and no allocation checks.
    2.     Business Event B* is  normally for deliveries but is also required for Rush Sales Orders. An R/3 configuration showed that 041 is the only requirement class that will come across for this business event. Hence defined only for 041 check mode. For Business Event B* if availability check was being done in R3, then define check instructions with Allocation as first step, then Availability check as second step. Else if no availablity check in R3 then define check instructions with no availability and no allocation checks.
    3.     Business Event 03 required for Inventory Transaction availability check such as MB1C. For such transactions, the APO Product Master Check Mode is used. Hence check instructions for all Check Modes are maintained. For Business Event 03 if availability check was being done in R3, then define check instructions with Availability check as first step. Else if no availablity check in R3 then define check instructions with no availability checks.
    (3) Maintain the Product Alllocation Procedure:
    <b>a-</b> Create a Product Alloc Object -- Example: PAO-001
    In this step, we define the product allocations objects - product allocations are saved per object for a characteristics combination in the product allocation group.
      Product Allocation Procedures can be used to maintain different Product Allocation Objects for different time validity periods.
      Generally Product Allocation Objects are used to model the different ‘reasons’ for the need for allocation – material shortage, capacity constraint, etc.
    <b>b-</b> Product Alloc Group--PAO-1234
    A product allocation group defines a group of characteristics against which allocation checking is done.
       Creating a Product Allocation Group creates a characteristics directory in the APO database and an area in Live Cache where the key figures are maintained.
       If ‘Check Planning Area’ is set to No then allocation and incoming order quantitiy data can be seen in table /SAPAPO/QTTAB. If the ‘Check Planning Area’ is set to Yes then no data is stored in this table and the allocation check is done directly against the data in the Planning area.
       Detials of allocationconsumption by sales orders are maintained in table /SAPAPO/QTVB in APO and in QTVB in R/3.
      If ‘Check Planning Area’ is set to ‘Yes’ and if there are users are in the change mode in the Planning Book, Sales Order Entry can get locked out.
      If ‘Check Planning Area’ is initially set to yes and then deactivated later you will no longer see data in /SAPAPO/AC42.
    Settings:
    Check Planning Area – Yes. The reason being that users are not expected to lock planning books as they would be defaulted into the display mode (through a development object). Also most allocation uploads will be through batch jobs. Setting it to ‘Yes’ reduces one step of moving data between the planning area and the allocation group.
    Check Date - Material Availability Date. Consumption of allocation quantity and checking of available allocation quantities is determined by the check date.
    Time Bucket Profile – Week
    Characteristics – Product Allocation Object (1), Product (2), Plant(3), Customer(4)
    Consumption Period – Bwd Consumption 1  
    Meaning that first the order will consume from current week allocation and then go 1 week backward to consume.
    <b>c-</b> Product Allocation Procedure --- PAO-4567
    Step Sequence:
    <i>Step</i> -
    <i>Step Name-</i> -
    Prod Alloc Group -
    Wild card
    1                      First Step             PAO-1234                     9
    <i>Alloc Procudure</i> - PAO-4567
    <i>Prod Alloc Step</i> -1
    <i>Control</i>
    <i>Valid from -
    Valid to---- -
    Object -
    Active -
    Factor</i>
                            12/31/2037      PAO-001    Check the Box                  1
    <b>d-</b> Maintain Connection to Planning Area (APO) 
    In this step, we maintain the assignment of the planning area to the product allocation group. We must make this assignment because characteristics of the product allocation group have different names from the info objects of the planning area.
      All characteristics of a product allocation group must be assigned to an info object. But multiple info objects can be assigned to one info object. It is not always necessary to assign every info object to a characteristic. It is possible for aggregation and disaggregation (depending on the direction of transfer) to take place with info objects that are not assigned.
    <i>Product Alloc Group -
    Planning Area -
    Version -
    Time Buckets</i>
    PAO-1234                         xxxxx                     000             W
    <i>Characteristic</i>
    KONOB - Prod Alloc Obj
    MATNR --- Material
    WERK -
    Plant
    XXXXX---- Customer
    <i>Key Figures</i>
    Order Qty - AMENGE
    Alloc Qty - KCQTY
    <b>e-</b>  Check the Product Alloc Settings
    This is only a check- Everything should be green and OK .
    (4) You have planned the Characteristic Combination on which you want to do ALLOCATION.
    <b>Create a new POS-</b> Which has your chracateristics as PRODUCT, PLANT,CUSTOMER, Product Alloc Object ( 9AKONOB)
    <b>Planning Area,-</b> Key figures required are Alloc Qty, Order Qty( Sales Order Qty)
    <b>PLannig Book, Data View</b> which has the following characteristics- Product, PLant
    Assuming you are allocating at the following CVC level- Product, PLant,Customer
    Step 1:
    /n/sapapo/MC62-Create Time Series- Basicallly your CVCs -
    Example: Product 1234, Plant INDIA, CUstomer WALKART
    Step 2:
    Move Characteristic Values Combination to Allocation Group (APO) 
    /SAPAPO/ATPQ_PAREA_K
    INput :
    Planning Area: xxxx
    Prod Alloc Group: PAO-1234
    (5) In the INtegration MOdel - Activate the ATP CHECK Integration model for the Plant and material
    THis is the KEY which decides whether availability should be done in R3 or APO
    Material Active in the integration model -- Means Availability( GLOBAL AVAILABILITY: Prod Alloc+Prod Availability) is done in APO
    Material not active in the integration model --- Means Availability Check is done in R3
    (6) APO MASTER DATA SETTINGS:
    Material Master:  On the ATP Tab, Assign Loc Dep Procedure ( Prod Alloc Procedure)
    Location Master: Calendar Tab> Create a shipping time stream calendar
    Additional Info: Please contact your R3-SD people as this involves a lot of understanding and I have not listed all the details here.
    This config shown here is a very basic one which not even 25% of the companies might be using.
    If you have any questions on this part- please see my business card and email me**
    (7) SCHEDULING: This is a major task which determines the route and transit times for calculating the
    Material Availability date
    Goods Issue Date
    Delivery Date
    on the sales order line item- schedule line
    I dont know whether you need info on this**There are many ways of doing this
    a- Configurable Scheduling
    b- COndition records
    c- User Exit
    You can find documentation in SPRO or else let me know*
    For simplicity- Let me take the easiest to create and difficult to maintain master data- Condition Records
    Step1 --Define Field Catalog for Condition Table (APO) 
    /SAPCND/AU01
    Require Plant and Route defined here in the field catalog
    Step 2- Define Condition Table for Scheduling (APO) 
    /SAPCND/AU03
    Create a new table- 901
    901 -  Pick Time based on Route with key as Route
    902- Route Time based on route
    Step 3- Maintain Access for Scheduling (APO) 
    /SAPCND/AU07
    Take the important ones- PICK and TRAN
    I am assuming again as I dont know what kind of Scheduling is maintained on R3 Side. Mostly 80% companies have only two lead times- Pick and Route Transit time.**
    PICK- Select pick and click on accesses > <i>Acno</i>-10-- <i>Table</i>-901
             >> Then save it > and go in again
    Select PICK and click on Fields> A popup will appear > Enter the access sequence as PICK--- Enter the access as 10  and click on the GREEn ARROW and save it
    TRAN- Select TRAN and click on accesses > <i>Acno</i>-10-- <i>Table</i>-902
             >> Then save it > and go in again
    Select TRAN and click on Fields> A popup will appear > Enter the access sequence as TRAN--- Enter the access as 10  and click on the GREEn ARROW and save it
    Now coming to maintaining the Condition records in APO EASY ACCESS
    /SAPCND/AU11
    Create  SCheduling Step for PICK : Enter condition type- PICK
    <i>Enter Route</i>- USCAN --- <i>Duration</i> -24:00 (Hrs)
    Create  SCheduling Step for TRAN: Enter condition type- TRAN
    <i>Enter Route</i>- USCAN --- <i>Duration</i> -48:00 (Hrs)
    Now Let me answer your questions:
    (1) Question 1- <i>In ECC the product exists at the manufacturing plant only (and not at customer as in APO).</i>     
    I did not undertsand what you mean here. As we can create a Material at the following locations in APO( Dist Center(DC), Manu Plant(PL), Cusomter, Vendor, etc)
    For GATP all we need is the material at a PLant location
    STrategy Group on MRP3 tab: This is purely used for determining the CHECK MODE value on APO Product Master.
    When this is blank on R3, the check mode will be blank on APO.
    However SAP recommends Putting in a strategy group value on R3 Material Master
    or
    a default Check MOde value for all those Products who have blank check mode-   041 is the best value * This piece SAP hasnt recommended but I found that there is No harm in anyway and it is MANDATORYfor inventory transactions like GOODS ISSUE otherwise you will get a QUEUE in SYSFAIL **
    Even if this is blank this has no effect on the GLOBAL ATP as the Check mode for a SD transaction is determined as follows
    98% of the SD transactions will generate a CHeck mode of 041 and Business Event- A ***
    Through the item category and the MRP type in the MRP view
    The item category is derived from the item category group in the Sales view of the material master record and from the order type of the sales document. Together with the MRP type in the MRP view of the material master record, the item category determines what requirements type is selected. The advantage of this method is that the selection of the requirements type depends on the business process (such as quotation, sales order, or repair).
    (2) Question 2 - I guess now you must have understood why when you do a simulation in APO, it is taking the Check mode from APO product Master
    and when you do a ATP Check from R3, the check mode(041) is different
    You dont need to ensure that they are the same- It doesnt matter in anyway.
    (3) Question 3- <i>In APO I ran simulation for the product at customer location (and maintained the required ATP settings in the product master).</i>I
    When you run ATP simulation- AC04, you generally run it for the plant as that is the supplying location and not the customer.
    <i>In case of Sales Order creation in ECC how does system pick up the Check Mode and Business Event for the product (having Sold-to as customer and Supply Plant as the plant code) and use it in APO.</i>
    PLease look above for this answer.
    (4) Question 4 - <i>Any other setting/configuration that is missed causing this behaviour.</i>
    To my best knowledge, whatever I could remember I have listed out. However there are some more steps which might be needed.
    Follow all the steps as I have mentioned and whenever you get struck somewhere, shoot me a message and I will help you.
    ONe more pointer here to what you have mentioned
    Relevant setup in SPRO - Product Allocation Object, Group, Procedure, Sequence etc., Planning Object Structure, Planning Area, CVC generation, Connection between Planning Area and Product Allocation object in GATP, assignment in Location Product Master (at Customer Location) Product Allocation Procedure, Check mode, ATP Group has been done in APO.
    After entering data in appropriate keyfigures (Allocated Qty) it shows up under GATP>> Reporting >> Product Allocations >> Time Series per CVC
    <u><i>Have carried out ATP Simulation to check that for a given product at Customer the Product Allocation against a Required Quantity takes place correctly.</i></u>
    Somnath, I believe you might have a wrong picture here. The concept of allocation is  Controlling Supply against huge Demand which is in this case coming from SALES ORDER
    When you place a sales order, the supplying location is your plant and that is where you would like to put in allocation quantities
    Say for example for a material 12345 - You have stock of 100 Qty in Plant KING fo this week and it shows as follows in the planning book
    Customers say are WALKART, GE-FUG, MACROGUN
    The CVCs which we have to create are as follows
    Similar to Demand PLanning**
    Material 12345 -PLant KING-Cust WALKART-Prod Alloc Obj
    Material 12345 -PLant KING-Cust GE-FUG-Prod Alloc Obj
    Material 12345 -PLant KING-Cust MACROGUN-Prod Alloc Obj
    And this is how it appears in the planing book when you go into DETAILS ALL
    You basically enter the Allocation Quantities just as how you enter forecast quantities in DP Book*
                            Wk1   |  WK2     WK3   WK4  WK5
    Alloc Qty                     |
    Material 12345                |
    Plant KING                    |
    Cust WALKART            50    |
    Cust GE-FUG             30    |
    Cust MACROGUN           20    |
    Incoming Order Qty               |
    Material 12345                   |
    Plant KING                       |
    Cust WALKART           <u>50</u>|
    Cust GE-FUG            <u>25</u> |
    Cust MACROGUN          <u>20</u> |
    <u>50</u> : Say the Cust WALKART has ordered 250 for this week, however only the allocated quantity -50 will be confirmed for him and the remaining 200 qty will be confirme at a later week when he is given the allocated amount.
    <u>25</u> :Similarily say this customer GE-FUG has ordered 20 qty. So his remaining allocation is basically 5 which cannot be used by any other customer.
    <u>20</u> : Say this customer MACROGUN has ordered exactly the allocated amount of 20. So his remaining allocation will be 0.
    This is the basic idea of how Allocation Concept is used in GATP.
    Ofcourse you can add the other functionalities like
    Rules Based ATP(LOcation Substitution, Product Substitution)
    Multi ATP( BOM-COmponents)
    Check Aginst Forecast
    Etc Etc
    Like any other module of SAP- this module has much to offer which unfortunately I cannot list here**
    GOOD LUCK and let me know If you need additional help.
    Regards
    KUMAR AYYAGARI
    Message was edited by:
            Kumar P Ayyagari

Maybe you are looking for