How to default Particular G/L code in Particular Doc Type in PO

I want to default Particular G/L code for a Particular P.O Doc type with item category as "K" .
I do not want to Link G/L code to a Cost Center But want to default particular G/L code ithat particular Doc Type which is a po with Item Category as "K"
We do not want to attach any G/L code to any cost center.
The defaulted G/L code should not be cahnged by User thats the requirement.
Can someone help me out
Umesh Bagul

hi
in OKB9 give default Gl for the cost center
then make the gl field as display in PO field selection
but the doc type wise GL is not possible
try with  some user exit
regards
kunal
Edited by: Kunal Ingale on Jan 20, 2011 11:09 AM

Similar Messages

  • By default - in STO P.O with UB doc type

    Hi,
    Experts
    When am creating a purchase order with NB doc. type in ITEM level Delivery Tab is there,if i check stock type field it is showing as quality inspection stockas bu default, bcz my material is totally activated with quality management , its ok but in case of STO with UB document type with same material its showing as by default unrestricted stock , why? Manually i can change to quality stock but i want by default it should come as quality stock in my STO Purcase order.
    My query is - why in case of  UB doc stock type field is showing as unrestricted stock instead of
    quality inspection stock
    Note- Material is toatally activated with QUALITY MANAGEMENT with both of PLANT.
    Thanks
    Sunil
    09878996821

    Hi Sunil
    As you are doing STO and you are doing quality check also then first of all check in the NB document type details that by default quality check has to be triggered .Also maintain quality check at delivery level also as you are doing STO
    Check in UB document type wheather the first option is unrestricted use, 2nd option is unrestricted and quality check and 3rd one is quality check  has been maintained. And in UB document type that feild might have been kept blank that is the reason you can scroll down and see all options. So maintain in UB document type the option Unrestricted use and quality check.
    Regards
    Srinath

  • How to default business place & section code

    Hi guru
    How can we default the business place & section code in FI posting.This is require for TDS deductioin & e-filing of return
    Thanks
    Shivaji

    HI,
    Please write validation to update the BP/SC through manually entry.
    please refer the validtion note 607459
    please follow the config steps based on note 640231
    OBBH is substitution.
    Reg
    Madhu M

  • How do I by default save new documents in a particular folder?

    In OS10.3.9, how do I by default save new documents in a particular folder? I have created a new folder called new docs which I have put in the dock, and would like to save all new documents in that folder...
    Thanks,
    Michael

    ibisbill:
    I think you need to navigate to the Folder when you want to save. If you are saving documents created in Word, after a while Word may learn the location and go there.
    Incidentally, the folder in the Dock was created and resides elsewhere. That is where you will need to navigate to when you save.
    Good luck.
    cornelius

  • How do I set the zoom at a particular level as the default to ensure pages are not too small and that i don't have to change the zoom for each page? in English

    How do I set the zoom at a particular level as the default to ensure pages are not too small and that i don't have to change the zoom for each page? in English
    == This happened ==
    Every time Firefox opened
    == From the beginning

    Some add-ons:
    Default FullZoom: https://addons.mozilla.org/en-US/firefox/addon/6965 (I use this one)
    No Squint: http://urandom.ca/nosquint/
    Also:
    http://support.mozilla.com/en-US/kb/Page+Zoom
    http://support.mozilla.com/en-US/kb/Text+Zoom
    http://kb.mozillazine.org/Browser.zoom.siteSpecific

  • How to default Profit Centre For particular user

    Hi All,
    plz tell me how to default the profit centre for different-2 users.
    Thanks &  Regards.
    Manoj S

    If u defined profit centres,Add Costing code field using form settings for marketing documents.
    Apply formatted search using query(Develop 2 queries for users with reqd. plants)
    Below sample query assign our own plant codes.
    SELECT T0.OcrCode, T0.OcrName FROM OOCR T0 Where T0.OcrCode IN ('East','North','South')
    In journal entry,U need to enter plant manually / Use form settings Document tab --->Table Tab,
    Enter plant there,It will copy to all rows.

  • How to default Business Area

    How to default Business Area at line item entry to particular GL accounts
    Satish
    Points assured

    hi,
    for getting finer records u can have user exist programme which will give you finer reports as in other standard report u might face clearing account problem. but user exit can be defined at the miner level of details u required . this is generally used fr multilocation multi business area configuration to which u can also attach SECTION CODE and get those reports in same programme by assigning business place.
    user exit is more useful becuse u might be using same chart of account for all the business area and it is not convinient to have business area at entry level or assigned at company code level, instead by using user exit u can assign it to user at specific business area.
    Warm Regards

  • Default logic not running for a particular team

    Hello,
    I have a financial consolidation application in BPC 7.5 NW. We have a particular problem, whereby the default logic is not running for one team when they are uploading data. The error message is "Error running default logic. Error converting records. The root element is missing".
    Users in other teams are not affected by this and they are able to upload data successfully without any problems and are able to view converted records.
    Can someone please explain how this is possible in BPC?
    Also, our development consultant created 2 copies of the default logic in the Finance application. In the admin consol, one is called "Default.LGF" and the other one "DEF BU 9 Mar 2011.LGF". Can anyone kindly explain whether it is possible to have 2 copies of the default logic and if so, how does BPC decide which one to run.
    In both versions of the default logic, the following code is inserted for FX translation:
    // Query 6  - Perform currency translations - run currency translation stored procedure
    *XDIM_MEMBERSET CATEGORY=%CATEGORY_SET%
    *XDIM_MEMBERSET TIME=%TIME_SET%
    *XDIM_MEMBERSET ENTITY=%ENTITY_SET%
    *XDIM_MEMBERSET MEASURES=YTD
    *RUN_PROGRAM CURR_CONVERSION
          CATEGORY = %CATEGORY_SET% 
          CURRENCY = GBP
          TID_RA = %TIME_SET%
          RATEENTITY = GLOBAL
          OTHER = [ENTITY = %ENTITY_SET%]
    *ENDRUN_PROGRAM
    *COMMIT
    Thank you very much.
    Edited by: kashifmehmood on Jun 17, 2011 4:12 PM

    Hi
    1.Users in other teams are not affected by this and they are able to upload data successfully without any problems and are able to view converted records.
    One of the reason may be there are some secured dimensions involved like Entity, which is not assigned to the team. Refer to the HTG document below:
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/207995e8-deb8-2d10-3cb9-8ab146c95a09?quicklink=index&overridelayout=true
    2.Also, our development consultant created 2 copies of the default logic in the Finance application. In the admin consol, one is called "Default.LGF" and the other one "DEF BU 9 Mar 2011.LGF". Can anyone kindly explain whether it is possible to have 2 copies of the default logic and if so, how does BPC decide which one to run.
    In my opinion your consultant created "DEF BU 9 Mar 2011.LGF" and maintained the logic in that logic file. To run the logic by default, he has to call the earlier logic file in DEFAULT.LGF.
    *INCLUDE DEF BU 9 Mar 2011.LGF ( Nothing wrong in  keeping the entire logic, but it is not required)
    Logic file ""DEF BU 9 Mar 2011.LGF" can be called by DM packages.
    Thanks

  • How to highlight the whole row of a particular line item of sale

    How to highlight the whole row of a particular line item of sales order depending on condition?
    Please help its urgent..
    Looking forward your reply.
    Moderator message: please do more research before asking, show what you have done yourself when asking, do not flag posts as "urgent".
    [Rules of engagement|http://wiki.sdn.sap.com/wiki/display/HOME/RulesofEngagement]
    [Asking Good Questions in the Forums to get Good Answers|/people/rob.burbank/blog/2010/05/12/asking-good-questions-in-the-forums-to-get-good-answers]
    Edited by: Thomas Zloch on Aug 9, 2011 9:30 AM

    Any ideas on what would cause this NOT to work? I added this row right after the table is created and populated and it is still not highlighted when I enter the form. The snippet of code that does this is:
    MyTableModel modelS = (MyTableModel)dataModel.get("S");
    jTable1 = new JTable(modelS);
    jTable1.setRowSelectionInterval(0,0);MyTableModel is this:
    class MyTableModel extends DefaultTableModel {
      public MyTableModel(Object[] columnNames, int numRows) {
        super(columnNames, numRows);
      public boolean isCellEditable(int row, int column) {
        if (TableKey == 'S') {
          if (column == 6) {
            return false;
        if (TableKey == 'O') {
          if (column == 0 || column == 4 || column == 5) {
            return false;
        if (TableKey == 'P') {
          return false;
      return true;
    }Can anyone help? Thanks.
    Allyson

  • How to default date values in Selection Screen

    Hi everyone,
    I would like to display the 1st day of the previous month into the I_GSTRP-LOW field and the last day of the current month into the I_GSTRP-HIGH field.
    For example, this in the 5th month of the year (May), therefore, in the selection screen it should appear like this:
    Basic Date: <u>01.04.2006</u>    to   <u>31.05.2006</u>
    How do i do it?
    *& SELECTION-SCREEN                                                    *
    SELECTION-SCREEN BEGIN OF BLOCK 1 WITH FRAME TITLE TEXT-001.
    SELECT-OPTIONS:
      I_AUFNR FOR AFIH-AUFNR,                           "ORDER NUMBER
      I_GSTRP FOR AFKO-GSTRP,                           "BASIC DATE
      I_BUDAT FOR AUFM-BUDAT,                           "POSTING DATE
      I_IWERK FOR AFIH-IWERK DEFAULT '6010' OBLIGATORY, "PLANNING PLANT
      I_ARBPL FOR CRHD-ARBPL,                           "WORK CENTER
      I_ERNAM FOR AUFK-ERNAM,                           "CREATED BY
      I_MATNR FOR RESB-MATNR,                           "MATERIAL
      I_KTEXT FOR AUFK-KTEXT.                           "EQUIPMENT
    SELECTION-SCREEN END OF BLOCK 1.

    Here is the code to populate default values,as per your requirement.
    data : V_date type sy-datum,
           v_month(2) type c,
           v_low_value(8) type c,
           v_high_value(8) type c,
           v_month1(2) type n,
            V_NO_OF_DAYS type T009B-BUTAG,
           v_curr_month type T009B-BUMON,
           v_curr_year  type T009B-BDATJ.
           select-options : i_gstrp for sy-datum.
    initialization.      
    v_date = sy-datum.
    v_month1 = v_date+4(2) - 1.
    write v_month1 to v_month.
    concatenate v_date+0(4)
    v_month
    '01'
    into v_low_value.
    I_GSTRP-LOW = v_low_value.
    v_curr_month = sy-datum+4(2).
    v_curr_year  = sy-datum+0(4).
    CALL FUNCTION 'NUMBER_OF_DAYS_PER_MONTH_GET'
      EXPORTING
        par_month       = v_curr_month
        par_year        = v_curr_year
    IMPORTING
       PAR_DAYS        = V_NO_OF_DAYS
    concatenate sy-datum+0(6)
    V_NO_OF_DAYS
    into v_high_value.
    I_GSTRP-HIGH = v_high_value.
    I_GSTRP-sign = 'I'.
    I_GSTRP-OPTION = 'EQ'.
    APPEND I_GSTRP.
    regards
    srikanth

  • HT1414 How do you recover your security code when purchasing extra moves on games

    How do you recover your security code when purchasing extra moves on a game?

    Do you mean the passcode for Settings > General > Restrictions so that you can turn in-app purchases back 'on', or something else ?
    If the Restrictions code then was it on the iPad when you last backed up ? If not then you can restore to that backup and it should be removed. If it was on the iPad when you last backed up then the only way to remove it is to reset the iPad back to factory defaults and you can then re-sync your content back to the iPad - you won't be able to restore to the backup as that will keep the code in place.
    If you mean a different code ... ?

  • How to default value on bet01 based on ansal

    Dear Freinds
                i would like to know how to default the value for bet01 based on the
    calculated on ansal
    i want is
    q0008-bet01 = p0008-ansal /100.
    Can i default the value using the user exit ZXPADU01 or ZXPADU02. . As my ueser exit is not triggering  without me entering to bet01 .
    how can i do defaulting the value on bet01 ,
    regards
    shanti

    Dear  Chritisn
                 in my code i have done same thing what you have said as follows
    i have written the coding in ZXPADU02 as below
    data : wa_p0008 like p0008,
            i0008 like p0008,
           l_v_ANSAL type ANSAL_15,
           l_v_amount type PAD_AMT7S.
    CASE innnn-infty.
    when '0008'.
    MOVE-CORRESPONDING  innnn to wa_p0008.
    if wa_p0008-lga01 = 'MFPY'.
    l_v_ansal =  wa_p0008-ansal.
    l_v_amount = l_v_ansal / 100.
    if l_v_amount ne wa_p0008-bet01.
    move l_v_amount to wa_p0008-bet01.
    MOVE-CORRESPONDING wa_p0008  to innnn.------ at this point
    endif.
    when others.
    endcase.
    I have used move corresponding because i am getting the error as the strucutr eof INNNN to that WA_P0008 is different (unicode compatability error) ...
    now i can see the data in wa_p0008 and when i have move into innnn ..... i can see all the data in debuggin except  the bet01 value as below
    in wa_p0008 the data in debugin is as follows
    PERNR     N     8      00000004
    INFTY     C     4      0008
    SUBTY     C     4      0
    OBJPS     C     2                                                                               
    SPRPS     C     1                                                                               
    ENDDA     D     8      99991231
    BEGDA     D     8      20070716
    SEQNR     N     3      000
    AEDTM     D     8      00000000
    UNAME     C     12                                                                               
    HISTO     C     1                                                                               
    ITXEX     C     1                                                                               
    REFEX     C     1                                                                               
    ORDEX     C     1                                                                               
    ITBLD     C     2
    PREAS     C     2                                                                               
    FLAG1     C     1                                                                               
    FLAG2     C     1                                                                               
    FLAG3     C     1                                                                               
    FLAG4     C     1                                                                               
    RESE1     C     2                                                                               
    RESE2     C     2                                                                               
    GRPVL     C     4                                                                               
    TRFAR     C     2      01
    TRFGB     C     2      01
    TRFGR     C     8      E1
    TRFST     C     2      08
    STVOR     D     8      00000000
    ORZST     C     2                                                                               
    PARTN     C     2                                                                                WAERS     C     5      HKD
    VGLTA     C     2                                                                               
    VGLGB     C     2                                                                               
    VGLGR     C     8                                                                               
    VGLST     C     2                                                                               
    VGLSV     D     8      00000000
    BSGRD     P     3      100.00
    DIVGV     P     3      165.00
    ANSAL     P     8           1000.00  -
    value  entered on the screen
    FALGK     C     10                                                                               
    FALGR     C     6                                                                               
    LGA01     C     4      MFPY
    BET01     P     7              10.00  ---after calculation the value(1000/10)
    ANZ01     P     4          0.00
    EIN01     C     3                                                                               
    innn structure in debuggin  as follows:
    PERNR     N     8      00000004
    INFTY     C     4      0008
    SUBTY     C     4      0
    OBJPS     C     2                                                                               
    SPRPS     C     1                                                                               
    ENDDA     D     8      99991231
    BEGDA     D     8      20070716
    SEQNR     N     3      000
    AEDTM     D     8      00000000
    UNAME     C     12                                                                               
    HISTO     C     1                                                                               
    ITXEX     C     1                                                                               
    REFEX     C     1                                                                               
    ORDEX     C     1
    PREAS     C     2                                                                               
    FLAG1     C     1                                                                               
    FLAG2     C     1                                                                               
    FLAG3     C     1                                                                               
    FLAG4     C     1                                                                               
    RESE1     C     2                                                                               
    RESE2     C     2                                                                               
    GRPVL     C     4                                                                               
    DATA1     C     250     0101E1      0800000000    HKD                00000000#&#5644;&#3152;###&#3072;                MFPY######        ######        ######        ######
    DATA2     C     250
    we can see in the debuggin for the DATA1 it is having the MFPY value  but i dont find the value for bet01 ..........
    and iam not getting the value on the screen in PA30 for the bet01.
    please let me know what i have to do , and let me know where i went  wrong.
    regards
    shanti

  • How to deliver goods without stock in that particular plant and storage loc

    hi,
    sap gurus,
    how to deliver goods with out stock in particular plant andstorage location.
    or
    how to configure negative stocks.
    regards,
    balajit

    Ideally not recommended.
    Still if you wish to go for it, follow the steps indicated below
    1)  Go to OMJ1 and select the box against the respective plant
    2)  Also go to TCode OMSY, Tick the box "ABp" (Allow Back Posting) for your Company Code, so that you can control postings in the closed period.
    3)  And finally, go to material master and select Plant data/ Storage2 view, tick the box "Neg. stocks in Plant".
    thanks
    G. Lakshmipathi

  • Default XML element - Sample Code

    Hi,
    I am trying to use the sample code for the article "How to default an XML element in an XML document before inserting it into database".
    I am using database 9.2.0.3 and when I try to insert the record into the table, only up to "<Action>" part is inserted into the table and the rest of the XML document is truncated. I've tried inserting the record by disabling the trigger too - but it didn't help.
    Can someone please let me know what could be the problem? Thanks in advance.
    Regards,
    Jatinder

    Hi,
    Could you please tell me you have the queried the inserted record?
    I presume this happens when you issue the query from SQL*Plus to view the inserted record. Let me know if it is otherwise.
    Going by the same example used in the article, just do the following before you issue the query.
    -- you need to set the LONG environment variable to view the full contents in SQL*Plus.
    SQL> set long 20000
    SQL>SELECT VALUE(t) FROM purchaseorder t;
    Hope that helps.
    Savitha.

  • How to default "release date" as today in ME59N

    Hi Experts,
    Could you please advise how to default "release date" as today in ME59N ?

    Hi,
    Transaction code ME59N used for Automatic creation of Purchase orders from requistions
    This selection screen input set default value as Release date only possible by saved as Variant (Shift +F5) -
    Input the selection screen fields
    ex, Purchasing group, purchasing organisation, vendor , Plant,material, release date etc and then saved this selection screen as TEST variant,
    Next, time when you run this t.code ME59N choose this variant and then convert as PO.
    There is no other possible to set default as release date in selection screen input via ME59N
    Kind Regards,
    Thiru

Maybe you are looking for

  • How can i do Automatic trigger a attachment from my report  to SAP inbox

    Hi, The requirement is like this, my Report output details should create an Attachment and it automatically should be trigger in my workflow MailBox from my Report

  • New iPod touch 4 won't work or restore after update

    I got an iPod touch 4 in January. (I am using an H-P desktop, 3.0Ghz, 2.5 GB RAM, 250 GB HD, mostly empty, with Win XP home.) The first time there was an iOS software update available, it didn't work after the update and would not restore. After many

  • Mailbox viewing size and configuration has changed.

    Incoming Mailbox view has always appeared as nearly full screen, but recently as a reduced-size rectangle showing only four rows of new message titles above the contents of first message. I can enlarge total view size by dragging corner and re-center

  • Designing view

    I need documentation related to designing ui elements as per requirement. Please reply

  • Someone using TDameritrade Command Center on OS X Tiger?

    I'm not sure I can ask this question this board. But I tried to solve the problem with TD tech support but that seems new problem to them so far. And I'm wondering if someone here is using TD service. The problem is as follows. After upgrading their