Hi my dudes.....hlp me plz..

hi my boss ask mee a small qust...
1) can we write conditions in ABAP QUERIES.....
    like mathamaticall operation ..( = , + ,-....
2) what are dependent and Not-dependent in ABAP..? exept sap scripts ?

Hi,
Almost all the programs and database objects are client independent.
Only the data in Database tables are client dependent.
All scripts are client dependent and some tables are client dependent.
There are two types of objects in SAP, client dependent and client independent. Objects used in several clients are called client independent while objects used in a specific client is called client dependent. To identify if a table is client dependent, one can use tcodes SE11 or SE12. In the table field attributes, if the MANDT field is present that table is client dependent.
All dictionary objects like Tables, Views and other objects in SE11 and Programs, Fun modules and most of the repository objects are client Independent
where as Scripts,smartforms , STd Texts, Long texts, Number ranges are client Dependent
http://sap.ittoolbox.com/documents/popular-q-and-a/differentiating-between-dependent-and-independent-data-1957
http://help.sap.com/saphelp_nw2004s/helpdata/en/a9/bb963a570b4b5de10000000a114084/frameset.htm
http://help.sap.com/saphelp_nw2004s/helpdata/en/b7/8a9a3aaf894871e10000000a114084/frameset.htm
Re: What is the concept of Client
Regards,
Priyanka.

