Restrcited characteristics table????

Hi,
Can any body tell me the table name which has the info regarding restricted characteristics in the query definition?
Raj

Hi,
Check the tables,
RSZCOMPDIR - Directory of Reporting Components
RSZELTDIR - Directory of Reportin Components Exlements
in SE11.
Hope this helps u a lot.........
Assigning points is the way of saying Thanks in SDN
Regards
Ramakrishna Kamurthy

Similar Messages

  • SRM Catalog Item GUID-Characteristics table

    Hi
    I am trying to test class /CCM/CL_ITEM_MANAGER method GET_ITEM_DATA so that i can read catalog item and then update it back
    with new characteristic value using UPDATE_ITEM method.
    Issue is when hit F8 i don't see these methods to test i am trying to find table where catalog item GUID to
    characteristics values (i looked in GET_ITEM_DATA i can'r figure it out) are stored so that i can test my Enrichment BADI independently.
    If someone worked bewofe with CCM catalog item GUID and characterstics values if can help to identify the table name.
    Thanks in advance
    Vineela

    Hi Vinnela,
    I am not sure, but try running report
    /CCM/VERIFY_CATALOG
    for yr catalog
    it gives variety of info
    see whether it helps
    BR
    Dinesh

  • QM Inspection Characteristics table

    Hi,
    I am designing Inspection Report for QM Module, the thing is i am unable to find the tables for the data
    1. Characteristic Specifications
    2. Characteristic Results 
    like Characteristic Related complete data. And also can any one tell me what is the relation between Operation & Charaterisitics in the Inspection Processing?
    Like the table used for that !!
    Waiting for ur reply....
    Regards,
    Srinath

    Hi,
    Following is the list of related tables.
    QALS - Inspection lot record : This is the table where you can get all the inspection lot numbers
    QAMV - Characteristic specifications for inspection processing
    QAMR - Characteristic results during inspection processing
    QASR - Sample results for inspection characteristics
    QASE - Results table for the sample unit
    QASE and QASR give the results for individual samples and partial samples
    To get the operation for the particular characteristic, call function module QEEA_READ_SINGLE_OPERATION
    Pass AUFPL from QALS, VORGLFNR from QAMR and PRUEFLOS from QAMR to the function module as shown below.
    The FM returns the value of operation VORNR in structure e_qapo.
    call function 'QEEA_READ_SINGLE_OPERATION'
         exporting
              i_aufpl            = <fs_qals>-aufpl
              i_plnkn            = <fs_qamr>-vorglfnr
              i_prueflos       = <fs_qamr>-prueflos
         importing
              e_qapo_wa    = e_qapo
         exceptions
              not_found       = 1
              others             = 2
    Hope you'll find this useful.
    Regards
    Radhika

  • DMS Characteristics Table

    Hi
    We are in Petroleum Company and using ECC 5, I am trying to create Document Management System (DMS) for maintaining information and routing with PO.
    While creating characteristic, using character field in Basic TAB, in Restriction TAB put 017, however system and same characteristic assigned to Class type 017.
    However system is not reflecting the characteristic in CV01N, moreover additional TAB in CV01N will not appear.
    Kindly help me out and also let me know in the Characteristic what TABLE and Field should be used.
    Regards,
    Tahir

    Hi Tasir,
    Please check whether you have assigned your characteristic to a class.
    You will required to create a class and assign your characteristics to the class.
    Then you will have to go to CV01N, enter required data and then to Classification and put your class in the field available.
    After that your characteristics would be visible in CV01N.
    Endorse if useful.
    Thanks,
    Pavan

  • Material Characteristics Description on the print of PO

    Hi all,
    I am creating a configurable  material and define the characteristics in the class 300 (variants).i want that when i select that materia code l in the Po in the line item . than during print it will select all the characteristics and  values on the purchase order print .
    if there is any IMG setting than please tell me .
    Regards
    Sachin gupta

    >
    garg.sachin27 wrote:
    > Hi all,
    >
    > I am creating a configurable  material and define the characteristics in the class 300 (variants).i want that when i select that materia code l in the Po in the line item . than during print it will select all the characteristics and  values on the purchase order print .
    >
    > if there is any IMG setting than please tell me .
    >
    > Regards
    > Sachin gupta
    Purchasing document forms are usually customized as per requirement of the client through ABAP. So your requirement can be fulfilled throgh ammendments in the said form through help of ABAPer. You need to notify them where the data needs to appear on the form and from which table the data is pulled from.
    Check this link for characteristics table:
    Material Characteristic Table
    Edited by: Afshad Irani on May 20, 2010 11:53 AM

  • No entry in table T582A for 171

    Hi Friendz,
    When I executed Idoc, system is throwing message No entry in table T582A for 171. I checked in T582A and T777D (attribute/characteristics ) tables infotype is available.
    Please advice to rectify this issue asap.
    Thanks in advance,
    $Lakshmi
    Edited by: Narayana on Feb 20, 2010 3:16 AM

    Hi Sujit,Pradeep,ERP12345
    Issue resolved...
    I have not used period parameter 01.but copied it to my customized one.I changed it to 01 and TE run successfully.
    But my question is why after copying it is throwing this error? i cant find any logic
    sorry I cant give any forum points because its already resolved...
    But anybody can tell the logic then i will definitely give the points.
    Thanks in advance...

  • Standard reports for fetching the Material Characteristics

    Hi,
    Do we have any standard reports in SAP for fetching the Material Characteristics.
    Regards,
    Siv

    Dear,
    Check the related links... may be helpful:
    To fetch characteristic value (ATWRT) from material number
    Material characteristics datasource
    Characteristics Table ?
    Characteristics Table ?
    Regards,
    Syed Hussain.

  • How to get the relation between tables.

    Hi all,
             Sorry in my previous message I forgot to include the table CABN.
    I would like to retrieve data from the tables BDCP,and characteristics tables KSS,INOB,AUSP and CABN.
    I am given the values BDCP-TABNAME,BDCP-FLDNAME,BDCP-KEY,BDCP-CRETIME,BDCP-CDOBJCL.
    BDCP-CDOBJID is nothing but Material number.I want to retrieve category(AUSP-ATWRT) and subcategory(AUSP-ATWRT) for that material BDCP-CDOBJID.
    So first of all how to proceed.Can anyone give idea?I heard that there is transaction,where we can find relations between tables.
    Thanks,
    Balaji
    Pages: 1

    U could try with SQVI Tcode. just give table names try to link.
    For your requirement there are several functional modules availalbe.
    Try where used list on AUSP table and find Function modules. Test them first then use in the program.

  • Report program Performance problem

    Hi All,
       one object is taking 30hr for executing.some one develped this in 1998 but this time it is a big Performance problem.please some one helep what to do i am giving that code.
    *--DOCUMENTATION--
    Programe written by :  31.03.1998 .
    Purpose : this programe updates the car status into the table zsdtab1
    This programe is to be schedule in the backgroud periodically .
    Querries can be fired on the table zsdtab1 to get the details of the
        Car .
    This programe looks at the changes made in the material master from
    last updated date and the new entries in material master and updates
    the tables zsdtab1 .
    Changes in the Sales Order are not taken into account .
    To get a fresh data set the value of zupddate in table ZSTATUS as
    01.01.1998 . All the data will be refreshed from that date .
    Program Changed on 23/7/2001 after version upgrade 46b by jyoti
    Addition of New tables for Ibase
    tables used -
    tables : mara ,                        " Material master
             ausp ,                        " Characteristics table .
             zstatus ,                     " Last updated status table .
             zsdtab1 ,    " Central database table to be maintained .
             vbap ,                        " Sales order header table .
             vbak ,                        " Sales order item table .
             kna1 ,                        " Customer master .
             vbrk ,
             vbrp ,
             bkpf ,
             bseg ,
             mseg ,
             mkpf ,
             vbpa ,
             vbfa ,
             t005t .                         " Country details tabe .
    --NEW TABLES ADDEDFOR VERSION 4.6B--
    tables :   ibsymbol ,ibin , ibinvalues .
    data : vatinn like ibsymbol-atinn , vatwrt like ibsymbol-atwrt ,
           vatflv like ibsymbol-atflv .
    *--types definition--
    types : begin of mara_itab_type ,
               matnr like mara-matnr ,
               cuobf like mara-cuobf ,
            end of mara_itab_type ,
            begin of ausp_itab_type ,
               atinn like ausp-atinn ,
               atwrt like ausp-atwrt ,
               atflv like ausp-atflv ,
            end of ausp_itab_type .
    data : mara_itab type mara_itab_type occurs 500 with header line ,
           zsdtab1_itab like zsdtab1 occurs 500 with header line ,
           ausp_itab type ausp_itab_type occurs 500 with header line ,
           last_date type d ,
           date type d .
    data: length type i.
    clear mara_itab . refresh mara_itab .
    clear zsdtab1_itab . refresh zsdtab1_itab .
    select single  zupddate into last_date from zstatus
           where programm = 'ZSDDET01' .
    select matnr cuobf into (mara_itab-matnr , mara_itab-cuobf) from mara
          where mtart eq 'FERT' or mtart = 'ZCBU'.
        where MATNR IN MATERIA
         and ERSDA IN C_Date
         and MTART in M_TYP.
        append mara_itab .
    endselect .
    loop at mara_itab.
    clear zsdtab1_itab .
    zsdtab1_itab-commno = mara_itab-matnr .
       Get the detailed data into internal table ausp_itab .----------->>>
    clear ausp_itab . refresh ausp_itab .
    --change starts--
    select atinn atwrt atflv into (ausp_itab-atinn , ausp_itab-atwrt ,
                               ausp_itab-atflv) from ausp
          where objek = mara_itab-matnr .
          append ausp_itab .
       endselect .
       clear ausp_itab .
    select  atinn  atwrt atflv  into (ausp_itab-atinn , ausp_itab-atwrt ,
    ausp_itab-atflv) from ibin as a inner join ibinvalues as b
                      on ain_recno = bin_recno
           inner join  ibsymbol as c
                      on bsymbol_id = csymbol_id
        where a~instance = mara_itab-cuobf  .
      append ausp_itab .
    endselect .
    ----CHANGE ENDS HERE -
    sort ausp_itab by atwrt.
    loop at ausp_itab .
    clear date .
    case ausp_itab-atinn .
      when '0000000094' .
        zsdtab1_itab-model = ausp_itab-atwrt .  " model  .
      when '0000000101' .
        zsdtab1_itab-drive = ausp_itab-atwrt .  " drive
      when '0000000095' .
        zsdtab1_itab-converter = ausp_itab-atwrt . "converter
      when '0000000096' .
        zsdtab1_itab-transmssn = ausp_itab-atwrt . "transmission
      when '0000000097' .
        zsdtab1_itab-colour = ausp_itab-atwrt .    "colour
      when '0000000098' .
        zsdtab1_itab-ztrim = ausp_itab-atwrt .     "trim
      when '0000000103' .
    *=========Sujit 14-Mar-2006
       IF AUSP_ITAB-ATWRT(3) EQ 'WDB' OR AUSP_ITAB-ATWRT(3) EQ 'WDD'
       OR AUSP_ITAB-ATWRT(3) EQ 'WDC' OR AUSP_ITAB-ATWRT(3) EQ 'KPD'.
           ZSDTAB1_ITAB-CHASSIS_NO = AUSP_ITAB-ATWRT+3(14).
       ELSE.
           ZSDTAB1_ITAB-CHASSIS_NO = AUSP_ITAB-ATWRT .     "chassis no
       ENDIF.
        zsdtab1_itab-chassis_no = ausp_itab-atwrt .     "chassis no
    *=========14-Mar-2006
      when '0000000166' .
    ----25.05.04
      length = strlen( ausp_itab-atwrt ).
      if length < 15.                       "***aded by patil
       zsdtab1_itab-engine_no = ausp_itab-atwrt .     "ENGINE NO
      else.
    zsdtab1_itab-engine_no = ausp_itab-atwrt+13(14)."Aded on 21.05.04 patil
      endif.
    ----25.05.04
      when '0000000104' .
        zsdtab1_itab-body_no = ausp_itab-atwrt .     "BODY NO
      when '0000000173' .                                          "21.06.98
        zsdtab1_itab-cockpit = ausp_itab-atwrt .     "COCKPIT NO . "21.06.98
      when '0000000102' .
        zsdtab1_itab-dest = ausp_itab-atwrt .     "destination
      when '0000000105' .
        zsdtab1_itab-airbag = ausp_itab-atwrt .     "AIRBAG
      when '0000000110' .
        zsdtab1_itab-trailer_no = ausp_itab-atwrt .     "TRAILER_NO
      when '0000000109' .
        perform date_convert using  ausp_itab-atflv changing date .
        zsdtab1_itab-fininspdat = date .   "FIN INSP DATE
      when '0000000108' .
        zsdtab1_itab-entrydate = ausp_itab-atwrt .     "ENTRY DATE
      when '0000000163' .
        zsdtab1_itab-regist_no = ausp_itab-atwrt .     "REGIST_NO
      when '0000000164' .
        zsdtab1_itab-mech_key = ausp_itab-atwrt .     "MECH_KEY
      when '0000000165' .
        zsdtab1_itab-side_ab_rt = ausp_itab-atwrt .     "SIDE_AB_RT
      when '0000000171' .
        zsdtab1_itab-side_ab_lt = ausp_itab-atwrt .     "SIDE_AB_LT
      when '0000000167' .
        zsdtab1_itab-elect_key = ausp_itab-atwrt .     "ELECT_KEY
      when '0000000168' .
        zsdtab1_itab-head_lamp = ausp_itab-atwrt .     "HEAD_LAMP
      when '0000000169' .
        zsdtab1_itab-tail_lamp = ausp_itab-atwrt .     "TAIL_LAMP
      when '0000000170' .
        zsdtab1_itab-vac_pump = ausp_itab-atwrt .     "VAC_PUMP
      when '0000000172' .
        zsdtab1_itab-sd_ab_sn_l = ausp_itab-atwrt .     "SD_AB_SN_L
      when '0000000174' .
        zsdtab1_itab-sd_ab_sn_r = ausp_itab-atwrt .     "SD_AB_SN_R
      when '0000000175' .
        zsdtab1_itab-asrhydunit = ausp_itab-atwrt .     "ASRHYDUNIT
      when '0000000176' .
        zsdtab1_itab-gearboxno = ausp_itab-atwrt .     "GEARBOXNO
      when '0000000177' .
        zsdtab1_itab-battery = ausp_itab-atwrt .     "BATTERY
      when '0000000178' .
        zsdtab1_itab-tyretype = ausp_itab-atwrt .     "TYRETYPE
      when '0000000179' .
        zsdtab1_itab-tyremake = ausp_itab-atwrt .     "TYREMAKE
      when '0000000180' .
        zsdtab1_itab-tyresize = ausp_itab-atwrt .     "TYRESIZE
      when '0000000181' .
        zsdtab1_itab-rr_axle_no = ausp_itab-atwrt .     "RR_AXLE_NO
      when '0000000183' .
        zsdtab1_itab-ff_axl_nor = ausp_itab-atwrt .     "FF_AXLE_NO_rt
      when '0000000182' .
        zsdtab1_itab-ff_axl_nol = ausp_itab-atwrt .     "FF_AXLE_NO_lt
      when '0000000184' .
        zsdtab1_itab-drivairbag = ausp_itab-atwrt .     "DRIVAIRBAG
      when '0000000185' .
        zsdtab1_itab-st_box_no = ausp_itab-atwrt .     "ST_BOX_NO
      when '0000000186' .
        zsdtab1_itab-transport = ausp_itab-atwrt .     "TRANSPORT
      when '0000000106' .
        zsdtab1_itab-trackstage = ausp_itab-atwrt .  " tracking stage
      when '0000000111' .
        perform date_convert using  ausp_itab-atflv changing date .
        zsdtab1_itab-dat_trk_1 = date .    " tracking date for 1.
      when '0000000112' .
        perform date_convert using  ausp_itab-atflv changing date .
        zsdtab1_itab-dat_trk_5 = date .    " tracking date for 5.
      when '0000000113' .
        perform date_convert using  ausp_itab-atflv changing date .
        zsdtab1_itab-dat_trk_10 = date .   "tracking date for 10
      when '0000000114' .
        perform date_convert using  ausp_itab-atflv changing date .
        zsdtab1_itab-dat_trk_15 = date .   "tracking date for 15
      when '0000000115' .
        perform date_convert using  ausp_itab-atflv changing date .
        zsdtab1_itab-dat_trk_20 = date .   " tracking date for 20
      when '0000000116' .
        perform date_convert using  ausp_itab-atflv changing date .
        zsdtab1_itab-dat_trk_25 = date .   " tracking date for 25
      when '0000000117' .
        perform date_convert using  ausp_itab-atflv changing date .
        zsdtab1_itab-dat_trk_30 = date .   "tracking date for 30
      when '0000000118' .
        perform date_convert using  ausp_itab-atflv changing date .
        zsdtab1_itab-dat_trk_35 = date .   "tracking date for 35
      when '0000000119' .
        perform date_convert using  ausp_itab-atflv changing date .
        zsdtab1_itab-dat_trk_40 = date .   " tracking date for 40
      when '0000000120' .
        perform date_convert using  ausp_itab-atflv changing date .
        zsdtab1_itab-dat_trk_45 = date .   " tracking date for 45
      when '0000000121' .
        perform date_convert using  ausp_itab-atflv changing date .
        zsdtab1_itab-dat_trk_50 = date .   "tracking date for 50
      when '0000000122' .
        perform date_convert using  ausp_itab-atflv changing date .
        zsdtab1_itab-dat_trk_55 = date .   "tracking date for 55
      when '0000000123' .
        perform date_convert using  ausp_itab-atflv changing date .
        zsdtab1_itab-dat_trk_60 = date .   " tracking date for 60
      when '0000000124' .
        perform date_convert using  ausp_itab-atflv changing date .
        zsdtab1_itab-dat_trk_65 = date .   " tracking date for 65
      when '0000000125' .
        perform date_convert using  ausp_itab-atflv changing date .
        zsdtab1_itab-dat_trk_70 = date .   "tracking date for 70
      when '0000000126' .
        perform date_convert using  ausp_itab-atflv changing date .
        zsdtab1_itab-dat_trk_75 = date .   "tracking date for 75
      when '0000000127' .
        perform date_convert using  ausp_itab-atflv changing date .
        zsdtab1_itab-dat_trk_78 = date .   " tracking date for 78
      when '0000000203' .
        perform date_convert using  ausp_itab-atflv changing date .
        zsdtab1_itab-dat_trk_79 = date .   " tracking date for 79
      when '0000000128' .
        perform date_convert using  ausp_itab-atflv changing date .
        zsdtab1_itab-dat_trk_80 = date .   " tracking date for 80
      when '0000000129' .
        perform date_convert using  ausp_itab-atflv changing date .
        zsdtab1_itab-dat_trk_85 = date .   "tracking date for 85
      when '0000000130' .
        perform date_convert using  ausp_itab-atflv changing date .
        zsdtab1_itab-dat_trk_90 = date .   "tracking date for 90
      when '0000000131' .
        perform date_convert using  ausp_itab-atflv changing date .
        zsdtab1_itab-dat_trk_95 = date .   "tracking date for 95
      when '0000000132' .
        perform date_convert using  ausp_itab-atflv changing date .
        zsdtab1_itab-dattrk_100 = date .   " tracking date for100
      when '0000000133' .
        perform date_convert using  ausp_itab-atflv changing date .
        zsdtab1_itab-dattrk_110 = date .   " tracking date for110
      when '0000000134' .
        perform date_convert using  ausp_itab-atflv changing date .
        zsdtab1_itab-dattrk_115 = date .   "tracking date for 115
      when '0000000135' .
        perform date_convert using  ausp_itab-atflv changing date .
        zsdtab1_itab-dattrk_120 = date .   "tracking date for 120
      when '0000000136' .
        perform date_convert using  ausp_itab-atflv changing date .
        zsdtab1_itab-dattrk_105 = date .   "tracking date for 105
      when '0000000137' .
        perform date_convert using  ausp_itab-atflv changing date .
        zsdtab1_itab-pdt_tk_1 = date .     "plan trk date for 1
      when '0000000138' .
        perform date_convert using  ausp_itab-atflv changing date .
        zsdtab1_itab-pdt_tk_5 = date .     "plan trk date for 5
      when '0000000139' .
        perform date_convert using  ausp_itab-atflv changing date .
        zsdtab1_itab-pdt_tk_10 = date .    "plan trk date for 10
      when '0000000140' .
        perform date_convert using  ausp_itab-atflv changing date .
        zsdtab1_itab-pdt_tk_15 = date .    "plan trk date for 15
      when '0000000141' .
        perform date_convert using  ausp_itab-atflv changing date .
        zsdtab1_itab-pdt_tk_20 = date .    "plan trk date for 20
      when '0000000142' .
        perform date_convert using  ausp_itab-atflv changing date .
        zsdtab1_itab-pdt_tk_25 = date .    "plan trk date for 25
      when '0000000143' .
        perform date_convert using  ausp_itab-atflv changing date .
        zsdtab1_itab-pdt_tk_30 = date .    "plan trk date for 30
      when '0000000144' .
        perform date_convert using  ausp_itab-atflv changing date .
        zsdtab1_itab-pdt_tk_35 = date .    "plan trk date for 35
      when '0000000145' .
        perform date_convert using  ausp_itab-atflv changing date .
        zsdtab1_itab-pdt_tk_40 = date .    "plan trk date for 40
      when '0000000146' .
        perform date_convert using  ausp_itab-atflv changing date .
        zsdtab1_itab-pdt_tk_45 = date .    "plan trk date for 45
      when '0000000147' .
        perform date_convert using  ausp_itab-atflv changing date .
        zsdtab1_itab-pdt_tk_50 = date .    "plan trk date for 50
      when '0000000148' .
        perform date_convert using  ausp_itab-atflv changing date .
        zsdtab1_itab-pdt_tk_55 = date .    "plan trk date for 55
      when '0000000149' .
        perform date_convert using  ausp_itab-atflv changing date .
        zsdtab1_itab-pdt_tk_60 = date .    "plan trk date for 60
      when '0000000150' .
        perform date_convert using  ausp_itab-atflv changing date .
        zsdtab1_itab-pdt_tk_65 = date .    "plan trk date for 65
      when '0000000151' .
        perform date_convert using  ausp_itab-atflv changing date .
        zsdtab1_itab-pdt_tk_70 = date .    "plan trk date for 70
      when '0000000152' .
        perform date_convert using  ausp_itab-atflv changing date .
        zsdtab1_itab-pdt_tk_75 = date .    "plan trk date for 75
      when '0000000153' .
        perform date_convert using  ausp_itab-atflv changing date .
        zsdtab1_itab-pdt_tk_78 = date .    "plan trk date for 78
      when '0000000202' .
        perform date_convert using  ausp_itab-atflv changing date .
        zsdtab1_itab-pdt_tk_79 = date .    "plan trk date for 79
      when '0000000154' .
        perform date_convert using  ausp_itab-atflv changing date .
        zsdtab1_itab-pdt_tk_80 = date .    "plan trk date for 80
      when '0000000155' .
        perform date_convert using  ausp_itab-atflv changing date .
        zsdtab1_itab-pdt_tk_85 = date .    "plan trk date for 85
      when '0000000156' .
        perform date_convert using  ausp_itab-atflv changing date .
        zsdtab1_itab-pdt_tk_90 = date .    "plan trk date for 90
      when '0000000157' .
        perform date_convert using  ausp_itab-atflv changing date .
        zsdtab1_itab-pdt_tk_95 = date .    "plan trk date for 95
      when '0000000158' .
        perform date_convert using  ausp_itab-atflv changing date .
        zsdtab1_itab-pdt_tk_100 = date .   "plan trk date for 100
      when '0000000159' .
        perform date_convert using  ausp_itab-atflv changing date .
        zsdtab1_itab-pdt_tk_105 = date .   "plan trk date for 105
      when '0000000160' .
        perform date_convert using  ausp_itab-atflv changing date .
        zsdtab1_itab-pdt_tk_110 = date .   "plan trk date for 110
      when '0000000161' .
        perform date_convert using  ausp_itab-atflv changing date .
        zsdtab1_itab-pdt_tk_115 = date .   "plan trk date for 115
      when '0000000162' .
        perform date_convert using  ausp_itab-atflv changing date .
        zsdtab1_itab-pdt_tk_120 = date .   "plan trk date for 120
    ********Additional fields / 24.05.98**********************************
      when '0000000099' .
        case ausp_itab-atwrt .
          when '540' .
            zsdtab1_itab-roll_blind = 'X' .
          when '482' .
            zsdtab1_itab-ground_clr = 'X' .
          when '551' .
            zsdtab1_itab-anti_theft = 'X' .
          when '882' .
            zsdtab1_itab-anti_tow = 'X' .
          when '656' .
            zsdtab1_itab-alloy_whel = 'X' .
          when '265' .
            zsdtab1_itab-del_class = 'X' .
          when '280' .
            zsdtab1_itab-str_wheel = 'X' .
          when 'CDC' .
            zsdtab1_itab-cd_changer = 'X' .
          when '205' .
            zsdtab1_itab-manual_eng = 'X' .
          when '273' .
            zsdtab1_itab-conn_handy = 'X' .
          when '343' .
            zsdtab1_itab-aircleaner = 'X' .
          when '481' .
            zsdtab1_itab-metal_sump = 'X' .
          when '533' .
            zsdtab1_itab-speaker = 'X' .
          when '570' .
            zsdtab1_itab-arm_rest = 'X' .
          when '580' .
            zsdtab1_itab-aircond = 'X' .
          when '611' .
            zsdtab1_itab-exit_light = 'X' .
          when '613' .
            zsdtab1_itab-headlamp = 'X' .
          when '877' .
            zsdtab1_itab-readlamp = 'X' .
          when '808' .
            zsdtab1_itab-code_ckd = 'X' .
          when '708' .
            zsdtab1_itab-del_prt_lc = 'X' .
          when '593' .
            zsdtab1_itab-ins_glass = 'X' .
          when '955' .
            zsdtab1_itab-zelcl = 'Elegance' .
          when '593' .
            zsdtab1_itab-zelcl = 'Classic' .
        endcase .
    endcase .
    endloop .
    *--Update the sales data .--
    perform get_sales_order using mara_itab-matnr .
    perform get_cartype using mara_itab-matnr .
    append zsdtab1_itab .
    endloop.
    <<<
    loop at zsdtab1_itab .
      if zsdtab1_itab-cartype <> 'W-203'
      or zsdtab1_itab-cartype <> 'W-210'
      or zsdtab1_itab-cartype <> 'W-211'.
          clear zsdtab1_itab-zelcl.
      endif.
    SELECT SINGLE * FROM ZSDTAB1 WHERE COMMNO = MARA_ITAB-MATNR .
    select single * from zsdtab1 where commno = zsdtab1_itab-commno.
    if sy-subrc <> 0 .
        insert into zsdtab1 values zsdtab1_itab .
    else .
        update zsdtab1 set :vbeln = zsdtab1_itab-vbeln
                       bill_doc = zsdtab1_itab-bill_doc
                       dest = zsdtab1_itab-dest
                       lgort = zsdtab1_itab-lgort
                       ship_tp = zsdtab1_itab-ship_tp
                       country = zsdtab1_itab-country
                       kunnr = zsdtab1_itab-kunnr
                       vkbur = zsdtab1_itab-vkbur
                       customer = zsdtab1_itab-customer
                       city   = zsdtab1_itab-city
                       region = zsdtab1_itab-region
                       model = zsdtab1_itab-model
                       drive = zsdtab1_itab-drive
                       converter = zsdtab1_itab-converter
                       transmssn = zsdtab1_itab-transmssn
                       colour = zsdtab1_itab-colour
                       ztrim = zsdtab1_itab-ztrim
                       commno = zsdtab1_itab-commno
                       trackstage = zsdtab1_itab-trackstage
                       chassis_no    =   zsdtab1_itab-chassis_no
                       engine_no     =   zsdtab1_itab-engine_no
                       body_no       =   zsdtab1_itab-body_no
                       cockpit       =   zsdtab1_itab-cockpit
                       airbag        =   zsdtab1_itab-airbag
                       trailer_no    =   zsdtab1_itab-trailer_no
                       fininspdat    =   zsdtab1_itab-fininspdat
                       entrydate     =   zsdtab1_itab-entrydate
                       regist_no     =   zsdtab1_itab-regist_no
                       mech_key      =   zsdtab1_itab-mech_key
                       side_ab_rt    =   zsdtab1_itab-side_ab_rt
                       side_ab_lt    =   zsdtab1_itab-side_ab_lt
                       elect_key     =   zsdtab1_itab-elect_key
                       head_lamp     =   zsdtab1_itab-head_lamp
                       tail_lamp     =   zsdtab1_itab-tail_lamp
                       vac_pump      =   zsdtab1_itab-vac_pump
                       sd_ab_sn_l    =   zsdtab1_itab-sd_ab_sn_l
                       sd_ab_sn_r    =   zsdtab1_itab-sd_ab_sn_r
                       asrhydunit    =   zsdtab1_itab-asrhydunit
                       gearboxno     =   zsdtab1_itab-gearboxno
                       battery       =   zsdtab1_itab-battery
                       tyretype      =   zsdtab1_itab-tyretype
                       tyremake      =   zsdtab1_itab-tyremake
                       tyresize      =   zsdtab1_itab-tyresize
                       rr_axle_no    =   zsdtab1_itab-rr_axle_no
                       ff_axl_nor    =   zsdtab1_itab-ff_axl_nor
                       ff_axl_nol    =   zsdtab1_itab-ff_axl_nol
                       drivairbag    =   zsdtab1_itab-drivairbag
                       st_box_no     =   zsdtab1_itab-st_box_no
                       transport     =   zsdtab1_itab-transport
    OPTIONS-
                       roll_blind    = zsdtab1_itab-roll_blind
                       ground_clr    = zsdtab1_itab-ground_clr
                       anti_theft    = zsdtab1_itab-anti_theft
                       anti_tow      = zsdtab1_itab-anti_tow
                       alloy_whel    = zsdtab1_itab-alloy_whel
                       del_class     = zsdtab1_itab-del_class
                       str_wheel     = zsdtab1_itab-str_wheel
                       cd_changer    = zsdtab1_itab-cd_changer
                       manual_eng    = zsdtab1_itab-manual_eng
                       conn_handy    = zsdtab1_itab-conn_handy
                       aircleaner    = zsdtab1_itab-aircleaner
                       metal_sump    = zsdtab1_itab-metal_sump
                       speaker       = zsdtab1_itab-speaker
                       arm_rest      = zsdtab1_itab-arm_rest
                       aircond       = zsdtab1_itab-aircond
                       exit_light    = zsdtab1_itab-exit_light
                       headlamp      = zsdtab1_itab-headlamp
                       readlamp      = zsdtab1_itab-readlamp
                       code_ckd      = zsdtab1_itab-code_ckd
                       del_prt_lc    = zsdtab1_itab-del_prt_lc
                       ins_glass     = zsdtab1_itab-ins_glass
                       dat_trk_1 = zsdtab1_itab-dat_trk_1
                       dat_trk_5 = zsdtab1_itab-dat_trk_5
                       dat_trk_10 = zsdtab1_itab-dat_trk_10
                       dat_trk_15 = zsdtab1_itab-dat_trk_15
                       dat_trk_20 = zsdtab1_itab-dat_trk_20
                       dat_trk_25 = zsdtab1_itab-dat_trk_25
                       dat_trk_30 = zsdtab1_itab-dat_trk_30
                       dat_trk_35 = zsdtab1_itab-dat_trk_35
                       dat_trk_40 = zsdtab1_itab-dat_trk_40
                       dat_trk_45 = zsdtab1_itab-dat_trk_45
                       dat_trk_50 = zsdtab1_itab-dat_trk_50
                       dat_trk_55 = zsdtab1_itab-dat_trk_55
                       dat_trk_60 = zsdtab1_itab-dat_trk_60
                       dat_trk_65 = zsdtab1_itab-dat_trk_65
                       dat_trk_70 = zsdtab1_itab-dat_trk_70
                       dat_trk_75 = zsdtab1_itab-dat_trk_75
                       dat_trk_78 = zsdtab1_itab-dat_trk_78
                       dat_trk_79 = zsdtab1_itab-dat_trk_79
                       dat_trk_80 = zsdtab1_itab-dat_trk_80
                       dat_trk_85 = zsdtab1_itab-dat_trk_85
                       dat_trk_90 = zsdtab1_itab-dat_trk_90
                       dat_trk_95 = zsdtab1_itab-dat_trk_95
                       dattrk_100 = zsdtab1_itab-dattrk_100
                       dattrk_105 = zsdtab1_itab-dattrk_105
                       dattrk_110 = zsdtab1_itab-dattrk_110
                       dattrk_115 = zsdtab1_itab-dattrk_115
                       dattrk_120 = zsdtab1_itab-dattrk_120
                       pdt_tk_1 = zsdtab1_itab-pdt_tk_1
                       pdt_tk_5 = zsdtab1_itab-pdt_tk_5
                       pdt_tk_10 = zsdtab1_itab-pdt_tk_10
                       pdt_tk_15 = zsdtab1_itab-pdt_tk_15
                       pdt_tk_20 = zsdtab1_itab-pdt_tk_20
                       pdt_tk_25 = zsdtab1_itab-pdt_tk_25
                       pdt_tk_30 = zsdtab1_itab-pdt_tk_30
                       pdt_tk_35 = zsdtab1_itab-pdt_tk_35
                       pdt_tk_40 = zsdtab1_itab-pdt_tk_40
                       pdt_tk_45 = zsdtab1_itab-pdt_tk_45
                       pdt_tk_50 = zsdtab1_itab-pdt_tk_50
                       pdt_tk_55 = zsdtab1_itab-pdt_tk_55
                       pdt_tk_60 = zsdtab1_itab-pdt_tk_60
                       pdt_tk_65 = zsdtab1_itab-pdt_tk_65
                       pdt_tk_70 = zsdtab1_itab-pdt_tk_70
                       pdt_tk_75 = zsdtab1_itab-pdt_tk_75
                       pdt_tk_78 = zsdtab1_itab-pdt_tk_78
                       pdt_tk_79 = zsdtab1_itab-pdt_tk_79
                       pdt_tk_80 = zsdtab1_itab-pdt_tk_80
                       pdt_tk_85 = zsdtab1_itab-pdt_tk_85
                       pdt_tk_90 = zsdtab1_itab-pdt_tk_90
                       pdt_tk_95 = zsdtab1_itab-pdt_tk_95
                       pdt_tk_100 = zsdtab1_itab-pdt_tk_100
                       pdt_tk_105 = zsdtab1_itab-pdt_tk_105
                       pdt_tk_110 = zsdtab1_itab-pdt_tk_110
                       pdt_tk_115 = zsdtab1_itab-pdt_tk_115
                       pdt_tk_120 = zsdtab1_itab-pdt_tk_120
                       cartype = zsdtab1_itab-cartype
                       zelcl = zsdtab1_itab-zelcl
                       excise_no = zsdtab1_itab-excise_no
    where commno = zsdtab1_itab-commno .
       Update table .---------<<<
    endif .
    endloop .
    perform update_excise_date .
    perform update_post_goods_issue_date .
    perform update_time.
    *///////////////////// end of programe /////////////////////////////////
    Get sales data -
    form get_sales_order using matnr .
      data : corr_vbeln like vbrk-vbeln .
    ADDED BY ADITYA / 22.06.98 **************************************
    perform get_order using matnr .
    select single vbeln lgort into (zsdtab1_itab-vbeln , zsdtab1_itab-lgort)
                from vbap where matnr = matnr .   " C-22.06.98
                  from vbap where vbeln = zsdtab1_itab-vbeln .
      if sy-subrc = 0 .
    ************Get the Excise No from Allocation Field*******************
        select single * from zsdtab1 where commno = matnr .
        if zsdtab1-excise_no =  '' .
          select * from vbrp where matnr = matnr .
            select single vbeln into corr_vbeln from vbrk where
            vbeln = vbrp-vbeln and vbtyp = 'M'.
            if sy-subrc eq 0.
              select single * from vbrk where vbtyp = 'N'
              and sfakn = corr_vbeln.      "cancelled doc.
              if sy-subrc ne 0.
                select single * from vbrk where vbeln = corr_vbeln.
                if sy-subrc eq 0.
                  data : year(4) .
                  move sy-datum+0(4) to year .
      select single * from bkpf where awtyp = 'VBRK' and awkey = vbrk-vbeln
                                      and  bukrs = 'MBIL' and gjahr = year .
                  if sy-subrc = 0 .
      select single * from bseg where bukrs = 'MBIL' and belnr = bkpf-belnr
                                       and gjahr = year and koart = 'D' and
                                                               shkzg = 'S' .
                    zsdtab1_itab-excise_no = bseg-zuonr .
                  endif .
                endif.
              endif.
            endif.
          endselect.
        endif .
        select single kunnr vkbur into (zsdtab1_itab-kunnr ,
                zsdtab1_itab-vkbur) from vbak
                where vbeln = zsdtab1_itab-vbeln .
        if sy-subrc = 0 .
          select single name1 ort01 regio into (zsdtab1_itab-customer ,
             zsdtab1_itab-city , zsdtab1_itab-region) from kna1
             where kunnr = zsdtab1_itab-kunnr .
        endif.
      Get Ship to Party **************************************************
        select single * from vbpa where vbeln = zsdtab1_itab-vbeln and
                        parvw = 'WE' .
        if sy-subrc = 0 .
            zsdtab1_itab-ship_tp = vbpa-kunnr .
      Get Destination Country of Ship to Party .************
            select single * from kna1 where kunnr = vbpa-kunnr .
            if sy-subrc = 0 .
               select single * from t005t where land1 = kna1-land1
                                       and spras = 'E' .
               if sy-subrc = 0 .
                   zsdtab1_itab-country = t005t-landx .
               endif .
            endif .
        endif .
      endif .
    endform.                               " GET_SALES
    form update_time.
      update zstatus set zupddate = sy-datum
                         uzeit = sy-uzeit
      where programm = 'ZSDDET01' .
    endform.                               " UPDATE_TIME
    *&      Form  DATE_CONVERT
    form date_convert using atflv changing date .
      data : dt(8) , dat type i .
      dat = atflv .
      dt = dat .
      date = dt .
    endform.                               " DATE_CONVERT
    *&      Form  UPDATE_POST_GOODS_ISSUE_DATE
    form update_post_goods_issue_date .
      types : begin of itab1_type ,
                mblnr like mseg-mblnr ,
                budat like mkpf-budat ,
              end of itab1_type .
      data : itab1 type itab1_type occurs 10 with header line .
      loop at mara_itab .
        select single * from zsdtab1 where commno = mara_itab-matnr .
        if sy-subrc =  0  and zsdtab1-postdate =  '00000000' .
          refresh itab1 . clear itab1 .
        select * from mseg where matnr = mara_itab-matnr and bwart = '601' .
            itab1-mblnr = mseg-mblnr .
            append itab1 .
          endselect .
          loop at itab1 .
            select single * from mkpf where mblnr = itab1-mblnr .
            if sy-subrc = 0 .
              itab1-budat = mkpf-budat .
              modify itab1 .
            endif .
          endloop .
          sort itab1 by budat .
          read table itab1 index 1 .
          if sy-subrc = 0 .
            update zsdtab1 set postdate = itab1-budat
                         where commno = mara_itab-matnr .
          endif .
        endif .
      endloop .
    endform.                               " UPDATE_POST_GOODS_ISSUE_DATE
    *&      Form  UPDATE_EXCISE_DATE
    form update_excise_date.
      types : begin of itab2_type ,
                mblnr like mseg-mblnr ,
                budat like mkpf-budat ,
              end of itab2_type .
      data : itab2 type itab2_type occurs 10 with header line .
      loop at mara_itab .
        select single * from zsdtab1 where commno = mara_itab-matnr .
        if sy-subrc =  0  and zsdtab1-excise_dat  = '00000000' .
          refresh itab2 . clear itab2 .
          select * from mseg where matnr = mara_itab-matnr and
                                  (  bwart = '601' or  bwart = '311' ) .
            itab2-mblnr = mseg-mblnr .
            append itab2 .
          endselect .
          loop at itab2 .
            select single * from mkpf where mblnr = itab2-mblnr .
            if sy-subrc = 0 .
              itab2-budat = mkpf-budat .
              modify itab2 .
            endif .
          endloop .
          sort itab2 by budat .
          read table itab2 index 1 .
          if sy-subrc = 0 .
            update zsdtab1 set excise_dat = itab2-budat
                         where commno = mara_itab-matnr .
          endif .
        endif .
      endloop .
    endform.                               " UPDATE_EXCISE_DATE
    form get_order using matnr .
    types :  begin of itab_type ,
                vbeln like vbap-vbeln ,
                posnr like vbap-posnr ,
             end of itab_type .
    data : itab type itab_type occurs 10 with header line .
    refresh itab . clear itab .
    select * from vbap where matnr = mara_itab-matnr .
       itab-vbeln = vbap-vbeln .
       itab-posnr = vbap-posnr .
       append itab .
    endselect .
    loop at itab .
      select single * from vbak where vbeln = itab-vbeln .
      if vbak-vbtyp <> 'C' .
        delete itab .
      endif .
    endloop .
    loop at itab .
    select single * from vbfa where vbelv = itab-vbeln and
             posnv = itab-posnr and vbtyp_n = 'H' .
    if sy-subrc = 0 .
      delete itab .
    endif .
    endloop .
    clear :  zsdtab1_itab-vbeln ,  zsdtab1_itab-bill_doc .
    loop at itab .
      zsdtab1_itab-vbeln = itab-vbeln .
      select single * from vbfa where vbelv = itab-vbeln and
             posnv = itab-posnr and vbtyp_n = 'M' .
    if sy-subrc = 0 .
      zsdtab1_itab-bill_doc = vbfa-vbeln .
    endif .
    endloop .
    endform .
    *&      Form  GET_CARTYPE
    form get_cartype using matnr .
    select single * from mara where matnr = matnr .
    zsdtab1_itab-cartype = mara-satnr .
    endform.                    " GET_CARTYPE

    Hi,
    I have analysed your program and i would like to share following points for better performance of this report :
    (a)  Use the field Names instead of Select * or Select Single * as if you use the field names it will consume less amount of resources inside the loop as well as you have lot many Select Single * and u r using very big tables like VBAP and many more.
    (b) Trace on ST05 which particular query is mostly effecting your system or use ST12 in current mode to trace for less inputs which run the report for 20-30 min so that we get an idea which queries are effecting the system and taking a lot of time.
    (c) In Case of internal tables sort the data properly and use binary search for getting the data.
    I think this will help.
    Thanks and Regards,
    Harsh

  • Classifiction View in material master --- ausp

    Hi all,
    I am using the BAPI_MATERIAL_SAVEDATA to create or save the material.
    In that i dont know how to create or update the classification view which concerns the ausp table.
    Any one help me how to update the Classifiction view.
    Anyother bapi has to be used in addition to that of bapi_material_savedata.
    Please suggest me the way.
    Thanks & Regards,
    S.Shankar

    Hi Shankar,
    I once faced the similar problem. I got a code which will give you a clear picture,
    report zc1_bapi_classification .
    This is a dummy program designed to show how to create a batch and  *
    then apply/change characteristics via BAPI control.                 *
    tables: klah, ksml, cabn.
    holds data for charcateristics with type NUM
    data: begin of numtab occurs 0.
            include structure bapi1003_alloc_values_num.
    data: end of numtab.
    holds data for charcateristics with type CHAR/DATE
    data: begin of chatab occurs 0.
            include structure bapi1003_alloc_values_char.
    data: end of chatab.
    holds data for charcateristics with type CURR
    data: begin of curtab occurs 0.
            include structure bapi1003_alloc_values_curr.
    data: end of curtab.
    Error return table
    data: begin of rettab occurs 0.
            include structure bapiret2.
    data: end of rettab.
    data: begin of it_ksml occurs 0.
            include structure ksml.
    data: end of it_ksml.
    characteristic names
    data: begin of it_cabn occurs 0,
            atinn like cabn-atinn,
            atnam like cabn-atnam,
            atfor like cabn-atfor,
          end of it_cabn.
    data: begin of it_object occurs 0.
            include structure bapi1003_object_keys.
    data: end of it_object.
    example of an object key 00000000000730000007505847897897
    data: w_object like bapi1003_key-object.
    Change these defaults to suit your system
    parameters: p_matnr like mara-matnr    obligatory default '7300000',
                p_werks like t001w-werks   obligatory default '0750',
                p_charg like mcha-charg    obligatory default '5847897898',
                p_lgort like dfbatch-lgort obligatory default '1000',
                p_klart like klah-klart    obligatory default '022',
                p_class like klah-class    obligatory default 'RETREAD'.
    initialization.
      perform get_characteristics.
    start-of-selection.
      perform create_batch.
      perform bapi_commit.
      perform build_object_key.
      perform extract_original_batch.
    end-of-selection.
      perform update_original_batch.
      perform bapi_commit.
          FORM get_characteristics                                      *
    form get_characteristics.
    extract the characteristic names for KLART/CLASS
      clear: klah, ksml, it_cabn.
      refresh it_cabn.
      select single clint from klah
      into corresponding fields of klah
      where klart = p_klart
        and class = p_class.
      if syst-subrc = 0.
        select * from ksml
        into corresponding fields of ksml
        where clint = klah-clint.
          select single * from cabn
          into corresponding fields of cabn
          where atinn = ksml-imerk.
          if syst-subrc = 0.
            it_cabn-atinn = cabn-atinn.
            it_cabn-atnam = cabn-atnam.
            it_cabn-atfor = cabn-atfor.
            append it_cabn.
          endif.
        endselect.
      endif.
    endform.
          FORM create_batch                                             *
    form create_batch.
      clear: rettab.
      refresh: rettab.
    create the batch using screen values, you will most likely have to
    determine the next batch number from the number range.
      call function 'BAPI_BATCH_CREATE'
           exporting
                material             = p_matnr
                batch                = p_charg
                plant                = p_werks
                batchstoragelocation = p_lgort
           tables
                return               = rettab.
    endform.
          FORM build_object_key                                         *
    form build_object_key.
    build the object key
      clear: it_object, rettab.
      refresh: it_object, rettab.
      it_object-key_field = 'MATNR'.
      it_object-value_int = p_matnr.
      append it_object.
      it_object-key_field = 'WERKS'.
      it_object-value_int = p_werks.
      append it_object.
      it_object-key_field = 'CHARG'.
      it_object-value_int = p_charg.
      append it_object.
      call function 'BAPI_OBJCL_CONCATENATEKEY'
           exporting
                objecttable    = 'MCHA'
           importing
                objectkey_conc = w_object
           tables
                objectkeytable = it_object
                return         = rettab.
    endform.
          FORM extract_original_batch                                   *
    form extract_original_batch.
    extract the original characteristic data if exists
      clear:  numtab, chatab, curtab, rettab.
      refresh:  numtab, chatab, curtab, rettab.
      call function 'BAPI_OBJCL_GETDETAIL'
           exporting
                objectkey       = w_object
                objecttable     = 'MCHA'
                classnum        = p_class
                classtype       = p_klart
           tables
                allocvaluesnum  = numtab
                allocvalueschar = chatab
                allocvaluescurr = curtab
                return          = rettab.
    endform.
          FORM update_original_batch                                    *
    form update_original_batch.
    Below are some examples of characteristics to update, obviously you
    would change these to match the ones in your system
    ATNAM is the characteristic name.
    find characteristic format in it_cabn and call update routine
      read table it_cabn with key atnam = 'TREAD'.
      perform update_table using it_cabn-atfor it_cabn-atnam 'HW203'.
      read table it_cabn with key atnam = 'ORRETREAD'.
      perform update_table using it_cabn-atfor it_cabn-atnam '11225HW203C'.
      read table it_cabn with key atnam = 'CASINGCODE'.
      perform update_table using it_cabn-atfor it_cabn-atnam '7100044'.
      read table it_cabn with key atnam = 'CASINGSTATUS'.
      perform update_table using it_cabn-atfor it_cabn-atnam 'CUSTOMER'.
      read table it_cabn with key atnam = 'CASEVAL'.
      perform update_table using it_cabn-atfor it_cabn-atnam '0'.
      read table it_cabn with key atnam = 'CUSTOMER'.
      perform update_table using it_cabn-atfor it_cabn-atnam '0276933500'.
      read table it_cabn with key atnam = 'FROMLOC'.
      perform update_table using it_cabn-atfor it_cabn-atnam '0584'.
      read table it_cabn with key atnam = 'BRAND'.
      perform update_table using it_cabn-atfor it_cabn-atnam 'BRI'.
      read table it_cabn with key atnam = 'NOCAPS'.
      perform update_table using it_cabn-atfor it_cabn-atnam '1'.
      read table it_cabn with key atnam = 'RETURNLOC'.
      perform update_table using it_cabn-atfor it_cabn-atnam '0584'.
      read table it_cabn with key atnam = 'RECDATE'.
      perform update_table using it_cabn-atfor it_cabn-atnam '26.07.2004'.
      read table it_cabn with key atnam = 'SENTDATE'.
      perform update_table using it_cabn-atfor it_cabn-atnam '26.07.2004'.
      read table it_cabn with key atnam = 'FLOC'.
      perform update_table using it_cabn-atfor it_cabn-atnam '0750'.
      read table it_cabn with key atnam = 'AUTOCLAVE'.
      perform update_table using it_cabn-atfor it_cabn-atnam '4'.
      read table it_cabn with key atnam = 'REPAIRCODE'.
      perform update_table using it_cabn-atfor it_cabn-atnam 'MINOR'.
    perform the update
      perform bapi_change.
    endform.
          FORM update_table                                             *
    form update_table using atfor atnam value.
    depending on data format, start building the characteristics table
    ready for update
      case atfor.
        when 'NUM'.
          read table numtab with key charact = atnam.
          if syst-subrc  = 0.
            numtab-value_from = value.
            modify numtab index syst-tabix.
          else.
            numtab-charact = atnam.
            numtab-value_from = value.
            append numtab.
          endif.
        when 'CURR'.
        when 'CHAR' or 'DATE'.
          read table chatab with key charact = atnam.
          if syst-subrc  = 0.
            chatab-value_neutral = value.
            modify chatab index syst-tabix.
          else.
            chatab-charact = atnam.
            chatab-value_neutral = value.
            append chatab.
          endif.
      endcase.
    endform.
          FORM bapi_change                                              *
    form bapi_change.
    Apply the characteristics to the batch.
      call function 'BAPI_OBJCL_CHANGE'
           exporting
                objectkey          = w_object
                objecttable        = 'MCHA'
                classnum           = p_class
                classtype          = p_klart
           tables
                allocvaluesnumnew  = numtab
                allocvaluescharnew = chatab
                allocvaluescurrnew = curtab
                return             = rettab.
    endform.
          FORM bapi_commit                                              *
    form bapi_commit.
    commit the changes
      call function 'BAPI_TRANSACTION_COMMIT'.
    endform.
    Hope this will solve your problem.
    Thanks
    Kathirvel

  • CO PA Data source

    Hi ,
    Can anyone tell me steps and transactions used to create Data source in R3 side for CO PA Extraction .
    I am using KEB0 Transaction , What is the procedure , I gave a name and Pressed F8 , IT took to a screen , But that is in Display mode , No save option was there , How to make it in change mode and how to save the data source  , How to view that data source after Creating .
    Steps related to Creation , Saving , viewing of CO PA data source in R3 sides are needed ...
    Kumar

    Hi Kumar,
    Company specific Structures in COPA are definined in Operating Concerns. They are of two types of COPA: Cost Based or Account based. These operating concerns have their own characteristics, value fields if it is cost based and characteristics, amounts and G/L accounts if it is account based COPA.
    Main Tables in COPA
    CE1xxxx Actual Line Item Table
    (xxxx refers to operating Concern)
    CE2xxxx Plan Line Items
    CE3xxxx Value Fields (Key Figures),
    (simlar to Fact Table in BW)
    CE4xxxx Characteristics table
    (similar to Dimension table)
    For COPA extraction there is no standard business content data sources available because companies operating concerns are oganization specific, hence for these customized datasources have to be created using transaction KEB0 using above tables. The data read by the extractor using pull mechanisms. Note to counter high volumes of data they are delata enabled and there is safety delta of 30 minutes as it pulls only data that is older than 30 minutes.
    (From:COPA)
    Also check:COPA
    Bye
    Dinesh

  • Multiple List Box showing Duplicate Options in Existing Form Library forms.

    Good day.  I currently have an InfoPath 2010 form library template that has a view containing 4 multiple selection list boxes.  These list boxes get their values from a hidden view that contains 4 repeating tables in which I've set default values
    for Value and Display name to populate the multiple selection list boxes.
    The issue I am having is this: When adding new options to the repeating tables through the Default Values option window and publish, new forms display the new selection options successfully, while existing forms in the library when opened are displayed duplicates
    of the first default value in the table in the place of the new options. (Example, Create Data[display] - 10[value] is displaying 4 times after adding 3 new options to the characteristics table that contains Create Data as it's first row item.)
    When comparing the .XML of a new form to an existing form, groupX in this case shows all options in the new form .XML, but shows the duplicates in the .XML of an existing .XML file.
    Is there a way to resolve this issue so that existing documents will display the proper selection options instead of the duplicates?  I'd like to note that another list box had a value added and it displayed the value properly when published in both
    new and existing forms.
    Thanks!

    Hi Hemendra:
    There are no rules on Section A.
    Two out of three forms used so far by the users have these problems.
    We did extensive trending study on all the submitted forms on both where the submit was successful and ones with Section A frozen up. Also, requested a user to submit a few forms per our instructions on different browsers.  Even though there are some
    forms in the past which could be claimed as success has some attachment uploaded to the Section A of the form, currently every time an attempt by any usetr to attach a smallest document the section A, it wipes out all the existing completed fields and freezes
    up all the rest of the controls of that section and not any other part of the form.
    Thanks,
    SRA
    SRAEngineer

  • COPA and BSEG-SGTXT

    We have postings that are happening in FI, and the users are populating the text fields on these postings.  Is there a way to pass this text field over to COPA to bring into reporting and display of documents in that module?

    Your question is more appropriate for the ERP Financials - Controlling forum, but I don't have authority to move it.  So I'll go ahead and try to give you an answer here.  But keep that in mind when posting about CO-PA in the future since a larger audience will be found at the other [forum|SAP ERP Financials - Controlling; This requirement is an unusual request and the only way I think it could be possible is as follows.
    1 Define a new characteristic (KEA5) with the option "No check" data validation so that no master data would be expected in CO-PA (KES1).
    2 Add this new characteristic to your operating concern (KEA0) and activate and generate the operating concern.
    3 Utilize COPA enhancement COPA0005 (SMOD) by defining an enhancement project in (CMOD) and calling the function module EXIT_SAPLKEII_002 and programming your logic to read SGTXT from include INCLUDE ZXKKEU08.  (Notice that use of enhancement COPA0005 is not related to CO-PA derivation (KEDR), rather it is a way to directly modify the CO-PA data passed by the FI/CO document.
    Here is some relevant documenation on COPA005.
    This enhancement lets you modify how actual data is updated in
    Profitability Analysis via the FI/CO interface.
    Caution!
    Using the components in this enhancement means that you are modifying
    the standard update of actual data from Sales and Distribution (SD),
    Financial Accounting (FI), or Materials Management (MM) to Profitability
    Analysis. To avoid data from being updated inconsistently, you need to
    have a solid understanding of the "FI/CO document" interface!
    Make changes with extreme caution. If unsure, contact SAP!
    The components comprise the following function modules:
    o   EXIT_SAPLKEII_001
    o   EXIT_SAPLKEII_002
    You are responsible for ensuring the consistency of any changes made!
    Test each change made extensively before use in the productive system.
    For further clarification, contact SAP.
    You should strongly consider whether this solution will negatively affect your system performance by growing your segment-level characteristics (table CE4XXXX where XXXX is your operating concern).  You may want to in fact make this new characteristic field a non-segment level characteristic (KEQ3).  This will disable you from viewing this field in summary level CO-PA reports (KE31), but it would available from line item based reports (KE91) or from a custom BW infoprovider which gets line item data.  You could of course use a combination of KE31 reports and KE91 reports by jumping from summary to detail reports and passing the selected characteristics.  This is accomplished via the split report (KE3L) option.
    Best regards,
    [Jeffrey Holdeman|https://www.sdn.sap.com/irj/sdn/wiki?path=/display/profile/jeffrey+holdeman]
    SAP BusinessObjects
    Enterprise Performance Management
    Regional Implementation Group
    Tried to fix the formatting, but unsuccessful.  Edited by: Jeffrey Holdeman on Jul 28, 2009 10:04 PM
    Edited by: Jeffrey Holdeman on Jul 28, 2009 10:10 PM

  • Adding dynamic columns to region

    I have four tables named projects,Sharedservices,Characteristics,Quantitystructures. The Sharedservices and Characteristisc tables are linked together using Sharedservice Id field. The Quantitystructures table is linked with Projects and Characteristics tables using Project Id and Characteristic Id fields respectively. I have a form that contains three select list items one for selecting the Sharedservice. When the Sharedservice is selected the Characteristic item gets populated automatically with the selected Sharedservice Characteristcs. The third item is the timestamp displaying the months from the Month table.
    The region displays Project Name and the amount of utilization for the selected Sharedservice and the corresponding Characterisctic for a particular month.
    Now what I want to do is that when a Sharedservice is selected dynamic columns should be added to the region depending on the number of Characteristics the Sharedservices has and they should be linked to the amount field.
    The reason to do this is that I want the end users to just select the Sharedservice and then enter the amount of utilization for the respective Characteristics instead of first selecting them one by one from the Characteristics item and then entering the utilization amount by the projects.(The amount field is present in the Quantitystructures table)
    I would really appreciate any help on this issue.
    Edited by: user11298661 on Jul 8, 2009 10:57 PM

    Hi,
    I'm not 100% clear on what is on the page. "Column" usually refers to a column in a report or tabular form. Is this what you mean? Or do you want to show individual pages items?
    Is the data for the characteristics being stored as individual records on the table for each characteristic? Or, is there a single record for all characteristics for each Sharedservice and you want to show/hide some of these?
    Andy

  • How to ger through  SAP HCM certification test?

    Hi friends,
    I have to take SAP HCM certification exam on 29th july. kindly provide some tips and advice to get through it.
    Mukesh Suman

    Hi,
    I feel certification is about complete remembering of the 4 books which SAP provides.
    Some tips while answering the questions is try to answer those questions first which you are 80-100 % sure.
    Then answer the rest questions.
    Everyone told me if you give 3-5 contnous wromg answers and submit them you will not certify.
    Thus be sure to give continous right answers by answering the once you are completely sure.
    On the type of questions part :
    1. Employee subgrou grouping personnel subarea grouping questions are a must, e.g To which of the below personnel subare grouping can be done a) Work schedule b)Basic pay etc
    2. Holiday Calendar- Moving Holiday and non-moving holiday-Types of Holidays
    3.On Basic pay Infotype- Payscale groups and levels fundamentals
    4. Wagetype characteristics table, each field be sure
    5. Indirect evaluation INVAL A, B.,C,D-PRZNT, SUMME
    6.Features : ABKRS,NUMKR,- and remember all features in the book must be around 15
    7. Work schedule generation steps
    8. Time Evaluation Types- In IT 0007 you have the types
    9. Positive time - which of the below are true for positive time
    10.Negative time - same question
    11. Payroll area ; 1 scenario with different dates and frequency, suggest how many payrolll areas.( Draw diagram in a paper like  circles and suggest how many)
    12.Solution Manager: Try to get 100 % in this area. This is very small section in the book.
    13. Personnel actions definition
    14. Definition of all components of Personnel structure and Enterprise structure
    15. Definition of schema
    Basically all topics in the book 1 question.
    Remeber in certficatin ther are no queries on the table Names like t512d  in general. All they ask is concepts and fundamentals.
    For this remebering the book is very important.
    All the best and relax. When u see the first question don't start feeling you dont know, keep a positive mindset and high concentration you will get through.
    Regards,
    Prabha

Maybe you are looking for