Function module to find the Credit limit of a Customer based on Credit Area

hi Experts,
                   Is there any function module to find the Credit limit of a Customer based on Credit Area.
Regards,
Dheepak

hi
try this:
  select single * from KNKK INTO zzKNKK
      where KUNNR = xkunnr and KKBER = xkkber.
credit limit: zzKNKK-KLIMK...
regards,darek

Similar Messages

  • Function Module to find the Difference between two times.

    Hi All,
    Wud you plz let me know the Function Module to find the Difference between two times.
    Input Time1( Hours:Minutes) Time2 ( Hours:Minutes)
    Need Output in Hours:Minutes only . ( No seconds Needed )
    Ex :
    Input :
           06:00 to 18:00 Output : 12:00
    and  20:00 to 06:00 Output: 10:00 with +ve sign only. No -ve sign.
    Thanks,
    N.L.Narayana

    check this .
    data : p_timel like sy-uzeit,
           p_timeh like sy-uzeit,
           diff like sy-uzeit,
           di(8) type c .
           p_timel = '200000'.
           p_timeh = '060000'.
           diff = p_timeh - p_timel.
           concatenate diff+0(2) ':' diff+2(2) into di.
           write:/ di.
    also check for this.
           p_timel = '060000'.
           p_timeh = '180000'.
    see if this can be implemented in ur code .
    or else  u can try with  Fm L_TO_TIME_DIFF passing startdate enddate starttime endtime with UOM as MIN
    hope this helps regards,
    vijay

  • Function Module to find the Diff bt Two Times : O/p : Hours:Minutes only

    Hi All,
    Wud you plz let me know the Function Module to find the Difference between two times.
    Input Time1( Hours:Minutes:Seconds) Time2 ( Hours:Minutes:Seconds)
    Need Output in Hours:Minutes only .  ( No seconds Needed )
    Thanks,
    N.L.Narayana

    Hi
    Please use FM
    <b>SD_DATETIME_DIFFERENCE</b>

  • Function module to find the path of application server

    Hi can any one say me what is the function module to find the path of the application server

    Hi ,
    What i understand from ur question is that u need path for application server from the presentation layer i.e user screen.
    u can achive the path this way
    parameter: file type filename-fileintern.
    when user presses F4 here, it will show the directories and path in the AL11.
    I didnt find any FM which will get the path of Al11.
    revrt back if any issues,
    Regards,
    Naveen

  • Function Module to find the Last Execution date of Back ground Job

    Hi,
    Is there any function module to find the <b>last execution date of back ground job</b>.
    So that I can transfer the data from SAP to Legacy system based on the document creation date should be in between last execution date and current date.
    thanks in advance.
    Eswar.

    Don't know of a function module, but you should be able to use the information in table TBTCO to get the last start date and time of the job you are interested in.

  • Function Module to find the day

    Hi,
    I have a date S_DATE with me.
    I need to find the day of that date.
    I hope there is a function module for this.
    Please reply me if you know the name of the Function Module to find the date.
    Thanks in advance.

    Hi Rajesh,
    Thanks for the reply. Your answer solved my problem.

  • Function module to find the attachment list for an accounting document?

    Is there a function module to find the attachment list for an accounting document? Or which table stores such references?
    I know I can find this info from the transaction FB03, but is there a function module to find the attachments for an accounting document? So far I only found the attachments are stored in the table SOOD, and archived documents in table TOA03, but I can't find the table that stores the links between the accounting document and its attachments?
    <b><REMOVED BY MODERATOR></b>
    Thanks,
    Ning
    Message was edited by:
            Alvaro Tejada Galindo

    Hi,
      i_object1-typeid = 'YARSATTA'.  "<<< Give your Object id name
      i_object1-catid  = 'BO'.
      i_object1-instid = i_yarsitem-docno.    "<<<< Document Number
      call method cl_gos_attachment_query=>count_for_object
        exporting
         is_object = i_object1
         ip_arl    = space
        receiving
         rt_stat   = i_stat1.
      read table i_stat1 into wa_stat1 index 1.
      if sy-subrc eq c_0.
         move wa_stat1-counter to v_attno1.
      endif.
    For link you need to check for table SRGBTBREL
    and also please check class CL_GOS*

  • Any Function module to find the vendor description

    Any Function module to find the vendor description.
    Regards
    Paul

    Hi,
    Do you mean that you need the name and address details of the Vendor. you can get it in table LFA1.
    regards,
    Mahesh

  • Function module to find the columns in Internal table

    Hi Group,
    Is there any function module which displays the columns of the internal table. I guess there is one cos when we debug any program and select the "Tables" button while debugging and enter an internal table and then do a "Find" the pop up which comes up shows the internal table columns. As this functionality is in the debugger which I cannot debug hence was wondering if some one has come across any such function module. Thanks in advance.
    Regards,
    Ankur Bhandari
    [email protected]

    Hi again,
    1. In the above FM
       Pass Program as SY-REPID (U cann pass other prg name also)
    in FieldName Pass the name of the internal table
       eg. 'ITAB'
    2. This FM will give u the details of the
       internal table.
       The u can display the COMPONENTS table
       using ALV or anyother method u like.
    Regards,
    Amit M.

  • Function module to find the child of WBS elements

    Hi,
    i need to find the KSTAR (Cost Element) for the corresponding WBS element . If the particular WBS element does not contain the COST Element, then to find all the children WBS element .
    I need to find all the child WBS elements and its level for the parent WBS element. I am using the table COSB and PRPS table . kindly solve to find a FUNCTIONAL MODULE which uniquely  the child WBS element. Kindly help to solve.

    Hit the PRPS table where STUFE(Level in Project Hierarchy) > Current level and project Id = Current project ID.
    Hope it helps.
    Reward if it is useful.
    Thanks,
    Srinivas

  • Function module to find the fiscal periods

    Hi Guys,
    Please let me know if any of you are aware a function module which determines the fiscal periods between two dates.
    (Begin and end dates.) 
    Thanks.

    Hi Sai,
    From your post, I understood that you want to find how many periods are there between two dates, right.
    I am not sure whether there is a direct function module for this.
    But you can try this.
    Use the FM DATE_TO_PERIOD_CONVERT to get the Fiscal Year and Period from a date. You have to input the date and Fiscal variant.
    Using this you can determine the Fiscal year and Period for both the dates.
    Then you can find the difference of these two Fiscal Periods.
    This thread will be helpful for you to find the Difference of two fiscal periods
    Urgent : Difference of two fiscal period
    Hope this helps,
    Regards,
    Hari.

  • Function module to find the previous tax year.

    Hi,
    Is there any fumction module to find the previous tax year if i give sy-datum.
    Thanks & Regards,
    Soumya.

    Hello,
    check this
    HR_GB_TAX_YEAR                 HR-GB: Calculate Tax Year
    HR_GB_TAX_YEAR_DATES           HR-GB: Determine the begin and end dates of the tax year
    or TAXYEAR* f4 in the tcode se37.
    Thank u,
    santhosh

  • Function Module to find the Path of the file in the Application Server

    Hi All,
            Any function module available to find the path of the file stored in the application server. Please let me know.
    Thanks.

    Check this code:
      DATA: dl_file TYPE ibipparms-path.    " File name
      CONSTANTS: c_dir       TYPE  rlgrap-filename.
    * F4 filename for Application server
        CALL FUNCTION '/SAPDMC/LSM_F4_SERVER_FILE'
          EXPORTING
            directory        = c_dir
            filemask         = ' '
          IMPORTING
            serverfile       = dl_file
          EXCEPTIONS
            canceled_by_user = 1
            OTHERS           = 2.
        IF sy-subrc <> 0.
          MESSAGE e000 WITH 'Error while getting the file name'(006).
          EXIT.
        ELSE.
          p_file =  dl_file.
        ENDIF.
    Thanks & Regards,
    Siri.
    Message was edited by:
            Srilatha T

  • Function module to find the external reference number in CRM?

    hi all,
          Is there any function module available to find the process_types for a given external reference number?

    Hello,
    I don't know a function module. The external reference number you can find in CRM in the table BUT0ID (IDTYPE = CRM001 as external identfier). Then you can read BUT000 to get the info with the partner number given in BUT0ID.
    Rgds,
    JP

  • Function module to find the top node in the Profit Center standard hierarch

    Hi,
    Please let me know the function modules/Tables to do the following.
    1. To find the Top node in the Profit center standard hierarchy which is displayed via KCH6N Transaction.
    2. To read/retrieve standard hierarchy displayed in KCH6N Transaction.
    Thanks in Advance,
    Madhuri.

    Hi Madhuri ,
    have a look @<b>SETLEAF</b> or SET* in se11 , u can get the Top Node by putting the Logic like this
    ex: i am searching for Top Node of A3
    <b>select setname from setleaf where  valfrom eq 'A3'.</b>and for that selected setname u have to do one more
    loop.
    <b>select setname from setleaf where  valfrom eq 'A2'.</b>
    then only u will net Node A1.
    this is a sample code only , dont check F2.
    let me know if u want more inputs of Set Ids.
    regards
    prabhu
    [email protected]
    NjoySAP

Maybe you are looking for

  • How can I activate multiple tags at one time?

    How can I activate multiple tags at one time?

  • Error in transaction SOAMANAGER from Dev ECC6

    Hi, I am getting below error in transaction SOAMANAGER  -- Application & scenario comm -- single service admin -- select service Z* -- apply selection -- Open Web Service navigator for selected binding then getting error as below: Error: Cannot downl

  • Extended desktop wallpaper support videowallpaper

    hi  i just have 1 request can in the future windows play mp4 video without sound to use as desktop wallpaper we re in 2015 and still the only thing you can place as desktop wallpaper are just pictures {BORING} would be nice to have an loopable extrac

  • Setting the keyboard map with hotplugging

    Just changed to awesome WM and my keyboard is slightly wrong. For a start I can't seem to produce the hash symbol at all. The wiki suggests that input hotplugging should be favoured for keyboard configuration. I have my keymap set as uk in rc.conf an

  • How to sync iPhone albums

    How do I sync albums made on iPhone 4 with iPhoto on my MacBook?  Photo stream syncs fine.