Validation for GL Account Long Text

Dear All,
Is it possible to maintain validation for GL Account long text.
Basically my requirement is to avoid duplication of GL accounts with same long text.
Best regards,
Inoka.

Hi,
I think you are talking about GL account name long text should not be reapeted when  you are creating one more GL account.
If it is the case, It can be possible through programming. please explain the requirement to your Abaper.
Before writing program, try to create & test the validation with any expert from your side, it may be possible with some conditions (< >, =) in Validation.
Regards
Kanna

Similar Messages

  • G/L Account Long Text Field in Display

    Dear Sir,
    I want G/L Account long text field be displayed along with G/L account number in G/L Account line item display report (FBL3N)
    I cheched the layout, the option of G/L account number is available but option of G/L account Long text is not available.
    Kindly guide me as to how can I do it?
    Regards
    Chirag Shah

    You must do some development for it.
    You can add additional field to FBL*N reports with using BTE exit.
    First of all, if you don't use BTE before, you must create a product on FIBF.
    Call FIBF transaction -> Settings -> Products -> ...of a customer
    Create a new line,
    Product: ZFI
    Text: BTE Products for FI Exit
    Product active: tick checks from activation.
    Then you must call SE11 for structure RFPOS.
    You must use append structure function for this structure and you can define ZFI_RFPOS append structure
    Define 4 fields.
    Component: KUNNR - Component type: KUNNR
    Component: NAMED - Component type: NAME1
    Component: LIFNR - Component type: LINFR
    Component: NAMEK - Component type: NAME1
    Then save and active your RFPOS structure.
    After that, you must do same step for structure RFPOSX.
    Then go to SE37 and copy from SAMPLE_INTERFACE_00001650 to ZFI_INTERFACE_00001650 FM.
    After copy action, you must uncomment this line on ZFI_INTERFACE_00001650 FM's source code. It's very important;
    E_POSTAB = I_POSTAB.
    Then you should add some ABAP code for getting customer & vendor details.
    I give you some examples, you can use it. (Next message on this thread, please check)
    Then save and active FM.
    Call FIBF transaction again.
    FIBF -> Settings -> Process Modules -> ...of a customer
    Define a new line.
    Process: 00001650
    Function Module: ZFI_INTERFACE_00001650
    Product: ZFI
    and this customizing.
    Then you go to SE38 transaction.
    start report RFPOSXEXTEND. After starting, a pop-up appears, you must click YES.
    After those operations, you can see customer/vendor code and their names on FBL3N.
    ABAP source example,
    TABLES : bseg, kna1, lfa1.
    IF sy-tcode = 'FBL3N'.
      CLEAR: bseg.
      SELECT SINGLE *
      FROM bseg
      WHERE bukrs = i_postab-bukrs
           AND belnr = i_postab-belnr
           AND gjahr = i_postab-gjahr
           AND koart = 'K'.
      IF sy-subrc EQ 0.
        e_postab-lifnr = bseg-lifnr.
        CLEAR: lfa1.
        SELECT SINGLE *
        FROM lfa1
        WHERE lifnr = bseg-lifnr.
        IF sy-subrc EQ 0.
          e_postab-namek = lfa1-name1.
        ENDIF.
      ENDIF.
      CLEAR : bseg.
      SELECT SINGLE *
      FROM bseg
      WHERE bukrs = i_postab-bukrs
           AND belnr = i_postab-belnr
           AND gjahr = i_postab-gjahr
           AND koart = 'D'.
      IF sy-subrc EQ 0.
        e_postab-kunnr = bseg-kunnr.
        CLEAR: kna1.
        SELECT SINGLE *
        FROM kna1
        WHERE kunnr = bseg-kunnr.
        IF sy-subrc EQ 0.
          e_postab-named = kna1-name1.
        ENDIF.
      ENDIF.
    ENDIF.

  • Template for O12* WBS long text

    Is it possible to create a template for O12* WBS  long text. I think SAPscripts can be used. If it can be used can anyone suggest me as how to go about doing it .
    Thanks
    Edited by: Alvaro Tejada Galindo on May 23, 2008 5:33 PM

    Hello,
    the way to find it out is that you set a breakpoint into the function module READ_TEXT ( via SE37) and then process a PSP-Element with a long text via CJ12 or CJ13.
    The transaction will stop at the breakpoint, an you get the text-id/text-name/ text-object from the input parameters on the function module.
    If i try, it says ID = 'LTXT', name = 'E'<PRPS-PSPNR>, object = 'PMS', but for a WBS text there may be other parameters.
    If you need the logic in an own programm, you could use the function READ_TEXT instead of selecting texts via STXH/STXL.
    Regards Wolfgang

  • SAVE TEXT not updating the database for Recipe Operation Long Texts

    Hi,
    We are trying to update the Recipe Operation long text using the FM SAVE_TEXT.
    The FM is not throwing any error, but the changes are not reflecting in the database.
    Text ID: PLPO
    Text Object: ROUTING
    Language: EN
    Text Name: Concatenated string of ARBPL,PLNNR,OPRATIONCOUNTER
    If someone faced similar scenarios, please share your inputs.
    Thanks in advance,
    Anand

    After some more R & D, i got to know that the Long Text indicator should be enabled to get the changes reflected in the C203 recipe operation details.
    In C202, if you pass two text lines for Operation long text, this Long text indicator is automatically enabled and its a non editable field.
    Can some one provide inputs how to enable this through program?
    Regards,
    Anand

  • Activating Subscript For Inspection characteristic Long Text in T-code QE11

    Hello All
    I have maintained the inspection characteristic long text in QP01 as " H2O" where 2 is in Subscript.
    No when I see the inspection characteristic long text in T-Code (QE11, QE12 & QE13) it appear as (H2O) & here "2" is not shown in the subscript.
    So please tell how can we activate subscript for T-Codes (QE11,QE12 & QE13) so that it is displayed correctly.
    Regards
    Rahul Bhardwaj

    Hello All
    can anyone please help me out on this.  I am there must be a solution for the same.

  • G/L account Long Text required entry

    Good day all
    Can some one please tell me if it's possible to make the field Long Text a required entry when creating/maintaining a G/L master record.
    Thank you.
    Louise

    Dear Louise,
    Yes, it is possible. You can use transaction variant.
    http://help.sap.com/saphelp_webas620/helpdata/en/eb/5fab41d79b11d296190000e82de14a/content.htm
    In the SAP Reference IMG, you can create transaction variants. Choose Basis Components -> Application Personalization -> Tailoring of Application Transactions -> Configure Transaction-Related Display Values for Fields (Transaction SHD0). Transaction variants allow you to preset values for fields in a transaction, set field attributes, or hide entire screens.
    To execute a transaction variant, you define a variant transaction using the Transaction Maintenance transaction (SE93).
    Once you have entered a transaction code and short description, choose transaction type Transaction with variant (Variant transaction).
    To define a variant, enter the name of the transaction and the name of the variant. You can then use the new transaction code to start the special variant of the transaction.
    Regards,
    Naveen.

  • Validation for Expense Accounting Entry

    I need an up-front validation to allow only certain internal orders to be valid for the expense entries.
    However I do not see anyplace in the configuration for defining such a validation.
    Any direction regarding this is greatly appreciated

    Hi
    use transaction GBB0
    and
    select the Financial Accounting tab
    select the line item
    click on the Create Validation button
    then create the steps
    in the prerequisite enter the required fi transactions
    check for that internal order field value
    create  a set with the allowed internal orders
    through error message if the value is not matching with the internal order in the set.

  • Short coming in BAPI for saving Document Long Text

    Hello Experts,
    I would be thankful to you if anyone of you offer a solution to the problem below.
    I have found that the tables parameter LONGTEXTS of function BAPI_DOCUMENT_CHANGE/CHANGE2/CREATE/CREATE2 (structure BAPI_DOC_TEXT) could include the field TDFORMAT so that the user can specify how the next line should be interpreted by the editor.  This would be in accordance with the tables parameter LINES of function SAVE_TEXT which is used to save long text.  Currently only the text line is catered for in the BAPI and the TDFORMAT is therefore defaulted to u2018*u2019 in the SAVE_TEXT function which causes each line in the table to be treated as a new line. 
    What if the user wanted the lines to be treated as continuous text?
    With Best Regards,
    Mientjie Ferrie

    Hi,
       1. From se37, check for function group STXD
    2. There will be many Fm.
    3. The commonly used are
    READ_TEXT
    EDIT_TEXT
    SAVE_TEXT
    Regards

  • Validation for GL Account & Cost Center combination

    hi. i want to prevent gl postings to combination of gl account 123 and cost center abc.  the validation created via ggb0 under financial accounting, line items looks like this:
    PreReq:    BSEG-KOSTL = 'abc'
    Check:      BSEG-HKONT = '123'
    Message:  "Invalid Acct/Cost Ctr combo"
    but when i do f-02 for gl 123 cost center abc, the warning message doesnt appear.
    any insight is much appreciated!

    Hello,
      I did the same in our org. change the condition of check into prerequiste and prerequisite into check then it will work and in OB28 activate the same for your company code.
    Regards,
    sankar

  • What is the best process for adding a long text scroll into a video?

    I have an hour video and need to insert a narrated poem that will either scroll or have lines fade in / out. What is the best process to create that poem? Do I use Motion? Live Type? compose it directly in FCP? I'll have either a still image or a looping video for the background. Once I know the best starting point, then I'll refine my questions. The poem is about 4 minutes narrated. Appreciate any help to get me started.

    In the effects window try "Scrolling Text". Set it to be the length you need it (duration) and paste in your text and render and see how you like it. I think scrolling text has a nice little fade at the top and bottom too.
    Or, you can make the text an image in something like Photoshop and keyframe it to slowly move in FCP for the duration of the video.

  • Validation for GL account

    Hi all,
    i am doing valodations for GL accouont. my requirement is to if the user enters the any GL account other then the range  0000100000 to  0000299999, it should through a Error message saying that Enter GL account in the range range  0000100000 to  0000299999.
    i tried with the below code, but still not able to get the requirement.
    SELECT-OPTIONS:  s_saknr   FOR skat-saknr .
    AT SELECTION-SCREEN.
    if not o_saknr-low is NOT INITIAL.
    SELECT SINGLE * FROM skat WHERE saknr = o_saknr-low and
            saknr in between '0000100000' and  '0000299999'.
        IF sy-subrc NE 0.
          MESSAGE e001(00) WITH 'GL account in the range range  0000100000 to  0000299999'.
        ENDIF.
    ENDIF.
    thanks
    Nirmala
    if not o_saknr-high is NOT INITIAL.
    SELECT SINGLE * FROM skat WHERE saknr = o_saknr-low and
            saknr in between '0000100000' and  '0000299999'.
        IF sy-subrc NE 0.
          MESSAGE e001(00) WITH 'GL account in the range range  0000100000 to  0000299999'.
        ENDIF.
    ENDIF.

    Hi,
    Try this:
    1) First loop at the select option and fill the data into a range.
    2) Validate the values in range:
    if r_range NOT between (0000100000' , '0000299999').
    error message----
    endif.
    OR
    if not o_saknr-low LT 0000100000'  OR o_saknr-high GT '0000299999'.
    error message---
    endif.
    Regards
    Shiva

  • Long text for a gl account

    Is there a way to default only long text when you any of the financial posting transactions

    Hi,
    In document display FB03 in ALV layout we can display GL Account long text. I am not able to bring in Long text in Screen Variant for T.Code Fb50.
    Thanks
    Murali.

  • How to fill Long Text in Accounting document in the item level.

    Hi,
    I need to fill Long Text field in item level of accounting document from the header texts from Billing header(say billing instructions)
    I checked the user exit EXIT_SAPLV60B_008 but it didnt worked in my case. I have read the billing instructions in the Billing header using FM READ_TEXT but I am not able to save this text  using FM SAVE_TEXT because  for the field Long Text  the parameter TDNAME is a concatenation of BUKRS(COmpany code) BELNR(Accounting doc. no.)  GHAJR(fiscal year)  BUZEI(line item) .
    But I am not able to capture this accounting doc. number in the mentioned user exit instead I am getting Sales Invoice number and hence not able to give TDNAME parameter for FM save_text.

    Hi Amit,
    In application area FINANCIAL ACCOUNTING , go for node LINE ITEM. Here create a step & maintain the prerequisite as per your requirement & in the check you can mention the code or you can direct it to a custom program like ZFI_RGGBR000.
    Here while maintaining the check you will get structures BKPF & BSEG in which you will get the desired field you are looking for.
    Just try to explore in your system how the other validations are maintained.
    After you are done with all your code, you have to run the regeneration program RGUGBR00.
    Here utmost care should be taken while running regeneration program, you should select all the checkboxes in the selection screen except  GENERATE SETS, GEN SUBSTN ROUTNS IN ALL CLNTS  & TRACE PROG. GENERATE CALLS .
    Hope this make your doubt clear.
    Regards
    Abhii

  • How to add long text in bdc for transaction fb01 ?

    IN the existing program of bdc fb01
    i have to add a long text field
    but it gets stuck while i process in sm35
    is there a fm to add the field directly
    thanks in a advance

    Hi
    You can upload the Long texts separately into the transaction using the CREATE_TEXT fun module
    Need to pass the correct parameters like OBJECT,ID, OBJECTNAME and LANGuage with the proper declarations.
    see the sample code and do accordingly
    REPORT zmm_longtext_sm
           NO STANDARD PAGE HEADING
           LINE-SIZE 255.
    Description :   This Program is used to Upload the Service Master
                 :   Long Texts using the Fun Module CREATE_TEXT
    Internal Table for Upload of Long Texts Data
    DATA: BEGIN OF itab OCCURS 0,
            asnum like asmd-asnum,    " Service No
            text  LIKE tline-tdline,  " Long Text
          END OF itab.
    To create Long Text lines for CREATE_TEXT function module
    DATA:BEGIN OF dt_lines OCCURS 0.
            INCLUDE STRUCTURE tline.   " Long Text
    DATA:END OF dt_lines.
    Variable declarations for CREATE_TEXT function module
    DATA : dl_name TYPE thead-tdname,   " Object Name
           dl_lan TYPE thead-tdspras.   " Language
    Constants
    CONSTANTS:
    Object ID for Long Text of Service Master
      c_best     TYPE thead-tdid VALUE 'LTXT',
      c_material TYPE thead-tdobject VALUE 'ASMD'. " Object
    Parameters
    PARAMETERS p_file LIKE rlgrap-filename.
    At selection-screen on Value Request for file Name
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_file.
    Get the F4 Values for the File
      CALL FUNCTION 'F4_FILENAME'
        EXPORTING
          program_name  = syst-cprog
          dynpro_number = syst-dynnr
        IMPORTING
          file_name     = p_file.
    Start Of Selection
    START-OF-SELECTION.
    *To Upload Flat file
      CALL FUNCTION 'UPLOAD'
        EXPORTING
          filename                = p_file
          filetype                = 'DAT'
        TABLES
          data_tab                = itab
        EXCEPTIONS
          conversion_error        = 1
          invalid_table_width     = 2
          invalid_type            = 3
          no_batch                = 4
          unknown_error           = 5
          gui_refuse_filetransfer = 6
          OTHERS                  = 7.
    Upload the Texts
      SORT itab BY asnum.
      LOOP AT itab.
        dt_lines-tdformat = 'ST'.
        dt_lines-tdline = itab-text.
        APPEND dt_lines.
        dl_lan = sy-langu.
        concatenate '00000000000' itab-asnum into dl_name.
    Call the Function Module to Create Text
        CALL FUNCTION 'CREATE_TEXT'
          EXPORTING
            fid         = c_best
            flanguage   = dl_lan
            fname       = dl_name
            fobject     = c_material
            save_direct = 'X'
            fformat     = '*'
          TABLES
            flines      = dt_lines
          EXCEPTIONS
            no_init     = 1
            no_save     = 2
            OTHERS      = 3.
        IF sy-subrc <> 0.
          WRITE:/ 'Long Text Creation failed for Service No'(001),
                 itab-asnum.
        ELSE.
          WRITE:/ 'Long Text Created Successfully for Service No'(002),
                 itab-asnum.
        ENDIF.
        AT END OF asnum.
          REFRESH dt_lines.
        ENDAT.
      ENDLOOP.
    <b>Reward points for useful Answers</b>
    Regards
    Anji

  • User Exits for Purchase order Header Text Validation

    Hi Experts,
    I need user exit for validate a  Long text in Purchase order header data for a Particular Doc type.
    We are using 4.6 B so badi is not available .
    So pls tell me user exit for the same or any other method as i was unable to find user exit for this scenario.
    Note :  This valiadation should trigger whhile creating  PO.
    Warm Regards
    Santosh Kumar
    Edited by: Santosh L on Mar 19, 2010 9:58 AM

    i have used concept of global memory through call stack

Maybe you are looking for

  • SCOM agent install fails Error 80070035 - the network path was not found

    I have deployed SCOM 2012 agents to most servers (2008, 2008 R2, 2012, 2012R2) in our estate but some either fail to install or are not monitored. I assume the two problems are related, but for now I am concentrating on the servers that fail complete

  • ADF UIX: Get value in LOV messageList.

    I have a messageList that bind to a vo but when I call getTxtCodeCat method from the Struts form bean in Action Class, it does always return me a list index (0,1,2...). <struts:messageList model="${data.protecteddoc_GN_GnCodeSetupUIModel.CodeDescript

  • Using expressions in jsf tags

    I have a problem with using expressions in jsf tags! I know this topic was discussed before but it doesn`t work. I want to use the following jsf-code: <h:panel_data id="tab" var="vari" modelReference="Bean.varis"> <h:output_text id="Id" modelReferenc

  • Include new version of intel hd 4600

    Hi HP TEAM, Ok i hope i will get the support that im looking for ,  My baby : HP ENVY 17-j110ea Leap Motion SE Notebook PC  BTW i have researched the forum, found similar problems but not the one that im looking for so i got tired bcz i paid a lot of

  • Directory Existence Check on Application Server

    Is there any function module to check whether a given directory exists on Application Server or not.