Functional requiremnts for table level entry from webui in crm 7.0

Hi Experts.
Please guide me how to give the functional requirements to the technical consultants.
Also need to know how to navigate from the webui in crm 7.0, to get the table details. If i enter F2, I can see the details of the
feild, I need to know how to get the feild name and the table name where the data is getting saved in the sytem.
I need the steps navigating from webui to the GUI table level. Please help me out
Waiting for your valuable input.
Regards.
karthik J

Refer to this [WIKI|http://wiki.sdn.sap.com/wiki/display/CRM/CRMWebClientUIFramework]
It should give you a good start.
Thanks
Vishal

Similar Messages

  • How to read and display table data entries from ERP in CRM

    Hello experts,
    I am new to CRM. I need to read data base entries from ERP in CRM system. What would be the best way to do . The table is a standard SAP table with a custom include (several customer fields). Calling a web service would be the best way..? or is there any other way that I can do it too.
    Also, to display these entries what would be the best tool? Should I built my own transaction/report to do it?
    Any advise or guidance would be a great kick start to learn the CRM development environment.
    Regards,
    jaffery

    Hi,
    Check the below wiki link if it helps.
    http://wiki.sdn.sap.com/wiki/display/CRM/Howtodisplayaz-tableinanassignmentblock
    Also, you can try an option of transaction launcher.
    Hope this helps.
    Regards,
    Chandrakant

  • Function module for table control

    Hi experts,
    I am creating the BDC program, In that I need to select the particular item from the table control say for example item 0010 or 0020 based on the input file and need to process from there.
    Is there any function module to select the particular item by passing item no say 0010 or 0020.
    Thanks in advance
    sai

    Hi
    I suppose there is no function module for table control.
    below solution might be useful to you.
    1) Do BDC recording for the table control with each condition you would like to incorporate in your program.
    2) copy the code of Table Control recording in your program and place the code in Loop of internal table.
    3) based on the condition  call the respective BDC recording of the table control
    4) By the above steps  you can manage the table control based on the condition.
    Regards
    Santosh Kumaar.M

  • Function Module for Translation of text from Lower to Upper Case

    Hi All,
    Can any one give me function module for translation of text from lower to upper case.
    If we use Translate statement for the program in the Extended Syntax check it is giving error.
    Thanks in advance.
    Regards,
    srinivas

    Hi Srinivas,
    You can use any of the Function Modules below.
    AIPC_CONVERT_TO_UPPERCASE
    2054_TRANSLATE_2_UPPERCASE
    HR_99S_CONV_UPPER_CASE
    Please reward if useful.
    regards,
    Raj

  • Function Module For Item Level Details of a Sales Order

    Hi Guys,
    I have to get the item level details for a particular sales document no ..I want to know if there is any function module existing for the same.
    Also I need any function module for getting the contact information such as contact form (KNVK-ANRED),contact name(KNVK-NAM1),contact name(KNVK-NAMEV),Contact number (KNVK-TELF1).
    Please let me know if anyone is aware of it.
    Thanks in Advance,
    Mayank

    <b>SD_SALES_DOCUMENT_READ</b> Reads sales document header and business data: tables VBAK, VBKD and VBPA (Sold-to (AG), Payer (RG) and Ship-to (WE) parties)
    <b>SD_SALES_DOCUMENT_READ_POS</b> Reads sales document header and item material: tables VBAK, VBAP-MATNR
    <b>SD_DOCUMENT_PARTNER_READ</b> partner information including address. Calls SD_PARTNER_READ
    <b>SD_PARTNER_READ</b> all the partners information and addresses
    <b>SD_DETERMINE_CONTRACT_TYPE</b>
    In: at least VBAK-VBELN
    Exceptions: NO CONTRACT | SERVICE_CONTRACT | QUANTITY_CONTRACT
    <b>SD_SALES_DOCUMENT_COPY</b>
    <b>RV_ORDER_FLOW_INFORMATION</b> Reads sales document flow of sales document after delivery and billing
    SD_SALES_DOCUMENT_SAVE create Sales Doc from the copied document
    SD_SALES_DOCUMENT_ENQUEUE to dequeue use DEQUEUE_EVVBAKE
    RV_DELIVERY_PRINT_VIEW Data provision for delivery note printing
    SD_PACKING_PRINT_VIEW
    SD_DELIVERY_VIEW Data collection for printing
    called from RV_DELIVERY_PRINT_VIEW, SD_PACKING_PRINT_VIEW
    RV_BILLING_PRINT_VIEW Data Provision for Billing Document Print
    regards
    vinod

  • Steps for table level reorganisation

    Dear Friends.
    We are going for Archiving on big tables like EDI40 table.
    So I have decided to regain space after archiving by using table level reorg is it ok??
    can you please suggest necessary steps and prerequisites.
    Thanks in advance.
    Regards
    JIggi

    Dear All,
    I have done following steps:--
    Microsoft Windows [Version 5.2.3790]
    (C) Copyright 1985-2003 Microsoft Corp.
    C:\Documents and Settings\wiqadm.WSECCQA>brtools
    BR0651I BRTOOLS 7.00 (24)
    BR0280I BRTOOLS time stamp: 2009-04-01 15.14.21
    BR0656I Choice menu 1 - please make a selection
    BR*Tools main menu
    1 = Instance management
    2 - Space management
    3 - Segment management
    4 - Backup and database copy
    5 - Restore and recovery
    6 - Check and verification
    7 - Database statistics
    8 - Additional functions
    9 - Exit program
    Standard keys: c - cont, b - back, s - stop, r - refr, h - help
    BR0662I Enter your choice:
    3
    BR0280I BRTOOLS time stamp: 2009-04-01 15.14.25
    BR0663I Your choice: '3'
    BR0280I BRTOOLS time stamp: 2009-04-01 15.14.25
    BR0656I Choice menu 7 - please make a selection
    Database segment management
    1 = Reorganize tables
    2 - Rebuild indexes
    3 - Export tables
    4 - Import tables
    5 - Alter tables
    6 - Alter indexes
    7 - Additional segment functions
    8 - Reset program status
    Standard keys: c - cont, b - back, s - stop, r - refr, h - help
    BR0662I Enter your choice:
    1
    BR0280I BRTOOLS time stamp: 2009-04-01 15.14.28
    BR0663I Your choice: '1'
    BR0280I BRTOOLS time stamp: 2009-04-01 15.14.28
    BR0657I Input menu 91 - please check/enter input values
    BRSPACE options for reorganization of tables
    1 - BRSPACE profile (profile) ...... [initWIQ.sap]
    2 - Database user/password (user) .. [/]
    3 ~ Reorganization action (action) . []
    4 ~ Tablespace names (tablespace) .. []
    5 ~ Table owner (owner) ............ []
    6 ~ Table names (table) ............ []
    7 - Confirmation mode (confirm) .... [yes]
    8 - Extended output (output) ....... [no]
    9 - Scrolling line count (scroll) .. [20]
    10 - Message language (language) .... [E]
    11 - BRSPACE command line (command) . [-p initWIQ.sap -s 20 -l E -f tbreorg]
    Standard keys: c - cont, b - back, s - stop, r - refr, h - help
    BR0662I Enter your choice:
    6
    BR0280I BRTOOLS time stamp: 2009-04-01 15.14.38
    BR0663I Your choice: '6'
    BR0280I BRTOOLS time stamp: 2009-04-01 15.14.38
    BR0681I Enter string value for "table" []:
    BDCP
    BR0280I BRTOOLS time stamp: 2009-04-01 15.14.41
    BR0683I New value for "table": 'BDCP'
    BR0280I BRTOOLS time stamp: 2009-04-01 15.14.41
    BR0657I Input menu 91 - please check/enter input values
    BRSPACE options for reorganization of tables
    1 - BRSPACE profile (profile) ...... [initWIQ.sap]
    2 - Database user/password (user) .. [/]
    3 ~ Reorganization action (action) . []
    4 ~ Tablespace names (tablespace) .. []
    5 ~ Table owner (owner) ............ []
    6 ~ Table names (table) ............ [BDCP]
    7 - Confirmation mode (confirm) .... [yes]
    8 - Extended output (output) ....... [no]
    9 - Scrolling line count (scroll) .. [20]
    10 - Message language (language) .... [E]
    11 - BRSPACE command line (command) . [-p initWIQ.sap -s 20 -l E -f tbreorg -t "
    BDCP"]
    Standard keys: c - cont, b - back, s - stop, r - refr, h - help
    BR0662I Enter your choice:
    c
    BR0280I BRTOOLS time stamp: 2009-04-01 15.14.45
    BR0663I Your choice: 'c'
    BR0259I Program execution will be continued...
    BR0291I BRSPACE will be started with options '-p initWIQ.sap -s 20 -l E -f tbreo
    rg -t "BDCP"'
    BR0280I BRTOOLS time stamp: 2009-04-01 15.14.45
    BR0670I Enter 'c[ont]' to continue, 'b[ack]' to go back, 's[top]' to abort:
    c
    BR0280I BRTOOLS time stamp: 2009-04-01 15.14.46
    BR0257I Your reply: 'c'
    BR0259I Program execution will be continued...
    BR1001I BRSPACE 7.00 (24)
    BR1002I Start of BRSPACE processing: seagjxpe.tbr 2009-04-01 15.14.46
    BR0484I BRSPACE log file: F:\oracle\WIQ\sapreorg\seagjxpe.tbr
    BR0280I BRSPACE time stamp: 2009-04-01 15.14.48
    BR1009I Name of database instance: WIQ
    BR1010I BRSPACE action ID: seagjxpe
    BR1011I BRSPACE function ID: tbr
    BR1012I BRSPACE function: tbreorg
    BR0280I BRSPACE time stamp: 2009-04-01 15.14.52
    BR0657I Input menu 353 - please check/enter input values
    Options for reorganization of tables: SAPSR3.BDCP (degree 1)
    1 ~ New destination tablespace (newts) ..... []
    2 ~ Separate index tablespace (indts) ...... []
    3 - Parallel threads (parallel) ............ [1]
    4 ~ Table/index parallel degree (degree) ... []
    5 - Create DDL statements (ddl) ............ [yes]
    6 ~ Initial extent size category (initial) . []
    7 ~ Sort by fields of index (sortind) ...... []
    Standard keys: c - cont, b - back, s - stop, r - refr, h - help
    BR0662I Enter your choice:
    c
    BR0280I BRSPACE time stamp: 2009-04-01 15.14.55
    BR0663I Your choice: 'c'
    BR0259I Program execution will be continued...
    BR0280I BRSPACE time stamp: 2009-04-01 15.14.55
    BR1108I Checking tables for reorganization...
    BR0280I BRSPACE time stamp: 2009-04-01 15.14.56
    BR1112I Number of tables selected/skipped for reorganization: 1/0
    BR0280I BRSPACE time stamp: 2009-04-01 15.14.56
    BR0370I Directory F:\oracle\WIQ\sapreorg\seagjxpe created
    BR0280I BRSPACE time stamp: 2009-04-01 15.14.56
    BR1101I Starting online table reorganization...
    BR0280I BRSPACE time stamp: 2009-04-01 15.14.56
    BR1124I Starting reorganization of table SAPSR3.BDCP ...
    BR0280I BRSPACE time stamp: 2009-04-01 15.17.24
    BR1105I Table SAPSR3.BDCP reorganized successfully
    BR0280I BRSPACE time stamp: 2009-04-01 15.17.24
    BR1141I 1 of 1 table reorganized - 2152767 of 2152767 rows processed
    BR0204I Percentage done: 100.00%, estimated end time: 15:17
    BR0001I **************************************************
    BR0280I BRSPACE time stamp: 2009-04-01 15.17.24
    BR1102I Number of tables reorganized successfully: 1
    BR0280I BRSPACE time stamp: 2009-04-01 15.17.24
    BR0670I Enter 'c[ont]' to continue, 'b[ack]' to go back, 's[top]' to abort:
    c
    BR0280I BRSPACE time stamp: 2009-04-01 15.18.05
    BR0257I Your reply: 'c'
    BR0259I Program execution will be continued...
    BR0280I BRSPACE time stamp: 2009-04-01 15.18.05
    BR1022I Number of tables processed: 1
    BR1003I BRSPACE function 'tbreorg' completed
    BR1008I End of BRSPACE processing: seagjxpe.tbr 2009-04-01 15.18.05
    BR0280I BRSPACE time stamp: 2009-04-01 15.18.05
    BR1005I BRSPACE completed successfully
    BR0292I Execution of BRSPACE finished with return code 0
    BR0280I BRTOOLS time stamp: 2009-04-01 15.18.05
    BR0256I Enter 'c[ont]' to continue, 's[top]' to cancel BRTOOLS:
    c
    BR0280I BRTOOLS time stamp: 2009-04-01 15.18.10
    BR0257I Your reply: 'c'
    BR0259I Program execution will be continued...
    BR0280I BRTOOLS time stamp: 2009-04-01 15.18.10
    BR0656I Choice menu 7 - please make a selection
    Database segment management
    1 + Reorganize tables
    2 - Rebuild indexes
    3 - Export tables
    4 - Import tables
    5 - Alter tables
    6 - Alter indexes
    7 - Additional segment functions
    8 - Reset program status
    Standard keys: c - cont, b - back, s - stop, r - refr, h - help
    BR0662I Enter your choice:
    b
    BR0280I BRTOOLS time stamp: 2009-04-01 15.18.13
    BR0663I Your choice: 'b'
    BR0673I Going back to the previous menu...
    BR0280I BRTOOLS time stamp: 2009-04-01 15.18.13
    BR0656I Choice menu 1 - please make a selection
    BR*Tools main menu
    1 = Instance management
    2 - Space management
    3 + Segment management
    4 - Backup and database copy
    5 - Restore and recovery
    6 - Check and verification
    7 - Database statistics
    8 - Additional functions
    9 - Exit program
    Standard keys: c - cont, b - back, s - stop, r - refr, h - help
    BR0662I Enter your choice:
    9
    BR0280I BRTOOLS time stamp: 2009-04-01 15.18.15
    BR0663I Your choice: '9'
    BR0280I BRTOOLS time stamp: 2009-04-01 15.18.15
    BR0680I Do you really want to exit BRTOOLS? Enter y[es]/n[o]:
    y
    BR0280I BRTOOLS time stamp: 2009-04-01 15.18.17
    BR0257I Your reply: 'y'
    BR0280I BRTOOLS time stamp: 2009-04-01 15.18.17
    BR0652I BRTOOLS completed successfully
    And I compared space before reorg and after reorg.
    I got 5 Gb space back .
    I hv done the whole procedure on BDCP table on WIQ.
    Shall i do the same procedure on production server.
    Thanks in advance.
    JIggi

  • Function module for access OM Data from infotype 1001

    We had a function module for accessing OM data viz. Infotype 1001. Could you let me know.
    Advanced thanks,
    Dasaradh kosana

    Hi Dasaradh,
          Do you want the fm which fetches the data from HRP1001 , if this is the case you can use this FM RH_READ_INFTY_1001.
    Reward Points if it is helpful
    Regards,
    Kiran I

  • Error in function module  for inbound processingwhile testing from we19

    hi,
    I have developed a custom function module for processing inbound idoc for creating material using bdc...the problem is that when i am trying to test my idoc using we19 and calling my function module in debug mode an error is displayed showing 'interface for function module is incorrect' and also i am unable to see my function module in debugging mode.It is only displaying the error message...
    I have given all the parameters necessary (import,export or tables) and found no error in the interface...I think the problem is appearing before my function module is being called....Also on seeing the short dump analysis I have seen that the error is in the form 'Idocs passed to application' which is not a part of the function module developed by me...
    I am unable to understand why this error message is being displayed...
    Please help me out of this..

    ya i know that ..But I wanted to create a simple one..moreover the problem is not with bdc....It is with the function module interface..
    Also I want to ask a question that I had to define all the parameters (in the function module ) by data declaration statements in the function group top include..
    If i dont do that say the first error is when i write loop at idoc_contrl ..idoc_contrl is not declared by a data statement..So IO had to write a data statement:
    Idoc_contrl type table of edidc..I have seen that in other function modules (idoc inbound processing)  no such data declaration is done..

  • Function group for table T007V

    Hi,
    How can I find out table maintenance function group for standard SAP tables. If it does not exist then in which package should I create it.
    Thanks,
    Prateek

    Function Group are not assigned to tables... Function Group are assigned to Maintenance Views .. since no standard maintenance view exist for this table...
    So no function group is associated...
    You can create table maintenance for this table and assign any Z- Function Group u like..
    Reward if usefl
    Regards
    Prax

  • Function module for no of entries in a table

    is there any function module by which we can get the number of entries in a database table?

    Hi,
    You can use like:
    select count(*)from dbtab into cnt.
    which will return u the no. of records.
    Regards,
    Renjith Michael.

  • Function Module for Revision Level.

    Hi all,
    Is there any function module to retrieve details of MM and PO Revision Level..
    In MM it is present in basic View..in AEOI table..,but i still go for function module.
    Thanx in advance

    Hi,
    BAPI_PO_DETAIL1
    REVISION_LEVEL_SELECT
    CCAP_REV_LEVEL_MAINTAIN
    Also,
    1.You can see this revision changes history in the version tab itself.
    2.You can also get from PO - Environment - Header changes details.
    3.Check the table EREV Version in Purchasing in SE16. This will give all the required details for the PO.
    4.You can fetch the data from this table to appear in the PO print out.
    If you want to know the material revision level as of some date then you can use function module REVISION_LEVEL_SELECT. Pass material & date and it will tell you the active revision on that date.
    If you want to know the table, then AEOI where you can enter the material no in field OBJKT & AETYP as 41 (Material). You will get the list of revision levels for the material.
    thanks & regards,
    ShreeMohan

  • About the effect for batch level conversion from material to plant level

    Dears,
    Now  we use batch management at material level in our system, now we want to change to batch level from material level to plant level, what effects or risks it will bring during the process of conversion?
    Thanks a lot
    Zhongkai

    Hi
    check the following SAP help link it is very helpful:
    http://help.sap.com/saphelp_40b/helpdata/es/d2/1d4b6e5733d1118b3f0060b03ca329/content.htm
    at the link you can find the following
    Specify batch level and activate status management
    In this IMG activity, you specify the following:
    the level at which batch numbers are unique
    whether batch status management is active in the client
    the plants in which batch status management is active
    the initial status of new batches
    Batch level
    Batch numbers can be unique at the following levels:
    at plant level
    at material level
    at client level for a material
    If you choose plant level, the batch number is unique in conjunction with the respective material and the plant. If you choose material level, the batch number is unique together with the material. At client level, the batch number is unique in the whole client.
    To change the batch level, you have to start a conversion program. This program first checks whether conversion is possible and outputs an error log containing all batch numbers that occur more than once at the new level. Now you need to manually transfer these batch records to numbers within Inventory Management using a transfer posting 'material to material'.
    If you change the level from plant level to a higher level, it is possible that batches with the same batch numbers in different plants are actually identical. In this case, all you have to do is remove stocks (including previous period stocks) so that all batches with the same batch numbers, except one, can be reorganized.
    When you convert from plant level to material level, the material is then to be handled in batches in all plants in which it is defined.
    Standard settings
    In the standard R/3 System, batches are unique at plant level.
    Activities
    To change the batch level, proceed as follows:
          1. Choose the level at which you want your batches to be unique.
          2. Save the new settings and choose Back.
          3. Select function Batch level -> Conversion.
          4. If necessary, carry out the conversion in test mode first.
    Further notes
    Note that you cannot reset conversion from plant level to a higher level in the standard.
    If you create a client by copying an existing client, initially, there are no settings in the target client at batch level. The system makes the settings in the target client only when you have carried out an activity (maintaining master data or posting a goods movement, for example).
    SETTINGS BEFORE/AFTER CLIENT COPY:
    Source client Target client
    Client level Material level
    Material level Material level
    Plant level Plant level
    Batch status management
    Batch status management is an additional function provided by the standard R/3 System.
    Standard settings
    Batch status management is not active in the standard R/3 system.
    Activities
    To activate batch status management, proceed as follows:
          1. Choose Batch status management active.
          2. Save the new setting and choose Back.
          3. Choose Batch status management -> conversion.
          4. If necessary, carry out the conversion in test mode first.
    Further notes
    Batch status management is linked to the batch level. At material and at plant level, the status management settings are valid within the client, that is for all plants. However, if you have defined batches to be unique at plant level, you have to select the plants in which status management is to be active using function Plants with status management.
    If you activate status management, all existing batches are assigned status 'unrestricted'. If you deactivate status management, the systems transfers all restricted batches to unrestricted stock within conversion. Restricted stock only exists if status management is active.
    If you create a client by copying an existing client, status management is automatically activated if batches exist in the target client, independent of the settings in the source client. If no batches exist in the target client, it is not activated. In this case, you have to activate or deactivate status management manually, if required.
    Plants with batch status management
    Activities
    To select the plants in which status management is to be active, proceed as follows:
          1. Set characteristic Batch status management for those plants in which batch status management is to be active.
          2. Save your settings and choose function Back.
          3. Choose function Batch status management -> conversion
          4. If necessary, carry out the conversion in test mode first.
    Initial status of a new batch
    Using this function, you can specify for each material type which initial status new batches are to be assigned. However, if you use a quality management system, this specifies the status of the batches.
    Hope it will help
    Best Regards

  • Function modules for table operations

    Hi!
    I found the module "rfc_get_table_entries", can s.o. tell me some other standard function modules to work with database information?
    rfc_get_table_entries returns a concatenated Database line, it would be better for me to get a table with the correct structure.
    With best regards
    Björn K.

    Björn,
    how about RFC_READ_TABLE? you'll receive the structure in FIELDS and the content in DATA.
    if you know the fields you want to receive, you can add them in the FIELDS table as input parameter.
    kr, achim

  • Function Module for UNPACKING Handling Unit from Inbound Delivery

    Hello Experts,
    I am working on a RFID program to Receive goods from vendor...
    One of the steps of the program should CHANGE the quantity inside a received batch.
    To do so, I need to UNPACK the Handling Unit first... then change the quantity.
    I am using the following Function Modules to do so:
    - 'HU_GET_HUS'
    - 'V51P_FILL_GT'
    - 'HU_PACKING_AND_UNPACKING'
    - 'HU_POST'
    First 2 FM works fine...
    But when I get to the 3rd one, I keep getting "NOT_POSSIBLE" error...
    Have anyone done this before??
    Here's the code I've done to do some testing before putting it into my code...
    PLEEEEEEEEEEEASE HELP.
    TYPE-POOLS: vsep. PARAMETERS: p_venum LIKE vekp-venum.
    DATA: wa_object LIKE hum_object,
          it_object TYPE TABLE OF hum_object.
    DATA: wa_v51vp LIKE v51vp,
          it_v51vp TYPE TABLE OF v51vp.
    DATA: flag LIKE v51p_select_flags.
    DATA: it_venum            TYPE STANDARD TABLE OF hum_venum,
          ef_rcode            LIKE sy-subrc,
          et_vekp             TYPE STANDARD TABLE OF vsep_s_vekp,
          et_vepo             TYPE STANDARD TABLE OF vsep_s_vepo,
          et_vevw             TYPE vsep_t_vevw,
          et_highest_level    TYPE vsep_t_venum,
          et_messages         TYPE huitem_messages_t,
          is_packing_request  TYPE vsep_s_pithu,
          es_p_request        TYPE vsep_s_pithu,
          es_item             LIKE vepovb,
          cs_header           LIKE vekpvb,
          ef_number           TYPE vpobjkey,
          et_header           TYPE STANDARD TABLE OF vekpvb,
          et_items            TYPE STANDARD TABLE OF vepovb,
          et_item_serialno    TYPE vsep_t_rserob,
          et_history          TYPE hum_history_t,
          et_highest_levels   TYPE hum_venum_t.
    DATA: wa_venum            LIKE hum_venum,
          wa_vepo             TYPE vsep_s_vepo,
          wa_vekp             TYPE vsep_s_vekp,
          wa_items            TYPE vepovb,
          wa_header           TYPE vekpvb.
    START-OF-SELECTION.
      wa_venum-venum = p_venum.
      APPEND wa_venum TO it_venum.
      CALL FUNCTION 'HU_GET_HUS'
        EXPORTING
          it_venum          = it_venum
        IMPORTING
          et_header         = et_header
          et_items          = et_items
          et_item_serialno  = et_item_serialno
          et_history        = et_history
          et_highest_levels = et_highest_levels
          et_messages       = et_messages
        EXCEPTIONS
          hus_locked        = 1
          no_hu_found       = 2
          fatal_error       = 3
          OTHERS            = 4.
      IF sy-subrc <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
      READ TABLE et_header INDEX 1 INTO wa_header.
      CALL FUNCTION 'V51P_FILL_GT'
        EXPORTING
          it_venum         = it_venum
        IMPORTING
          ef_rcode         = ef_rcode
          et_vekp          = et_vekp
          et_vepo          = et_vepo
          et_vevw          = et_vevw
          et_highest_level = et_highest_level
          et_messages      = et_messages
        EXCEPTIONS
          hu_locked        = 1
          no_hu_found      = 2
          fatal_error      = 3
          OTHERS           = 4.
      IF sy-subrc <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
      READ TABLE et_vepo INDEX 1 INTO wa_vepo.
      READ TABLE et_vekp INDEX 1 INTO wa_vekp.
      MOVE-CORRESPONDING wa_vepo TO  is_packing_request.
      is_packing_request-belnr    = wa_vepo-vbeln.
      is_packing_request-quantity = wa_vepo-vemng.
      is_packing_request-veanz    = '-1'.
      is_packing_request-meins    = wa_vepo-vemeh.
      is_packing_request-exidv    = wa_vekp-exidv.
      CALL FUNCTION 'HU_PACKING_AND_UNPACKING'
        EXPORTING
          is_packing_request = is_packing_request
        IMPORTING
          ef_rcode           = ef_rcode
          es_p_request       = es_p_request
          es_item            = es_item
        CHANGING
          cs_header          = cs_header
        EXCEPTIONS
          missing_data       = 1
          hu_not_changeable  = 2
          not_possible       = 3
          customizing        = 4
          weight             = 5
          volume             = 6
          serial_nr          = 7
          fatal_error        = 8
          OTHERS             = 9.
      IF sy-subrc <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
      CALL FUNCTION 'HU_POST'
        EXPORTING
          if_synchron = 'X'
          if_commit   = 'X'
        IMPORTING
          ef_number   = ef_number.
      break nunfx004.
      IF sy-subrc <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    Thanks in advance,
    Fernanda

    Hi ,
    Check this code.
    Pack componet HU to Overpack HU. *
        l_packing_req-venum = g_ovrp_venum.                  "Overpack Internal HU
        l_packing_req-exidv = g_ovrp_exidv.                  "Overpack External HU
        l_packing_req-veanz = '1'.                     "PACK Constant
        l_packing_req-sub_hu_venum = l_int_venum.
        l_packing_req-sub_hu_exidv = l_int_exidv.       "Componet External HU
        l_packing_req-velin = '3'.                      "HU Type Constant
        l_packing_req-quantity = '1.000'.
    call function 'HU_PACKING_AND_UNPACKING'
          exporting
            is_packing_request = l_packing_req
          exceptions
            missing_data       = 1
            hu_not_changeable  = 2
            not_possible       = 3
            customizing        = 4
            weight             = 5
            volume             = 6
            serial_nr          = 7
            fatal_error        = 8
            others             = 9.
        if sy-subrc <> 0.
    error
          clear: v_msgv1, v_msgv2, v_msgv3.
          v_msgv1 = text-031.
       PERFORM display_message USING v_msgv1 v_msgv2 v_msgv3.
          leave to screen sy-dynnr.
        endif.
    No Errors --> POST HU
        call function 'HU_POST'
          exporting
            if_synchron = 'X'
            if_commit   = 'X'.
    plz write what you are passing to 'HU_PACKING_AND_UNPACKING' and hu_post fm.
    Regards
    Mohinder Singh Chauhan

  • Urgent: Function module for getting the input from user  using a pop up

    Hi all,
    My requirement at user commmand a pop up should appear asking the user to enter the session name for the bdc session to be created.
    My report allows the user to enter the session name of his choice.
    I need the name of the function module which can do this.
    Thanks
    Pritish

    better to create one FM  to pop-up.
    check this :
    function y_pop_up_get_distributor_time.
    *"*"Local interface:
    *"  IMPORTING
    *"     REFERENCE(W_ROUTE) LIKE  VBAP-ROUTE
    *"     REFERENCE(W_VBELN) LIKE  VBAK-VBELN
    *"     REFERENCE(W_VGBEL) LIKE  VBAK-VGBEL
    *"     REFERENCE(W_VSTEL) LIKE  VBRP-VSTEL
    *"     REFERENCE(W_AUART) LIKE  VBAK-AUART
    *"  EXPORTING
    *"     REFERENCE(W_FROM_DATE) TYPE  SY-DATUM
    *"     REFERENCE(W_FROM_TIME) TYPE  SY-UZEIT
    *"     REFERENCE(W_TO_DATE) TYPE  SY-DATUM
    *"     REFERENCE(W_TO_TIME) TYPE  SY-UZEIT
    *"     REFERENCE(W_TKNUM) TYPE  VTTK-TKNUM
    *"     REFERENCE(W_RC) TYPE  SY-SUBRC
    *"     REFERENCE(W_DEPT_DATE) TYPE  SY-DATUM
    *"     REFERENCE(W_DEPT_TIME) TYPE  SY-UZEIT
    *"     REFERENCE(W_REPO_DATE) TYPE  SY-DATUM
    *"     REFERENCE(W_REPO_TIME) TYPE  SY-UZEIT
    *"     REFERENCE(W_PLNT_DATE) TYPE  SY-DATUM
    *"     REFERENCE(W_PLNT_TIME) TYPE  SY-UZEIT
    *"     REFERENCE(W_TRUCK_NO) TYPE  YW2_TIMEENTRY-TRUCKNO
    *"     REFERENCE(W_LIFNRN) TYPE  YW2_TIMEENTRY-LIFNR
    *  SET PF-STATUS 'STATUS_100' OF PROGRAM SAPLZ2SLS.
    *CLEAR:W_DATE_FROM, W_DS_TIME_1, W_ADATE,
    *      W_ATIME,W_BDATE,W_BTIME, W_CDATE, W_CTIME.
    clear : w_route1, w_vbeln1,w_vgbel1,
            w_vstel1,w_auart1.
      w_route1 = w_route.
      w_vbeln1 = w_vbeln.
      w_vgbel1 = w_vgbel.
      w_vstel1 = w_vstel.
      w_auart1 = w_auart.
      clear: w_date_to, w_date_from, w_adate,w_atime,
             w_ds_time_1, w_ds_time_2,
             w_bdate, w_btime, w_cdate, w_ctime.
      call screen 100 starting at 10 2 ending at 115 13.
      if w_ok_code = 'SAVE'.
        w_rc = 0.
        w_from_date  = w_date_from.
        w_from_time  = w_ds_time_1.
        w_to_date    = w_date_to.
        w_to_time    = w_ds_time_2.
        w_tknum      = w_tknum.
        w_dept_date  = w_adate.
        w_dept_time  = w_atime.
        w_repo_date  = w_bdate.
        w_repo_time  = w_btime.
        w_plnt_date  = w_cdate.
        w_plnt_time  = w_ctime.
        w_truck_no   = sg_truckno.
        w_lifnrn     = w_lifnr.
      else.
        w_rc = 1.
      endif.
    *  IF w_ok_code = 'CANC'.
    *    W_rc = 1.
    *  ELSE.
    *    W_rc = 0.
    *    W_FROM_DATE  = w_date_from.
    *    W_FROM_TIME  = w_ds_time_1.
    *    W_TO_DATE    = w_date_to.
    *    W_TO_TIME    = w_ds_time_2.
    *    W_TKNUM      = W_TKNUM.
    *    W_DEPT_DATE  = W_ADATE.
    *    W_DEPT_TIME  = W_ATIME.
    *    W_REPO_DATE  = W_BDATE.
    *    W_REPO_TIME  = W_BTIME.
    *    W_PLNT_DATE  = W_CDATE.
    *    W_PLNT_TIME  = W_CTIME.
    *  ENDIF.
      clear w_ok_code.
    endfunction.
    Regards
    Prabhu

Maybe you are looking for

  • March 2015 TechNet Guru Awards! See who's boss in SSRS! It could be YOU!

    The results for March's TechNet Guru competition were posted! http://blogs.technet.com/b/wikininjas/archive/2015/04/17/the-microsoft-technet-guru-awards-march-2015.aspx Below is a summary of the medal winners for December. The last column being a few

  • Runtime Error when executing Query in the web

    Hello, when i try to execute a query on the  web, i get the error Exception in BI runtime Log ID: 005056BD15DA005E000000A900000A3400043C8F00E4DD8B Initial cause Message: 'user' missing Stack trace: com.sap.mw.jco.JCO$Exception: (101) RFC_ERROR_PROGRA

  • Message when opening VI "LABVIEW: VI not loadable

    I am receiving a message when opening my VI:  "VI not loadable".      The message box is attached in a Word document.      The VI is also attached. This VI was working this morning.    It uses DAQmx to acquire data from 3 load cells.    The data was

  • Is purchasing a movie the same as a dvd?

    I purchased some movies, downloaded them but I don't see any bonus features like the ones you get when you actually purchase a hard copy of  a dvd.

  • Org Structure Craetion - 2

    There is a req to create new Company since client moved into new business. Company Policies, Work Timings, Leaves everything remains same including Grades & Levels, everything will be same. Finance Team Created New Company Code... For my part I intia