Custom field to select a duration in date determination

Hi all
Can anyone please help me in the following:
We have a requirement to select a date field which should be in such a way that the difference between current date and due date should be more than 60 days. This condition should be fulfilled to sent am email as a reminder.
Thanks
Ramya

Hi Ramya,
I am not very sure where exactly you want to use this logic for date difference calculation.
You can write a logic and call FM FIMA_DAYS_AND_MONTHS_AND_YEARS (Find the difference between two dates in years, months and days) to get the date diff.
Please state if you have some other specific query.
Hope this helps!
Regards,
Saumya

Similar Messages

  • Adding customer field to selection screen of RFKORD11 - Customer  Statement Printing Program:

    Hello,
    We are required to add an important customer field to selection screen of customer
    statement printing program: RFKORD11 for our South African branch.
    Please advise us regarding this matter,
    is there a proper user-exit or a repair is needed?
    Kind Regards.

    Enhancement
    text
    F050S001
    FIDCMT, FIDCC1,
      FIDCC2: Edit user-defined IDoc segment
    F050S002
    FIDCC1: Change
      IDoc/do not send
    F050S003
    FIDCC2: Change
      IDoc/do not send
    F050S004
    FIDCMT, FIDCC1,
      FIDCC2: Change outbound IDoc/do not send
    F050S005
    FIDCMT, FIDCC1,
      FIDCC2 Inbound IDoc: Change FI document
    F050S006
    FI Outgoing IDoc:
      Reset Clearing in FI Document
    F050S007
    FIDCCH Outbound:
      Influence on IDoc for Document Change
    F180A001
    Balance Sheet
      Adjustment
    FARC0001
    Enhancements within
      archiving (FI)
    FARC0002
    Additional Checks for
      Archiving MM Vendor Master Data
    FEDI0001
    Function exits for
      EDI in FI
    FICT0001
    Exits for
      inter-company transactions
    RFAVIS01
    Customer Exit for
      Changing Payment Advice Segment Text
    RFBVX001
    Enhancement for bank
      directory transfer (Austria)
    RFEPOS00
    Line item display:
      Checking of selection conditions
    SAPLBANK
    User exit: Bank data
    SAPLF040
    WF: Preliminary
      posting (authorized for release)
    SAPLF051
    Workflow for FI
      (pre-capture, release for payment)
    SAPLFCPD
    One-time account data
      or different payee in booking
    SAPLSSRV
    User exit: Bank
      account numbers
    RFKORIEX
    Automatic
      correspondence
    please check which one  is better .

  • Custom field at Header level in Additional Data B tab of VA01/VA02

    Kindly help me out , I have a requirement to add a custom field at Header level in Additional Data B tab of VA01/VA02.
    Program: SAPMV45A
    screen 8459
    This can be done only through access key or not. Can any body tell me procedure to do that.
    Appreciate your response.Thanks in advance

    Please help me out this

  • GRC CUP - How to add a custom field in "Select Roles/Groups" form

    Hi Forum,
    I created a custom field "REGION" in CUP configuration. I used this field in "Role Attributes"
    In "New Account" workflow, when i click on Select Roles/Groups" a screen for Select Roles/Groups will display to select the roles by different combinations.
    I need this "REGION" field in the above selection creria to select roles by REGION.
    How to make this field "REGION" appear in above selet cretiria.
    Thanks,
    RAM
    Edited by: Ram.Sathish on Apr 21, 2011 3:46 PM

    you can not add custom fields in the search, have you thought about using the company field as the fied for location?
    Regards,
    Chinmaya

  • User exit or Badi to add custom fields in selection screen of tcode CATS_AP

    Hi Guys,
    I want to add a custom field to the selection screen of report RCATS_APPROVE_ACTIVITIES (tcode CATS_APPR_LITE).
    I also want to display filtered by this custom fields.  Please let me know the user-exit (prefebly) or BADI.
    I will appreciate if somebody can share the steps.
    Thanks,

    Hi,
    Yes there is, the BADI name is CATS_REPORTING.
    It can be views in transaction SE17.
    thanks.
    JB

  • Add custom fields on selection screen  and ouput in Transaction QM11

    Hi All,
       i have the requirement to enhance the transaction qm11( Report : RQMELL10) to add the custom fields on the report selection screen and in the report output.
      i tried to add the fields on selection screen by copy the standard program RQMELL10 to custom one. and tried to add the fields above to the coding tab but i am not able to display the text for those fields of select-options. can any one help me is it the right way to copy the standard program to custom program and adding the custom fields and how to get the text element for the custom fields which we are going to add it. i tried to add the text element in program text elements but it is not appering on the report.
    please requeting the help asap if it is possible.

    Have a glance in below thread.
    Enhancing transaction QM10
    Also, there are some more threads available in enhancing the QM10 / QM11. Please search those as well.

  • Setting only the TO field on the Created on Field in Selection screen to Current date

    Hello,
    We have a requirement to Set only the To date in the Created on Field in Selection screen to the Current date, I have tried through Dynamic variable option to set the Date calculation but I am able to see Options to set the Current date to From or From and To Created on Date fields instead of setting the Current date only to To created on Field.
    We are in 4.7 and are not supported with user defined variables, Appreciate your inputs on this.
    Thanks and Regards
    Mohammed Roshan

    >
    sunitha j wrote:
    > Hi ,
    >
    > It would br gr8..if u could give some more info about the usage of this class..i mean if i hav to implement it in my program....wat is the necessary data that needs to b copied...
    >
    > Thanx,
    > Sunitha
    what Text field you want to change.
    Since you are working with Dynpros , you have to split the screen in two parts, and one for the Showing differenet fonts and other your normal Dynpro information.
    you need to use the Method ADD_TEXT Did you check the program DD_STYLE_TABLE.

  • How to Include in Customer Exit to select max of the date

    Hi,
    Every Employee will have a health Insurance Policy which is valid for 6 six months.
    From Source System i am getting
    Employee and his policy Start date,Based on Policy Start Date in Transformations i am calculacting the Policy Expiry date (Policy Start date + 6 Months)(Ex:If Policy Start Date is 01/Nov/2007 then Exp date is 01/May/2008)
    My report is to Show employees who doesn't had a valid policy on the day report executed (Sys Date)
    For that i created a Customer Exit Variable on Policy Expiry Date
    (If Policy Expiry date is < Sys Date)
    IF i_step = 2.
          CLEAR l_s_range.
          l_s_range-low = sy-datum.
          l_s_range-sign = 'I'.
          l_s_range-opt = 'LT'.
          APPEND l_s_range TO e_t_range.
        ENDIF.
    Problem:
    Data in the cube
    Employee--Policy Start date-Policy Expiry Date
    1--01/01/2008-----30/06/2008
    1--01/07/2007-----31/12/2007
    1--01/01/2007-----30/06/2007
    When i execute the report i should expect the Emp 1 shouldn't be displayed as he had valid policy which is going to expir in June 2008....but the above exit is displaying the below 2 records
    Can i include any changes in the above exit that will select the Max Policy Expire date and then it will check with the Sys Date
    Please update me on how to proceed
    Thanks

    Hi thomos,
    Thanks for the update
    Bit Confused.....could you please explain me
    "Your variable (intervall) should be based on the Policy Expiry Date
    l_s_range-low = '10000101'.
    l_s_range-high = 'sy-datum - 1.
    l_s_range-sign = 'I'.
    l_s_range-opt = 'BT'
    How this is going to solve my problem....
    As i got 3 records on a employee one of which got expiry date greater tha sys date
    Thans

  • IW 28, customer fields in selection screen

    Hello,
    we have some costumer fields in table qmel. I would like to use these fields in transaction IW 28 as selection fields.
    Is this possible?
    regards
    stefan

    Hi,
    You can add the filed in selection screen.
    find the enhancement points for selection screen in program.
    and same way find enhancement point for select query in program.
    For example:
    The field revnr is added in selection screen like we can add custom filed also.
    ENHANCEMENT 4  DIMP_GENERAL_RIQMEL20.    "active version
      SELECT-OPTIONS: revnr FOR viqmelst-revnr.
    ENDENHANCEMENT.
    second: select query is also given in enhancement point, since we can modify the enhancement point.
    ENHANCEMENT 2  DIMP_GENERAL_RIQMEL20.    "active version
        SELECT (g_selfields_tab) FROM (g_viewname)
                INTO CORRESPONDING FIELDS OF TABLE lt_viqmel_iflos
                              WHERE qmnum IN qmnum
                              AND   iwerk IN iwerk
                              AND   tplnr IN strno
                              AND   swerk IN swerk
                              AND   kostl IN kostl
                              AND   abckz IN abckz
                              AND   gsber IN gsber
                              AND   anlnr IN anlnr
                              AND   stort IN stort
                              AND   msgrp IN msgrp
                              AND   eqfnr IN eqfnr
                              AND   beber IN beber
                              AND   ingrp IN ingrp
                              AND   equnr IN equnr
                              AND   matnr IN matnr
                              AND   serialnr IN serialnr
                              AND   deviceid IN deviceid
                              AND   bautl IN bautl
                              AND   msaus IN msaus
                              AND   ausvn IN ausvn
                              AND   ausbs IN ausbs
                              AND   auztv IN auztv
                              AND   auztb IN auztb
                              AND   btpln IN btpln
                              AND   bequi IN bequi
                              AND   auswk IN auswk
                              AND   verfv IN verfv
                              AND   verfn IN verfn
                              AND   verfm IN verfm
                              AND   anlzv IN anlzv
                              AND   anlzn IN anlzn
                              AND   anlze IN anlze
                              AND   inspk IN inspk
                              AND   datan IN datan
                              AND   qmart IN qmart
                              AND   bukrs IN bukrs
                              AND   priok IN priok
                              AND   ernam IN ernam
                              AND   erdat IN erdat
                              AND   aenam IN aenam
                              AND   aedat IN aedat
                              AND   mzeit IN mzeit
                              AND   qmnam IN qmnam
                              AND   strmn IN strmn
                              AND   ltrmn IN ltrmn
                              AND   aufnr IN aufnr
                              AND   kunum IN kunum
                              AND   vbeln IN vbeln
                              AND   kdauf IN kdauf
                              AND   kdpos IN kdpos
                              AND   bstnk IN bstnk
                              AND   bstdk IN bstdk
                              AND   qmdab IN qmdab
                              AND   bezdt IN bezdt
                              AND   rbnr  IN rbnr
                              AND   qmdat IN gr_date
                              AND ( kzloesch = space OR
                                    kzloesch IS NULL )
                              AND   qmart IN i_qmart
                              AND   vkorg IN vkorg
                              AND   vtweg IN vtweg
                              AND   spart IN spart
                              AND   auszt IN i_auszt
                              AND   arbpl IN i_arbpl
                              AND   qmgrp IN qmgrp
                              AND   qmcod IN qmcod
                              AND   warpl IN warpl
                              AND   wapos IN wapos
                              AND   revnr IN revnr
                              AND   owner IN i_owner
                              AND   phase IN gr_phase.
    ENDENHANCEMENT.

  • Add a field in selection screen and enter data in that field .......

    Hi,
    I want to add a field in the seletion screen and when the user enters data , it should store in the data base table, the data base table is MKPF-BKTXT, please can any one let me know how to do this... very urgent...

    Hi
    Try to use EXIT_SAPMM07M_001, it's to update the item (not header) text, but you can try to use it:
    FIELD-SYMBOLS: <BKTXT> TYPE MKPF-BKTXT.
    ASSIGN ('(SAPMM07M)MKPF-BKTXT') TO <BKTXT>.
    IF SY-SUBRC = 0.
      <BKTXT> = <.....>.
    ENDIF.
    Max

  • Custom field in VA01 at item level in Additional Data B Tab

    Hi ,
    I have a requirement to add a custom field at item level in Additional Data B tab of VA01/VA02. We have to store the data in that field in the VBAP table also have to validate the data entered in the field when user hit save.
    Can any body tell me step by step procedure to do that.
    Appreciate your response.
    Thanks,
    Rohit

    Add append structure  ZAVBAP  in table VBAP in Tcode: SE11.
    In this structure include the new fields to be added to the screen.
    Then in Tcode : SE80
    take program: SAPMV45A
    take screen 8459  and add the new field.
    Also add the validation in the flow logic.

  • Add a custom field to Business Partner(master data screen)

    Hi MM experts,
    My requirement: Basically have to pass special accounting number (from FI module to MM module ). For that, we need to create new custom field in the standard screen (master data) of business partner.
    How to achieve this?
    Is that by creating field exit (create a new field in the standard screen and updating business partner master data with this special accounting number)? IF so, could you please explain how to achieve this little bit clearly?
    THANKS IN ADVANCE... YOUR INPUT IS HIGHLY APPRECIATED.

    Hello Solemn,
    You should catch the FormLoad event of form 134 (Business Partner), and add a static text and editbox. In addition, you need to do the data binding right after adding the item.
    Or, you just use the standard UDF function of B1.
    Hope this helps,
    Nick

  • Using custom fields of Infoset as Selection Criteria in Query Reporting

    Hi Experts,
    I have created one Infoset based on LDB PNPCE and added some custom fields to it. Coding has been done for the custom fields.
    But these additional custom fields are not available as selection criteria while creating the query.
    Can you please tell me how to use the custom fields as selection criteria?
    Reply soon
    Thanks in Advance.
    Raveesh

    Hello Guys,
    I just noticed that it is possible to select custom fields as selection criteria in case of SAP Query,
    but NOT is case of Infoset(Adhoc) query.
    Can anyone tell me the whether it is possible to select the custom fields as Selection Criteria in case of Infoset Query?
    Thanks in Advance,
    Raveesh

  • BDT : Uplaod data in Customized fields

    Hi Experts,
               I have added some customized fields with the help of Business Data Toolset(BDT).
    Now the problem is I have to upload mass data and I am not clear How the data would be passed in the customized fields.
    Is there any BAPI or standard functionality to acheive this???
    Please sugest a way .
    Help would be appreciated.
    Regards
    Sourabh Verma

    HI Sudheer,
                  I know that if we add the fields through EEWB they are reflected in this BAPI , But will the fields would be reflected in this BAPI if they are added through BDT??
    Or is there some other way to uplaod the data when BDT is used?
    Help will be appreciated.
    Regards
    Sourabh Verma

  • XRPM: Need to find the BADI for adding custom fields to  master data

    Hi,
      We have activated XRPM(4.0) business content and need to add some custom fields to some of the master data ( for example need to add custom fields to master data info object 0RPM_IHGU, 0RPM_IGCG etc).
      We have enhanced the data sources ( 0RPM_ITEM_HEADER_GUID_ATTR and 0RPM_FIN_CAT_GUID_ATTR respectively) in the source system  by appending additional fields to the append structure of the data source We are trying to find the BADI where we can implement the custom code.
      Can anybody help to find the particular BADI, id there one for all master data carrying data source in the xRPM source system?
      Thanks

    Dear Arunava,
    1) In your R3 goto  SE16 --> open table ROOSOURCE.
       Search for your OLTP source...eg: 0RPM*
       The column  EXTRACTOR will give you the module name.
    2) Also look/follow the link:
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/9f668696-0701-0010-22be-a278e4587b68
    Currently available BAdIs include:
    RPM_BUPA_CUST_FIELDS BUPA customer fields
    RPM_CALC_BUPA_BPFTE Calculate the business partner availability
    RPM_CALC_STAFF_ICON calculate the staffing icon
    RPM_CREATEUSR_NAME Generates user names
    RPM_HR_IN_IF001 Customer exit for inbound time processing
    RPM_HR_IN_IF002
    RPM_HR_IN_IF003
    RPM_HR_IN_IF004
    RPM_HR_IN_IF005
    RPM_HR_IN_IF006
    RPM_INTEGRATION_OPTS get and set the project integration options
    /RPM/OBJECT_SERVICES Object support services
    /RPM/PERSON_CUST_FLD Resource customer fields
    RPM_PROCESS_DATA Inbound processing of time data by customer
    Good Luck, BB

Maybe you are looking for

  • Manual Bank Statement

    Hi, I have processed the manual bank statement, I could see in the stament overview that Manual posting is done and There are 2 transactions under FB01 with Debiting the amount. But nothing is shown under credit amount. When I check the concerned ban

  • Error while doing f111

    Dear Experts, I am getting below error while doing f111. Company codes 1100/1100 do not appear in proposal 29.05.2011 00008R; correctMessage no. FZ003 In the LogNo check can be made in SAP GTS in an automatic payment processMessage no. FIPAY_GTS001Ru

  • Late 2007 MacBook Pro intermittent black screen

    I have this very odd issue with an intermittent black screen on a late 2007 MacBook Pro (4GB/320GB 7200rpm) Mac OS X 10.6.8 v1.1 Apologies for the length of the post. In cycles separated by a few days to a week, the screen will flicker to black, init

  • Number of connections unused in a weblogic pool ?

    Here is my question : Do you know a way to know the number of connections unused (or the number of connections in use) at a particular moment in a weblogic connection pool ? Thanks a lot ! And sorry for my poor english... Jerome.

  • How to analyze full database

    Hi all, Can we analyze full database, if yes How to analyze full database and what is the command for that Thanks & Regards Venu