FORM has to access fields from reference(structure)

I want to implement a FM for which a template is available ('SAMPLE_PROCESS_00005021'). This FM has a changing parameter 'REFERENCE(c_structure)' without any type.
How can I fill the individual fields in this structure?

Hi, we try make code for 0FI_GL_4 so not can found 00005021 in transaction FINF.
We have ECC 6.0 is necesary other BTE or is necesary activate 00005021 BTE ?
1) We copy Module Group BFFMSMPL3 to Z_BFFMSMPL3
2) Copy SAMPLE_PROCESS_00005021 to ZBI_FIGL_00005021
3) Insert simple Code for Test :
  CASE i_oltpsource.
    WHEN '0FI_GL_4'. "BI Extractor 0FI_GL_4 : Delta Extraction Items.
      FIELD-SYMBOLS:
4) In R3 go to FIBF and Make ZBI_GL4
5) in R3 go to FIBF in Modeulo P/S and not found in List BTE : 00005010
Similar 00005??? BTE in list is :
00005000 /SAPPCE/RFUMSV50: Impuesto diferido
00005011 Pago mínimo de impuesto real en retención especial
00005012 Impuesto diferido ampliado
Any idea ?
Is necesary activate BTE 00005010 or is different in ECC 6 ??
Thank you.

Similar Messages

  • Accessing a field from a structure with out header line

    Hi Guys,
                 I am trying to assign a field from a structure type line of data to another field.
    This structure type line don't have a header line.
    here is the example.
    IT_EKKNU TYPE  MMPUR_EKKNU.
    when I use following statement..
    move IT_EKKNU-kostl to e_cekko-kostl.
    Iam getting error "IT_ENKKNU is not a structure or Internal table with header line.
    How to access the fields in structure IT_EKKNU.
    Thank U for ur time.
    Cheers
    S Kumar

    Here IT_EKKNU is an internal table without Header line.
    You can use a structure for assignment.
    DATA: IT_EKKNU TYPE MMPUR_EKKNU,
               wa_ekknu type    ekknu.
    read table it_ekknu into wa_ekknu........
    move wa_EKKNU-kostl to e_cekko-kostl.
    *modify the code for your conditions*.

  • Adding fields from KOMK structure to screen painter.

    Hello Everyone,
    i have created an Extra tab(like ADDITIONAL DATA B) using BADI, i have added fields from VBAP table, its working fine. But when i add fields from KOMK structure(KOMK-STCEG) only empty field is showing. Do i need to code something in PBO or PAI?
    Thanks & Regards,
    NarsiReddy Cheruku.

    Hello NarsiReddy,
    I assume that you have linked the field KOMK-STCEG using "Get from Dictionary" option from your above screenshot.
    In PBO section, make sure to write the logic to update the value in the field. The logic which you would build, would be based on your requirement. For instance, you can use BELNR to check and its corresponding STCEG could be found in the structure KOMK.
    But if the KOMK structure itself is not filled with any value, then there is some problem with your code. Try to check your BADI and its corresponding structures which would get updated at runtime and use them appropriately.
    Thank you.
    Regards,
    Naresh

  • Fucntion module to reterieve ANFDT field from the structure RM06E

    hi,
    I need Function module to reterieve ANFDT field from the structure RM06E or is there any other table for this field.
    Regards,
    anitha

    Anitha,
    That looks like the date on which the RFQ is created. What you can do is to get this date from EKKO table for a given RFQ, however you need to check the document category and type to A and AN respecitvely.
    Regards,
    Ravi
    Note : Please mark all the helpful answers

  • Selecting desired fields from extract structure to datasource in CRM

    hi guys... coming back to this forum with new problem...
    how are you guys...
    i'm using ds 0CRM_SALES_ACT_1 in CRM to extract activities related data...
    by standard this data source is not supplying some fields which i needed... but when i checked in 'roosfield' table and even in extract structure 'CRMT_BW_DS_ACTIVITY' it is showing the those fields which i required...
    how can i get these fields to data source...
    in LO its like...we can select required field from extract sturcture right???
    is there any procedure do same with CRM data sources...
    thnaking you...
    regards...
    nithin
    Message was edited by: nith l

    Hi,
    If the fields are available in ES but not available in DS , then we can Modify the table ROOSFIELD. But, I think, this is some what rude mothod.
    Before doing this, It is better to Raise a OSS. They may come out with some SP upgradation.
    Search this forum with ROOSFIELD.
    With rgds,
    Anil Kumar Sharma .P

  • Selection-screen (field from .Include structure)

    Hi all,
    I have a selection screen with several select-options. One of the select-option is
    select-options: s_vornr for afvc-vornr.
    Where 'vornr' is a .Include structure field in the table 'afvc'. Now my question is, in selection screen when I click on the box for this particular select-option I dont see the circle(from where we can select the existing input values) at the end of the box.
    Why is it so and how can get that circle option at the end of the box by sticking to the same table and field(afvc-vornr).
    Waiting for your help.
    Thanks

    hi,
    the field do not have nay value range with it.
    you can put the F4 help by using
    At Selection-Screen on Value-request <select-option>. event.
    e.g.
    DATA :  rt_values TYPE STANDARD TABLE OF type_values,
              rs_values TYPE type_values,
              rt_fields TYPE STANDARD TABLE OF type_fields,
              rs_fields TYPE type_fields.
      CLEAR    : rs_values,rs_fields.
      REFRESH  : rt_values,rt_fields.
    Creation of selection list
      rs_fields-tabname     = 'AFVC'.
      rs_fields-fieldname   = 'VORNR
      rs_fields-selectflag  = ' '.      
      APPEND rs_fields TO rt_fields.
       SELECT vornr form AFVC
                     INTO  TABLE t_vornr.
      SORT t_vornr.
      DELETE ADJACENT DUPLICATES FROM t_vornr.
      LOOP AT t_vornr INTO s_vornr.
        rs_values =  s_vornr-vornr.
        APPEND rs_values TO rt_values.
        CLEAR rs_values.
        ENDLOOP.
    FUNCTION 'HELP_VALUES_GET_WITH_TABLE'                   EXPORTING
          fieldname    = 'AFVC'
          tabname      = 'VORNR
          titel        = 'Counting
        IMPORTING
          select_value = <select-opion>
        TABLES
          fields       = rt_fields
          valuetab     = rt_values.
    amit
    Message was edited by: Amit Khare

  • Reg: cannot access fields from field catalog in kea6 transaction

    hi experts,
    I am suppose to create a co-pa report . i dont find the required fields in the f4 help for the elements to be inserted in the report. i am able to see the fields in the transaction kea6 but cannot access them ...
    kindly help out
    points will be rewarded

    Thanks for your quick reply,
    I already have tested that option, and I try it again, but no success too.
    I don't understand the error, because the connection between the sql server 2005 and business view manager it's ok, so I can see the content of each selected field on BVM, and I can see the fields in the repository on crystal reports server client, but it say's in the preview:
    failure logon
    Details: cannot find DSN in connection string
    can it be a problem with licenses? I don't think so, because I have samples that the database is loaded from the web and they work fine, is only this abnormal situation.
    I tried to search and they said this:
    The data connection component is where the user establishes a connection to the data source. The setting up of the connection component is similar to the setting up of a connection in Crystal Reports and, in a lot of cases, uses the same drivers and dialog boxes. The user can enter in a username and password. This is the username that will authenticate against the data source and the username and password are then stored in the repository.
    this data connection is defined in the business view manager, and I put that user and pass but I always get the same error!
    Have anyone the same problem? or a new ideia? =)
    Thanks

  • Assign field from Extended Structure

    Hi, friends
    I'm tryin to Assign the field GPARN (Partner Number) from PO Screen, but is occuring a Short Dump. I saw that WRF02K is a extended structure.
    How can I assign a filed value from a Extended structure ?
    I'm using the code bellow.
            DATA: v_gparn(21),
                  gs_gparn TYPE wrf02k-gparn.
            FIELD-SYMBOLS: <fs_gparn> TYPE ANY.
            v_gparn = '(SAPLEKPA)wrf02k-gparn'.
            ASSIGN (v_gparn) TO <fs_gparn>.
            <fs_gparn> = it_ekpo-lifnr.
    tks to all.

    Tks for all..
    Now the error don't occurs, but the value that i neet to transfer to the field on PO didn't appears on the screen..
    This program is on the Bapi    ME_PROCESS_PO_CUST in the PROCESS_HEADER method, but when the program return to Purchase Order, the value that I need don't appear.
    someone know how to send this value to PO ?
    this is the correct code:
            DATA: v_gparn(22),
                  gs_gparn TYPE wrf02k-gparn.
            FIELD-SYMBOLS: <fs_gparn> TYPE ANY.
            v_gparn = '(SAPLEKPA)WRF02K-GPARN'.
            ASSIGN (v_gparn) TO <fs_gparn>.
            if <fs_gparn> is assigned.
                <fs_gparn> = it_ekpo-zzlifnr.
            endif.
    tks

  • Access field from dynamic selection screen of LDB in local program

    I am using ldb PSJ in my program. I want to use input given in fields "Plant" and "Business Area" in my program and do some process based on input in this field. Both these fields come as part of dynamic selection. How can I access this field in my program?

    Take a look at [Dynamic Selections in the Database Program|http://help.sap.com/saphelp_nw04/helpdata/en/67/93b80914a911d2953c0000e8353423/frameset.htm]
    You may try to access this LDB program data via field-symbols and assign to (SAPDBPSJ)DYN_SEL.
    > TYPE-POOLS rsds.
    > DATA: l_dyn_sel TYPE rsds_type.
    > FIELD-SYMBOLS: <fs> TYPE rsds_type.
    > DATA: name(17) VALUE '(SAPDBPSJ)DYN_SEL'.
    > ASSIGN (name) TO <fs>.
    > l_dyn_sel = <fs>.
    > UNASSIGN <fs>.
    Regards

  • Autofill form text fields from database

    I have made a form in asp code with text fields. Behind this page is a database (access).
    This database contains static information and does not need to be updated. It is only for output.
    In this form, there are some text fields to be filled in.
    Reference
    First name
    Last name
    E-mail address
    Telephone number
    This information is in the database.
    What I try to do is that when the first text field "Reference" is filled, the related information is selected from the database and automatically put in the other corresponding text fields.
    Anybody any idea how to do this?

    I don't use ASP, but the simple way to approach this problem is to have two pages. The first page contains a form with a text field for Reference and a submit button. Set the form's method to GET, and the action to the page that contains the full form.
    In the page that contains the full form, create a recordset to select the details from the database, using the URL parameter for Reference as a filter. You can then bind the results from the recordset to the value attributes of the remaining form fields.

  • Getting Error while deleting a field from the 'Z' Structure

    Hi All,
    I have created a 'z' structure in which i have 5 fields, now i want to delete one field from the structure, but it is giving me error like Invalid Change.
    Its a structure so i cant activate and adjust as we do for Tables.(se14)
    So pls help me out asap.
    thanks & Regards,
    Dhruv Shah

    Thanks for Quick Reply.
    I have not used this field in any FM/ Report.
    I have tried log off and then log on. but it make no difference.
    Now the Other scenario is that i want to change the datatype of this field to TEXT25.
    But it is also not allowing me to change because currently datatype is TEXT20.
    So now how can i change the length from 20 to 25.
    Regards,
    Dhruv Shah

  • How to keep Field symbol reference

    HI ALL ,
    I have method with that assign field symbol on it and I want to keep the reference of it ,
    does it impossible ?
    For instance
    ASSIGN cs_structure TO <ls_structure>. "both are type any and are always structure with fields f1...fn
        assign_request(
          EXPORTING
            is_fields = ls_fields
            ev_out    = es_field "F2
          CHANGING
            cs_str  = <ls_structure>
    es_field = '1'
    Here I have method that in the method I always need to return  field from the structure  (es_field - I dont know how to define it
    type any or type ref to data )
    my question is assume in <ls_structure>  I have field called F2 and I want to receive it but to keep the reference i.e.
    if i do after the method call es_field = '1' the field F2 on structure <ls_structure>  will contain '1'.
    There is a way to do that ?
    Regards
    Joy

    HI Naimesh
    I already try to define es_field as type ref to data but the issue is that for instance
    field symbol  <lv_field> type any.
    ASSIGN cs_structure TO <ls_structure>.
    inside the method assign_request I am doing ...
    ASSIGN COMPONENT 'F2'  OF STRUCTURE cs_str TO <lv_field>.
    GET REFERENCE OF <lv_field> INTO ev_out.
    call to the method
        assign_request(
          EXPORTING
            is_fields = ls_fields
            ev_out    = es_field 
          CHANGING
            cs_str  = <ls_structure>
    and after the method assign_request
    ASSIGN es_field->* to <lv_field>.
    <lv_field> = '1.'
    Now I except that cs_structure and <ls_structure> that have field F2 you see that value '1' but its not working ,
    what i miss here ?
    Regards
    joy

  • How to update address fields from a different view?

    Hello Everyone,
    I have created a context node(Model Attribute) of standard address fields using BuilAddress in a view that doesn't have it and successfully displayed them. This is contacts view where the original address of the contact is not available. Now our requirement is to update the standard address if needed from the contacts view itself. How can I do this?  The address fields are available for display only, even if I want to update them using code based on some condtions if not manual entry how can I achieve that?
    Did anyone ever use CRM_BP_UIU_SAVE Badi? I see no posts related to this in forum. Can anyone give me a sample code on what can be done in here and what data of BP is accessible in this BADI and how?
    Thanks,
    Sunil

    Hi Murali,
    Are you sure I can update the address fields using BAPI's from WEBUI? I have tried this already and the BAPI or Function just woudn't call, always return with error message.   I was thinking that BAPI's and Functions for updating just wouldn't work from WEBUI.
    To give you more details, I am in the BP_DATA/AccountContactEF view. I added the context node Address and brought in all the fields from BUILADDRESS structure, it generated the get, set methods for me. I want to update a couple of fields like telephone info, street, city etc. In this view I just redefined Create_Contact method and I tried to update the address using BUPA_ADDRESS_CHANGE for the contact person and it never works. I also tried BUPA_ADDRESS_REMOVE to delete and add the new address using BUPA_ADDRESS_ADD, but that wouldn't work either.
    So that is why I am exploring the option of using BADI, which I found out is very similar. I was able to access pretty much everything of BP data and Contact data. but there also the functions or Bapi's wont work.
    Let me know if you did anything similar. Also as you mentioned the GET_I method, Context node creation  Wizard generated it for me and I have the field editable, its just that when I save it , it wont save and the old values are read back and populated. Meaning if I have  'NY' for region and I change it to 'CA' , after save 'NY' comes back.
    Thanks for you help.
    Sunil

  • POWL accessing data from multiple tables/objects

    Hello,
    I have a query on the POWL applications.
    If the powl application has to access data from multiple tables/objects, then the solution would be creating a data structure of those tables/objects and referring to that structure in GET_OBJECT_DEF methods.
    Is there any other soln? or I am right here?
    The queries which are saved for a particular user are transportable? if not, how can they be made transportable?
    Thanks & regards,
    Ravish

    you are right, you can do in get_objects method.
    POWL_QUERIES are transportab;e, you can save them in POWL_QUERY transaction.
    Best regards,
    Rohit
    http://wiki.sdn.sap.com/wiki/display/WDABAP/POWL

  • Retrive a field from an Idoc

    Hi eveybody
    I´ve got the next scenario:
    JDBC---->PI-(Idoc)----->SAP
    SAP -(Aleaud)--->PI--
    >JDBC.
    How could I retrive a field from reference Idoc when the Aleaud Idoc is processed??
    Im going to try to explain it better.
    In the Outbound Idoc travel a field called FIELD_A.
    Before the Aleaud Idoc is sent to PI I need to retrive this FIELD_A that travelled in the reference Idoc and send this FIELD_A in the Aleaud Idoc because I need it in the query used in the JDBC adapter.
    How can I do this????
    Thanks everybody.
    Regards

    Hi,
    Refer to this link..it will help you.
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/8e7daa90-0201-0010-9499-cd347ffbbf72
    Regards,
    Gaurav Jindal

Maybe you are looking for

  • PDF Export Looks Good at 150% Zoom, but Bad on 100%

    Hi, I'm extremely new to InDesign, and am trying to make a colourful resume/portfolio design using ID, but am running into an issue already with exporting via PDF. The original issue was that the logo (which has my name and occupation(s)) were coming

  • Active directory report getting Database Vendor Code: -2147217911

    Hello, I've created a report with CR 2008 to query some user names from Active Directory  (Windows 2008 R2) The report works fine on my computer (with my user) works fine when I deploy it to BO XI 3.1. But doesn't work when I schedule it. I don't cha

  • Dialog Mode windows

    Hy everyone, is it possible to set dialog mode in webdynpro's window for adapting to screen resolution. In gui you can set dialog mode for a dynpro, is it possible also for webdynpro ? Thank you !

  • Your help Mr. Laxmipathi

    Sir   We have following scenario:    We have condition type for freight in STO against which we are assigning a vendor code, Now deliveries are getting processed and GR is being done. Through MIRO we want the freight posting to be done on the basis o

  • Regarding types

    HI after upgrade iam using an include in my program where iam getting and syntax error stating In Unicode, DESCRIBE LENGTH can only be used with the IN BYTE MODE or IN CHARACTER MODE addition. FOR THE BELOW CODE IN THE INCLUDE. DATA:   L_LENGTH