Atribute Relation to be maintained in the Structure

Hi All,
I need to knw about how do we maintain an attribute relation in a structure.
Like I have hierarchy maintained for Item, the hierarchy nodes are like below,
Total Product Revenue
             Product Revenue
             Other Revenue
Now in my second query, I create a structure similar to the item hierarchy and use it instead of Item in the rows.
When i execute these queries and drill down using GL Account along the rows then following are my results,
1.Query with item Hierarchy along the row
                                    GL Account   Balance
Total Product Revenu             1               X
                                            2               Y
Product Revenue                   1                X
Other Revenue                      2                Y
2. Query with Structure in the row
                                      GL Account   Balance
Total Product Revenu             1                 X
                                            2                 Y
Product Revenue                   1                  X
                                            2
Other Revenue                       1
                                            2                  Y
Item is a Navigational attribute of GL Account.
The relationship between item and GL account is maintained in the first output, whereas in the second output, all the GL accounts are obtained.
I need to maintain the relationship between item and GL account in the structure as well.
Ex: Product revenue has GL account 1 only, but in the structure for product revenue i get both GL account 1 and 2 also.
I need to get only GL account 1 for product revenue.
If i restrict product revenue for GL account 1 then later if there is achange in the master data, and a new GL account gets added to product revenue then that will not b displayed int he query, or i will have to manually chage my query also to reflect the change.
Kindly let me know if there is any way to maintain the relation between these 2 objects in the structure as well, like it is done in the hierarchy.
Should i be using a variable restriction of GL account, and create a exit variable refering to the GL account master data.Or is there any simple solution to it.
Regards,
Savitha

Can I use structure as this one?
Target->Statement->Attachments-
action=UPDATE_INSERT
table=Mytable
->access-
Field1
Field2
Field3
Field4 ->
<Statement>
<Mytable action=u201DDELETEu201D>
<key1>
<Field1>S</Field1>
</key1>
</Statement>
Here I am using both Update_insert and Delete operations on same table.
Thanks,
Srinivasa

