Infoset based on logical database CRC and customer field wrongly calculated

Hello,
I'm building an info-set (SQ02) based on logical database CRC. My requirement is to calculate a value based on the start date of the capacity allocated to a work center (KAKO-BEGZT).
I defined a customer field (named FIELD1) with data type I, defined in R-KAKO_A with the following coding :
FIELD1 = R-KAKO_A + 100.
After having built the query (SQ01), the field returns correctly the value for FIELD1 only if an interval is defined in the capacity of the work center. Without that, FIELD1 is always null.
Can you help ?
Thank you

capacity header data is linked to table KAZY (interval) - if there is no relevant record there, your field1 gets nothing

Similar Messages

  • Using infoset based on logical database gives lots of selection parameters

    Hi
    I'm trying to assist a new Crystal user in getting up on running on Crystal using infosets from SAP. Presently a simple infoset based on logical database PNPCE has been built using fields from just three infotypes (to keep things simple).
    When the user logs onto crystal and selects either this infoset, or a query based on the infoset, the very next step requires the user to set 80+ parameters to be null before running the report, and unfortunately those values cannot be saved to if in order to re-run the user has to manually set all the vallues to null again. Clearly this makes it pretty frustrating to use!
    This initial screen does not appear if using an infoset based on table joins, but unfortunately the logical database needs to be used to fulfill certain reporting requirements.
    I've tried saving a selection variant against a query and forcing it's use but these setting don't seem to be picked up by Crystal.
    Are there any Crystal/Query experts out there that can help with this?
    Regards
    Phil

    Hi,
    Is there anyone out there that can help with this? Seems to me like an issue that there 'should' be a soluton to...but I haven't found it yet!
    As a bit of additional info - the use of table join based infosets is not an option primarily because there are a lot of reports required that pull in the OM 'additional fields' that come through automatically when using an LDB. However, for table joins, it requires custom coding to be required to the infoset, which clearly restricts the user base from the ability to build their own reports.
    Regards
    Phil

  • Addtional Structure on InfoSet query of Logical database

    Hi Experts,
    We have a logical database on which we are supposed to create an InfoSet query. We could create the InfoSet query and also the query on top of it.
    We have a requirement to add addtional fiels which are not part of the logical database. The addtional fields are in a strucuture. I added the strucuture using the Extras option, but I need help on how to extract data from this strucuture.
    Can you please help me with a sample code:
    Logical Database in question is - FTI_TR_PERIODS
    Structure to be included is - VTG_IRATE_STRUCTURE
    Field in structure to be included is - PKOND, SKOART
    As this is a structure we cannot right a select statement, and I am very new to abap and require help on how to extract data from the structure.
    Thanks for your help.
    Best Regards,
    Ravi

    Hi,
    This is SAP Business one reporting and printing forum. Please find correct forum and repost above discussion to get quick response.
    Please close this thread here with helpful answer.
    Thanks & Regards,
    Nagarajan

  • Logical Database design and physical database implementation

    Hi
    I am an ORACLE DBA basically and we started a proactive server dashboard portal ,which basically reports all aspects of our infrastructure (Dev,QA and Prod,performance,capacity,number of servers,No of CPU,decomissioned date,OS level,Database patch level) etc..
    This has to be done entirely by our DBA team as this is not externally funded project.Now i was asked to do " Logical Database design and physical Database
    implementation"
    Even though i know roughly what's that mean(like designing whole set of tables in star schema format) ,i have never done this before.
    In my mind i have a rough set of tables that can be used but again i think there is lot of engineering involved in this area to make sure that we do it properly.
    I am wondering you guys might be having some recommendations for me in the sense where to start?are there any documents online , are there any book on this topic?Are there any documents which explain this phenomena with examples ?
    Also exactly what is the difference between logical database design vs physical database implementation
    Thanks and Regards

    Logical database design is the process of taking a business or conceptual data model (often described in the form of an Entity-Relationship Diagram) and transforming that into a logical representation of that model using the specific semantics of the database management system. In the case of an RDBMS such as Oracle, this representation would be in the form of definitions of relational tables, primary, unique and foreign key constraints and the appropriate column data types supported by the RDBMS.
    Physical database implementation is the process of taking the logical database design and translating that into the actual DDL statements supported by the target RDBMS that will create the database objects in a target RDBMS database. This will generally include specific physical implementation details such as the specification of tablespaces, use of specialised indexing (bitmap, clustered etc), partitioning, compression and anything else that relates to how data will actually be physically stored inside the database.
    It sounds like you already have a physical implementation? If so, you can reverse engineer this implementation into a design tool such as SQL Developer Data Modeller. This will create a logical design by examining the contents of the Oracle data dictionary. Even if you don't have an existing database, Data Modeller is a good tool to use as a starting point for logical and even conceptual/business models.
    If you want to read anything about logical design, "An Introduction to Database Systems" by Date is always a good starting point. "Database Systems - A Practical Approach to Design, Implementation and Management" by Connolly & Begg is also an excellent reference.

  • Assign Scenarios and Customer Fields to Ledgers ?

    Hello Sir,
    We r using ECC 6.0
    Which is right to assign to Scenario  ?
    IMG: Financial Accounting (New) => Financial Accounting Global Setting (New) => Ledger => Ledger => Assign Scenarios and Customer Fields to Ledgers
    Select 0L (Leading Ledger) => Double click on Scenario
    New Entries:   1) FIN_CCA                 Cost Center Update
                          2) FIN_GSBER          Business Area
                          3) FIN_PCA                 Profit Center Update
    Why we assign?
    What the purpose?
    It is related to Document Splitting?     
    Thanks
    J

    Hi,
    SAP provides totally 6 Scenarios and you cant increase these scenarios. Generally all the 6 scenarios will be assigned to the leading ledger, for non leading ledgers it depends on your business requirement for attaching the scenario. And coming to the functionality of the scenarios, as you asked yes it is regarding document splitting.
    See when you post any document with additional account assignment like profit center, segment or business area. Based on the scenario you assigned to your leading ledger, these fields will be displayed in the general ledger view. If you did not assign the scenarios then that scenario wont be displayed in your general ledger view.
    HOpe u understood.
    regards
    srikanth

  • MRP Generated production orders greys out Sales Order and Customer fields

    Hi there,
    The MRP generated production orders greys out the Sales Order and Customer fields for some reasons. These fields are really important as they link the production order to the sales order and the customer's purchase order. Could the SAP team please fix this or advise alternative way of getting the sales order and customer info on production order? Thanks.

    Hello
    MRP only poulated this fields in case the material master has been set up with a strategy group hich is make to order (normally 20). Otherwise MRP summarizes all the requirements from different Customer orders and creates a production order
    Stephan

  • MRP - Sales order and customer fields grey-out

    Hi there,
    The Sales order and customer fields are grey-out for all MRP generated production orders. Can the SAP programmers please get this fixed? It should either read in the sales order number and the customer number or allow user to type in the sales order, just like the manually created production order.
    cheers

    Hello Gordon,
    If production is make-to-order rather than make-to-stock, the MRP should read in the sales order number and the customer, since it is specific to the sales order. Even for make-to-stock production, where it cannot read in the specific sales order number, it should at least not grey out the field, don't you think so? By greying out the field, users are not allowed to type in the sales order number even when the production order directly relates to a particular sales order. As such, we are not able to link it back to the sales order where other info such as customer's purchase order, etc... can be found.
    Could you please advise alternative way of linking MRP generated production orders to the sales orders? thanks

  • How to transfer SRM PO Condition Type and Custom fields to ECC?

    Hi All,
    I have a scenario to transfer SRM Line item condition types and few custom fields to ECC.
    I have found the following things but structure  'CI_EKPODB' does not exists in ECC.
    I am using 'SRM 5.00' and 'SAP ECC 6.0'.
    NOTE: I have to transfer condition records when PO is getting created / modified.
    1) Earlier I was planning to use BADI 'BBP_CREATE_BE_PO_NEW' in SRM and this will transfer the data to ECC in case of PO 
        Creation.
                   It contains the Condition fields to be passed to ECC.
    But i am unable to implement the same, whenever i create implementation when i click 'Activate' its getting activate then after few seconds its getting deactivate, i think this is because this BADI is not allowed for multiple use and SAP has already made one implementation on the same.
    2) I need to implement BADI 'BBP_ECS_PO_OUT_BADI' in SRM and 'BBP_PO_INBOUND_BADI' in ECC.
    SRM BADI will pass verified field details to ECC as a custom fields
           It does not contains the Condition fields to be passed to ECC, so i was planning to pass the same as custom field(s).
    ECC BADI 'BBP_PO_INBOUND_BADI'  will be used to map the fields to correct place and this should work.
    i need to modify the structures and pass all the custom fields (z-fields) - (CI_EKPODB but does not exists kindly suggest) as data.
    Other required details:
          Transfer of PO does not supported by SAP for service PO's, any suggestion on the same?
    Expecting quick reply from your end.
    Thanks in advance.
    Regards,
    Hemant

    Naresh,
    Thanks for quick response.
    My concern is this BADI 'BBP_CREATE_BE_PO_NEW' will trigger only in case of creation, not when PO is changes.
    I have to transfer condition types and custom fields to ECC in both the case (create / change)
    If i have to do this only in case of creation then i can pass Condition types / custom fields then i can use parameter 'CS_PO1_DOCUMENT' from method 'FILL_PO_INTERFACE1'.
    this parameter contains 'IT_POCOND', 'IT_POCONDX' and 'IT_EXTENSIONIN' as parameter  so my problem will be solved.
    But i dont think this will trigger in both the cases and 2nd thing i cann't implement the BADI since its not marked for multiple use so i am unable to implement the same.
    Kindly correct me if i am wrong.
    Once again thanks for your reply.
    Please suggest on the same.
    Regards,
    Hemant

  • I need to  know the name of the database table and the fields in that table

    hi,
    i need to I need to  know the name of the database table and the fields in that table for the following fields of the front end .
    1) incident details.
    2) ownership details
    3) injury type
    4) % of investigation completed withen 7 days.
    5) count of incident type
    6) cost of workers compensation claim.
    7) injury resulting from for workers compensation claim
    8) investigation free text.
    9) investigation contribution factors.
    10) investigation root cause.
    11) investigation root cause free text
    12) employee risk assesment
    13) protential infrigment notice issued
    14) actual infrigment notice issued.
    15) actual infrigment notice reference number.
    16)vehicle damaged text.
    18) when the incident occured.
    thanks and regards,
    pronoy .

    Hello,
    Check CCIHT* under se16 and search for relevant information
    Thanks
    Jayakumar

  • How to add a selection criterion to a SQ01 query based on logical database SDF?

    Hi,
    How should I add a selection criterion to a SQ01 query based on the logical database SDF? Is it possible through additional code? How to make use of the custom selection fields? I need a selection criterion based on BKPF-CPUDT (creation date).
    Thanks.

    Hi John,
    Please check the given below link in addtion to Atul post.
    http://scn.sap.com/community/erp/sd/blog/2012/04/16/query-report-tips-part-2--mandatory-selection-field
    Thanks,
    Senthil Maruthappan.

  • Logical Database PNPCE and inherited Sub Area

    Hi,
    I have asked this in the HR forum but no response......
    I have a report using Logical Database PNPCE to find some values from a couple of info types. When I select a unit (from the 'OrgStructure' button at the top of the screen), say 111, and all its sub-units with no selections in the selection screen, I get one person displayed. This is correct and this person is in a sub-unit 3 levels down (unit 333).
    I then added a selection to only display people in units with Personnel SubArea 'OTEC'. Now I get no results output. When I look in PPOME, I can see that unit 333 has Personnel SubArea 'OTEC' but it is inherited from '111'.
    In PP01, unit 111 has an Account Assignment entry (Info Type 1008) but 333 does not.
    Does anyone know how to report on this?
    Is there a flag somewhere that tells the LDB to check for inherited units?
    If not, any ideas if there is a function out there to find the superior unit for these sub-units?
    Thanks.

    Thanks,
    I am aware of that FM but how do I find the parent unit in a clever fashion?
    The structure could have multiple levels e.g.
    Unit 1 - Unit 2a - Unit3a......
           - Unit 2b
           - Unit 2c
    Unit 1 is the parent and all the below units inherit from it.
    The LDB is looping through an internal table with a list of the units. It finds Unit 1 but not the rest.
    So, when the LDB is looking for Unit 3a, how does it know that Unit 1 is the parent?
    If I use that FM, I think I would have to look for all units above it and see if there is an Info Type 1008 exists. Seems like a lot of processing for something that should be simple?
    Kroc.

  • Logical database sdf in custom program not triggering selection screen?

    I added logical Database SDF (screen 905) to a custom program - but the selection screen is not getting triggered.
    Do I have to associate these somewhere?
    Thanks,
    Ven

    HI,
    Declare this statement after the Report Statement in the program.
    TABLES : SKA1, SKB1.
    You will get the selection screen now.

  • Issues with parallel processing in Logical Database PCH and PNP

    Has anyone encountered issues when executing programs in parallel  that utilizes the logical database PCH or PNP?
    Our scenario is the following:
    We having have 55 concurrent jobs that execute a program that use the logical database PCH at a given time.  We load the the PCHINDEX table with the code below.
          wa_pchindex-plvar = '01'.
          wa_pchindex-otype = 'S'.
          wa_pchindex-objid_low = index_objid.
          APPEND wa_pchindex TO pchindex.
    We have seen instances where when the program is executed in parallel, with each process having its own range of positions id's, that some positions are dropped or some are added that is outside the range of the given process.
    For example:
    process 1 has a range of positions ID's 1-10
    process 2 has a range of positions ID's 11-20
    process 3 has a range of positions ID's 21-30
    Process 3 drops position 25 and adds position 46.
    Has anyone faced a similar issue?
    Thanks for your help.
    Best Regards,
    Duke

    Hi,
    first of all, you should read [Using Parallel Execution|http://download.oracle.com/docs/cd/B19306_01/server.102/b14223/usingpe.htm#DWHSG024] in documentation for your version - almost all of these topics are covered there.
    1. According to my server specification how much DOP i can specify.It depends not only on number of CPU. More important factors are settings of PARALLEL_MAX_SERVERS and PARALLEL_ADAPTIVE_MULTI_USER.
    2. Which option for Setting Parallel is good - Using the 'alter table A parallel 4' or passing the parallel hints in the sql statementsIt depends on your application. When setting PARALLEL on a table, all SQL dealing with that table would be considered for parallel execution. So if it is normal for your app to use parallel access to that table, it's OK. If you want to use PX on a limited set of SQL, then hints or session settings are more appropriate.
    3. We have a batch processing jobs which are loading data into the tables from flat files (24*7) using sql loader. is it possible to parallel this operation and any negative effect if enabled parallel.Yes, refer to documentation.
    4. Query or DML - which one will be perform best with parallel option.Both may take advantages of using PX (with some restrictions to Parallel DML) and both may run slower than non-PX versions.
    5. What are the negative issue if parallel option is enabled.1) Object checkpoint happens before starting parallel FTS (true for >=10gR2, before that version tablespace checkpoint was used)
    2) More CPU and memory resources are used with PX - it may be both benefit and an issue, especially with concurrent PX.
    6. what are the things to be taken care while enabling the parallel option.Read the documentation - it contains almost all you need to know. Since you are using RAC, you sould not forget about method of PX slaves load balancing between nodes. If you are on 10g, refer to INSTANSE_GROUPS/PARALLEL_INSTANCE_GROUPS parameters, if you are using 11g then properly configure services.

  • Infoset based on logical db PNPCE

    A collegue already created an infoset based on logial daabase PNPCE.  When the user runs a query based on this infoset and asks for all education data for a specific PERNR, The result is only 1 line, the one with the highest enddate, not all education lines.  I allready tried to choose "All" in the reporting period.  How can I get all education lines of the pernr ?
    I also need to add 2 extra fields to the infoset.  For the "Job" (IT0001-STELL) the linked field of IT1005-SLGRP and for the "Position" (IT0001-PLANS) the linked field IT1005-SLGRP.  How can I do this ?

    capacity header data is linked to table KAZY (interval) - if there is no relevant record there, your field1 gets nothing

  • Configure Start conditions based on ibase\ and Customer Fields ??

    Dear friends,
    We have enchanced transaction types(document types) using Easy enchancement workbench (EEWB). Therefore we have a new tab(customer screen) in all the transaction types we use !!.
    This tab has customer fields in it...
    Now the requirement we have here is that we have to send Emails based on these customer fields and ibase and component.
    How can i create start conditions based on the customer fields and ibase which are not present in object type BUS2000116(default) which is currently reffered while i create start conditions.
    I know that i can create new object type(using swo1) and let it be have inherited supertype as BUS2000116 and then inside the new object type i can have my attributes( ibase and those customer fields) inside the new created object.
    Is there any way of incalculating the customer fields and ibase \component in BUS2000116 ( by default it does not have these) ???
    Assuming that i created new object type, how do i make use of this type while i am configuring conditions.
    Any help would certainly be rewarded.

    hi again,
    Can anybody take some time out and guide me plz...

Maybe you are looking for