Similar Messages

  • Diff between transfer and updare routine

    Hi Dudes,
    can u plz explain me.. wt is the diff between tranfer routine and update routine. and give my any suitable examples.. plz take a scenario and explain it..
    regards
    Rekha

    Hi rekha,
    these routine u write for individual IOs. while extracting data from any source and before loading in any target the source values can be changed by writing these.
    in Transfer rules it is like global ..the data stored in PSA also. But if u write in Update Rules ..it stored in Data Target.
    so if u want to use more than one datatarget for one  the source data has to change and for other datatarget the source values should come as it is. In this scenario u use these routines.
    Assign points if it helps..
    Regards,
    ARK

  • Problm with my gaming msi ge70?????????????? plz ugrnt hlp plzzzzz any1

    hi i got a srious problm with my msi g70 kyboard as most of th kys r nt functioning abl to typ lik u can read as i am typing.... the letter "e".... i nid 2 copy n paste z e each tim... even the caps lock is not workin...
    wat u fink is ze problem and what its solution? plz guys any hlp... i got real projcts 2 complete for mond2 n zis mkes my life a hell...plzzz hlp guys...fanks u

    Try to do an EC reset by removing the battery and the AC adapter.
    Make a bootable flash drive and boot up to DOS mode and check the problem.
    If the problem still remains after you go through the above processes, then I'll suggest to send the unit in for the RMA service.

  • I m in urgent need of sme alv reports in sd module so plz hlp me out.

    i m in urgent need of sme alv reports in sd module so plz hlp me out.
    if possible plz provide explanation so tht i can understand it fast and well.

    check with below standard reports :
    Sales summary - VC/2
    Display Customer Hierarchy - VDH2
    Display Condition record report - V/I6
    Pricing Report - V/LD
    Create Net Price List - V_NL
    List customer material info - VD59
    List of sales order - VA05
    List of Billing documents - VF05
    Inquiries list - VA15
    Quotation List - VA25
    Incomplete Sales orders - V.02
    Backorders - V.15
    <b>Outbound Delivery Monitor - VL06o
    Incomplete delivery - V_UC</b>Customer
    Returns-Analysis - MC+A
    Customer Analysis- Sales - MC+E
    Customer Analysis- Cr. Memo - MC+I
    Deliveries-Due list - VL04
    Billing due list - VF04
    Incomplete Billing documents - MCV9
    Customer Analysis-Basic List - MCTA
    Material Analysis(SIS) - MCTC
    Sales org analysis - MCTE
    Sales org analysis-Invoiced sales - MC+2
    Material Analysis-Incoming orders - MC(E
    General- List of Outbound deliveries - VL06f
    Material Returns-Analysis - MC+M
    Material Analysis- Invoiced Sales - MC+Q
    Variant configuration Analysis - MC(B
    Sales org analysis-Incoming orders - MC(I
    Sales org analysis-Returns - MC+Y
    Sales office Analysis- Invoiced Sales - MC-E
    Sales office Analysis- Returns - MC-A
    Shipping point Analysis - MC(U
    Shipping point Analysis-Returns - MC-O
    <b>Blocked orders - V.14</b>
    Order Within time period - SD01
    Duplicate Sales orders in period - SDD1
    Display Delivery Changes - VL22
    Simple example what  i did - Monthly Sales Report
    TYPE-POOLS
    type-pools : slis.
    Tables
    tables : VBAK,
             VBAP.
    Internal table for VBAK Table
    data : begin of i_vbak occurs 0,
           vbeln like vbak-vbeln,
           bstnk like vbak-bstnk,
           vdatu like vbak-vdatu,
           end of i_vbak.
    Internal table for VBAP and MATNR
    data : begin of i_vbap occurs 0,
           vbeln like vbap-vbeln,
           matnr like vbap-matnr,
           kdmat like vbap-kdmat,
           kwmeng like vbap-kwmeng,
           netpr like vbap-netpr,
           maktx like makt-maktx,
           end of i_vbap.
    Internal tables
    data : begin of i_sales occurs 0,
           vdatu like vbak-vdatu,
           bstnk like vbak-bstnk,
           matnr like vbap-matnr,
           maktx like makt-maktx,
           kdmat like vbap-kdmat,
           kwmeng like vbap-kwmeng,
           netpr  like vbap-netpr,
           end of i_sales.
    Variable for ALV
    data : v_repid like sy-repid,
           gt_fieldcat    type slis_t_fieldcat_alv.
    Selection-screen
    selection-screen : begin of block blk with frame title text-001.
    select-options : s_vbeln for vbak-vbeln,
                     s_erdat for vbak-erdat,
                     s_ernam for vbak-ernam,
                     s_vdatu for vbak-vdatu obligatory,
                     s_BSTNK for vbak-BSTNK,
                     s_KUNNR for vbak-kunnr,
                     s_matnr for vbap-matnr,
                     s_KDMAT for vbap-KDMAT.
    selection-screen : end of block blk.
    Initilization
    initialization.
      v_repid = sy-repid.
    S T A R T  -  O F  -  S E L E C T I O N ****************
    start-of-selection.
    Get the data from VBAK and VBAP Tables
      perform get_vbak_vbap.
    E N D  -  O F  -  S E L E C T I O N *****************
    end-of-selection.
    Display the data
      perform dispolay_data.
    *&      Form  get_vbak_vbap
          Get the data from VBAK and VBAP Table
    FORM get_vbak_vbap.
    Get the data from VBAK Table
      select vbeln bstnk vdatu from vbak into table i_vbak
                         where vbeln in s_vbeln
                         and   bstnk in s_bstnk
                         and   vdatu in s_vdatu
                         and   kunnr in s_kunnr
                         and   erdat in s_erdat
                         and   ernam in s_ernam.
      if sy-subrc ne 0.
        message e000(zwave) with 'No data found for given selection'.
      endif.
    Get the data from VBAP Table
      select avbeln amatnr akdmat akwmeng a~netpr
             b~maktx into table i_vbap
             from vbap as a inner join makt as b on bmatnr = amatnr
             for all entries in i_vbak
             where a~vbeln in s_vbeln
             and   a~kdmat in s_kdmat
             and   a~abgru = space
             and   a~matnr in s_matnr
             and   a~matnr ne '000000000000009999'
             and   a~matnr ne '000000000000004444'
             and   a~matnr ne '000000000000008888'
             and   a~matnr ne '000000000000001111'
             and   a~werks = '1000'
             and   b~spras = 'E'
             and   a~vbeln = i_vbak-vbeln.
      if sy-subrc ne 0.
        message e000(zwave) with 'No data found for given selection'.
      endif.
      sort i_vbak by vbeln.
      sort i_vbap by vbeln matnr.
      loop at i_vbap.
        read table i_vbak with key vbeln = i_vbap-vbeln
                                binary search.
        if sy-subrc eq 0.
          i_sales-bstnk = i_vbak-bstnk.
          i_sales-vdatu = i_vbak-vdatu.
          i_sales-matnr = i_vbap-matnr.
          i_sales-kdmat = i_vbap-kdmat.
          i_sales-maktx = i_vbap-maktx.
          i_sales-netpr = i_vbap-netpr.
          i_sales-kwmeng = i_vbap-kwmeng.
          append i_sales.
        else.
          continue.
        endif.
        clear : i_sales,
                i_vbap,
                i_vbak.
      endloop.
      sort i_sales by vdatu bstnk matnr.
      refresh : i_vbap,
                i_vbak.
    ENDFORM.                    " get_vbak_vbap
    *&      Form  dispolay_data
          Display the data
    FORM dispolay_data.
    Fill the Fiedlcat
      PERFORM fieldcat_init  using gt_fieldcat[].
      CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
       EXPORTING
      I_INTERFACE_CHECK                 = ' '
      I_BYPASSING_BUFFER                =
      I_BUFFER_ACTIVE                   = ' '
          I_CALLBACK_PROGRAM                = v_repid
      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                         =
          IT_FIELDCAT                       = gt_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
      IT_ALV_GRAPHICS                   =
      IT_ADD_FIELDCAT                   =
      IT_HYPERLINK                      =
      I_HTML_HEIGHT_TOP                 =
      I_HTML_HEIGHT_END                 =
      IT_EXCEPT_QINFO                   =
    IMPORTING
      E_EXIT_CAUSED_BY_CALLER           =
      ES_EXIT_CAUSED_BY_USER            =
        TABLES
          T_OUTTAB                          = i_sales
    EXCEPTIONS
      PROGRAM_ERROR                     = 1
      OTHERS                            = 2
    ENDFORM.                    " dispolay_data
    *&      Form  fieldcat_init
          text
         -->P_GT_FIELDCAT[]  text
    FORM fieldcat_init USING  e01_lt_fieldcat type slis_t_fieldcat_alv.
      DATA: LS_FIELDCAT TYPE SLIS_FIELDCAT_ALV.
    Delivery Date
      CLEAR LS_FIELDCAT.
      LS_FIELDCAT-FIELDNAME    = 'VDATU'.
      LS_FIELDCAT-OUTPUTLEN    = 12.
      LS_FIELDCAT-TABNAME    = 'I_SALES'.
      ls_fieldcat-seltext_L = 'Delivery Date'.
      APPEND LS_FIELDCAT TO E01_LT_FIELDCAT.
    Purchase Order #Material Description
      CLEAR LS_FIELDCAT.
      LS_FIELDCAT-FIELDNAME    = 'BSTNK'.
      LS_FIELDCAT-OUTPUTLEN    = 25.
      LS_FIELDCAT-TABNAME    = 'I_SALES'.
      ls_fieldcat-seltext_L = 'Purchase Order #'.
      APPEND LS_FIELDCAT TO E01_LT_FIELDCAT.
    Material
      CLEAR LS_FIELDCAT.
      LS_FIELDCAT-REF_FIELDNAME    = 'MATNR'.
      LS_FIELDCAT-REF_TABNAME    = 'MARA'.
      LS_FIELDCAT-FIELDNAME    = 'MATNR'.
      LS_FIELDCAT-TABNAME    = 'I_SALES'.
      ls_fieldcat-seltext_L = 'Material #'.
      ls_fieldcat-seltext_M = 'Material #'.
      ls_fieldcat-seltext_S = 'Material #'.
      APPEND LS_FIELDCAT TO E01_LT_FIELDCAT.
    Material Description
      CLEAR LS_FIELDCAT.
      LS_FIELDCAT-FIELDNAME    = 'MAKTX'.
      LS_FIELDCAT-OUTPUTLEN    = 40.
      LS_FIELDCAT-TABNAME    = 'I_SALES'.
      ls_fieldcat-seltext_L = 'Material Description'.
      APPEND LS_FIELDCAT TO E01_LT_FIELDCAT.
    Customer Material #
      CLEAR LS_FIELDCAT.
      LS_FIELDCAT-FIELDNAME    = 'KDMAT'.
      LS_FIELDCAT-OUTPUTLEN    = 35.
      LS_FIELDCAT-TABNAME    = 'I_SALES'.
      ls_fieldcat-seltext_L = 'Customer material no.'.
      APPEND LS_FIELDCAT TO E01_LT_FIELDCAT.
    Quantity
      CLEAR LS_FIELDCAT.
      LS_FIELDCAT-FIELDNAME    = 'KWMENG'.
      LS_FIELDCAT-OUTPUTLEN    = 15.
      LS_FIELDCAT-TABNAME    = 'I_SALES'.
      ls_fieldcat-seltext_L = 'Quantity'.
      APPEND LS_FIELDCAT TO E01_LT_FIELDCAT.
    Net Price
      CLEAR LS_FIELDCAT.
      LS_FIELDCAT-FIELDNAME    = 'NETPR'.
      LS_FIELDCAT-OUTPUTLEN    = 15.
      LS_FIELDCAT-TABNAME    = 'I_SALES'.
      ls_fieldcat-seltext_L = 'Net Price'.
      APPEND LS_FIELDCAT TO E01_LT_FIELDCAT.
    ENDFORM.                    " fieldcat_init
    Thanks
    Seshu

  • I want to get my photos from icloud,,,, i had almost 3 gb of photos backed up on icloud,,, how can i transfer all those photos to my new phone,, i tried but i only got 90 photos. those are the recent one. i had almost 1000 photos in icloud back up?plz hlp

    i replaced my old iphone to a new one.. i want to get my photos from icloud,,,, i had almost 3 gb of photos backed up on icloud,,, how can i transfer all those photos to my new phone,, i tried but i only got 90 photos. those are the recent one. i had almost 1000 photos in icloud back up?plz hlp

    You should call Apple Support and give them your Apple ID so that they can verify how many photos you actually do have backed up in iCloud...
    Also, are you able to do an iTunes backup at all? Because that would save all of the photos and allow you to get them onto the new device.
    Apple Support number is
    1-800-694-7466

  • Plz hlp...cannot copy and paste embedded font from pdf..critical!

    Hello,
    I'm desperate,
    Probably because I don't know how to ask or to search
    But believe me; I spent long time trying to find an answer for the problem.
    I believe, my problem is known; I need to copy text from unsecured PDF acrobat file, to MS WORD, but its scrambled text,
    This is very important project and I need to copy plenty of text from the acrobat files. What can I do??????
    if it impossable what it's mean?
    If u do want to avoid the big vrother all you nee to do is to embed the text to PDF and no body could understad it, google it????
    I belive it must be a solution, a convertor or anything...
    I tried to download The professional acrobat, PDF NITRO
    every soft available to be able to copy the text or to convert it into normal ASCII, Unicode...whatever...
    I just need the text not the font or the graphic...
    plz help its important....
    thanks alot !!!!!!!!!!!!!!!!!!
    Lior.

    gaurav sinha wrote:
    go to adobe.com under support click on knowledgebase and type in 328376 and follow the steps hope it will resolve your issue
    I would hope they've got it resolved already. It's from over a year ago.

  • Developer 6i....plz hlp

    I am having problem while connecting to database from forms6i. I
    have installed Oracle 8i personal database(downloaded version
    from oracle site). This part was installed correctly and I could
    connect to database and run scripts. Later I tried to install
    Dev6i and it was not accepting the oracle home of 8i, so I gave
    some new directory. So 6i was also installed successfully
    without errors, but when I tried to connect to database it is
    giving TNS error. I am using Win'2000 professional. Plz help me.
    Thanks ahead.

    This is a very common problem with this combination. These two
    can not co-exist in the same oracle home.
    I would recommend you to remove the installations COMPLETELY,
    and start over again.
    When reinstalling you should (must) start with Oracle Developer,
    and install that into the default_home (which probably will be
    orant). Install both Forms and Reports before you go on with the
    server.
    Then create a directory under c: such as Ora8 and let this be
    the home for your installation of the server.
    Installing in this order should get you a working environment.
    There are a lot of postings on this matter, so if you feel you
    need more info try searching the various forums.
    Good Luck.

  • Plz hlp: online even though I sign out and can't r...

    I have a 2 problums in skype.
    1.i sign out skype bit friends told me ur onlin in skype why r this problum? 2.i skype cal him any friends but not cal activ , then any friends cal me in skype but not complet cal only miss cal so plz solvr my problum what can i do?
    My E mail [Redacted for privacy]
    my skype id [Redacted for privacy]
    Subject/title of post edited to better reflect post content.
    First things, first: for your safety and protection, please never, ever include any personally identifiable information such as your real name, Skype account name, e-mail address, or a telephone number in a post on a public Community or forum such as this. 

    Hi, Sajid.ali283, and welcome to the Community,
    For your benefit, please review our Community Guidelines for a better understanding of why I needed to redact your post as I did.
    The online/offline status problem is a known issue in the most recent versions of Skype.  Many people work around this by setting their status to "invisible" prior to signing out, although on mobile versions where this setting is not available, this would not work.
    For not being able to place or receive calls, please start a new topic on the message board which matches the operating system upon which you use Skype.  Best practice in these types of on-line communities is one enquiry per discussion or "thread."  Thanks!
    Regards,
    Elaine
    Was your question answered? Please click on the Accept as a Solution link so everyone can quickly find what works! Like a post or want to say, "Thank You" - ?? Click on the Kudos button!
    Trustworthy information: Brian Krebs: 3 Basic Rules for Online Safety and Consumer Reports: Guide to Internet Security Online Safety Tip: Change your passwords often!

  • Hi friendz..plz hlp me to access hardware details

    ..any way to retrieve hardware details using java..java methods or java classes supporting tis..i want build an application for a network admin..to get all the hardware details of a system such as hardisk capacity ..free space ..memmory etc..plz help me..

    Hi,
    Check out the following Eg: to handle exceptions of FM in Reports,
      CALL FUNCTION 'Z_CALL_TRANS' STARTING NEW TASK 'test'
            EXPORTING
              tcode          = 'SESS'
            EXCEPTIONS
              invalid_tcode  = 1
              not_authorised = 2
              OTHERS         = 3.
          IF sy-subrc = 1.
            MESSAGE 'Invalid T-code' TYPE 'E'.
          ELSEIF sy-subrc = 2.
            MESSAGE 'Not Authorised to use this Transaction' TYPE 'E'.
          ENDIF.
    Sy-subrc is equal to the order of the exceptions declared in that function module.

  • Plz hlp

    hi guys
    am karthik......am dng one prjct n labview..... which was alredy done
    in labview..... i think ther s sme format to convert these. i don know
    anything about this. wil u plz anybody explain me in detail.......
    wats that tdms format......... and by the way my frnd wana do prjct n
    labview.... if anybody have some ideas or some refernce prjct wat u
    hav done in ur final yr prjct.......plz help me

    lmtis wrote:
    Buy a vowel please.  In fact buy all of them!
    No need to buy anything.
    Here's a free starter set. Courtesy of the AFVI (Altenbach Foundation for the Vowel Imparied). 
    Enjoy!
    AAAAAAAAaaaaaaaa
    EEEEEEEEeeeeeeee
    IIIIIIIIiiiiiiii
    OOOOOOOOoooooooo
    UUUUUUUUuuuuuuuu
    LabVIEW Champion . Do more with less code and in less time .

  • 8.0.5.1 media   plz hlp

    I contacted Oracle this morning only to be transfered around for over an hour before finding out the branch i needed didn't open for 2 more hours....
    I left a message for them to return my call...supposed to return my call within 4 hours, but i haven't heard from them yet. Our account rep was unavailalbe as well. :(
    We are fully licensed and own support for it.
    I am looking for either of the following install instances:
    Oracle8051EE_Linux.tgz
    Oracle8051EE_Intel.tgz
    It is needed to test the upgrade
    Can anyone provide any information?
    Thanks again...
    km

    i starting to realize that... :(
    The production environment is running 8.0.5.1 on a NCR UNIX platform (i said it was an old system didn't i?? lol).
    A test upgrade must be performed using the same version, but different OS platforms are acceptable as long as the database is running on 8.0.5.1...
    I'm an the system admin that has been tasked with building this system. I am unaware of the version they will be upgrading to...i only hope that it's a supported version :)
    thanks again,
    Kirk

  • Retrieved param value is wrong from JSF  -- Plz hlp

    when i pass word with special character like tilbehør it is getting converted as tilbehør
    xhtml file i have input text...when i pass some text ..control goes to SearchBB as shown below.getting converted some wierd character for tilbehør ---> tilbehør
    As you can see below passing searchBB.query as tilbehør from jsf when i print this in .java its showing as tilbehør.
    Please help me.
    Search.xhml:
    <form id="query" method="get">
    <input type="text" name="q" id="q" value="#{searchBB.query}" />
    <input type="submit" name="submit" id="submit" value="#{msg.txt_common_buttonLabel}" />
    SearchBB.java
    public SearchBB()
    FacesContext context = FacesContext.getCurrentInstance();
    ExternalContext extCtx = context.getExternalContext();
    Locale locale = context.getViewRoot().getLocale();
    this.locale = locale.getLanguage() + "_" + locale.getCountry();
    String sQuery = (String)extCtx.getRequestParameterMap().get( "q" );
    try {
    if( sQuery != null ) {
    query=sQuery;
    }

    Thanks for the reply..could you please tell more details.
    Any solutions for these kind of issues?
    Thanks in advance...
    Mallika

  • Capturing Issues - Compatablity (HLP PLZ)

    Hi Apple Forums!
    I want to use iMovie to capture video to be later edited in Final Cut Pro. I use iMovie 4.0 and it always seems to capture files off my miniDV cam as .dv format. This can be imported into Final Cut, but needs to be rendered to show up, and creates all sorts of problems in the editing process. Is there any way to capture a file format in iMovie which is more compatible with final cut? Any help would be greatly appreciated.

    If you are using FCP, avoid iMovie. There is no use for it...FCP captures just fine.
    #20 Using iMovie to Capture for FCP edit
    Shane's Stock Answer #20:
    iMovie handles the media differently from FCP, specifically where audio is concerned. So it is not a recommended workflow. Here's why...
    iMovie captures using DV Stream (.dv) standard which does not use timecode. That is a big disadvantage over the way that FCP captures in that you can't go back and recapture the material at a later date if you need to revisit a project.
    The DV/NTSC specification (the one FCP uses) also calls for seperate tracks for audio and video, even if you capture it as one clip. iMovie' DV stream format is muxed audio and video, which means that they are tied together (I can't get into specifics because I ain't no engineer or programmer). FCP is a bit more demanding and captures the seperate audio/video tracks, either in a single media file or as seperate video and audio files. With FCP you could capture video only or audio only because each is defined by the DV specs. while with iMovie you can't.
    Also, if you drop the iMovie footage into the timeline, your will get the RED render bar forcing you to render the footage in order to see it...
    "There's no need to fear, UNDERDOG is here!"

  • Plz hlp me in understanding thz  report and function modules used in it

    TABLES: BKPF,
            BSEG,
            KNA1,
            SKAT,
            USR02,
            T001W.
    SELECTION-SCREEN: BEGIN OF BLOCK HEAD WITH FRAME TITLE TEXT-T01.
    PARAMETERS    : WERKS LIKE T001W-WERKS OBLIGATORY,
                  : HKONT LIKE BSEG-HKONT OBLIGATORY.
    SELECT-OPTIONS: BUDAT FOR BKPF-BUDAT OBLIGATORY.
    PARAMETERS    : USNAM LIKE BKPF-USNAM.
    SELECTION-SCREEN END OF BLOCK HEAD.
    DATA: BEGIN OF ITAB OCCURS 50,
          BUDAT LIKE BKPF-BUDAT,
          BELNR LIKE BKPF-BELNR,
          XBLNR LIKE BKPF-XBLNR,           " City
          BKTXT(15),                       " Drawee Bank
          WRBTR LIKE BSEG-WRBTR,
          KUNNR LIKE BSEG-KUNNR,
          HKONT LIKE BSEG-HKONT,
          SGTXT(15),                 " Instrument Type CHQ / DD/ PAY ORDER
          ZUONR(10),                       " Instrument No
          VALUT LIKE BSEG-VALUT,           " Instrument Date
          NAME1(25),
          END OF ITAB.
    DATA: TXT50 LIKE SKAT-TXT50,
          PGNO  TYPE I,
          JUMP  LIKE SY-LINCT,
          DNAM(20).
    DATA : FIELD LIKE HELP_VALUE OCCURS 0 WITH HEADER LINE.
    DATA : CONTENTS(12) OCCURS 0 WITH HEADER LINE.
    DATA : FLD(12).
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR USNAM.
      FLD = 'usnam'.
      PERFORM VALUES CHANGING FLD.
      USNAM = FLD.
    TOP-OF-PAGE.
      PERFORM HEADER.
    END-OF-PAGE.
      WRITE: /10 'Prepared By',
              45 'Checked By',
              85 'Authorized By',
             125 'Bank Officials Seal & Signature'.
      WRITE: /0(170) SY-ULINE.
      PGNO = PGNO + 1.
      WRITE: /120 'Page No : ', PGNO.
    START-OF-SELECTION.
      PERFORM %BKPF.
      PERFORM %BSEG.
      PERFORM %KNA1.
      PERFORM %SKAT.
      PERFORM %WRITE.
    END-OF-SELECTION.
      JUMP = SY-LINCT - SY-LINNO - 2.
      SKIP JUMP.
      WRITE:/.
    *&      Form  %BKPF
          text
    -->  p1        text
    <--  p2        text
    FORM %BKPF.
      SELECT BELNR
             XBLNR
             BUDAT
             BKTXT
      INTO   (ITAB-BELNR,
             ITAB-XBLNR,
             ITAB-BUDAT,
             ITAB-BKTXT)
      FROM   BKPF
      WHERE  BUKRS = 'GMKT' AND
             BLART = 'DZ'   AND
             USNAM = USNAM AND
             BUDAT IN BUDAT.
        IF SY-SUBRC EQ 0.
          APPEND ITAB.
          CLEAR  ITAB.
        ENDIF.
      ENDSELECT.
      SELECT SINGLE ORT01 INTO DNAM FROM T001W WHERE WERKS = WERKS.
    ENDFORM.                               " %BKPF
    *&      Form  %BSEG
          text
    -->  p1        text
    <--  p2        text
    FORM %BSEG.
      LOOP AT ITAB.
        SELECT WRBTR
               HKONT
               SGTXT
               ZUONR
               VALUT
        INTO   (ITAB-WRBTR,
               ITAB-HKONT,
               ITAB-SGTXT,
               ITAB-ZUONR,
               ITAB-VALUT)
        FROM   BSEG
        WHERE  BUKRS = 'GMKT' AND
               BSCHL = '40' AND
               SHKZG = 'S' AND
               BELNR = ITAB-BELNR AND
               HKONT = HKONT.
          IF SY-SUBRC EQ 0.
            MODIFY ITAB.
            CLEAR  ITAB.
          ENDIF.
        ENDSELECT.
      ENDLOOP.
      DELETE ITAB WHERE HKONT <> HKONT.
      LOOP AT ITAB.
        SELECT SINGLE KUNNR
        INTO   (ITAB-KUNNR)
        FROM   BSEG
        WHERE  BUKRS = 'GMKT' AND
               ( BSCHL = '15' OR BSCHL = '19' ) AND
               SHKZG = 'H' AND
               BELNR = ITAB-BELNR.
        IF SY-SUBRC EQ 0.
          MODIFY ITAB.
          CLEAR  ITAB.
        ENDIF.
      ENDLOOP.
    ENDFORM.                               " %BSEG
    *&      Form  %KNA1
          text
    -->  p1        text
    <--  p2        text
    FORM %KNA1.
      LOOP AT ITAB.
        SELECT NAME1
        INTO   (ITAB-NAME1)
        FROM   KNA1
        WHERE  KUNNR = ITAB-KUNNR.
          IF SY-SUBRC EQ 0.
            MODIFY ITAB.
            CLEAR  ITAB.
          ENDIF.
        ENDSELECT.
      ENDLOOP.
    ENDFORM.                               " %KNA1
    *&      Form  %WRITE
          text
    -->  p1        text
    <--  p2        text
    FORM %WRITE.
      SORT ITAB BY BUDAT BELNR.
      LOOP AT ITAB.
        WRITE:/ SY-TABIX,
                ITAB-BELNR,
                ITAB-BUDAT,
                ITAB-SGTXT,
                ITAB-ZUONR,
                ITAB-VALUT,
                ITAB-KUNNR,
                ITAB-NAME1,
                ITAB-BKTXT,
                ITAB-XBLNR,
                ITAB-WRBTR.
        AT LAST.
          SUM.
          WRITE: /0(170) SY-ULINE.
          WRITE: /126 ' Total Amount  :', ITAB-WRBTR COLOR 3.
        ENDAT.
      ENDLOOP.
      WRITE: /0(170) SY-ULINE.
    ENDFORM.                               " %WRITE
    *&      Form  %SKAT
          text
    -->  p1        text
    <--  p2        text
    FORM %SKAT.
      SELECT TXT50
      INTO   TXT50
      FROM   SKAT
      WHERE  SAKNR = HKONT AND
             SPRAS = 'EN' AND
             KTOPL = 'GMKT'.
      ENDSELECT.
    ENDFORM.                               " %SKAT
    *&      Form  HEADER
          text
    -->  p1        text
    <--  p2        text
    FORM HEADER.
      CONCATENATE DNAM  '-' 'Depot' INTO DNAM.
      WRITE: /50 'Grasim Industries Limited'.
      WRITE: /55 DNAM.
      WRITE: /40 'Pay-in-Slip for Cheques / Drafts / Pay-Order'.
      SKIP 3.
      WRITE:/ 'Account Number :', HKONT, 135 'Payslip No :'.
      WRITE:/ 'Account Name   :', TXT50, 135 'Date       :'.
      SKIP 1.
      WRITE: /0(170) SY-ULINE.
      WRITE: /07 'Sl No', 13 'Voucher No', 27 'Date', 36 ' Inst Type ',
              51 'Ins Number', 65 'Date', 73 'Party Code',
              87 'Name of the Party',
             114 'Drawee Bank', 130 'City', 147 'Amount in Rs',
             162 'Remarks'.
      WRITE: /0(170) SY-ULINE.
    ENDFORM.                               " HEADER
    *&      Form  VALUES
          text
         <--P_FLD  text                                                  *
    FORM VALUES CHANGING P_FLD.
      REFRESH CONTENTS.
      REFRESH FIELD.
      CLEAR CONTENTS.
      CLEAR FIELD.
      FIELD-TABNAME = 'USR02'.
      FIELD-FIELDNAME = 'BNAME'.
      FIELD-SELECTFLAG = 'X'.
      APPEND FIELD.
      SELECT * FROM USR02.
        CONTENTS = USR02-BNAME.
        APPEND CONTENTS.
      ENDSELECT.
    CALL FUNCTION 'HELP_VALUES_GET_WITH_TABLE'
         EXPORTING
            CUCOL                         = 0
            CUROW                         = 0
            DISPLAY                       = ' '
              FIELDNAME                     = 'BNAME'
              TABNAME                       = 'USR02'
            NO_MARKING_OF_CHECKVALUE      = ' '
            TITLE_IN_VALUES_LIST          = ' '
            TITEL                         = ' '
            SHOW_ALL_VALUES_AT_FIRST_TIME = ' '
            NO_CONVERSION                 = ' '
         IMPORTING
              SELECT_VALUE                  = FLD
         TABLES
              FIELDS                        = FIELD
              VALUETAB                      = CONTENTS
         EXCEPTIONS
              FIELD_NOT_IN_DDIC             = 1
              MORE_THEN_ONE_SELECTFIELD     = 2
              NO_SELECTFIELD                = 3
              OTHERS                        = 4.
    ENDFORM.                               " VALUES

    Hi Surinder,
    the program gives u the o/p based on input parametrs in the following format.
    <b>TOP-OF-PAGE</b>
    CET TECHNOLOGIES PTE LTD.                                 
    PAGE:         2
    LIST OF ALL VENDOR BY VALUE (FOREIGN)
    DATE:     07/05/2007
    DATE RAISED FROM: 06/01/2007  TO 06/06/2007    
    TIME:     15:34:27
    FOR ALL PURCHASING GROUPS
    (Following are the columns of the output tabel, becz of space constraint, i am writing it horizontaly).
    - S/No
    - SUPPLIER Name
    - AMOUNT(S$)  => At last, it will calculate Total Amount in $
    - % OF AMOUNT
    - CUML OF Total amount
    - NO OF PO
    - NO OF ITEMS
                                                                                    TOTAL:                       0.00         0
    Function module is used to convert the amount from Singapore$ to local curreny.
    (Suppose, total amount is S$100, and u r calculating for US, FM will convert the S$100 into corresponding value in US$ or
    Let us take India - For India, say S$1 = INR 27, then say the supplier from India, quotes Rs. 2700, it will then be converted and shown as S$27)
    Hope this will be useful to understand
    Reward if useful
    Thnks
    Sujay

  • IPod won't turn off when plugged into computer! PLZ HLP!

    I have an iPod touch 2g, and now whenever I connect it to iTunes, it won't turn off. It will just turn itself back on.

    If you are unable to give specifics about the problem or what you need to do, it's going to be rather hard to give you recommendations or alternate suggestions.
    As I said, if I recall correctly, the iPod will stay on if it's being charged. But, in case I'm misremembering, are you holding down the button until you see the red arrow that says "Slide to power off"? Have you tried restoring it?

Maybe you are looking for

  • Rounding in Local Currency

    Hi Experts In our project we want to have rounding in all amount in local Currecny on the other hand we have 2 decimal place in SC and FC. I set rounding base on currecny and I set rounding to one in Currecn code window for LC. I set also account for

  • Having problem in passing the values in business service in OSB.

    hi , in my requirement i have to write a string in AQ , i have created a AQ adapter and a business service related to that now i have a variable which contains the string i have to pass, how i can paas this variable in my business service using servi

  • Downloading music from Ipod to HP ENVY sleekbook 4pc with windows 8.1

    Conneted Ipod to laptop but it is not recognized. Cannot transfer music. Any suggestions? What program do I need to support the transfer?

  • Convert mpg to mov

    What is a good way to convert .mpg files to readable files for fcpx I'm new to apple and this community so if anyone could point me towards other discussions that have addressed this topic would be appreciated.

  • Why map sensors unable to detect sensor under Measuremen​t category in SolidWorks (SWs)

    In Labview Project Explorer, when I want to add 'map sensors' to the Solidworks model, it only detect the sensor under the 'Dimension' type shown on the FeatureManager Design Tree' on the left side. While sensor under type 'Measurement' cannot be det