Similar Messages

  • Mandatory fields passing to the structure POCOND in BAPI_PO_CREATE1

    Hi,
    Please help me that what are the mandatory fields passing to the structure <b>POCOND</b> in <b>BAPI_PO_CREATE1</b>. I am using BAPI to create the PO based on certain conditions. But after creating the PO the condition values are not updating properly. Currently i am not passing any values to the structure.
    Your solutions should be highgly appreciated. Please help me this issue as early as possible
    Regards,
    Uday

    Hi ,
    In my current requirement i m using BAPI_PO_CREATE1 to create the PO.
    I am passing all the line item detials to the BAPI.
    For some of the material rounding value are maintained in MM02 on MRP view.
    If the line item material maintains rounding value then instead of taking the PO item quantity, it is taking the rounding value that has maintained in MM02. So to control that i have done the forceful updation using the update statement in one of the exit on BAPI_PO_CREATE1.
    Here i m facing one problem. Now i can able to udpate the PO quantity correctly.
    But the Condition value maintained in the Condition View still taking the rounding value for calculating.
    To control this also i am using update statement on KONV table and the field is KAWRT. But this value is not updating.
    Please help any one that in which table the the condition value is going to update and wht are the criteria to update the  Condition Value field.
    <b>Points should allocate for suitable answer.</b>
    Thanks
    Uday

  • Retrival of Control Key of Operation & Table underneeth the structure

    Hi Experts,
       Right now i'm working on PP and PM related stuff, I'm in the middle of the project and stucked down at a point in how to retrive the control key of operation that triggered the update in production order: opoerational view. (CO03).
    Also i have a small question on how to findout the underlying table for a particular field(any field in a screen), when done F1 on that particular field the technical details says as table name but it is actuallya structure. So how should i find the table underneeth the structure where the particular data is being stored.
    Or how should i retrieve the data if i couldn't figure out the table, is there some way that i can retrie the data using the structure.
    Thanks for your contribution.
    Regards
    Rich

    Hi Rich,
    This is a common problem.One of the best and easy way is use the transaction ST05 for trace.lemme explain in detail.
    1.go to ST05 transaction
    2.switch trace on
    3.take your screen where the field resides
    4.enter value in this field and other required field
    5.then save the screen
    6.go to ST05.
    7.stop the trace
    8.click on display trace
    9.you will get a detailed log what all happend
    10.search the log with 'update' or 'insert' word or search with the field.
    11.you can find some table name.
    12.check that table contains the record which you saved.
    Sure this will help
    Another Way
    1.go to transaction se84.
    2.take ABAP dictionary
    3.go to Fields
    4.Give the field name in table field /structure field
    if you are lucky you will get in this
    Regards
    Shibu Kurian

  • How to Identify a table name of a field in the structure

    Hi Guys,
    I have to identify a application table name of a field , the  field is directly mapped with the structure.
    please guide me where the physical data is stored.
    regards
    Vasanth

    HI Vasanth,
    You can select Data Type radio button in SE11 and click on search help F4) ..and provide field name or structure name and then select where Used list option .and select table check box..so that you can find multiple tables wherever this structure is used..
    U can get multiple tables here if this structures is used for multiple tables.So data related to your field will be storing in multiple tables.
    This information may be usefull..
    --Manohar

  • Symbols being able to maintain a layer structure

    I really think that symbols need to be able to maintain a layer structure so that when they are placed or imported into a document the various objects making up that symbol could be automatically assigned to their respective layer. My company has found working with Illustrator layers virtually impossible due to the complex and extensive nature of our symbol libraries. Pasted below is an overview of my company's situation in order to give this request some context.
    I'll elaborate on our current system a bit more.
    1. Instances do not reside in the same place on all the renderings. We have roughly 120 illustrator templates set up, most of which are similar but all vary per rendering as each represents a different product.
    2. There are not always the same number of instances on a given layer.
    3. The position of the instances changes on virtually every rendering.
    4. The number of symbols that would be associated with a particular layer varies depending on how much of that particular product line a client is interested in. Anywhere from 1 on the low end to possibly 50 or so on the high end.
    5. I am aware of the paste remembers layers function. Due to the complexity of our expansive component based system, I'd guess we currently have atleast 500+ symbols set up over a couple dozen palettes (set up as symbol libraries). Additionally each component has its identifying part# displayed next to it so that our clients/production team can identify them by looking at the rendering. Not only that, but some of these components are very small. Having all these symbols already on the page, or even on several pages just isnt realistic due to the scale and volume.
    6. Replace symbols isnt really an option as we are constantly bringing in/adding symbols based on our expansive component-based system.
    7. I haven't delved very deep into variables and datasets in Illustrator, so I'll try to take some time and explore them to see if there are any viable options there.

    Bump?

  • Mapping of    REGUP and REGUH  fields to the  structure FPAYP,FPAYH, FPAYHX

    Hi 
    We use  structure  FPAYP, FPAYH,  FPAYHX  in the DMEE  formats.   Now the  data in the payment run  can be seen in table REGUP  and REGUH.   All  the  payment  related  data    falls into the DMEE  generated xml file  thru  the  structure FPAYP,FPAYH, or  FPAYHX.
    My  question is  how can I  find out  which field   in  REGUP or  REGUH  is  mapped to  which  field in the  3   structures  used in DMEE.  Is there any sap  program.     I  tried  searching,  but  could not find in  sap library.
    Thanks for  your inputs.
    kamala

    Hi
    Sorry to  reply late.
    I am  doing  intermediary  bank in  international payments.
    I   need to get the intermediary bank  BIC  , clearing code   and   bank  name field data  in the DMEE format.  
    Please  tell me  which  structure and field  have  these  three  data elements.
    Thanks
    kamala

  • What is the field "INFTY" in the structure P0006 used for?

    Hi HR Experts,
    The PSKEY vs PAKEY is the field INFTY. So what is the field INFTY in the structure P0006 used for?
    Thanks!
    Anthony

    The PSKEY is related to teh PSNNNN structure that is associated with the data of a given info type.  the PSKEY holds INFTY for processing info type data genericaly in background programs through generic structures,  IE: pass any info type structure to a FM.  This INFTY field allowed the programs to know which info type structure is being processed unlike the PAKEY which is used to save infotype data in the back end system at the DB level.
    thanks.
    JB

  • Set type creation and updation of the structure COMT_PROD_MAT_MAINTAIN_API

    Hello Experts,
    I've the below scenario,
    I created new Org dependent Z set type and assigned to a category.
    And I'm using the API - COM_PRODUCT_GETDETAIL_API to get the details about the material via the export parameter ES_MATERIAL_DATA which has the structure of COMT_PROD_MAT_MAINTAIN_API.
    My doubt :
    Whether the newly created Z set type structure will be automatically updated to this COMT_PROD_MAT_MAINTAIN_API? (In my case it has not happened)
    I hope system has to append this structure automatically.
    If not how to get this job done. Is there any settings to be done?
    If not Whether I can append this structure manually? will it affect anywhere?
    Kindly help me on this regard.
    Thanks in Advance!
    Regards,
    Senthil.

    Also Senthil,
    I am pasting some sample code for your help. this should solve your issue
    Also make sure the set type structures are appened in COM PRODUCT MAINTAIN API Structure else the updation logic doesn't work.
    DATA:         ls_detail1          TYPE zmsr_detail_maintain,
            gs_set_typ      TYPE comt_prod_mat_maintain_api,
           gt_product_api       TYPE comt_product_maintain_api_tab,
            gs_product_api  TYPE comt_product_maintain_api,
            gs_text1        TYPE comt_prlgtext_maintain,
        fill the new comm_product
        gs_product_api-com_product-product_guid = g_product_guid.
        gs_product_api-com_product-product_type  = c_product_type.
        gs_product_api-com_product-logsys        = g_logsys.
        gs_product_api-com_product-valid_from    = g_valid_from.
        gs_product_api-com_product-valid_to      = g_valid_to.
        gs_product_api-categories                = gt_categories.
        gs_text1-data-stxh-mandt         = sy-mandt.
        gs_text1-data-stxh-tdobject      = c_product.                            "'PRODUCT'.
        gs_text1-data-stxh-tdid          = c_base.                               "'BASE'.
        gs_text1-data-stxh-tdspras       = c_en.                                 "'EN'.
        ls_line-tdline                   = gs_upload1-lg_text.
        APPEND ls_line TO lt_lines.
        CLEAR ls_line.
        ls_longtxt-lines    = lt_lines.
        gs_text1-data-lines = ls_longtxt-lines.
        APPEND gs_text1 TO gs_product_api-long_texts.
        gs_text-data-langu      = c_en.                                          "'EN'.
        gs_text-data-short_text = gs_upload1-msr_desc.
        gs_text-data-valid_from = g_valid_from.
        gs_text-data-valid_to   = g_valid_to.
        gs_text-data-logsys     = g_logsys.
        APPEND gs_text TO gs_product_api-short_texts.
        CLEAR gs_text.
        APPEND gs_product_api TO gt_product_api.
          ls_detail1-data-zz0010       = gs_upload1-zz0010_1.
          ls_detail1-data-zz0011       = gs_upload1-zz0011_1.
          ls_detail1-data-zz0012       = gs_upload1-zz0012_1.
          ls_detail1-data-zz0013       = gs_upload1-zz0013_1.
          ls_detail1-data-zz0014       = gs_upload1-zz0014_1.
          ls_detail1-data-zz0015       = gs_upload1-zz0015_1.
          ls_detail1-data-zz0016       = gs_upload1-zz0016_1.
          ls_detail1-data-zz0017       = gs_upload1-zz0017_1.
          ls_detail1-data-zz0018       = gs_upload1-zz0018_1.
          ls_detail1-data-zz0019       = gs_upload1-zz0019_1.
          ls_detail1-data-zz0020       = gs_upload1-zz0020_1.
          ls_detail1-data-zz0021       = gs_upload1-zz0021_1.
          ls_detail1-data-zz0022       = gs_upload1-zfil_nbr.
          ls_detail1-data-product_guid = g_product_guid.
          ls_detail1-data-logsys       = g_logsys.
          ls_detail1-data-valid_from   = g_valid_from.
          ls_detail1-data-valid_to     = g_valid_to.
          APPEND ls_detail1 TO gs_set_typ-zmsr_detail.
          CLEAR ls_detail1.
          APPEND gs_set_typ  TO gt_set_typ.
          CLEAR gs_set_typ.
          CALL FUNCTION 'IB_CONVERT_INTO_TIMESTAMP'
            EXPORTING
              i_datlo     = sy-datum
              i_timlo     = sy-uzeit
            IMPORTING
              e_timestamp = g_valid_from.
          APPEND gs_set_typ  TO gt_set_typ.
          CLEAR gs_set_typ.
    *-------Mainten. Functions for Materials
          CALL FUNCTION 'COM_PROD_MATERIAL_MAINTAIN_API'
            EXPORTING
              it_product      = gt_product_api
              it_set          = gt_set_typ
              iv_commit_work  = 'X'
              iv_update_task  = 'X'
              iv_enqueue_mode = 'E'
            IMPORTING
              et_bapireturn   = gt_bapireturn.
          IF sy-subrc = 0.
          Commit the BAPI
            COMMIT WORK .
            CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
    HOpe this helps !!!!!

  • Does SharePoint search depend on the structure of the site

    Hello All
    I am a be gainer in sharepoint server 2010
    My question is, in front of me there are two structure for storing the document
    one --  
     The are hierarchical structure like 
    My site -- Team site -- India --        
    IT --      document library 1 --  list of documents 
    Sales --  document library 2 --  list of documents
    Consulting -- document library 3 --  list of documents
    and flat structure like 
    My site --  Document center --  
        document library 1 --  list of documents
      document library 2 --  list of documents
    document library 3 --  list of documents
    Now my question is , would it be easier to find a doc, if all of the documents are in one document center? or it does not matter, whether  they are on the page(hierarchical) structure?please give a details overview if possible
    Nilanjan

    It depends on the query you are using to find the document.  In your first example you can find all the documents related to Sales by searching on 'Sales' and finding that document library.  In the second example it would depend on how the documents
    are tagged with metadata.  If all the Sales documents have Sales as a value in one of the columns associated with the document you could still find Sales.  The structure itself doesn't affect the search result.  But the hierarchical structure
    may add context that can be used in searching that may not be present other ways.
    Paul Stork SharePoint Server MVP
    Principal Architect: Blue Chip Consulting Group
    Blog: http://dontpapanic.com/blog
    Twitter: Follow @pstork
    Please remember to mark your question as "answered" if this solves your problem.

  • Table name for the structure MEPO1211

    Hi Friends,
    I want to find out the the Purchase Orders created with USD currency.   This currency indicator is not available in the table EKPO.  On checking the PO, the currency field is in the strucure MEPO1211.
    Kindly let me know the table name where the PO with currency is stored or the table name for the structure MEPO1211.
    Thanks in advance.
    Regards,
    Mark K

    Hello Mark
    If the fields belong to the PO header then EKKO is the table you should look for.
    In case of item related data the table is EKPO.
    In any case structure MEPO1211 just belongs to screen 1211 in the PO application.
    Further Reading:
    [Purchase order item - cl_po_header_handle_mm|https://wiki.sdn.sap.com/wiki/display/ABAP/Purchaseorderitem-cl_po_header_handle_mm]
    Regards
      Uwe

  • Language field is not maintained in the source system

    hi,
    I had problem with 0ehs_actn_text data source. when i'm trying to pull data to BW it's saying language field is not maintained in the source system.
    I check the datasource there is no language field in the extract structure. and No fileds are checked for slection. I found one field REFOBJ checked in the data selection tab of datasource. But the data not coming to BW side. 
    could anyone help.
    regards
    kumar

    hi kumar,
    Check in rsa6 TXTLG field should be there and it should not be checked in  HideField Tab.. then only the data will populate to BW..
    So make the things properly and once again replicate the data source in Bw side.. load the data..
    other wise if u dont wanto the language field in Bw side goto infoobject maintanance uncheck the "TExt Language dependent" option in masterdata/texts Tab.. save and activate it.. load the data..
    i hope this will help you..
    Thanks..
    ravi.p

  • No RFC destination is maintained for the port 'SAPERP'

    Hi!
    I am facing with a very strange thing.
    I am implementing a File_to_IDOC scenario.
    Therefore I created in XI system the appropriate Ports in tcode IDX1.
    I use one business system with two clients (SAPERB100 and SAPERB200).
    I defined there of course the appropriate RFC connections (RFC_IDOCERB100 and RFC_IDOCERB200).
    Unfortunately when I go into tcode IDX2 and try to load metadata I get the following error:
    No RFC destination is maintained for the port 'SAPERP'
    Message no. IDOC_METADATA455
    Diagnosis
    No RFC destination has been maintained for logging on to this system for the port SAPERP.
    This means that no structure information can be provided for this port.
    Procedure
    Maintain the required RFC destination for this port.
    Can some one help me to solve this problem?
    Thank you very much!
    regards
    Holger

    HI Holger
    You need to have a RFC destination created for XI server type 3 (ABAP) to push IDOC from ECC. Similarly you need RFC destination in XI towards ECC to load IDOC / RFC metadata.
    Thanks
    Gaurav

  • In the Structure VBDKR..Document Header View for Billing...

    Dear Friends,
    In the Structure VBDKR..Document Header View for Billing, there is a component
    IHREZ which is Customer /Vendor Internal refrence number.
    Can anyone tell where do I locate this in Billing or anywhere.
    Kind Regards
    Ravi.

    Hi,
    This field is called "Your Reference".
    Goto VF03.
    Enter your Billing document number.Enter.
    Goto Item details.Goto PO data.
    In the ordering party tab,you can find it.
    This value will be maintained in Sales order.
    Goto VA02.Enter your order number.Enter.
    Goto Item details.Order data tab.The same field you can find there also.
    Regards,
    Krishna.

  • How to find the structure fields data in database tables?

    how to find the structure fields data in database tables?

    Your question doesn't appear to be Web Dynpro ABAP related. Please only post questions in this forum if they are directly Web Dynpro ABAP related.  There are several other more general ABAP related forums.

  • NWDS import RFC interface for the structure issue??

    Hi Gurus,
    I'm working on the SAP NetWeaver BPM with NWDS 7.3 SP12 rite now and got confused about the RFC interface structure stuff.
    I have a mapping activity defined in the process and the receiver interface needs a RFC. So I go to "Process Modeling" -> "Services Interfaces", right click and choose "Import RFC",type the correct RFC/BAPI name connecting with the SAP ECC system. The issue is that when I finished importing the RFC, went to the "Data Types", the RFC interface namespace shows out but the structure shows seperately with individual segment, so the whole nested RFC interface structure messed up in parallel which is incorrect for the data object and output mapping for later process activities.
    Anyone has ran into such kind of issue or experience the same, any solution or suggestion?
    Thanks in advance,
    Rajesh

    William,
    Another two questions relates to NWDS BPM development:
    1. Sometimes after I import the service interface into NWDS, the structure displays differently from it defines in ESR, I mean the fields sequence. I dont know why
    2. Refer to your screenshot,
    Assume the occurence of node HEADER and item is (0..1), when I want to map a blank constant to them to generate the target structure, the editor not allows and display error which is very different with ESR mapping tool, could you please help to advise? Tons of thanks!
    Thanks a lot in advance,
    Rajesh

Maybe you are looking for

  • Reverse calculation of tax amount

    Hi Experts, Is it possible to calculate tax on reverse mode? I will enter the total invoice amount, the system will calculate the unit price  and  tax amount. How will it possible? Regards, Sanju M S

  • DPM 2012 R2 install fail - Reporting services "definition contains XML that is not well-formed or the XML is not valid"

    Hi Everyone, I've been battling with this for a while and I'm getting nowhere. I'm attempting to install DPM 2012R2 onto a fresh VM with a local SQL installation. The setup is as follows: Server OS: 2008R2 SP1 SQL: 2008 R2 standard with SP3(tried SP2

  • JDK 1.4 installs but doesn't work in XP

    I downloaded the new JDK 1.4 and installed it, but it doesn't work. No application that requires Java works... none of them can find the JVM or the reference to the JRE. I use to have only the JRE running here and everything was fine, but I want to i

  • High CPU from w3wp.exe process

    We are running custom code on SharePoint 2013 and are experiencing very high CPU related to a w3wp.exe process.  We have run a debug diagnostic report.  The question I have is, can Microsoft help us narrow down the problem through a paid support inci

  • Migrate JBOSS Application (ear file)to Netweaver (ear file)

    Hi Experts, I am trying to migrate my .EJB application which is currently running under JBOSS to Netweaver Server. Backend is SQLServer 2005. I have used CMP EJB. I am trying to convert my EJB/CMP field reference from JBOSS deployment descriptor with