Customer Exit Varible to read master data

Hi Experts,
I have requirement here.
I have a query with two selections. Fiscal Period ( variable name is ZFISC and is mandatory  ) and Customer ( varible name is ZCUST and is optional ).
The query displays KeyFigure KF1 which is resticted by a range ( lets says 001.1995 to ZFISC ).
Now the actual reqmt is the Customer Master data has an atribute called Customer fiscal period.
The user exit should be popualted with the logic below.
Case 1.
When the user enters some period and customer, the user exit should compare User entered period and the user entered customer and update ZFISC. If the Customer fiscal period is more than the user entered period, the range should add the differnect to zfisc ( lthen the range would become 001.1995 to ( ZFISC+1) )
Here the report will show only one record
Case 2.
In this case, the User doesn't enter any customer, this means when the data is displayed, for each customer thats listed in the report, the logic from
This case is quite tricky, since

Here again with the missing statements from my previous post.
Hi Experts,
I have requirement here.
I have a query with two selections. Fiscal Period ( variable name is ZFISC and is mandatory ) and Customer ( varible name is ZCUST and is optional ).
The query displays KeyFigure KF1 which is resticted by a range ( lets says 001.1995 to ZFISC ).
Now the actual reqmt is the Customer Master data has an atribute called Customer fiscal period (ZCUSTFISC).
The user exit should be popualted with the logic below.
Case 1.
When the user enters some period and customer, the user exit should compare User entered period and the user entered customer and update ZFISC. If the Customer fiscal period is more than the user entered period, the range should add the differnect to zfisc ( meaning the range would become 001.1995 to ( ZFISC+1) )
In this case the report displays only one record and teh logic is quite straight forward.
Case 2.
In this case, the User doesn't enter any customer, this means when the data is displayed, for each customer thats listed in the report, the logic from case 1 should be used.
How do we make sure in the logic we are looking at Customers the query will populate?
If we set the ZFISC, will it be applicable globally or for each record thats shown in the report? Ideally we require the logic should apply to each record thats shown in the report
Please help.
DV

