Extend ABC Code clasification to include code = "D" MRP1 field -  tx MM01

Hi All
I need to extend ABC Code clasification to include code = "D"  in MRP1 - ABC Indicator field in TX MM01, can someboby tell me how pls!!
thks in advance

you cannot have a D for this field.
See transaction MC40 which is used to calculate and update this field.  There is nothing to add a D in the analysis strategy section. So you would need to re-write this transaction as well if you want a D.
Instead use the CC - Abc indicator field in storage location view. Here you can have a D.

Similar Messages

  • Variable code in ZXRSRU01 Include

    Hi,
    I created the following code in ZXRSRU01 Include for a custom variable 'YFBV_027':
    WHEN 'YFBV_027'.
    CASE i_step.
      WHEN '2'.
          concatenate sy-datum(6) '01' into datum.
          datum(4) = datum(4) + 1.
          l_s_range-low = datum.
          l_s_range-sign = 'I'.
          l_s_range-opt  = 'EQ'.
          APPEND l_s_range TO e_t_range.
          CLEAR l_s_range.
    endcase.
    The question is: Why I cannot introduce <b>l_s_range-opt  = 'LT'</b>, but only 'EQ'?
    The error message is:
    00010004    AError for variable  in customer enhancement YFBV_027    
    Thanks for your help.

    Hi Claudia,
    Is your variable single entry?

  • Extend chart of account to company code

    Hi Experts,
    I have created a chart of account. I want to extend all accounts  to particular company code, as mare assignment of chart of account to comapny code (OBY6) does not allow to use these accounts for this particular company code.
    Please guide me how can i do that.
    Best Regards

    I think you can't just extend accounts from CoA to a company code. Because CoA and Company code sections of a GL account is always different.  And there are certain fields at Co code levels like Field Staus Group which is a required entry and this doen't exist in the CoA segment at all, then how can you extend CoA to a Co Code directly?
    Standard practice is to
    -create a chart of accounts by copying a SAP standard CoA (e.g CAUS for US) t-code OBY7
    - Extend this CoA to a specific company code by copying from a SAP sample Company Code (E.g. Co Code 0001 which uses the CoA CAUS) t-code- OBY2
    - Do mass update for the Chart of accounts to have the description and other changes (T-code OB_GLACC11)
    -Do mass update for the Chart of accounts (Company Code data) if required (T-code OB_GLACC12)
    - Then copy the GL accounts from one Company code to Mutiple company codes (FS15)
    Since you have already created the CoA accounts, you can possibly create all GL accounts manually in a specific company code (T-code FSS0) and then copy to other Company codes (T-code FS15)
    Or You can use LSMW to create the GL accounts in one company code and then copy to other Company codes (T-code FS15)
    Thanks
    Ron

  • How to Debug code written in Include RMCSUZ10?

    In our Sales extractor 2LIS_11_VAITM we need to get information from custom Partner Functions whichwere added by the R/3 team.
    To do this we have used the SAP provided include:RMCSUZ10
    I have changed the Structure: MCPARTNER to include new fields PKUYZ, PKUYX, PNA1YZ.
    The Code in the include is as follows:
    WHEN 'YZ' .                               
        MOVE UPE_VBPA-ADRNR TO UPE_PARTNER-PKUYZ.
        MOVE UPE_VBPA-NAME1 TO UPE_PARTNER-PNA1YZ.
        WHEN 'YX' .                               
        MOVE UPE_VBPA-ADRNR TO UPE_PARTNER-PKUYX.
        MOVE UPE_VBPA-NAME1 TO UPE_PARTNER-PNA1YZ.
    These additional fields are available in the LO Pool now and I have pulled them into the extractor.
    Strangely though, this code only works in the Delta extraction mode. If we do a setup in R3 and pull the data, the fields remain blank. Does anyone have a similar experience with using this exit?
    Also I am able to debug this code only while doing setup in R3.
    Is there any other way to debug this code and how can we make it work in Full mode too?
    Thanks in advance.
    AG

    Hi AG.
    Regarding the debugging, you could do it the hard and dirty way and write an endless loop at the beginning of your logic and then enter debug mode from the process monitor (in development only of course and remember to delete it again!).
    Regards
    Jacob
    Edited by: Jacob Jansen on Dec 29, 2011 10:26 PM

  • Extended WHT tax type and tax code

    Hi,
    In extended WHT, why can have the same tax type with several tax code? I know that they are having different tax deducted percentage but I still do not sure why need to have tax code assigned to tax type.
    Can anyone give advice?
    thanks alot

    hi,
    i know that tax type are for either at the time of invoice or payment but you still not gave advice of why need to have tax code.
    i know tax code is to use to determine percentage but what is the relationship between them.
    thanks

  • Extending a customer into another company code and division

    Hello Gurus,
    I have created the following SP:
    301000008
    into this sales area:
    ZV - Sales Organisation
    99 - Distribution Channel
    ZA - Retail.
    I have copied this customer from an existing one.
    Now I want to keep the same information about the customer but change the above into:
    C-Code TCPS
    ZV - Sales Organisation
    99 - Distribution Channel
    ZB - Whole sale
    I can I do that?
    Thanks
    Chris

    Hi,
    You can extend a customer using the T.code xd01.On the first half of the screen give the details of the company code,sales org,dist.channel and division u wish to extend the customer and the below give the details from which you wanted extend the customer from.
    Regards,
    Ramesh.

  • Skype Number area codes do not include mine?

    I need a skype number but area codes do not include mine??? wot do i do?
    This post was transferred from its previous location to create its own new topic here; its subject and/or title has been edited to differentiate the post from other inquiries and to reflect the post's content. A link to this post appears where the post was originally added.

    Hi, Grapat, and welcome to the Community,
    Unfortunately, Skype Numbers are not available for all exchanges, area codes, or even all states in the USA and all countries.  We need to choose a Skype Number based upon what is listed at the time we are searching, or check back regularly to see if a particular exchange has been added to the list.
    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!

  • Program to download the code(Including code in INCLUDES) into PC file

    hi Experts,
    Is there any SAP program which downloads the code including Code in INCLUDES and text elements associated with that program???
    Thanks & Regards.,
    Chandra

    Hello,
    See this: [SAPLink|https://wiki.sdn.sap.com/wiki/x/sgc].
    With SAPLink you can download the following type of objects.
    ABAP Web Dynpro (requires SAPlink >= 0.1.3)
    BI Infocube
    BI ODS
    BSP
    BSP Extensions
    DDic - Data dictionary objects
    Documentation - SE61
    Interfaces
    Function Groups
    Message Class
    PDF Forms
    Report Variants
    Smartforms
    Transactions
    XSLT
    Regards.

  • Examples of code ritten in includes in user exits

    Can anyone send some examples on code written in includes of user exits.
                                       Thanks in advance

                   U S E R   E X I T   F O R   P A 0 0 0 8               *
    IF innnn-infty = '0008' AND
    ( ipsyst-ioper = 'INS' OR
       ipsyst-ioper = 'COP' ).
                 G L O B A L   D E C L A R A T I O N S                   *
      DATA:
          g_lga         TYPE lgart,      " Wagetype
          g_count(2)    TYPE n,
          g_cnt_blank(2) TYPE n,          " Record position for hrly WT
          g_cnt_hrly(2) TYPE n,          " Record position for hrly WT
          g_cnt_inc(2)  TYPE n,          " Record position for inc WT
          g_cnt_lng(2)  TYPE n,          " Record position for lng WT
          g_cnt_ret(2)  TYPE n,          " Record position for ret WT
          g_wtype(11)   TYPE c,          " Wage type
          g_wrate(11)   TYPE c,          " Wage rate
          g_ht510_rate  TYPE betrg,      " Default rate for WT0011 from T510
          g_maxrate_inc TYPE betrg,      " Maximum Incumbency Rate
          g_maxrate_lng TYPE betrg,      " Maximum Longevity Rate
          g_maxrate_ret TYPE betrg.      " Maximum Retention Rate
                      D A T A   D E C L A R A T I O N                    *
      DATA:
          it_9006       TYPE TABLE OF pa9006,
          st_9006       TYPE pa9006,
          i0008         TYPE p0008,
          st_grdcode    TYPE zthhr_grdcode.
                      F I E L D    S Y M B O L S                         *
      FIELD-SYMBOLS: <fs_wtype> TYPE ANY, " Used for Wage Type
                     <fs_wrate> TYPE ANY. " Used for Amount
                      C O N S T A N T S                                  *
      CONSTANTS:
        c_molga_10   type molga value '10',    " Country grp for US
        c_hlgar_0011 TYPE lgart VALUE '0011',  " Hourly Wage Type
        c_ilgar_0012 TYPE lgart VALUE '0012',  " Incumbent Wage Type
        c_llgar_0147 TYPE lgart VALUE '0147',  " Longevity Wage Type
        c_rlgar_01e0 TYPE lgart VALUE '01E0',  " Retention Wage Type
        c_subty_inc  TYPE subty VALUE '1',     " Subtype for Incumbency
        c_subty_lng  TYPE subty VALUE '4',     " Subtype for Longevity
        c_subty_ret  TYPE subty VALUE '5'.     " Subtype for Retention
                      P R O C E S S I N G                                *
    Typecast PRELP to PNNNN structure
      CALL METHOD cl_hr_pnnnn_type_cast=>prelp_to_pnnnn
        EXPORTING
          prelp = innnn
        IMPORTING
          pnnnn = i0008.
    Refresh & Clear Process variables.
      CLEAR:  g_lga, g_count, g_cnt_blank, g_cnt_hrly, g_cnt_inc,
              g_cnt_lng, g_cnt_ret, g_wtype, g_wrate, g_maxrate_inc,
              g_maxrate_lng, g_maxrate_ret.
    Populate all unexpired & applicable records of IT9006 of subtype:
    Incumbency, Longevity and Retention
      REFRESH: it_9006.
      SELECT * FROM pa9006 INTO TABLE it_9006
              WHERE pernr EQ i0008-pernr
                AND begda LE i0008-begda
                AND endda GE i0008-begda
                AND ( subty EQ c_subty_inc
                OR    subty EQ c_subty_lng
                OR    subty EQ c_subty_ret )
                AND zapplflg EQ 'X'.
    Sort IT9006 Table descending based on Amount
      SORT it_9006 BY zwage zaddamt DESCENDING.
    Check for validity of Pay Scale Group & Level
      SELECT * FROM zthhr_grdcode UP TO 1 ROWS
                      INTO st_grdcode
                     WHERE trfgr = i0008-trfgr
                       AND trfst = i0008-trfst.
      ENDSELECT.
      IF sy-subrc EQ 0.
      If valid, read the Maximum Incumbency Rate
        READ TABLE it_9006 INTO st_9006
                           WITH KEY zwage = c_ilgar_0012
                                    zgrdcode = st_grdcode-grdcode
                           TRANSPORTING zaddamt.
        IF sy-subrc EQ 0.
          g_maxrate_inc = st_9006-zaddamt.
        ENDIF.
      ENDIF.
    Get Max Longevity rate
      READ TABLE it_9006 INTO st_9006 WITH KEY zwage = c_llgar_0147
                         TRANSPORTING zaddamt. " to g_maxrate_inc.
      IF sy-subrc EQ 0.
        g_maxrate_lng = st_9006-zaddamt.
      ENDIF.
    Get Max Retention rate
      READ TABLE it_9006 INTO st_9006 WITH KEY zwage = c_rlgar_01e0
                         TRANSPORTING zaddamt. " to g_maxrate_inc.
      IF sy-subrc EQ 0.
        g_maxrate_ret = st_9006-zaddamt.
      ENDIF.
      CLEAR : g_count, g_cnt_blank, g_cnt_hrly, g_cnt_inc,
              g_cnt_lng, g_cnt_ret.
    Check Infotype 0008 Wagetype entries
      DO 40 TIMES
          VARYING g_lga FROM i0008-lga01 NEXT i0008-lga02.
        g_count = g_count + 1.
        IF NOT g_lga IS INITIAL.      " Fill max no of field filled
          g_cnt_blank = g_count.
        ENDIF.
        IF g_lga = c_hlgar_0011.      " Get Rec Pos for Hrly WT
          g_cnt_hrly = g_count.
        ELSEIF g_lga = c_ilgar_0012.  " Get Rec Pos for Inc WT
          g_cnt_inc = g_count.
        ELSEIF g_lga = c_llgar_0147.  " Get Rec Pos for Lng WT
          g_cnt_lng = g_count.
        ELSEIF g_lga = c_rlgar_01e0.  " Get Rec Pos for Ret WT
          g_cnt_ret = g_count.
        ENDIF.
      ENDDO.
      g_cnt_blank = g_cnt_blank + 1.  " Next Avl. Pos for WT entry
    Incumbency Processing
    0011 and 0012 both not found
      IF g_cnt_hrly = 0 AND  g_cnt_inc = 0.
    Do Nothing
    0011 Not found but 0012 found
      ELSEIF g_cnt_hrly = 0 AND  g_cnt_inc > 0.
        CONCATENATE 'I0008-LGA' g_cnt_inc INTO g_wtype.
        CONCATENATE 'I0008-BET' g_cnt_inc INTO g_wrate.
        ASSIGN (g_wtype) TO <fs_wtype>.
        ASSIGN (g_wrate) TO <fs_wrate>.
        IF g_maxrate_inc <> 0.
          <fs_wtype> = c_ilgar_0012.
          <fs_wrate> = g_maxrate_inc.
        ELSE.
        If WT0012 has expired in IT9006, revert to WT0011 with
          default rate from T510
          <fs_wtype> = c_hlgar_0011.
          SELECT betrg FROM t510 UP TO 1 ROWS
                       INTO g_ht510_rate
                      WHERE molga = c_molga_10
                        AND trfar = i0008-trfar
                        AND trfgb = i0008-trfgb
                        AND trfgr = i0008-trfgr
                        AND trfst = i0008-trfst
                        AND lgart = c_hlgar_0011
                        AND begda LE i0008-begda
                        AND endda GE i0008-endda.
          ENDSELECT.
          IF sy-subrc = 0.
            <fs_wrate> = g_ht510_rate.
          ENDIF.
        ENDIF.
    0011 found but 0012 Not found
      ELSEIF g_cnt_hrly > 0 AND  g_cnt_inc = 0.
        IF g_maxrate_inc <> 0.
        Update 9006 amount if greater. And Replace 0011 with 0012
          CONCATENATE 'I0008-LGA' g_cnt_hrly INTO g_wtype.
          CONCATENATE 'I0008-BET' g_cnt_hrly INTO g_wrate.
          ASSIGN (g_wtype) TO <fs_wtype>.
          ASSIGN (g_wrate) TO <fs_wrate>.
          IF <fs_wrate> < g_maxrate_inc.
            <fs_wtype> = c_ilgar_0012.
            <fs_wrate> = g_maxrate_inc.
          ELSE.
          Do Nothing
          ENDIF.
        ELSE.
        Do Nothing
        ENDIF.
    0011 and 0012 both found
      ELSEIF g_cnt_hrly > 0 AND  g_cnt_inc > 0.
      Rate in IT9006 exists.
        IF g_maxrate_inc <> 0.
        Remove existing 0011
          CONCATENATE 'I0008-LGA' g_cnt_hrly INTO g_wtype.
          CONCATENATE 'I0008-BET' g_cnt_hrly INTO g_wrate.
          ASSIGN (g_wtype) TO <fs_wtype>.
          ASSIGN (g_wrate) TO <fs_wrate>.
        If hourly rate < Max Inc Rate, Clear Hrly WT & update WT0012
          IF <fs_wrate> LT g_maxrate_inc.
            CLEAR : <fs_wtype>, <fs_wrate>.
          Update existing 0012 with new amount
            CONCATENATE 'I0008-LGA' g_cnt_inc INTO g_wtype.
            CONCATENATE 'I0008-BET' g_cnt_inc INTO g_wrate.
            ASSIGN (g_wtype) TO <fs_wtype>.
            ASSIGN (g_wrate) TO <fs_wrate>.
            <fs_wtype> = c_ilgar_0012.
            <fs_wrate> = g_maxrate_inc.
        If hourly rate > Max Inc Rate, clear WT0012
          ELSE.
            CONCATENATE 'I0008-LGA' g_cnt_inc INTO g_wtype.
            CONCATENATE 'I0008-BET' g_cnt_inc INTO g_wrate.
            ASSIGN (g_wtype) TO <fs_wtype>.
            ASSIGN (g_wrate) TO <fs_wrate>.
            CLEAR : <fs_wtype>, <fs_wrate>.
          ENDIF.
      Rate in IT9006 do not exists.
        ELSE.
        Let 0011 be there but remove 0012.
          CONCATENATE 'I0008-LGA' g_cnt_inc INTO g_wtype.
          CONCATENATE 'I0008-BET' g_cnt_inc INTO g_wrate.
          ASSIGN (g_wtype) TO <fs_wtype>.
          ASSIGN (g_wrate) TO <fs_wrate>.
          CLEAR : <fs_wtype>, <fs_wrate>.
        ENDIF.
      ENDIF.
    Longevity Processing
    Wage type 0147 already exists
      IF g_cnt_lng > 0.
        CONCATENATE 'I0008-LGA' g_cnt_lng INTO g_wtype.
        CONCATENATE 'I0008-BET' g_cnt_lng INTO g_wrate.
        ASSIGN (g_wtype) TO <fs_wtype>.
        ASSIGN (g_wrate) TO <fs_wrate>.
      IT9006 contains the rate.
        IF g_maxrate_lng > 0.
        Update the existing amount
          <fs_wtype> = c_llgar_0147.
          <fs_wrate> = g_maxrate_lng.
        ELSE.
        Remove Wage Type 0147
          CLEAR <fs_wtype>.
          CLEAR <fs_wrate>.
        ENDIF.
    Currently no 0147 exists
      ELSE.
      IT9006 contains the rate.
        IF g_maxrate_lng > 0.
        Add 0147 with amount
          CONCATENATE 'I0008-LGA' g_cnt_blank INTO g_wtype.
          CONCATENATE 'I0008-BET' g_cnt_blank INTO g_wrate.
          ASSIGN (g_wtype) TO <fs_wtype>.
          ASSIGN (g_wrate) TO <fs_wrate>.
          <fs_wtype> = c_llgar_0147.
          <fs_wrate> = g_maxrate_lng.
          g_cnt_blank = g_cnt_blank + 1.
      IT9006 does not contain the rate.
        ELSE.
        Do Nothing
        ENDIF.
      ENDIF.
    Retention Processing
    Wage type 01E0 already exists
      IF g_cnt_ret > 0.
        CONCATENATE 'I0008-LGA' g_cnt_ret INTO g_wtype.
        CONCATENATE 'I0008-BET' g_cnt_ret INTO g_wrate.
        ASSIGN (g_wtype) TO <fs_wtype>.
        ASSIGN (g_wrate) TO <fs_wrate>.
      IT9006 contains the rate.
        IF g_maxrate_ret > 0.
        Update the existing amount
          <fs_wtype> = c_rlgar_01e0.
          <fs_wrate> = g_maxrate_ret.
        ELSE.
        Remove Wage Type 01E0
          CLEAR <fs_wtype>.
          CLEAR <fs_wrate>.
        ENDIF.
    Currently no 01E0 exists
      ELSE.
      IT9006 contains the rate.
        IF g_maxrate_ret > 0.
        Add 01E0 with amount
          CONCATENATE 'I0008-LGA' g_cnt_blank INTO g_wtype.
          CONCATENATE 'I0008-BET' g_cnt_blank INTO g_wrate.
          ASSIGN (g_wtype) TO <fs_wtype>.
          ASSIGN (g_wrate) TO <fs_wrate>.
          <fs_wtype> = c_rlgar_01e0.
          <fs_wrate> = g_maxrate_ret.
          g_cnt_blank = g_cnt_blank + 1.
      IT9006 does not contain the rate.
        ELSE.
        Do Nothing
        ENDIF.
      ENDIF.
    Typecast the PNNNN to PRELP structure
      CALL METHOD cl_hr_pnnnn_type_cast=>pnnnn_to_prelp
        EXPORTING
          pnnnn = i0008
        IMPORTING
          prelp = innnn.
    Show Data Again Switch to display the field values again
      show_data_again = 'X'.
    ENDIF.

  • Copy  company code to new company code

    Dear Experts,
    Please guide me what are all possibilities an implication,  
    1. if i copied from one existing company to new company code,  what are all  it will copy from source to traget?
    2.  it will copy configuration also ?
    3.my old company we have many plant in new plant that are all i don't need  all only  few i need.
    Please guide me
    Regards
    Chandu

    Here is the list you can choose from as per your requirement.
    FICO Config - GL     OX15     Define Internal Trading partner
    FICO Config - GL     EC01 or OX02     Copy company code / Company code Setup
    FICO Config - AP     OBBG     Assign Country to Tax Calculation Procedure
    FICO Config - GL     OX16     Assign company code to Company /Internal Trading Parnter
    FICO Config - GL     OX08     Maintain Purchase Organisation
    FICO Config - GL     OX01     Assign Purchase Organisation to Company Code
    FICO Config - GL     OB62     Assign Company code to chart of Accounts
    FICO Config - GL     OB37     Assign company code to Fiscal year variant
    FICO Config - GL     OBBP      Assign posting period Variant to Company Code
    FICO Config - GL     OBA4     FI Tolerance Group for User
    FICO Config - GL     OB72     Create Cross-System Company Codes
    FICO Config - GL     OBV7     Assign Cross-System Company Code to Chart of Accounts
    FICO Config - GL     OBB5     Assign Company Code to Cross-System Company Code
    FICO Config - AP AR     OBA3     Define Tolerance (Customer or Vendor)
    FICO Config - GL     OB57     Assign User Tolerance Group
    FICO Config - GL     OBY6      Company Code Global Parameters
    FICO Config - CO     OX19     Assign Company Code to Controlling Area
    FICO Config - GL     OBYA     Inter Company code clearing
    FICO Config - GL     SPRO or SM30 - V_T001A     Define additional currency for lead ledger
    FICO Config - GL          Check if Non-lead ledger is to be maintained if yes maintain it
    FICO Config - GL     SPRO or SM30 - V_FAGL_T882G     Define setting for Non-lead ledger
    FICO Config -AP     OBCL     Assign Tax Codes for Non-Taxable Transactions
    FICO Config -AP     SPRO or SM30 - V_T001_EXT     Enable EWT for the country to enable cross company posting
    FICO Config - AP     SPRO or SM30 - V_T001WT     Assign Withholding Tax Types to Company Codes
    FICO Config -AP     OMKN     Assignment of Tax Indicator to Plant
    FICO Config - GL     OB53     Retained earning account should have auto-post in GL master
    FICO Config - GL     OB28      Validation
    FICO Config - GL     OBBH or GGB1     Substitution
    Master Data     FS00 or FS15     Extend all GL accounts including cost element to new company code
    Master Data     KA01     Cost Element
    Master Data     OKEN     Addition of cost center/Cost Center Group in Standard Hierarchy
    Master Data     KCH2     Addition of Profit Center Group/Profit Center in Standard Hierarchy
    Master Data     XK01      Create/Extend Vendor Code to new Company Code
    Master Data     FD15 or FD01      Create/Extend Customer Code to new Company Code

  • Same vendor code for multiple company codes

    Can we have same vendor code for two different company codes ?

    Yes u can use same code of vendor in different company code
    only u will have to extend this vendor code to other company code in xk01
    this is possible as number range is set on vendoe Account group
    and same vendoe code and be used in 2 or many different co codes with different company code data
    hope this helps
    Edited by: Umakant Bhangale on Oct 11, 2010 5:35 PM

  • Tax code and Special equipment code

    Hi All,
    Our Tax Department brought to our attention the need to include a Tax Code and a Special Equipment Code to all fixed assets. We are loading balances from last year to new company code. Where do we include this tax code and Special equipment code.
    Thank You,
    Misbah

    Hi,
    1.     When you are transferring the balances of assets which are already in use in the business to the new company code, you have to use the non-taxable transaction codes for this transaction.
    Create the tax codes in T.Code : FTXP .
    You can configure these taxes in SPRO>Financial Accounting>Asset Accounting>Integration with the General Ledger>Assign Input Tax Indicator for Non-Taxable Acquisitions.
    2.     Special equipment code for identifying these assets can be identified through the Eval group codes.
    The Eval codes can be configured in SPRO> Financial Accounting>Asset Accounting>Master Data>User Fields>Define 4-Character Evaluation Groups
    The Eval code can be assigned in the asset master. With this code you can classify the assets.
    You can use an evaluation group to:
    •     Create reports on the defined evaluation groups
    Access individual assets using a match code defined for the evaluation group
    Regards
    Prasad

  • ABAP code needed to populate data in the fields............

    Hi,
    I have added 3 new fields to the datasource 0PROJETC_ATTR
    fields names are : ZZPROFL , ZZPLFAZ and ZZPLSEZ
    Can some body tell me the ABAP code to fill data in these 3 fields.
    Thanks,
    Jeetu

    hi Jeetu,
    we need the logic,
    but the code will something like following sample ...
    Declaration for datasource 0MATERIAL_ATTR
    DATA : BEGIN OF S_BIW_MARA_S.
    INCLUDE STRUCTURE BIW_MARA_S.
    DATA : END OF S_BIW_MARA_S.
    *Here BIW_MARA_S corresponds to the structure of your datasource *0MATERIAL_ATTR
    *then you have to declare a when with the datasource on which you want to *populate the appended new fields.
    *for example :
    WHEN '0MATERIAL_ATTR'.
    *then do a loop across your strcuture
    LOOP AT C_T_DATA INTO S_BIW_MARA_S.
    *a select from the table
    SELECT SINGLE * FROM MARA
    WHERE MATNR = S_BIW_MARA_S-MATNR.
    *a check to see if your select is ok
    IF SY-SUBRC = 0.
    *if it is ok then your field in your structure is corresponding to a field in the table
    S_BIW_MARA_S-Z1 = MARA-Z1.
    S_BIW_MARA_S-Z2 = MARA-Z2.
    *the c_t_data will be updated from what you get in your structure.
    MODIFY C_T_DATA FROM S_BIW_MARA_S.
    ENDIF.
    ENDLOOP.
    hope this helps.

  • Copy Standard T.code into Z T.code

    Hi,
    I want to Copy Standard T.code into Z T.code....with all includes and Function Group......
    Plz tell me step-by-step....
    Prince

    Hi,
    When I do like u say....it shows ABAP RUNTIME ERRORS...
    The current application triggered a termination with a short dump.
    What happened?
    The current application program detected a situation which really
    should not occur. Therefore, a termination with a short dump was
    triggered on purpose by the key word MESSAGE (type X)....
    Now can I do....
    Prince

  • PO Conversion from once company code to another company code

    Hello All,
    Can any one help me the process or steps to convert Open PO's from one company code to another company code?
    If anyone have done something like this in the past then please share your experience or the process steps you have followed.
    Thank you very much for your help and support
    Ex:
    company code: ABC
    Plant: 123
    Sloc: AS12
    PO # : ABC1
               ABC2
    convert above PO to,
    Company code: XYZ
    Plant: 999
    Sloc: AS12
    Edited by: Thil Nayak on Aug 31, 2011 5:35 PM

    The important part is not really in LSMW, it is before in analyzing which POs you want migrate automatically and which manually.
    you might have POs that are partially done, e.g. have partial receipts, so you only need to migrate the remaining quantity only.
    And here I usually decide based on the volume of such POs whether I do them as well with LSMW (which adds more complexity to either source file or LSMW) or if they will be done manually.
    you have to erase the PR numbers, otherwise SAP will validate whether these numbers exists for your new plant.
    you have to think about how you prepare the source file, whether you do a download from various table and put it together in Excel, or if you do it totally different way. I usually setup a ALE scenario and send the old data via ALE IDOC process into a file on the applicaton server, then I use this file with thousands of IDOCs as my source, so I dont need to extract data from a table myself.

Maybe you are looking for