ABAP Issue in 40B

Hi Expert,
I met some problem in 40B, need you advice.
1) In selection screen, I use 2 radio button to control the value in another parameter in selection screen, I use below code
PARAMETERS: r_local RADIOBUTTON GROUP rad1 DEFAULT 'X' USER-COMMAND ucom.
But system give me a error message:
Unable to interpret "UCOM". Possible causes of error: Incorrect spelling or comma error.
How to use USER-COMMAND in RADIOBUTTON to control selection-screen in 40B?
2) also in selection screen, there is a parameter let user select a directory from local PC.
I usually use call method cl_gui_frontend_services=>directory_browse.
But this method does not exist in 40B.
Is there any other FM in 40B can be used to let user select a directory from local PC.
Thanks
Peter

Hello all
Though i didnot get any reply here..
We some how found out the root of the pbm and i think it wud be better if share it with u all.
In the main screen of FPCOPARA , Environment - > correspondence Hist ...It goes to a table DFKKCOHI , where it shows the records..In my case it was showing 7 records ..The problerm was i didnot give the Print date..so it was picking up all the 7 records..
Thanks a lot.
Best Regards
Nilesh

Similar Messages

  • ABAP Issue

    Hi
    I am new to ABAP . Can anybody give  me any issue on ABAP in SD or MM modules ?
    Thanks
    ABAP Developer

    Hi
    Go through the Different tables of the SD and MM
    and try to do some reports like
    1.Customer wise Sales Order Totals
    2.Vendor wise Purchase order totals
    based on given range of  Date, Materials and Order Range.
    see the SD and MM related stuff:
    SD FLOW
    SD Flow Cycle and T Codes:
    INQUIRY ( VA11)
    |
    QUOTATION (VA21)
    |
    PURCHASE ORDER (ME21)
    |
    ORDER CONFIRMATION (VA01)
    |
    PICKING LIST – (VL36)
    |
    PACKING LIST - (VL02, VL01)
    |
    SHIPPING – (VT01)
    |
    INVOICE – (VF21, VF01)
    |
    AR
    Explantion with relavent tables:
    Enquiry - Customer enquires about the Products services that were sold by a company - VA11
    Quotation - Company Gives a Quotation for the products and Services to a Customer
    Sales Order - Customer gives a Purchase order to the company agaionst which a Sales order will be raised to Customer in SAP.
    VBAK: Sales Document(Header Data) (VBELN)
    VBAP: Sales Document(Item Data) (VBELN,POSNR,MATNR,ARKTX,CHARG)
          Enquiry, Quotation, Sales Order are differentiated based on Doc.
          Type(VBTYP field) in VBAK,VBAP Tables( for Enquiry VBTYP = A,
          for Quotation 'B' & for Order it is 'C'.)
    Delivery(Picking, Packing, Post Goods Issue and Shipment)->
    Company sends the material after picking it from Godown and Packing it in a Handling Unit(box) and Issues the goods
    LIKP: Delivery Table (Header Data)(VBELN,LFART,KUNNR,WADAT,INCO1)
    LIPS: Delivery Table (Item Data)(VBELN,POSNR,WERKS,LGORT,MATNR,VGBEL)
          (LIPS-VGBEL = VBAK-VBELN, LIPS-VGPOS = VBAP-POSNR)
    Billing - Also company bills to the customer for those deliveries
    And in FI against this billing  Accounting doc is created.
    VBRK: Billing Table(Header Data)(VBELN,FKART,BELNR)
    VBRP: Billing Table(Item Data)(VBELN,POSNR,FKIMG,NETWR,VGBEL,VGPOS)
          (VBRP-AUBEL = VBAK-VBELN, VBRP-VGBEL = LIKP-VBELN)
          Apart from these tables there are lot of other tables which starts with
          ‘V’, but we use the following tables frequently.
    Links for sd:
    http://www.sapgenie.com/abap/tables_sd.htm
    Please check this SD online documents.
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/CAARCSD/CAARCSD.pdf
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/MYSAP/SR_SD.pdf
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCBMTWFMSD/BCBMTWFMSD.pdf
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/LOLISPLN/LOLISPLN.pdf
    Also please check this SD links as well.
    http://help.sap.com/saphelp_47x200/helpdata/en/92/df293581dc1f79e10000009b38f889/frameset.htm
    http://help.sap.com/saphelp_erp2005/helpdata/en/dd/55f33e545a11d1a7020000e829fd11/frameset.htm
    http://www.sap-basis-abap.com/sapsd.htm
    http://www.sap-img.com/sap-sd.htm
    http://www.sapgenie.com/abap/tables_sd.htm
    http://searchsap.techtarget.com/featuredTopic/0,290042,sid21_gci961718,00.html
    http://www.sapbrain.com/TUTORIALS/FUNCTIONAL/SD_tutorial.html
    All help ebooks are in PDF format here
    http://www.easymarketplace.de/online-pdfs.php
    MM Cycle:
    Purchase Requisition-> STaff in an orgn places Pur requisition for want of some goods/products - ME51
    Request for Quotation(RFQ)-> The Purchase dept in the orgn calls/requests for the quotation for the products against which PR was raised. - ME41
    Vendor Evaluation->After receving the RFQ's, after comparison a Vendor is finalised based on the terms and conditions.
    Purchase Order(PO)-> Pur order was issued to that vendor asking him to supply the goods/products -ME21N
    Goods Receipt Note(GRN)->Vendor supplies the material/Products to the orgn-
    MB01
    Goods Issue (GI)  -> People receives their respective itesm for which they have placed the Requisitions
    Invoice Verification-> ALong with the Material Vendor submits a Invoice for which the Company Pays the amount - .MIRO
    Data to FI -> data will be posted to FI as per the vendor invoices
    you better go through all these links u will get all the info what ever u need
    for mm
    http://www.sapgenie.com/abap/tables_mm.htm
    http://www.sap-img.com/sap-download/sap-tables.zip
    http://www.allsaplinks.com/material_management.html
    http://www.training-classes.com/course_hierarchy/courses/2614_SAP_R_3_MM_Invoice_Verification_-_Rel_4_x.php
    http://www.sapfriends.com/sapstuff.html
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/PSMAT/PSMAT.pdf
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/CAARCMM/CAARCMM.pdf
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/MYSAP/SR_MM.pdf
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/LOMDMM/LOMDMM.pdf
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCBMTWFMMM/BCBMTWFMMM.pdf
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/MMIVMVAL/MMIVMVAL.pdf
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/MMWMLVS/MMWMLVS.pdf
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/MMISVE/MMISVE.pdf
    <b>Reward points for useful Answers</b>
    Regards
    Anji

  • Installation Netweaver 7.4 AS ABAP "Issue ABAP Import"

    Dear friends,
    I am trying to install SAP Netweaver 7.4 Support Relase 2> SAP HANA> Application Server ABAP > Standard System but at Phase "Import ABAP" I am getting the below error message. I really appreciate your help in solving this problem. Thanks in advance.There they are the SAPINST.LOG with error and next, follow this, the two log file with details import_monitor.java.log , import_monitor.log
    --> SAPINST.LOG :
    Import Monitor jobs: running import of package: SAPNTAB
    Loading of 'SAPNTAB' import package: OK
    Import Monitor jobs: running 1, waiting 27, completed 1, failed 0, total 29.
    Import Monitor jobs: running 2, waiting 26, completed 1, failed 0, total 29.
    Import Monitor jobs: running 3, waiting 25, completed 1, failed 0, total 29.
    Loading of 'SMIMCONT1' import package: OK
    Import Monitor jobs: running 2, waiting 25, completed 2, failed 0, total 29.
    Import Monitor jobs: running 3, waiting 24, completed 2, failed 0, total 29.
    Loading of 'DOKCLU' import package: OK
    Import Monitor jobs: running 2, waiting 24, completed 3, failed 0, total 29.
    Import Monitor jobs: running 3, waiting 23, completed 3, failed 0, total 29.
    Loading of 'SEOCOMPODF' import package: OK
    Import Monitor jobs: running 2, waiting 23, completed 4, failed 0, total 29.
    Import Monitor jobs: running 3, waiting 22, completed 4, failed 0, total 29.
    Loading of 'SAPAPPL1' import package: OK
    Import Monitor jobs: running 2, waiting 22, completed 5, failed 0, total 29.
    Import Monitor jobs: running 3, waiting 21, completed 5, failed 0, total 29.
    Loading of 'SAPSPROT' import package: OK
    Import Monitor jobs: running 2, waiting 21, completed 6, failed 0, total 29.
    Import Monitor jobs: running 3, waiting 20, completed 6, failed 0, total 29.
    Loading of 'SAPAPPL0' import package: OK
    Import Monitor jobs: running 2, waiting 20, completed 7, failed 0, total 29.
    Import Monitor jobs: running 3, waiting 19, completed 7, failed 0, total 29.
    Loading of 'SAPAPPL2' import package: OK
    Import Monitor jobs: running 2, waiting 19, completed 8, failed 0, total 29.
    Import Monitor jobs: running 3, waiting 18, completed 8, failed 0, total 29.
    Loading of 'E071' import package: OK
    Import Monitor jobs: running 2, waiting 18, completed 9, failed 0, total 29.
    Import Monitor jobs: running 3, waiting 17, completed 9, failed 0, total 29.
    Loading of 'SAPPOOL' import package: OK
    Import Monitor jobs: running 2, waiting 17, completed 10, failed 0, total 29.
    Import Monitor jobs: running 3, waiting 16, completed 10, failed 0, total 29.
    Loading of 'DD03L' import package: OK
    Import Monitor jobs: running 2, waiting 16, completed 11, failed 0, total 29.
    Import Monitor jobs: running 3, waiting 15, completed 11, failed 0, total 29.
    Loading of 'SEOSUBCODF' import package: OK
    Import Monitor jobs: running 2, waiting 15, completed 12, failed 0, total 29.
    Import Monitor jobs: running 3, waiting 14, completed 12, failed 0, total 29.
    Loading of 'SAPSSRC' import package: OK
    Import Monitor jobs: running 2, waiting 14, completed 13, failed 0, total 29.
    Import Monitor jobs: running 3, waiting 13, completed 13, failed 0, total 29.
    Loading of 'TODIR' import package: OK
    Import Monitor jobs: running 2, waiting 13, completed 14, failed 0, total 29.
    Import Monitor jobs: running 3, waiting 12, completed 14, failed 0, total 29.
    Loading of 'WDY_UI_PROPERTY' import package: OK
    Import Monitor jobs: running 2, waiting 12, completed 15, failed 0, total 29.
    Import Monitor jobs: running 3, waiting 11, completed 15, failed 0, total 29.
    Loading of 'SCPRSVALS' import package: OK
    Import Monitor jobs: running 2, waiting 11, completed 16, failed 0, total 29.
    Import Monitor jobs: running 3, waiting 10, completed 16, failed 0, total 29.
    Loading of 'SAPSDOCU' import package: OK
    Import Monitor jobs: running 2, waiting 10, completed 17, failed 0, total 29.
    Import Monitor jobs: running 3, waiting 9, completed 17, failed 0, total 29.
    Loading of 'SAPSDIC' import package: OK
    Import Monitor jobs: running 2, waiting 9, completed 18, failed 0, total 29.
    Import Monitor jobs: running 3, waiting 8, completed 18, failed 0, total 29.
    Loading of 'SAPSLEXC' import package: OK
    Import Monitor jobs: running 2, waiting 8, completed 19, failed 0, total 29.
    Loading of 'SAPCLUST' import package: OK
    Import Monitor jobs: running 1, waiting 8, completed 20, failed 0, total 29.
    Import Monitor jobs: running 2, waiting 7, completed 20, failed 0, total 29.
    Import Monitor jobs: running 3, waiting 6, completed 20, failed 0, total 29.
    Loading of 'DD08B' import package: OK
    Import Monitor jobs: running 2, waiting 6, completed 21, failed 0, total 29.
    Loading of 'SAPSLOAD' import package: OK
    Import Monitor jobs: running 1, waiting 6, completed 22, failed 0, total 29.
    Import Monitor jobs: running 2, waiting 5, completed 22, failed 0, total 29.
    Import Monitor jobs: running 3, waiting 4, completed 22, failed 0, total 29.
    Loading of 'SAPDDIM' import package: OK
    Import Monitor jobs: running 2, waiting 4, completed 23, failed 0, total 29.
    Loading of 'SAPDFACT' import package: OK
    Import Monitor jobs: running 1, waiting 4, completed 24, failed 0, total 29.
    Import Monitor jobs: running 2, waiting 3, completed 24, failed 0, total 29.
    Import Monitor jobs: running 3, waiting 2, completed 24, failed 0, total 29.
    Loading of 'SAPDODS' import package: OK
    Import Monitor jobs: running 2, waiting 2, completed 25, failed 0, total 29.
    Loading of 'SAPUSER' import package: OK
    Import Monitor jobs: running 1, waiting 2, completed 26, failed 0, total 29.
    Import Monitor jobs: running 2, waiting 1, completed 26, failed 0, total 29.
    Loading of 'SAP0000' import package: OK
    Import Monitor jobs: running 1, waiting 1, completed 27, failed 0, total 29.
    Loading of 'SAPSSEXC' import package: ERROR
    Import Monitor jobs: running 0, waiting 1, completed 27, failed 1, total 29.
    ERROR      2014-11-05 13:51:52.252
               CJSlibModule::writeError_impl()
    CJS-30022  Program 'Migration Monitor' exits with error code 103. For details see log file(s) import_monitor.java.log, import_monitor.log.
    ERROR      2014-11-05 13:51:52.393 [csistepexecute.cpp:1158]
    FCO-00011  The step runMigrationMonitor with step key |NW_ABAP_OneHost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|onehost|0|NW_CreateDBandLoad|ind|ind|ind|ind|createdbandload|0|NW_ABAP_Import_Dialog|ind|ind|ind|ind|abapload|0|NW_ABAP_Import|ind|ind|ind|ind|nw_abap_import|0|runMigrationMonitor was executed with status ERROR ( Last error reported by the step: Program 'Migration Monitor' exits with error code 103. For details see log file(s) import_monitor.java.log, import_monitor.log.).

    No , still facing same problem.
    Listener working fine, also I have started the oracle database and rerun the SWPM.
    facing same issue.
    Loading of 'SAPSSEXC' import package: ERROR
    Import Monitor jobs: running 0, waiting 14, completed 12, failed 3, total 29.
    Import Monitor jobs: running 1, waiting 13, completed 12, failed 3, total 29.
    Import Monitor jobs: running 2, waiting 12, completed 12, failed 3, total 29.
    Import Monitor jobs: running 3, waiting 11, completed 12, failed 3, total 29.
    Loading of 'SAPSDIC' import package: ERROR
    Import Monitor jobs: running 2, waiting 11, completed 12, failed 4, total 29.
    Loading of 'SCPRSVALS' import package: ERROR
    Import Monitor jobs: running 1, waiting 11, completed 12, failed 5, total 29.
    Loading of 'WDY_UI_PROPERTY' import package: ERROR
    Import Monitor jobs: running 0, waiting 11, completed 12, failed 6, total 29.
    Import Monitor jobs: running 1, waiting 10, completed 12, failed 6, total 29.
    Import Monitor jobs: running 2, waiting 9, completed 12, failed 6, total 29.
    Import Monitor jobs: running 3, waiting 8, completed 12, failed 6, total 29.
    Loading of 'SAPCLUST' import package: ERROR
    Import Monitor jobs: running 2, waiting 8, completed 12, failed 7, total 29.
    Loading of 'SAPSDOCU' import package: ERROR
    Import Monitor jobs: running 1, waiting 8, completed 12, failed 8, total 29.
    Loading of 'SAPSLEXC' import package: ERROR
    Import Monitor jobs: running 0, waiting 8, completed 12, failed 9, total 29.
    Import Monitor jobs: running 1, waiting 7, completed 12, failed 9, total 29.
    Import Monitor jobs: running 2, waiting 6, completed 12, failed 9, total 29.
    Import Monitor jobs: running 3, waiting 5, completed 12, failed 9, total 29.
    Loading of 'DD08B' import package: ERROR
    Import Monitor jobs: running 2, waiting 5, completed 12, failed 10, total 29.
    Loading of 'SAPSLOAD' import package: ERROR
    Import Monitor jobs: running 1, waiting 5, completed 12, failed 11, total 29.
    Loading of 'SAPDDIM' import package: ERROR
    Import Monitor jobs: running 0, waiting 5, completed 12, failed 12, total 29.
    Import Monitor jobs: running 1, waiting 4, completed 12, failed 12, total 29.
    Import Monitor jobs: running 2, waiting 3, completed 12, failed 12, total 29.
    Import Monitor jobs: running 3, waiting 2, completed 12, failed 12, total 29.
    Loading of 'SAPDFACT' import package: ERROR
    Import Monitor jobs: running 2, waiting 2, completed 12, failed 13, total 29.
    Loading of 'SAPDODS' import package: ERROR
    Import Monitor jobs: running 1, waiting 2, completed 12, failed 14, total 29.
    Loading of 'SAPUSER' import package: ERROR
    Import Monitor jobs: running 0, waiting 2, completed 12, failed 15, total 29.
    Import Monitor jobs: running 1, waiting 1, completed 12, failed 15, total 29.
    Loading of 'SAP0000' import package: ERROR
    Import Monitor jobs: running 0, waiting 1, completed 12, failed 16, total 29.

  • Abap issues when upgrading from 4.7 to ecc6.0

    hello All,
    I am posting this question with intention of general issues we face that are abap related when upgrade from 4.7 to ECC6.0,
    do the programs ahve to be adjusted, if sumone cud also throw some light on what is unicode and wat role does it play in the upgrade,
    some specific examples wud be appreciated
    thanks,
    RS

    hi,
    Go through this
    Unicode is an international standard that assigns characters from virtually every
    language and script a unique Unicode Scalar Value, which is a number written in
    hexadecimal notation.
         Character     Unicode Scalar Value     Unicode Character Name
         A      U+0041          LATIN CAPITAL LETTER A
         Ä     U+00C4          LATIN CAPITAL LETTER A WITH DIAERESIS
         α     U+03B1          GREEK SMALL LATTER ALPHA
    Implementing the Unicode standard enables a single software product or a single
    web site to be accessed across multiple platforms, languages, and countries without
    the need for re-engineering. It allows data to be transferred across many different
    SAP and non-SAP systems without corruption. To meet these requirements, the SAP
    Unicode team continues to promote Unicode-enabled SAP systems, aid their
    installation, and provide tools and full technical support for the smooth
    conversion of existing SAP non-Unicode systems to Unicode.

  • ABAP Issues!

    Hi Guys I ve some issues below i need ans for this!
      1)  What is Condition Tables KONV KONH what data they store & how to link Konv konh to Vbrk & VBRP
    Is it posible.
    2) Customer going for update from 4.0b to 4.7 in bdc what r the possiblities of errors?
    3) How to update currency field in BDC
    4) I want some sample program on nested internal tables with explicit work area
    5) data: screen_values type table of dynp_read,
                screen_value like line of screen_values.
       what is this statement  <b>screen_value like line of screen_values</b> pls explain me its work area or onley table pls explain.
      Looking for reply guys
    Thanks

    Hi
    A <b>condition table</b> defines the combination of fields (the key) that identifies an individual condition record. A condition record is how the system stores the specific condition data that you enter in the system as condition records. For example, when you enter the price for a product or a special discount for a good customer, you create individual condition records.
    KONH -->Conditions header
    KONP-->Conditions items
    KONV-->Procedure ( billing doc or sales order)
    Check these links for tables
    http://www.erpgenie.com/abap/tables_system.htm
    http://goldenink.com/abap/files_in_sap.html
    http://www.sapdevelopment.co.uk/tables/tables.htm
    http://www.sap-topjobs.com/SAPTABLEREF%5B1%5D.doc
    It will be KNUMH, VBELN, POSNR
    <b><u>Nested Internal Table</u></b>
    DATA: SUM TYPE I, CNT TYPE I.
    NODES: SPFLI, SFLIGHT, SBOOK.
    DATA: BEGIN OF WA_SBOOK,
            BOOKID     TYPE SBOOK-BOOKID,
            SMOKER     TYPE SBOOK-SMOKER,
            CLASS      TYPE SBOOK-CLASS,
            LUGGWEIGHT TYPE SBOOK-LUGGWEIGHT,
            WUNIT      TYPE SBOOK-WUNIT,
          END OF WA_SBOOK.
    DATA: BEGIN OF WA_SFLIGHT,
            FLDATE TYPE SFLIGHT-FLDATE,
            SBOOK  LIKE TABLE OF WA_SBOOK ,
          END OF WA_SFLIGHT.
    DATA: BEGIN OF WA_SPFLI,
            CARRID   TYPE SPFLI-CARRID,
            CONNID   TYPE SPFLI-CONNID,
            CITYFROM TYPE SPFLI-CITYFROM,
            CITYTO   TYPE SPFLI-CITYTO,
            SFLIGHT  LIKE TABLE OF WA_SFLIGHT ,
          END OF WA_SPFLI.
    DATA TAB_SPFLI LIKE TABLE OF WA_SPFLI .
    START-OF-SELECTION.
    GET SPFLI.
      REFRESH WA_SPFLI-SFLIGHT.
    GET SFLIGHT.
      REFRESH WA_SFLIGHT-SBOOK.
    GET SBOOK.
      MOVE-CORRESPONDING SBOOK TO WA_SBOOK.
      APPEND WA_SBOOK TO WA_SFLIGHT-SBOOK.
    GET SFLIGHT LATE.
      MOVE-CORRESPONDING SFLIGHT TO WA_SFLIGHT.
      APPEND WA_SFLIGHT TO WA_SPFLI-SFLIGHT.
    GET SPFLI LATE.
      MOVE-CORRESPONDING SPFLI TO WA_SPFLI.
      APPEND WA_SPFLI TO TAB_SPFLI.
    END-OF-SELECTION.
      SORT TAB_SPFLI BY CITYFROM CITYTO CONNID.
      LOOP AT TAB_SPFLI INTO WA_SPFLI.
        SKIP.
        WRITE: / WA_SPFLI-CARRID,
                 WA_SPFLI-CONNID,
                 'from', (15) WA_SPFLI-CITYFROM,
                 'to',   (15) WA_SPFLI-CITYTO.
        ULINE.
        SORT WA_SPFLI-SFLIGHT BY FLDATE.
        LOOP AT WA_SPFLI-SFLIGHT INTO WA_SFLIGHT.
          SKIP.
          WRITE: / 'Date:', WA_SFLIGHT-FLDATE.
          WRITE: 20 'Book-ID', 40 'Smoker', 50 'Class'.
          ULINE.
          SORT WA_SFLIGHT-SBOOK BY CLASS SMOKER BOOKID.
          SUM = 0.
          CNT = 0.
          LOOP AT WA_SFLIGHT-SBOOK INTO WA_SBOOK.
            WRITE: / WA_SBOOK-BOOKID UNDER 'Book-ID',
                     WA_SBOOK-SMOKER UNDER 'Smoker',
                     WA_SBOOK-CLASS  UNDER 'Class'.
            SUM = SUM + WA_SBOOK-LUGGWEIGHT.
            CNT = CNT + 1.
          ENDLOOP.
          ULINE.
          WRITE: 'Number of bookings:  ', (3) CNT,
               / 'Total luggage weight:',
              (3) SUM, WA_SBOOK-WUNIT.
        ENDLOOP.
      ENDLOOP.
    PROCESS ON VALUE_REQUEST
    using module call starting with FIELD i.e FIELD field MODULE module
    There are number of function modules that can be used for the purpose, but these
    can fullfill the task easily or combination of them.
    DYNP_VALUE_READ
    F4IF_FIELD_VALUE_REQUEST
    F4IF_INT_TABLE_VALUE_REQUEST
    POPUP_WITH_TABLE_DISPLAY
    DYNP_VALUE_READ
    This function module is used to read values in the screen fields. Use of this
    FM causes forced transfer of data from screen fields to ABAP fields.
    There are 3 exporting parameters
    DYNAME = program name = SY-CPROG
    DYNUMB = Screen number = SY-DYNNR
    TRANSLATE_TO_UPPER = 'X'
    and one importing TABLE parameter
    DYNPFIELDS = Table of TYPE DYNPREAD
    The<b> DYNPFIELDS</b> parameter is used to pass internal table of type DYNPREAD
    to this FM and the values read from the screen will be stored in this table.This
    table consists of two fields:
    <b><u>FIELDNAME :</u></b> Used to pass the name of screen field for which the value is to
    be read.
    <u><b>FIELDVALUE :</b></u> Used to read the value of the field in the screen.
    DATA: SCREEN_VALUES TYPE TABLE OF DYNPREAD ,
    SCREEN_VALUE LIKE LINE OF SCREEN_VALUES.
    SCREEN_VALUE-FIELDNAME = 'KUNNR' . * Field to be read
    APPEND SCREEN_VALUE TO SCREEN_VALUES. * Fill the table
    CALL FUNCTION 'DYNP_VALUES_READ'
    EXPORTING
    DYNAME = SY-CPROG
    DYNUMB = SY-DYNNR
    TRANSLATE_TO_UPPER = 'X'
    TABLES
    DYNPFIELDS = SCREEN_VALUES.
    READ TABLE SCREEN_VALUES INDEX 1 INTO SCREEN_VALUE
    Now the screen value for field KUNNR is in the SCREEN_VALUE-FIELDVALUE and can be used for further processing like using it to fill the internal table to be used as parameter in F4IF_INT_TABLE_VALUE_REQUEST ETC.
    <u><b>F4IF_FIELD_VALUE_REQUEST</b></u>
    This FM is used to display value help or input from ABAP dictionary.We have to pass the name of the structure or table(TABNAME) along with the field name(FIELDNAME) . The selection can be returned to the specified screen field if three
    parameters DYNPNR,DYNPPROG,DYNPROFIELD are also specified or to a table if <b>RETRN_TAB</b> is specified.
    CALL FUNCTION 'F4IF_FIELD_VALUE_REQUEST'
    EXPORTING
    TABNAME = table/structure
    FIELDNAME = 'field name'
    DYNPPROG = SY-CPROG
    DYNPNR = SY-DYNR
    DYNPROFIELD = 'screen field'
    IMPORTING
    RETURN_TAB = table of type DYNPREAD
    <u><b>F4IF_INT_TABLE_VALUE_REQUEST</b></u>
    This FM is used to dsiplay values stored in an internal table as input
    help.This FM is used to program our own custom help if no such input help
    exists in ABAP dictionary for a particular field. The parameter VALUE_TAB is used to pass the internal table containing input values.The parameter RETFIELD
    is used to specify the internal table field whose value will be returned to the screen field or RETURN_TAB.
    If DYNPNR,DYNPPROG and DYNPROFIELD are specified than the user selection is passed to the screen field specified in the DYNPROFIELD. If RETURN_TAB is specified the selectionis returned in a table.
    CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
    EXPORTING
    RETFIELD = field from int table whose value will be returned
    DYNPPROG = SY-CPROG
    DYNPNR = SY-DYNNR
    DYNPROFIELD = 'screen field'
    VALUE_ORG = 'S'
    TABLES
    VALUE_TAB = internal table whose values will be shown.
    RETURN_TAB = internal table of type DDSHRETVAL
    EXCEPTIONS
    parameter_error = 1
    no_values_found = 2
    others = 3.
    <u><b>POPUP_WITH_TABLE_DISPLAY</b></u>
    This FM is used to display the contents of an internal table in a popup window.The user can select a row and the index of that is returned in the CHOISE
    parameter.The VALUETAB is used to pass the internal table.
    A suitable title can be set using TITLETEXT parameter. The starting and end position of the popup can be specified by the parameters STARTPOS_COL / ROW and ENDPOS_ROW / COL .
    CALL FUNCTION 'POPUP_WITH_TABLE_DISPLAY'
    EXPORTING
    ENDPOS_COL =
    ENDPOS_ROW =
    STARTPOS_COL =
    STARTPOS_ROW =
    TITLETEXT = 'title text'
    IMPORTING
    CHOISE =
    TABLES
    VALUETAB =
    EXCEPTIONS
    BREAK_OFF = 1
    OTHERS = 2.
    <b>e.g.</b>
    DATA: w_choice TYPE SY-TABIX.
    DATA: BEGIN OF i_values OCCURS 0 WITH HEADER LINE,
    values TYPE I,
    END OF i_values.
    PARAMETRS : id TYPE I.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR id
    i_values-values = '0001'.
    APPEND i_values.
    i_values-values = '0002'.
    APPEND i_values.
    i_values-values = '0003'.
    APPEND i_values.
    i_values-values = '0004'.
    APPEND i_values.
    CALL FUNCTION 'POPUP_WITH_TABLE_DISPLAY'
    EXPORTING
    ENDPOS_COL = 40
    ENDPOS_ROW = 12
    STARTPOS_COL = 20
    STARTPOS_ROW = 5
    TITLETEXT = 'Select an ID'
    IMPORTING
    CHOISE = w_choice
    TABLES
    VALUETAB = i_values
    EXCEPTIONS
    BREAK_OFF = 1
    OTHERS = 2.
    CHECK w_choice > 0.
    READ TABLE i_values INDEX w_choice....
    now we can process the selection as it is contained
    ...in the structure i_values.
    Other FM that may be used to provide input help is HELP_START .
    <b>for CREATING SEARCH HELP</b>
    1) Elementary search helps describe a search path. The elementary search help must define where the data of the hit list should be read from (selection method), how the exchange of values between the screen template and selection method is implemented (interface of the search help) and how the online input help should be defined (online behavior of the search help).
    2) Collective search helps combine several elementary search helps. A collective search help thus can offer several alternative search paths.
    3)An elementary search help defines the standard flow of an input help.
    4) A collective search help combines several elementary search helps. The user can thus choose one of several alternative search paths with a collective search help.
    5)A collective search help comprises several elementary search helps. It combines all the search paths that are meaningful for a field.
    6)Both elementary search helps and other search helps can be included in a collective search help. If other collective search helps are contained in a collective search help, they are expanded to the level of the elementary search helps when the input help is called.
    <u><b>CREATION:</b></u>
    Go to SE11 Tcode
    select search help
    give the 'z' search help name and create
    select the selection method ur table name eg : 'mara'
    dialog module 'display value immediately'.
    add the field whatever u want and lpos = 1 and spos = 1 and check import and export parameter.
    where left position when displaying and spos = search position
    and then save and activate ..
    <b>See the links:</b>
    http://help.sap.com/saphelp_nw04/helpdata/en/cf/21ee38446011d189700000e8322d00/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/cf/21ee45446011d189700000e8322d00/content.htm
    https://forums.sdn.sap.com/click.jspa?searchID=3173469&messageID=2176485
    https://forums.sdn.sap.com/click.jspa?searchID=3173469&messageID=3601619
    <b>pls go through this for search help creation</b>
    http://help.sap.com/saphelp_nw2004s/helpdata/en/41/f6b237fec48c67e10000009b38f8cf/content.htm
    <u><b>Search Help Exits:</b></u>
    Re: dynamic values for search help
    Re: Dynamic search  help
    Reward all helpfull answers
    Regards
    Pavan

  • ABAP issue in FPCOPARA of FI

    Hello all
                 I am working as ABAP developer , on 4.6C system.  We have developed a Print work bench form (PWB) through tcode EFRM , and we use it in FPCOPARA . In the END EXIT in PWB form , i m inserting a single record in Z table.
    Now,
    (1)  When i run the PWB form directly from EFRM for testing , 1 records gets inserted  , which is correct.
    (2) When i run FPCOPARA , and in the PRINT PARAMETERS i give REAL PRINT option (i.e. printing 1 st time) , the print is   generated and 1 record is inserted in Z table , which is also correct.
    BUT
    (3) when i run FPCOPARA & in PRINT PARAMETERS if i give REPEAT PRINT option (i.e. printing 2nd time onwards) ,  7 records gets inserted in Z table which is NOT CORRECT.
    I think in REPRINT option , my PWB form is getting called more than 1 time (here 7 times) , which seems difficult to understand.
    Please provide help ..Awaiting your valubale inputs on this.
    Thanks in advance
    Best Regards
    Nilesh

    Hello all
    Though i didnot get any reply here..
    We some how found out the root of the pbm and i think it wud be better if share it with u all.
    In the main screen of FPCOPARA , Environment - > correspondence Hist ...It goes to a table DFKKCOHI , where it shows the records..In my case it was showing 7 records ..The problerm was i didnot give the Print date..so it was picking up all the 7 records..
    Thanks a lot.
    Best Regards
    Nilesh

  • HR-ABAP issue

    im learning hr-abap form past 1 week, im using PNP LDB please can you tell what needs to be done for making sure pernr is mandatory as the field is already present on the selection screen,.

    Hi,
    Selection screen already availble in input, so you need to implement some logic in program at event
    at selection-screen output.
    loop at screen.
    if screen-name = 'PNPPERNR-LOW' .         "pernr selection screen name
         screen-REQUIRED = '1'.
        modify screen.
    endif.
    endloop.
    Regards,
    Sunil
    Edited by: Sunil Reddy Sibbala on Jan 28, 2009 1:59 PM
    Edited by: Sunil Reddy Sibbala on Jan 28, 2009 2:12 PM

  • HR ABAP: Issue with using 'nocommit' parameter on FM HR_INFOTYPE_OPERATION

    Issue with using nocommit parameter on FM HR_INFOTYPE_OPERATION:
    My client has a requirement to create the following 4 infotypes in sequence in a LUW, i.e either all are created or none is created.
    9045   (custom infotype)
    0045
    0078
    0015
    I tried to use the nocommit parameter on FM HR_INFOTYPE_OPERATION to insert the 4 infotypes
    in a nocoomit mode and then at the end I have issued
    'Commit Work', but to my surprise only I/T 0015 is created in the database and the first three (9045, 0045 and 0078) did not make it to database.
    I searched many threads on SDN but could not find a solution.
    Please let me know if there could be any solution to implement the LUW.
    YOur inputs will be appreciated.

    Hi ,
    i think u can also try with this FM HR_MAINTAIN_MASTERDATA , see its documentations.
    no commit works like a simulation mode , what u can do is  ,
    call FM for all Infotypes and collect all error msgs if any , then finally call FM for all infotypes again without passing nocommit work ( i.e space).
    regards
    prabhu

  • BI ABAP Issue regarding perform on commit statement

    Hi,
    I have a requirement like below.
    I have a test to see if SAP issues a COMMIT WORK at the end of the datapacket, and allows update tasks to be executed .and check whether the second datapacket succeed in getting the lock, or fail because it has not been dequeued.
    For this i have written code in the end routine of DTP like below.
    1. Called enqueue fm
    2. Created a custom table and taken loop at result_package and get the values to the internal table.
    3. I have created an updated function module to call perform on commit inside the function module. Since we canu2019t directly call the commit work in the end routine of DTP. And in the form endform i am updating the custom table from internal table.
    4. Called dequeued fm.
    But the issue is i am notable to bedug the code (perform <form name> on commit) (cursor is not going to the inside the perform) inside the function module even though i enabled the update task in debugger setting and used F9 to set the FM for debug.
    Can any body help me on this
    Thanks,
    Nagendra

    did you try by setting a manual break-point inside the code and then going step by step (by pressing F5) ?

  • Abap issues....its urgent

    can anyone please enlist what are the problems at which abap consultant should enquire when going for a company visit to check the problems over there.
    Reward points will surely be given on urgent basis.
    Message was edited by:
            Ameet Jassani

    Check these if they are of any help to you.
    A nice weblog by Vikas Please do check this.on number range buffering,
    /people/vikash.agrawal/blog/2006/04/05/load-lots-of-data-147faster148-with-buffering-number-range
    Check these links.
    FAQ - The Future of SAP NetWeaver Business Intelligence in the Light of the NetWeaver BI&Business Objects Roadmap
    https://www.sdn.sap.com/irj/sdn/developerareas/bi?rid=/webcontent/uuid/b4674415-0b01-0010-ae81-deb009860b7e [original link is broken]
    following are the links that may help you
    http://help.sap.com/search/highlightContent.jsp
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/biw/s-u/sap%20bw%20business%20planning%20and%20simulation%20-%20how%20to%20guides%20list.htm
    http://help.sap.com/search/highlightContent.jsp
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/cccad390-0201-0010-5093-fd9ec8157802
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/afbad390-0201-0010-daa4-9ef0168d41b6
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/b7bdde90-0201-0010-26b1-dcda5e0b394d
    How to improve performance in reporting side?
    Query Performance Techniques:
    1. Check Query properties—Use RSRT tcode
    2. Check whether cube is compressed
    3. Optimize query definition
    4. Analyze query execution
    5. Check for additional indexes
    6. Archive unwanted data
    7. Check for partitioning options
    8. Check for additional aggregates ( Consider DB ratio and KPI ratio)
    9. Check for parallelization options
    10. Use Nav attributes instead of hierarchies, use free char and filters.
    Possible causes for the performance :
    A) High Database Runtime
    B) High OLAP Runtime
    C) High Frontend Runtime
    Depending upon your analysis
    A)Strategy - High Database Runtime
    Check if an aggregate is suitable (use All data to get values "selected records to transferred records", a high number here would be an indicator for query performance improvement using an aggregate)
    Check if database statistics are update to data for the Cube/Aggregate, use Tcode RSRV output (use database check for statistics and indexes)
    Check if the read mode of the query is unfavourable - Recommended (H)
    B)Strategy - High OLAP Runtime
    Check if a high number of Cells transferred to the OLAP (use "All data" to get value "No. of Cells")
    a) Use RSRT technical Information to check if any extra OLAP-processing is necessary (Stock Query, Exception Aggregation, Calc. before Aggregation, Virtual Char. Key Figures, Attributes in Calculated Key Figs, Time-dependent Currency Translation) together with a high number of records transferred.
    b) Check if a user exit Usage is involved in the OLAP runtime?
    c) Check if large hierarchies are used and the entry hierarchy level is as deep as possible. This limits the levels of the hierarchy that must be processed.
    C)Strategy - High Frontend Runtime
    1) Check if frontend PC are within the recommendation (RAM, CPU Mhz)
    2) Check if the bandwidth for WAN connection is sufficient.
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/1e553368-0601-0010-49ab-c429607f3eb3
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/5401ab90-0201-0010-b394-99ffdb15235b
    check this, you can download lot of performance materials
    Business Intelligence Performance Tuning [original link is broken] [original link is broken] [original link is broken]
    and e-learning -> intermediate course and advance course
    https://www.sdn.sap.com/irj/sdn/developerareas/bi?rid=/webcontent/uuid/fe5b0b5e-0501-0010-cd88-c871915ec3bf [original link is broken]
    e.g
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/media/uuid/10b589ad-0701-0010-0299-e5c282b7aaad
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/media/uuid/d9fd84ad-0701-0010-d9a5-ba726caa585d
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/media/uuid/8e6183ad-0701-0010-e083-9ab1c6afe6f2
    performance tools in bw 3.5
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/media/uuid/07a4f070-0701-0010-3b91-a6bf7644c98f
    (here also you can download the presentation by righ click the disk drive icon)
    Check the following links,
    FAQ - The Future of SAP NetWeaver Business Intelligence in the Light of the NetWeaver BI&Business Objects Roadmap
    Business Intelligence Performance Tuning [original link is broken] [original link is broken] [original link is broken]
    http://help.sap.com/saphelp_nw04/helpdata/en/06/b5f8926ba22b45bc9eaa589f1c835b/content.htm
    Some bw docs/ performance material
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/1955ba90-0201-0010-d3aa-8b2a4ef6bbb2
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/3a699d90-0201-0010-bc99-d5c0e3a2c87b
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/4c0ab590-0201-0010-bd9a-8332d8b4f09c
    and don't miss bw performance knowledge centre, there are e-learning
    Business Intelligence Performance Tuning [original link is broken] [original link is broken] [original link is broken]
    Hope this Helps.

  • ABAP issues in BW

    Hi,
    Is there anyway working with BW that you could avoid doing ABAP? Which module component in BW exactly is ABAP being used extensively? And whether these components can be substituted using something else other than ABAP coding? I think BW reports requires ABAP when using User's exit variables, but can BW reporting be the way it is without using User's exit variables, meaning can reporting be effective without the use of user's exit variable?
    Now that BI 7.0 is requiring ABAP OO for the transformation routines, is it avoidable anyway?
    Thanks,
    RT

    Hi,
    R/3 side:
    ABAP is used extensively on the R/3 side if Business Content is enhanced or custom infoobjects/infocubes are required.
    This is unavoidable as the datasource structures need to be enhanced or created. 
    When enhanced - ABAP code would need to be written in the infosource user-exit to populate the enhanced fields.
    When custom info-cubes are built and if function modules are used for data extraction again ABAP is required.
    BW side:
    On the BW side transfer routines and update routines require ABAP coding.  The extent would depend on the requirements.
    BW Queries:
    The use of user-exit variables are again driven by the complexity of the query requirements.
    I would think that a BW consultant should concentrate on Data modeling and non-programming part of the implementation - the hard-core ABAP work may be passed to an ABAP developer.
    Regards
    Mathew.

  • Hr abap issue find the manager name and mail-id

    hi all,
    my requirement is below this. can any one help me to send code for this requirement.
    1.Logic for Employee status: Check if employee position has any other position reporting to it. Check if a record exists in HRP1001 where OTYPE = u2018Su2019, PLVAR = u201801u2019, RSIGN = u2018Au2019, RELAT = u2018002u2019, ISTAT = u20181u2019, BEGDA <= start date in selection, ENDDA >= end date in selection, SCLAS = u2018Su2019 and SOBID = Position. If yes set Employee Status as u2018Manageru2019. Else set as u2018Non-Manageru2019
    2.Manager name/Email: Identify the reporting position through B002 relationship from HRP1001. For this reporting position identify the Manager by A008 relationship. For this personnel number retrieve Name from IT0001 and Email ID (USRID) from IT0105 SUBTYPE as u20180010u2019.
    thanks & regards
    revathi raj.
    Edited by: revathi raju on Sep 5, 2008 12:06 PM

    thanks

  • HR-ABAP issue how to find manager in PA reporting

    hi all,
    my requirement is find the manager in PA reporting.
    Retrieve the Manager Personnel number from the HRP1001 table.Use this personnel number and retrieve Name (ENAME) from IT0001 and Email ID (USRID) from IT0105 SUBTYPE as u20180010u2019
    how to find the manager position and his relation ship.

    Hi,
    To get the position of the manager -
    Use the FM
    RH_READ_INFTY_1001
        CALL FUNCTION 'RH_READ_INFTY_1001'
         EXPORTING
      AUTHORITY              = 'DISP'
      WITH_STRU_AUTH         = 'X'
           plvar                  = '01'
           otype                  = 'P'
           objid                  = fs_pa0000-pernr (manager's id)
       subty                  = 'B008'
       begda                  = fs_pa0000-begda
       endda                  = fs_pa0000-endda
          TABLES
            i1001                  = t_i1001
      OBJECTS                =
         EXCEPTIONS
           nothing_found          = 1
           wrong_condition        = 2
           wrong_parameters       = 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.
        APPEND LINES OF t_i1001 TO t_pos.
    this table t_pos holds the postion.
    Regards
    Lekha

  • Update rule - Routine Char -ABAP issue

    Dear Experts,
    Infocube u2013 Update rule u2013Chars-
    MM_BEMOT(Indicator)  IS a FIELD which I am introducing in the update rule.
    I don't get any value from Data_package.
    MM_BEMOT_ITAB has 2 entries.(50,06). It is not updating 2 entries u2013
    It is updating the same entry 2 times 50.
    Infocube - I have to update like
    Order,Indicator,Type,Cost element,amount
    45167 06 01 12345 10.00
    45167 50 01 12345 10.00
    Startroutine - I am reading the data from DSO and moving those data into
    MM_BEMOT_ITAB . MM_BEMOT_ITAB has 2 entries now. I have to update 50,06 values into
    MM_BEMOT.
    READ TABLE MM_BEMOT_ITAB
    WITH KEY ORDER = COMM_STRUCTURE-ORDER
    COSTELMNT = COMM_STRUCTURE-COSTELMNT.
    result value of the routine
    LOOP AT MM_BEMOT_ITAB.
    IF SY-SUBRC = 0.
    RESULT = MM_BEMOT_ITAB-MM_BEMOT.
    endif.
    ENDLOOP.
    Advance thx
    ENDIF.

    You may have to put the following line in your update rule after changing the result.
    RETURNCODE = 0.
    Regards.
    Sanjay
    Message was edited by:
            Sanjay Sinha

  • WebDynpro ABAP - issue adding scrollbar to table UI element.

    Hi WebDynPro experts,
        i have an requirement where in table UI element in one of my VIEW requires SCROLLBAR to appear.  i did try setting in 'Webdynpro Application' under the parameters tab, new parameter 'WDTABLENAVIGATION' from the F4. However the problem is that  i cannot find WDTABLENAVIGATION' via F4 nor can i enter this param manually ????
    System info: SAP ECC 6.0 Level 9
    whats the best way to achieve this effect.

    have a look at note 998273.
    Seems to available as of SAP_BASIS 700 Support Package 11.

Maybe you are looking for

  • Infotype 0120 - changes in adhoc query program

    Hi All, I have to make some code changes for the std infotype 0102 - Grievances NA in the adhoc query. My requirement is :- 1) A range from 000-999 should be available for each Employee for the Grievance Number field. P0102-GRNUM. 2) If a record alre

  • Creation of Excise Invoice in J1IS Transaction - using DLFC ref. doc. type

    Hi, I tried to create the excise Invoice using Ref. Doc Type DLFC in J1IS by giving the material document. But it is not allowing me to process further. The business process requirment is to create a Supplementary Excise Invoice(Customer is Billed fo

  • Ignoring single click in a JTree

    Hi, i crated a JTree with swing. I Also implemented an ExpandListener and a MouseListener for the tree. So how should i write my code, to ignore actions if mouse is just clicked once... (if i click on the handlers on the right side of the nodes, the

  • Is there a Version 4 soon or is it OK to buy now?

    I want to buy the unlimited version and am not familiar with the upgrade history. I see in the past you have to pay full price for next version even if you buy within the same month Thanks

  • IPhone doesn't recognize numbers in 11 digit format

    There's a problem now that arised in Egypt. Before 2 days the numbering scheme was that mobile numbers are 10 digits: 3 digits for network code & 7 digits for number. Now what happened that numbers had just exteneded to be 11 digits: 3 digits for net