Regarding Selection,hide,inversion,etc............

Hi,
             I worked on LO extraction DS "2LIS_11_VAITM".In maintain DS screen  4 tabs  are there right....
                 selection,hide,inversion and field only in customer exit.some fields are selected, and i didn't hide the remaing fileds....ok but some fields are come to bw side and some fields are not come to  bw side,what is the reason?
and one more how to select the inversion fields in bw side?
Thank u

Hi Devi,
The fields that are marked as hidden and fields only in the user exit do not reflect on BW system when you replicated. Only the fields for which these boxes are not checked are visible in BW system.
Regarding the inversion checkbox, this is what the help says.
The field is inverted in the case of reverse posting. This means that it is multiplied by (-1). For this, the extractor has to support a delta record transfer process, in which the reverse posting is identified as such. If the option Field recognized only in Customer Exit is chosen for the field, this field is not inverted. You cannot activate or deactivate inversion if this option is set.
Hope it helps.
Thanks and Regards
Subray Hegde

Similar Messages

  • Selection, Hide, Inversion, Field only

    Hi All,
       Give me clarity on Selection,Hide,Invesion,Field only on customer exit. When we use these check boxes? Give me detailed of information on that.
    1)Selection.
    2)Hide
    3)Invesion
    4)Field only on customer exit.
    Regards,
    Shwetha Reddy.

    hi,
    1.Selection of a Field of a DataSource
    Selection field for a DataSource
    Use
    Set this indicator to use a field from the DataSource as the selection field in the Scheduler for BW.
    Due to the properties of the DataSource, not every field can be used as a selection field. In this case, the property is not changeable.
    2. Hide Extract Structure Field
    Use
    To exclude a field in the extraction structure from the data transfer, set this flag. The field is then no longer available in BW for determining transfer rules and therefore cannot be used for generating transfer structures.
    3. inversion
    Field Inverted When Cancelled (*-1)
    The field is inverted in the case of reverse posting. This means that it is multiplied by (-1). For this, the extractor has to support a delta record transfer process, in which the reverse posting is identified as such.
    If the option Field recognized only in Customer Exit is chosen for the field, this field is not inverted. You cannot activate or deactivate inversion if this option is set.
    4. field only
    Flag Relevant RNOTECREL
    The indicator Field known only in Exit is set for the fields in an append structure, meaning that by default, these fields are not passed to the extractor in the field list and the selection table.
    Procedure
    Remove the Field known only in Exit indicator, to get the Service API to pass the field in the append structure to the extractor
    hope this help you
    regards
    Harikrishna N

  • What is meant by Selection, Hide,Inversion and Field only during Datasource

    Dear Mates,
    During Datasource Generation in LO extraction , I can see the tabs
    Slection
    Hidefield
    Inversion
    Fild only.
    Can any on please explain me elobarately each of them.
    Thanks,
    Sudha

    If you do a F1 on each you'll have a description, but here is a summary:
    Selection: You want to be able to select a value in this characteristic through the infopackage
    Hide: You don't want to be able to see this field.
    Inversion: For a key figure, change sign.  1 becomes -1 and vice versa.
    Field Only:  Field is available only for user exits and such but is not extracted.
    Hope this helps.

  • Can I select the inverse of a text selection?

    In Photoshop, when I make a selection I can then choose to select the inverse. I'd like to do a similar thing in InDesign CS4, but for text. i.e. make a selection of a certain amount of text, and when I choose "inverse" the remaining part of all text in that text frame (including overset text) is selected.
    Why do I want to do that? To get rid of overset text easily. I've been meaning to ask about this for years, and now the time has come.
    Sometimes I end up with overset text and I want to get rid of it. The overset text may extend to 50 pages or more. I thought the easiest way to get rid of the overset text would be to select the inverse of the text on the page that I want. Basically, I've got the red overset text symbol on a frame and I don't want any text in that frame other than what's on the page.
    I know how to break the thread, and rethread, and all that type of thing: the problem is, there are 50 pages of overset text and I can't select the overset text to delete it. Well, not easily.
    Am I in luck with this one?

    Eugene Tyson wrote:
    In CS5 - with the Story Editor open all the time the text appears rasterised when you type in the Story Editor.
    Eugene Tyson wrote:
    That's inside the story editor. I'm talking about on the layout.
    I'm not seeing it. MacBook Pro Snow Leopard.
    Regards,
    Peter
    Peter Gold
    KnowHow ProServices

  • OBIEE - How to selectively hide or disable columns on a dashboard prompt?

    Hello! I need some help with OBIEE dashboard Prompts. Any help will be highly appreciated!
    Question 1. How to selectively hide or disable columns on a dashboard prompt or the entire prompt? There seems to be no "hide" or "dsable" options on
    prompts.
    Question 2. How to synchronize 2 different prompts on the same dashboard?
    The application is this: There are total of 2 tabs on a dashboard ("tab_1" and "tab_2"). Each tab uses different prompts ("pr_1" and "pr_2"), having just one first drop down column in common ("Product_id").
    The desired functionality is this: user selects "Product_id" on the first tab's prompt, which filters its reports (on "Go") and also propagates to the second tab. When user clicks on the second tab, the reports there are already filtered (or begin filtering) by "product_id", selected on the first tab.
    Question 3. How to prevent the reports from retrieving when switching to a different tab on a dshboard? Specifying dummy default values in the prompt does
    not seem to preven reports from retrieving, which still takes time.
    Thank you very much!
    Roger

    Regarding Question 2:
    What you need to have is a Dashboard scope dashboard prompt for Product_ID (i.e., Don't use the column prompt from the prompt tab within the Request.)
    1) Create the dashboard prompt, put it on tab1 and save the prompt to a presentation variable, say prmtProdID. Set the scope to "dashboard." (This is the default, by the way.) If you create a dashboard prompt and set the scope to "dashboard," then the prompt values selected will hold true across dashboard pages.
    2) On tab2, go to your report and in Criteria mode, apply a filter to the Product_ID column making it equal to the PV. (Click the filter icon, Add>Variable>Presentation Variable and type prmtProdID. Save.)
    When the user selects a Product_ID on tab1 of your dashboard and hits "Go," not only will it filter your report on tab1, when you go to tab2 the report here will be filtered with the same value selected in the prompt on tab2.
    Regarding Question 3:
    If you implement 2, you cannot implement 3. You can't have it both ways. Not for the same scenario. But if you want to know how to do it in general, read this:
    http://obieeone.com/2009/08/24/how-to-stop-queries-to-automatically-fire-off-once-entering-dashboarddashboard-page/

  • Regarding select option in a module pool prog .

    hello .. i need some help regarding select options in a module pool program .. i hav tried putting a select options in a module pool prog but i am not able 2 ... can any one tel me why select options r not aloowed in a module pool prog ?? and i read that we hav 2 use ranges 2 fulfil the needs of the select options . is there any way i cal get all the functionality of select options ( eg including , excludig , equal to , not equal to , .... .) using a range ??

    Hi
    Select-options won't work if you declare the program as Module POOL.
    if you wants to use select-options like utility in module pool programming
    use ranges
    declare and develop ranges and use that in select statement where condition.
    ranges: r_vbeln for vbak-vbeln.
    r_vbeln-low = '0018900678'.
    r_vbeln-sign = 'I'.
    r_vbeln-option = 'EQ'.
    append r_vbeln.
    r_vbeln-low = '0018900456'.
    r_vbeln-sign = 'I'.
    r_vbeln-option = 'EQ'.
    append r_vbeln.
    reward if useful
    regards
    Anji

  • Regarding selection options

    whan i am using select-options prior to this i what to display check  box on the same line.
              when i am selecting the this check box it should execute automaticall
    could u plz explain the code clearly with example.

    search forums.
    Re: Dynamic Selection Options
    Posted on: Jul 17, 2006 5:50 PM, by user: Praveen -- Relevance: 100% -- Show all results within this thread
    am doing exactly as you had stated. But the user wants to see it something like this: 1. For the selection options, he wants to see three box's. a. Technical Name of the field selection. b. ...
    Re: regarding selection options
    Posted on: Mar 15, 2007 8:46 AM, by user: SHIBA DUTTA -- Relevance: 99% -- Show all results within this thread
    you have to use begin of line and end of line. SELECTION-SCREEN BEGIN OF LINE. SELECTION-SCREEN COMMENT 1(10) TEXT-001 FOR FIELD P1. PARAMETERS: ...
    Re: Restricting selection-options
    Posted on: Jan 18, 2005 8:58 AM, by user: Andreas Mann -- Relevance: 90% -- Show all results within this thread
    FOR vbak-vbeln OBLIGATORY DEFAULT '5300000000'. INITIALIZATION. PERFORM init_1001. START-OF-SELECTION. SELECT belnr FROM bkpf INTO bkpf-belnr WHERE bukrs = '0001' AND ...
    Check that at least on Selection Options are filled
    Posted on: May 25, 2006 4:37 AM, by user: Boater -- Relevance: 90% -- Show all results within this thread
    I have a program that has four selection options. The user needs to enter a selection for at least one of the four selection options. ...
    possible entry for selection-options
    Posted on: Feb 22, 2007 7:32 AM, by user: Tiwa Noitawee -- Relevance: 89% -- Show all results within this thread
    F-1 At last 3 alphabets of Prod.hierarchy is Product line (EX1, PC5) that users have to choose via selection-options like this <b>EX1</b> EXCEL 251 : F-1 <b>PC5</b> POWERTOP W-200 ...
    select-options multiple selection
    Posted on: Mar 5, 2007 3:06 AM, by user: venkateswarao gangavarapu -- Relevance: 87% -- Show all results within this thread
    hi can u send code for getting multiple selections in select-options Thanks in advance venkat ...
    Submitting Report with selection screen options
    Posted on: Apr 27, 2005 5:45 PM, by user: Rajesh Nittala -- Relevance: 85% -- Show all results within this thread
    Hi all, I have a situation, in my report i am using a selection screen which contains input select-options are store(range), date (from ..to)....after that ...
    sample program to remove standard selection-options & replace user defined.
    Posted on: Dec 7, 2005 5:37 AM, by user: Josephine Clara Arokiasamy -- Relevance: 83% -- Show all results within this thread
    The standard selection-options are provided for the logical database. i need to supress the standard selection-options ...
    Adding default value for a select-options in a selection-screen
    Posted on: May 26, 2006 11:51 AM, by user: sid alpay -- Relevance: 77% -- Show all results within this thread
    hello gurus, i have a report program with the following select-options in a selection-screen block:
    select-options: so_site for MyTable-werks.
    i want the so_site ...
    Adding Selection Options Fields in Report(Using Query)
    Posted on: Aug 25, 2004 5:26 AM, by user: lijo joseph -- Relevance: 76% -- Show all results within this thread
    Hi, how can we add Selection Fields Options in Query Reports Which we create using SQ01. I need a default option by which ...
    Getting the selection parameters/options in a diffrent program
    Posted on: May 11, 2006 3:05 AM, by user: Chad Cheng -- Relevance: 75% -- Show all results within this thread
    use Submit to get a report from a diffrent program and I am using variants to get the value of the selection criteria. However, for a less tedious approach, I think it would be better if I get the selection ...
    Read options from selection-screen
    Posted on: Aug 24, 2006 3:30 PM, by user: Silke Eng -- Relevance: 75% -- Show all results within this thread
    Hi Kiran, as all other questions are answered already, remains the one on the select-options. Function module <b>RS_REFRESH_FROM_SELECTOPTIONS</b> returns those. Kind regards, Silke ...
    Selection screen for SAP Query: OR between options
    Posted on: Jun 29, 2006 3:04 PM, by user: Tania Pouli -- Relevance: 74% -- Show all results within this thread
    need a variant where either of two fields should not be 0. Is there some way to add an OR between two selection options? I can't change the actual query because it's used with many other variants. Thanks ...
    Pass internal table of selection-options through method!
    Posted on: Nov 22, 2004 3:49 PM, by user: Frank Roels -- Relevance: 74% -- Show all results within this thread
    I created a selection screen with multiple select-options. Now I want in a method of a class work with the internal ...
    select-options: at selection-screen on value-request
    Posted on: Sep 18, 2006 10:51 PM, by user: Sumit Agarwal -- Relevance: 72% -- Show all results within this thread
    one field is dependent on the values of the other field in the select-options. I am using the "at selection-screen on value-request event on" to populate the select-options field, S_AUFNR, that is dependent ...
    Pages: 16 [ 1 2 3 4 5 6 7 8 9 10 |

  • I am trying to sync a playlist to my Nano,  but when I click on the Music tab at the top, it will not allow me to select the option Selected Playlist, Artists, etc.  I cannot un-check the Entire Music library option and check the Selected Artist - on

    I am trying to sync a playlist to my Nano,  but when I click on the Music tab at the top,
    it will not allow me to select the option Selected Playlist, Artists, etc.  I cannot un-check the Entire Music library
    option and check the Selected Artist … one.
    I have changed the Sync option to Manually sync, but that does not help.
    How can I change this to the second option?
    Thanks.

    There is a checkbox above those two options for how to sync.  It says Sync Music; it enables automatic syncing.  That box needs to be checked before you can select from the two options for how automatic syncing is performed.
    NOTE:  If the iPod is current set up to Manually manage music [and videos], checking that Sync Music box replaces its current content with content from your iTunes library, based on how automatic syncing is set up on that screen.
    So, if your goal is to add ONE playlist to an iPod that is managed manually, you do not want to do this because iTunes will erase the iPod's current content and replace it with just that ONE selected playlist (and whatever else you select on that Music settings screen).
    Instead, if the iPod currently uses the manual setting, you need to add playlists manually to the iPod (not use the automatic syncing setting).  Please post back with more details about your situation. 

  • After updating my Apple TV I keep getting a message box asking if you want to hide Netflix.  How do I make this message go away?  I understand about going into the menu and select Hide or Show icon.

    After doing the recent Apple TV update I keep getting a message asking if I want to hide the last application I was using on Apple TV.   I understand how to go into the menu and select Hide or Show.   I selected Show and the next time I use Apple TV I get this annoying message.   Any ideas how to make this message go away?

    To attempt a new chat session...
    For the link below click the Still Need Help? option in the blue area at the bottom and choose the chat option...
    http://helpx.adobe.com/x-productkb/global/service1.html

  • Can you giv me a brief introduction regarding selection screen with one eg:

    Hello
    can you giv me a brief introduction regarding selection screen with one eg:

    Hi Ranjith,
    Selection Screens
    Selection screens are one of the three types of screen in the R/3 System, along with dialog screens and lists. You use them whenever you want the user to enter either a single value for a field or fields, or to enter selection criteria.
    Function
    ABAP programs use screens to obtain input from users. The most general type of screen is a dialog screen, which you create using the ABAP Workbench tools Screen Painter and Menu Painter These tools allow you to create screens for data input and output. However, each of these screens requires its own flow logic.
    Defining and Calling Selection Screens
    You often use screens purely for data input . In these cases, you can use a selection screen. Selection screens provide a standardized user interface in the R/3 System.  Users can enter both single values and complex selections.  Input parameters are primarily used to control the program flow, while users can enter selection criteria to restrict the amount of data read from the database. You can create and save predefined sets of input values in the ABAP Editor for any selection screen. These are called variants.  Texts on the selection screen are stored as language-specific selection texts in the program text elements.  If you start an executable report using the SUBMIT statement, the input fields of the selection screen also serve as a data interface.
    Defining and Calling Selection Screens
    You define selection screens using ABAP statements in a program.  Simple statements allow you to create input fields, checkboxes, and radio buttons, and design the screen layout.  If you want to create a screen exclusively for data input, you do not need to create it using the normal dialog programming tools. When you create a selection screen, the system automatically assumes the tasks of the Screen Painter and Menu Painter.
    The rules for calling and defining selection screens in ABAP programs depend on the program type:
    ·         Executable program (type 1) without logical database
    You can use a single standard selection screen and as many user-defined selection screens as you wish. The standard selection screen is called automatically when you start the program.  User-defined selection screens, on the other hand, are called using the CALL SELECTION-SCREEN statement in a program.  The standard selection screen always has the screen number 1000. User-defined selection screens can have any screen number except 1000.
    ·         Executable program (type 1) with logical database
    The standard selection screen for an executable program linked to a logical database is made up of the logical database selections and the program selections.
    ·         Module pools (type M) and function modules (type F)
    You can only use user-defined selection screens in module pools and function modules. These can have any number apart from 1000. You can only call a selection screen from a function module using the CALL SELECTION-SCREEN statement. You can also define selection screens as Subscreens and incorporate them in screens or tabstrip controls.
    Hope this is useful.
    regards
    Ram
    Message was edited by:
            Ramanujan Chitrakootam

  • Query regarding selection screen

    Hi experts,
    I have a requirement that once I get my output on a selection screen, suppose it has just 1 row and 4 columns. If I click on each of these 4 columns, a new transaction/report etc. needs to be called. How can I achieve this functionality?
    Thanks,
    Ajay.

    Hi,
    Say you have an internal table with fields as:
    VBELN (sales order)
    POSNR (sales order line item)
    WERKS (plant)
    MATNR (matnr)
    And you write all these fields on output screen using reporting and when you click on any column field then a particular transaction/report should be called, then follow the below mentioned logic:-
    DATA : BEGIN OF it_final OCCURS 0,
             vbeln TYPE vbap-vbeln,
             posnr TYPE vbap-posnr,
             werks TYPE vbap-werks,
             matnr TYPE vbap-matnr,
           END OF it_final.
    DATA : fldname(25) TYPE c,
           fldvalue(25) TYPE c.
    START-OF-SELECTION.
      "select query into it_final internal table
    AT LINE-SELECTION.
      GET CURSOR FIELD fldname VALUE fldvalue.
      CASE fldname.
        WHEN 'IT_FINAL-VBELN'.
          WRITE : / fldvalue.
          "code to call transaction/report
        WHEN 'IT_FINAL-POSNR'.
          WRITE : / fldvalue.
          "code to call transaction/report
        WHEN 'IT_FINAL-WERKS'.
          WRITE : / fldvalue.
          "code to call transaction/report
        WHEN 'IT_FINAL-MATNR'.
          WRITE : / fldvalue.
          "code to call transaction/report
      ENDCASE.
    END-OF-SELECTION.
      ULINE.
      FORMAT HOTSPOT.
      LOOP AT it_final.
        WRITE : /1 it_final-vbeln, 10 it_final-posnr, 20 it_final-werks, 30 it_final-matnr.
        HIDE : it_final-vbeln, it_final-posnr, it_final-werks, it_final-matnr.
      ENDLOOP.
      ULINE.
    Now to call a transaction user:-
    SET PARAMETER ID '<param_id>' FIELD '<field_value>'.
    CALL TRANSACTION '<t_code>' AND SKIP FIRST SCREEN.
    To call a report use:-
    SUBMIT <report_name> WITH <parameter_name1> = <field_value1>
                         WITH <parameter_name2> = <field_value2>
                         "and so on use parameters
                         AND RETURN.
    <paramater_name> refer to the parameter of the called report <report_name>
    and <field_value> refer to value for the parameter to be passed.
    Hope this helps you.
    Regards,
    Tarun

  • Regarding selection view in ldb KDF

    Hello All,
    In logical db KDF when i go to selection view i can see three function groups ie vendor master companycode and documents with their respective ids.
    But when i execute report related with this logical database like tcode f.42 adn fbl1n i can see only two options in dynamic selections ie vendor master and company code where as documents option is missing
    How can i get documents options back in the report or is there any program to regenerate these dynamic selections
    Thanks
    SUnny

    Hi Suny,
    When I run the T-code FBL1N at my place and click on Dynamic selections button,what I see that there are all the three options--Vendor Master,Company Code and Documents available.
    You need to observe that against Vendor number there is no input box available but all the fields available under it till Company Code belong to Vendor Master.Similarly,all the fields mentioned under Comaony Code belong to Company Code and likewise all the fields mentioned under Documents like Special G/L Indicator,Assignment,Document number etc. belong to Document.
    In case you have any further clarifications,do let me know.
    Regards,
    Puneet Jhari.

  • Regarding Selection views in LDB

    Hi Experts,
    What is use of Selection Views in LDB ??
    and how can we generate different Selection Views in LDB because i am getting only two Options either SAP or CUS for every LDB ??
    I want to declare 4-5 and how to use Those Selection Views ( as by default it takes SAP one or newly generated one)
    Thanks,
    Regards,
    Anil Sonesar

    Hi Suny,
    When I run the T-code FBL1N at my place and click on Dynamic selections button,what I see that there are all the three options--Vendor Master,Company Code and Documents available.
    You need to observe that against Vendor number there is no input box available but all the fields available under it till Company Code belong to Vendor Master.Similarly,all the fields mentioned under Comaony Code belong to Company Code and likewise all the fields mentioned under Documents like Special G/L Indicator,Assignment,Document number etc. belong to Document.
    In case you have any further clarifications,do let me know.
    Regards,
    Puneet Jhari.

  • Hi Regarding selection parameters and list box

    Hi
    This is the test Progra I am Checking for List but
    When ever , After selecting from list , if press enter the value is going off,
    and after executing I couldn't read P_int
    when i am not geting any value into p_int.
    REPORT YTEST_VINESH1.
    *TYPEPOOLS
    TYPE-POOLS : vrm.
    *Tables
    DATA DICLARATION.
    DATA : name  TYPE vrm_id,
           list  TYPE vrm_values,
           value LIKE LINE OF list.
    data: itab like lfa1 occurs 0 with header line.
    DATA:P_INT1(20) TYPE C.
    *SELECTION SECREEN
    PARAMETER : p_int AS LISTBOX VISIBLE LENGTH 20.
    *INITIALIZATION.
    initialization.
    select * from lfa1 up to 10 rows into table itab .
    AT SELEECTION EVENTS
    AT SELECTION-SCREEN OUTPUT.
      name = 'P_INT'.
    loop at itab.
      value-key = sy-TABIX.
      value-text = itab-lifnr.
      APPEND value TO list.
    endloop.
      CALL FUNCTION 'VRM_SET_VALUES'
           EXPORTING
                id     = name
                values = list.
      CLEAR list.
    *START-OF-SELECTION.
    START-OF-SELECTION.
    MOVE P_INT TO P_INT1.
    WRITE:/ 'HAI HOW R U',P_INT1.
    Thanks & Regards,
    [email protected]

    Hi,
    Check this sample code:
    REPORT  ZDROP_DOWN_LIST.
    TABLES: LFA1.
    TYPE-POOLS: VRM.
    DATA: NAME  TYPE VRM_ID,
          LIST  TYPE VRM_VALUES,
          VALUE LIKE LINE OF LIST.
    PARAMETERS: P_LIFNR LIKE LFA1-LIFNR AS LISTBOX VISIBLE LENGTH 20.
    DATA: BEGIN OF IT_ITAB OCCURS 0,
          LIFNR LIKE LFA1-LIFNR,
          LAND1 LIKE LFA1-LAND1,
          NAME1 LIKE LFA1-NAME1,
          END OF IT_ITAB.
    INITIALIZATION.
    SELECT LIFNR LAND1 NAME1 FROM LFA1 INTO  IT_ITAB .
      VALUE-KEY = IT_ITAB-LIFNR.
      WRITE IT_ITAB-LAND1 TO VALUE-TEXT .
      CONCATENATE VALUE-KEY VALUE-TEXT
                  IT_ITAB-NAME1
                  INTO VALUE-TEXT SEPARATED BY '~'.
      APPEND VALUE TO LIST.
    ENDSELECT.
    NAME = 'P_LIFNR'.
    CALL FUNCTION 'VRM_SET_VALUES'
      EXPORTING
        ID     = NAME
        VALUES = LIST.
    START-OF-SELECTION.
    WRITE:/ P_LIFNR.

  • Regarding selection screen output

    hi,
    i have created ALV report by using selection screen.in this i have displayed kunnr field from kna1 table.
    but it is showing someextra zero's and then code now i want to display only code not extra zero.here below i am giving example:----
    sap code
    00001562
    but i want like this....
    sap code
    1562.
    thanx/regards,
    vaneet thakur

    TABLES : VBRK,KNA1.
    TYPE-POOLS : SLIS.
    DATA : T_FIELDCAT TYPE SLIS_T_FIELDCAT_ALV,
           L_FIELDCAT TYPE SLIS_FIELDCAT_ALV, "DECLARATION OF FIELDCAT FOR OUTPUT DISPLAY
           T_LAYOUT TYPE SLIS_LAYOUT_ALV.
    DATA : BEGIN OF ITAB OCCURS 0,
           VBELN LIKE VBRK-VBELN, "PO NUMBER
           VTEG LIKE VBRK-VTWEG,   "DC
           SPART LIKE VBRK-SPART, "DIVISION
           FKDAT LIKE VBRK-FKDAT, "DATE
           KUNRG LIKE VBRK-KUNRG, "CUSTOMER PLANT
           WERKS LIKE VBRK-WAERK, "SITE
           VKORG LIKE VBRK-VKORG, "SALE ORGANIZATION
           NAME1 LIKE KNA1-NAME1,
           ORT01 LIKE KNA1-ORT01,
           END OF ITAB.
    SELECTION-SCREEN : BEGIN OF BLOCK VANEET WITH FRAME TITLE TEXT-001.
    *SELECT-OPTIONS :   SITE FOR VBRK-WAERK.
    SELECT-OPTIONS :   PCODE FOR VBRK-KUNRG.
    *SELECT-OPTIONS :   INVOICE FOR VBRK-VBELN.
    SELECT-OPTIONS :   S_ORG FOR VBRK-VKORG OBLIGATORY.
    SELECT-OPTIONS :   DC  FOR VBRK-VTWEG OBLIGATORY.
    SELECT-OPTIONS :   DIVISION FOR VBRK-SPART obligatory.
    *SELECT-OPTIONS :   PO_DATE FOR VBRK-FKDAT.
    SELECTION-SCREEN : END OF BLOCK VANEET.
    SELECTION-SCREEN : BEGIN OF BLOCK VANEET1 WITH FRAME TITLE TEXT-002.
    SELECT-OPTIONS :   INVOICE FOR VBRK-VBELN.
    SELECT-OPTIONS :   PO_DATE FOR VBRK-FKDAT.
    SELECTION-SCREEN : END OF BLOCK VANEET1.
    *PERFORM TOP-OF-PAGE.
    PERFORM FETCH-DATA.
    *PERFORM DISP_DATA.
    PERFORM T_FIELDCAT.
    PERFORM REUSE_ALV.
    **&      Form  TOP-OF-PAGE
          text
    -->  p1        text
    <--  p2        text
    *FORM TOP-OF-PAGE .
    *FORMAT COLOR 3 INTENSIFIED OFF.
    *FORMAT COLOR 5 INTENSIFIED OFF.
    *write : /48(120) 'NAHAR RETAIL LTD'.
    *FORMAT COLOR 3 INTENSIFIED OFF.
    *write : /48(120) 'FOCAL POINT'.
    *FORMAT COLOR 6 INTENSIFIED OFF.
    *write : /48(120) 'LUDHIANA'.
    *write : / sy-uline.
    *format color 4.
    **WRITE: /1(20) 'INVOICENO',
           25(15) 'SAP CODE',
           55(15) 'PARTYNAME',
           100(50) 'LOCATION'.
          format color 7 INTENSIFIED ON.
    *ENDFORM.                    " TOP-OF-PAGE
    *&      Form  FETCH-DATA
          text
    -->  p1        text
    <--  p2        text
    FORM FETCH-DATA .
    REFRESH ITAB.
    SELECT AVBELN AKUNRG AFKDAT AWAERK BNAME1 BORT01 INTO CORRESPONDING FIELDS OF TABLE ITAB
    FROM VBRK AS A INNER JOIN KNA1 AS B
    ON AKUNRG = BKUNNR
    WHERE
    A~VBELN IN INVOICE
    and
    A~FKDAT IN PO_DATE
    and
    B~KUNNR IN PCODE
    GROUP BY AVBELN AKUNRG BNAME1 BORT01 AFKDAT AWAERK.
    SORT ITAB ascending BY  VBELN.
    *ENDSELECT.
    ENDFORM.                    " FETCH-DATA
    **&      Form  DISP_DATA
          text
    -->  p1        text
    <--  p2        text
    *FORM DISP_DATA .
    *loop at itab.
    *write :/1(18) itab-VBELN,
           27(5) ITAB-KUNRG,
           55(25) ITAB-NAME1,
           100(50) ITAB-ORT01.
    *endloop.
    *ENDFORM.                    " DISP_DATA
    *&      Form  T_FIELDCAT
          text
    -->  p1        text
    <--  p2        text
    FORM T_FIELDCAT .
    PERFORM fill_field USING 'VBELN' 'PO NO'.
      PERFORM fill_field USING 'KUNRG' 'CUSTOMER PLANT'.
      PERFORM fill_field USING 'NAME1' 'PARTY NAME'.
      PERFORM fill_field USING 'ORT01' 'LOCATION'.
    PERFORM fill_field USING 'BASME' 'UOM'.
    PERFORM SELECTION_WIDTH.
    ENDFORM.                    " T_FIELDCAT
    *&      Form  fill_field
          text
         -->P_0267   text
         -->P_0268   text
    FORM fill_field  USING   p_fieldname
                              p_seltext.
    L_FIELDCAT-FIELDNAME = p_fieldname.
    L_FIELDCAT-TABNAME   = 'ITAB'.
    L_FIELDCAT-SELTEXT_M = p_seltext.
    L_FIELDCAT-OUTPUTLEN = 10.
    APPEND L_FIELDCAT TO T_FIELDCAT.
    CLEAR L_FIELDCAT.
    ENDFORM.                    " fill_field
    *&      Form  REUSE_ALV
          text
    -->  p1        text
    <--  p2        text
    FORM REUSE_ALV .
    CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
    EXPORTING
      I_INTERFACE_CHECK                 = ' '
      I_BYPASSING_BUFFER                = ' '
      I_BUFFER_ACTIVE                   = ' '
      I_CALLBACK_PROGRAM                = ' '
      I_CALLBACK_PF_STATUS_SET          = ' '
      I_CALLBACK_USER_COMMAND           = ' '
      I_CALLBACK_TOP_OF_PAGE            = ' '
      I_CALLBACK_HTML_TOP_OF_PAGE       = ' '
      I_CALLBACK_HTML_END_OF_LIST       = ' '
      I_STRUCTURE_NAME                  =
      I_BACKGROUND_ID                   = ' '
      I_GRID_TITLE                      =
      I_GRID_SETTINGS                   =
       IS_LAYOUT                         = T_LAYOUT
       IT_FIELDCAT                       = T_FIELDCAT
      IT_EXCLUDING                      =
      IT_SPECIAL_GROUPS                 =
      IT_SORT                           =
      IT_FILTER                         =
      IS_SEL_HIDE                       =
      I_DEFAULT                         = 'X'
      I_SAVE                            = ' '
      IS_VARIANT                        =
      IT_EVENTS                         =
      IT_EVENT_EXIT                     =
      IS_PRINT                          =
      IS_REPREP_ID                      =
      I_SCREEN_START_COLUMN             = 0
      I_SCREEN_START_LINE               = 0
      I_SCREEN_END_COLUMN               = 0
      I_SCREEN_END_LINE                 = 0
      I_HTML_HEIGHT_TOP                 = 0
      I_HTML_HEIGHT_END                 = 0
      IT_ALV_GRAPHICS                   =
      IT_HYPERLINK                      =
      IT_ADD_FIELDCAT                   =
      IT_EXCEPT_QINFO                   =
      IR_SALV_FULLSCREEN_ADAPTER        =
    IMPORTING
      E_EXIT_CAUSED_BY_CALLER           =
      ES_EXIT_CAUSED_BY_USER            =
      TABLES
        T_OUTTAB                          = ITAB
    EXCEPTIONS
       PROGRAM_ERROR                     = 1
       OTHERS                            = 2
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    ENDFORM.                    " REUSE_ALV
    *&      Form  SELECTION_WIDTH
          text
    -->  p1        text
    <--  p2        text
    FORM SELECTION_WIDTH .
    CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
      EXPORTING
        INPUT         = itab-kunrg
    IMPORTING
       OUTPUT        = itab-kunrg

Maybe you are looking for

  • Reading Attachment FileName in Japanese

    Hai, I am Using POP3 for Reading the mail. If the mail having attachment , i had get the file name and create the file in the server. I have encounter the below problem, when getting the file name in japanese if (message.isMimeType("multipart/*")) Mu

  • How can I change my account id with CRDC?

    Resolution Please take the following steps to change your default CRDC account settings: 1.  Logon to CRDC (https://na.crystalreports.com/Home.do) 2.  Click on the "Settings" tab from the menu options By default, your "Profile Settings" will be displ

  • How to use proxy in UDF

    In a mapping I need to call an abap proxy with one key field and it will return 5 fields to me. i need to use those five fields in my mapping. How do I use an abap proxy in a UDF ? Regards, Frank

  • What is the main advantage in EJB Transactions.

    My question is i can have a stateless bean to accept the client requests and will set the Autocommit of database to false and which will invoke the java bean component based up on transaction code and passes the database connection object . the java

  • WLS: unexpected error trying to run a webservice - JDeveloper V 11.1.1.3.0

    Hi, I have recently started using JDeveloper and have been going through the various tutorials. However, each time I try to run a test using the Weblogic Server, the following error occurs - *** Using port 7101 *** C:\Users\Rob\AppData\Roaming\JDevel