Similar Messages

  • Problem in Read Master Data rule type in Transformation

    Hi,
    I have 'Tax Classification' & 'Sales Territory' as attributes for 0customer (Master data).  I loaded master data for 0customer & data have come up for this 2 fields.  I want this 2 fields in my DSO with data filled.  As this 2 fields are not in Transaction datasource of my DSO,  i added this 2 fields in the Target side in Transformation of the DSO.  In Transformation, I gave the rule type as 'Read Master Data'  from attribute of '0customer' & mapped KUNAG (Sold-to) to this 2 fields.  Activated the Transformation & executed the DTP.
    When i check the data, i could see that the Infoobject 'Sales Territory' column alone is filled but 'Tax Classification' column is blank.  Tax classification has data in 0customer master data for the displayed customer values but still data is not coming in DSO.
    How does this happen when both the fields have same mapping & rule type and still data not getting populated for one field alone.  Am i missing anything?
    Regards,
    Murali

    hi,
    the green request in MD does not means that the data in MD is activated, you need to activate it after loading everytime so that it reflects in where used list as well.
    regards,
    Arvind.

  • Error - InfoObject cannot be used to read master data

    Hi All,
    We am working on mapping objects in a transformation, on some of the transformation I am using the master data attribute to fill the infoobject.  In some cases the mapping happens without incident but in others we are getting the following error
    InfoObject  cannot be used to read master data
    Inside the long text of the message it says:
    InfoObject  does not have the correct attributes to be used to read master data for the target field
    The object is one of the master data attributes, so we are not sure why we are recieving this error?
    We have recieved it with 0COMP_CODE trying to load Fiscal Year Variant and with a non standard enhanced object ZMATERIAL which is a copy of 0MATERIAL with added attributes for Product Class, Product Group and Product Line wich come from the product hierarchy and are populated on the load of the material from product hierarchy.
    Has anyone else had an issue with this error and can you tell us how you fixed it???
    Thank you!
    Caroline

    You received this error for loading 0FISCVARNT (Fiscal Year Variant) because that InfoObject isn't an attribute of 0COMP_CODE (Company Code) and it cannot therefore determine what data to populate based on your input. Instead of using 0COMP_CODE, you may have to enter a constant value for the Fiscal Year Variant if you don't have it in your source InfoProvider.
    When you created ZMATERIAL, did you use 0MATERIAL as a reference so that it would inherit the attributes and texts? If so, Product Class, Product Group and Product Line would have to be attributes of 0MATERIAL. If you didn't reference 0MATERIAL and are loading attributes directly to the custom InfoObject attributes, then Product Class, Product Group and Product Line would have to be attributes in ZMATERIAL in order to use the Use Master Data function for transformations. You may have to derive the values for these different, such as add ABAP for lookup routines.

  • Read Master Data on Process Order

    Hi there,
    We have a process order in status CRTD PRC  APNG APRS BCRQ MANC SETC.  But when user try to initiate a Read Master Data for Prod Version / Master Recipe / BOM, system is giving this error log:
    No approval: production version 0001 has not been approved
    Unreleased engineering change orders:
    Engineering change order 500000000001 has not been released
    I have checked on the Change Number for both the Master Recipe and Bill of Material and everything seems to be correct.  Why does SAP prompting "No approval: production version 0001 has not been approved" and why is SAP trying to read Engineering Change Order 500000000001?  This is an old one possibly the first Engineering Change Order generated...
    Cheers
    Edited by: patvin on Oct 18, 2010 11:44 AM

    Dear,
    As per GMP Steps are as,
    The procedure in the environment requiring an approval is the following:
    -> Create
    1. Create new production version, without specifying recipes and bill of material.
    2. Assign a change number which is valid for the recipe and the bill of material to be entered to the production version.
    3. Enter recipe and bill of material in the production version or if external number assignment of the recipe is required, make no entry in the recipe group.
    4. Navigate to the recipe, for example, by double-clicking on the Recipe field.
    5. Maintain the recipe and the material list (bill of material) within the recipe as usual.
    6. Save the recipe and, therefore, also the bill of material. (Return to the production version transaction. )
    7. Save the production version.
    -> Change
    1. Assign a change number which is valid for the recipe and the bill of material entered or to be entered to the existing production version.
    2. Navigate to the recipe and further processing as described under -> Create.
    After the release of the change request, all three objects production version, recipe and bill of material are approved providing a change rule which prescribes an approval procedure was defined in the recipe header.
    You need a suitable change request for defining the change rule. Providing you use the integrated maintenance via the production version as recommended, proceed as described above and assign the suitable change request to the production version.
    If you want to ensure furthermore that no recipes are created without change request, use a profile set correspondingly in Customizing for the creation of recipes.
    Hope clear to you. For details refer the Note  154360 - Maintain prod.vrsns+recpes i.env.requirng an apprvl
    Regards,
    R.Brahmankar

  • Read Master Data for Process order status change (REL to CRTD)

    I am unable to read master data and thus change the status of process order from REL to CRTD. (COR2)
    The reason it says, error in BOM reading, Transport Requirement (TR) already generated.
    Even after deleting the TR (LB02), the issue still exists.
    Is there another way of changing the status or some more steps are needed for the TR deletion?
    Thnx!
    Abhi.

    Order header Status-
    REL  Released
    MSPT Material shortage
    PRT  Printed
    PRC  Pre-costed
    BASC Batch assignment complete
    BCRQ Order to be handled in batches
    SETC Settlement rule create.
    In the error log it gives-
    Diagnosis
    Transfer requirements have already been generated, so therefore the bill of material cannot be read.
    System Response
    The system does not execute the action.
    Then I deleted the TR (LB02), but still I cannot reread the master data.
    The MSPT was for only 2 materials out of 6 and there is no GMPS status.
    There is prod supply area and control cycle used.
    and the TR generated at order release.

  • Error while assigning infoobject to the read master data in rule type

    Hi sdns,
    I want to read the zwostd info object data from zemployee master infoobject attribute list. For that i have selected  rule details of zwostd infoobject in transformation of info cube, then i am tring to select the read master data rule type. It is taking more time and then it displayed error like permitted time was  exceeded. Could any one please give me  the solution for this problem.
    thanks
    karun

    Sometimes directly typing the infoobject name in the field helps - otherwise it tries to fetch all the infoobjects available which is possibly why the time out occurs..?
    Enter the Master Data infoobject directly and then you will get the fields assigned.
    However my experience with read master data has been that whenever you change the master data IOBJ by way of adding / removing Nav Attributes / attributes etc - all the transformations using the read master data for the IOBJ that is being changed will get deactivated and it is a pain reactivating and transporting them again - particularly so when you are developing something on them and the changes are stuck across multiple requests ...
    IMHO use a routine instead to do the same - it involves lesser maintenance. SAP is anyway going to run a similar SQL...

  • Read master Data is not behaving properly

    HI All,
    We have upgraded BI server with SAP_BW patch 17.
    we have used Read master data rule type in the transformation to ODS and its giving proper output where as expected .But at the same time it also giving some improper out put ,means for those values which are not there in masterdata it is giving some wrong value , but while testing in to trasformation it is giving message for those entries that they are not available in the master data .What  we did was loaded flat file for billing type in to Z infoobject contains two more info object in to attribute tab and in to those attribute through flat file we are loading some value and during transaction load we want attribute value to be filled for those biling type which were loaded in master data through flat file.
    please help
    regards
    Gaurav

    Hello
    This is further to the problem described by Gaurav.
    Let me explain the proble with an example
    Consider the Master data:
    Doc Type(key)                 Attr 1                   Attr 2
    ZORS                            PRODUCT            Revenue
    ZORD                            PRODUCT            Revenue
    ZORP                            PROJECT             Revenue 
    ZMTO                            PROJECT             Revenue                   
    ZCOS                            SERVICE              Revenue
    Consider Transaction data
    Doc        Doc Type
    10001     ZORS
    10002     ZORD
    10003     ZORP
    10005     S1
    10006     ZBDN
    Expected O/p in the ODS is
    Doc        Doc Type       Attr1  
    10001     ZORS           PRODUCT
    10002     ZORD           PRODUCT
    10003     ZORP           PROJECT
    10005     S1
    10006     ZBDN
    10007     ZCOS           SERVICE
    the Observed O/p
    Doc        Doc Type       Attr1  
    10001     ZORS           PRODUCT
    10002     ZORD           PRODUCT
    10003     ZORP           PROJECT
    10005     S1                PROJECT
    10006     ZBDN           PROJECT
    10007     ZCOS           SERVICE
    We are not able to understand how Attribute values are coming for Doc No 10005 and 10006.
    We have recently applied patch 17.
    Is there any reason for this
    Thanks
    Regards
    zubin Kurian

  • Process Order status CRCR needs to  re read master data

    All,
    I have an issue with re-reading the master data in process order.
    I have an order which was  released and control recipe was also released since we use pi sheet to record shop floor data.
    After releasing the control recipe user  made changes into bom and he wanted to re-read master data , on the master data tab re-read master data button is not activated not  if i go menu path from the header process order-> functions-> re-read master data is active.
    Neither i am allowed to set the deletion flag for the order, i am getting error message process order status CRCR does not alow to set the delection flag.
    Any solution to this issue is appriciated
    Either i should be able to re-read the master data or set the deletion flag...

    In your case Control Recipe is already created, so you need to send a process message to set the status of the control recipe to finished. "CRFI". Follow the steps below,
    Transaction CO57, to trigger manually a process message with message Category PI_CRST for the process order and Control reciepe combination.
    Then use Transaction CO54 to send the Message to the process order.
    You can complete the PI Sheet by clicking the "complete" button in the PI Sheet also.
    Now try to re read master data

  • Custom Fields in the Product Master Data

    Hi Experts!
    I have to add some custom fields in the product master data on SRM and I also need to have this data to be synchronized with the same in ERP.
    After having added this fields, can you pelase suggest a way to syncrhonized them with the ERP? is there a BADI I can leverage as in CRM?
    Thanks in advance.
    Points promised.

    Hi,
    See these related threadS:
    Re: Replicating additional fields (R/3 4.7) to SRM product master
    Transfer Inforecord Conditions Scales  to SRM Product Master
    https://www.sdn.sap.com/irj/scn/threadmessageid=6669812#6669812
    Extending SRM Product Master
    BR,
    Disha

  • How to read master data?

    Can anyone tell me the procedure how to read master data?

    Hi,
    I am sorry but your question is a bit vague. What do you mean by your statement? Can you please elaborate your requirement.

  • Error in Read Master Data

    Hi,
    When we try to do the read master data, system throwing an error as Transfer requirement is already been generated. So BOM cannot be read.
    What will be the reason for this?
    Regards,
    Sureshbabu G.

    Hi,
    It means you have a pending Transfer Request for that particular order.  Now, if there are existing TRs for the order, you can't do Master Data Read. 
    Delete the TR first, then re-read master data again. 
    Thanks!

  • Failed to read Master Data

    Hi All,
    We are facing an issue while doing to Save data. We are suspecting that the source could be Master Data mechanism on Fly we have implemented .
    For ex , User can create a new Entity in Portal and this triggers Import Master data from Flat File which creates ID and HIR and loads to BPC. This processes Hierarchy.
    User also updates Master data properties in Portal .For ex: User changes Currency for Entity and this triggers Import Master Data from Infoobject and these changes flow to BPC.
    So these two packages Import Master Data from Flat File and Import master data from Infoobject are always running frequently when users changes values in Portal and at this point some other users will be doing submissions.
    The issue is we are suspecting that Master data loads are causing Save data to fail. Some records are saved but not all.
    May I know if standard BPC allows Save Data while Import Master Data is loaded either Flat file or Import Master Data from Infoobject is running in background. These updates Hierarchy and disturbs Dimension master , not sure if Save data is possible . I am getting mixed results while reproducing this issue , so need some expert comments on this issue.
    Apologies for bad scrrenshot.
    The text in the screenshot is below
    EPM . General Error
    * Failed to Save Data
    Details : Framework Message
    Failed to read Master Data from Dimension Entity
    Thanks,
    Krishna

    Dear Vadim,
    I know about the limitation but we have been fighting with SAP all this while and eventually it looks like we have succeeded in getting a solution for this business requirement. This appears to be a big update and I would like the Consultant world to know about this.
    We have applied this
    Note 1958480  Allow user logon BPC client while others are importing maste
    which was hiding somewhere till now .SAP development team was under the same opinion as we are that Master data and Transaction data loads cant run in parallel but after applying this Note as suggested by one of the developer recently, it looks like both are running in parallel.
    In the testing I noticed that I am able to load Import Master data from Flat File and Copy Transaction data (in cube) and Copy transaction data (cross cube) successfully. Both Master and transaction data loads are now running in parallel.
    I was not able to believe but it appears to be working now as we expected .
    We are going to do fully blown testing to see if we are going to face any dead blocks.
    With this looks like we have a 100% working Real time Master Data loads functionality as expected by User.
    Thanks,
    Krishna

  • Read Master Data in BW Transformation

    Hi,
         I am using BW 740 SP02 and I need in a transformation rule to use the option "READ MASTER DATA", In fact this enables me to use all attributes of an infoObject and affect them to my data target ( Infocube).
         I was wondering if there would be any possibility to affect also master data text of an infoObject and affect them to a data target?
    I know that master data text are available through Bex queries, but for my case I need to have them in my Infocube.
    Best Regards,
    RAFIK

    Hi Mohamed,
    Using standard rule type this is not possible
    However there are two ways to achieve this:
    1. you use abap routine to read the text value from text table of info object (BIC/Txxx) in transformation
    2. a. add a char info object to your master data
        b. create another transformation from text data source to populate this new field (which is actually text)
        c. create DTP to populate this new field with text values
        d. now you can easily use, 'read master data' rule in transformation and assign the text field to your target field
    hope this helps,
    Purvang

  • Read master data on demand:

    I am trying to install a cube  following error occured :
    <b>Read master data on demand: Attribute 0CHRT_ACCTS shown is not an attribute of 0COMP_CODE.</b>
    Please help.

    check if 0comp_code has chart of accounts as attribute or not - delivered version has it as an attribute. It might be that you guys might have removed it - and the same value is being derived from masterdata table in the cube in the update rules - and the system is not able to find it - and is bombing out

  • Read master data example

    hi please tell me the use of transformation ---> read master data.with example please

    Hi,
    Please search the forum before posting.This is again very basic question and has been discussed couple of times.
    Read the below pdfs.
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/50357f56-5701-2e10-fd8c-a2da94bd95dd?QuickLink=index&overridelayout=true
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/306ccc96-f000-2d10-1985-b20209f2b502?QuickLink=index&overridelayout=true
    Hope it helps.
    Regards,
    AL

Maybe you are looking for

  • IMovie won't display edited images

    Here's the story: 1. copy a photo in Camera Roll 2. crop the photo 3. save it 4. in iMovie the thumbnail displays the cropped image 5. insert into video and the UNcropped image is displayed Easy to duplicate on various iPads using ios7 and upgraded i

  • Delivery subcriteria for Vendor Evaluation

    Hi How are the scores computed for the subcriteria in Deliovery? Regards Soumen

  • How can we call creen of one program from some other dynpro Program

    Hi, Is it possible to call a screen of one program from some other program as pop up or full scree. please give you input if it is possible. Thanks in advance. Thanks and Regards, Praveen.

  • JCo Connection / RFC in Pricing Userexit

    Hi Experts, Need your help: I have a requirement to make a RFC call in IPC Pricing Userexit.  First I made a simple test java class to make RFC call and run it locally without any problem. then I copy the same code to the Userexit, but it failed on t

  • 6.0.4 iTunes won't open--several common problems don't seem to be issues

    I just recently updated my iTunes to version 6.0.4, and now I can't run it. When I try, my mouse pointer gets an hourglass next to it for a split second, and then nothing happens. I don't get any error messages, and the install seemed to go fine. Qui