How to get field in Report

Hi all,
Please tell me how to get field from following path
GO to MSC2N --
insert material, batch , plant , storage location
Now select classification...
there is box containing 'characsteristics descr ' & value
so how to get that value
I think that values are store in table cawn but i wont found any link to get that
Correct ans will be rewarded

Hi,
If you are trying to get the vaues of these charecteristics in your report, then
Try using the fm VB_BATCH_GET_DETAIL
  CALL FUNCTION 'VB_BATCH_GET_DETAIL'
    EXPORTING
      matnr                    = is_final-matnr
      charg                    = is_final-charg
      werks                    = is_final-werks
      get_classification       = 'X'
*   EXISTENCE_CHECK          =
*   READ_FROM_BUFFER         =
*   NO_CLASS_INIT            = ' '
*   LOCK_BATCH               = ' '
   IMPORTING
     ymcha                    = ymcha
*   CLASSNAME                =
TABLES
char_of_batch            = it_batch
EXCEPTIONS
no_material              = 1
no_batch                 = 2
no_plant                 = 3
material_not_found       = 4
plant_not_found          = 5
no_authority             = 6
batch_not_exist          = 7
lock_on_batch            = 8
OTHERS                   = 9
also the function module VC_I_GET_CONFIGURATION
And for table try cabn
Regards
Debarshi

Similar Messages

  • How to get field separator in flat file using GUI_DOWNLOAD function

    hi,
    how to get field separator in flat file using GUI_DOWNLOAD function.
                                    thanking you.

    Hi,
      Use WRITE_FIELD_SEPARATOR = 'X'.
      Check this sample code
    REPORT  z_file_download.
    DATA: w_name(90) TYPE c.
    DATA:
      BEGIN OF fs_flight,
        carrid   LIKE sflight-carrid,
        connid   LIKE sflight-connid,
        fldate   LIKE sflight-fldate,
        price    LIKE sflight-price,
        currency LIKE sflight-currency,
      END OF fs_flight.
    DATA:
      BEGIN OF fs_head,
        carrid(10) TYPE c,
        connid(10) TYPE c,
        fldate(10) TYPE c,
        price(10) TYPE c,
        curr(10) TYPE c,
      END OF fs_head.
    DATA:
      t_head LIKE
       TABLE OF
             fs_head.
    DATA:
      t_flight LIKE
         TABLE OF
               fs_flight.
    fs_head-carrid = 'CARRID'.
    fs_head-connid = 'CONNID'.
    fs_head-fldate = 'FLDATE'.
    fs_head-price  = 'PRICE'.
    fs_head-curr   = 'CURRENCY'.
    APPEND fs_head TO t_head.
    SELECT-OPTIONS:
      s_carrid FOR fs_flight-carrid.
    START-OF-SELECTION.
      SELECT carrid
             connid
             fldate
             price
             currency
        FROM sflight
        INTO TABLE t_flight
       WHERE carrid IN s_carrid.
    CALL FUNCTION 'GUI_DOWNLOAD'
      EXPORTING
    *   BIN_FILESIZE                  =
        filename                      = 'D:\flight.xls'
       FILETYPE                      = 'ASC'
    *   APPEND                        = ' '
        WRITE_FIELD_SEPARATOR         = 'X'
    *   HEADER                        = '00'
    *   TRUNC_TRAILING_BLANKS         = ' '
    *   WRITE_LF                      = 'X'
    *   COL_SELECT                    = ' '
    *   COL_SELECT_MASK               = ' '
    *   DAT_MODE                      = ' '
    *   CONFIRM_OVERWRITE             = ' '
    *   NO_AUTH_CHECK                 = ' '
    *   CODEPAGE                      = ' '
    *   IGNORE_CERR                   = ABAP_TRUE
    *   REPLACEMENT                   = '#'
    *   WRITE_BOM                     = ' '
    * IMPORTING
    *   FILELENGTH                    =
      tables
        data_tab                      = t_head
    EXCEPTIONS
       FILE_WRITE_ERROR              = 1
       NO_BATCH                      = 2
       GUI_REFUSE_FILETRANSFER       = 3
       INVALID_TYPE                  = 4
       NO_AUTHORITY                  = 5
       UNKNOWN_ERROR                 = 6
       HEADER_NOT_ALLOWED            = 7
       SEPARATOR_NOT_ALLOWED         = 8
       FILESIZE_NOT_ALLOWED          = 9
       HEADER_TOO_LONG               = 10
       DP_ERROR_CREATE               = 11
       DP_ERROR_SEND                 = 12
       DP_ERROR_WRITE                = 13
       UNKNOWN_DP_ERROR              = 14
       ACCESS_DENIED                 = 15
       DP_OUT_OF_MEMORY              = 16
       DISK_FULL                     = 17
       DP_TIMEOUT                    = 18
       FILE_NOT_FOUND                = 19
       DATAPROVIDER_EXCEPTION        = 20
       CONTROL_FLUSH_ERROR           = 21
       OTHERS                        = 22
    IF sy-subrc <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
      CALL FUNCTION 'GUI_DOWNLOAD'
        EXPORTING
          filename                = 'D:\flight.xls'
          filetype                = 'ASC'
          append                  = 'X'
          write_field_separator   = 'X'
        TABLES
          data_tab                = t_flight
        EXCEPTIONS
          file_write_error        = 1
          no_batch                = 2
          gui_refuse_filetransfer = 3
          invalid_type            = 4
          no_authority            = 5
          unknown_error           = 6
          header_not_allowed      = 7
          separator_not_allowed   = 8
          filesize_not_allowed    = 9
          header_too_long         = 10
          dp_error_create         = 11
          dp_error_send           = 12
          dp_error_write          = 13
          unknown_dp_error        = 14
          access_denied           = 15
          dp_out_of_memory        = 16
          disk_full               = 17
          dp_timeout              = 18
          file_not_found          = 19
          dataprovider_exception  = 20
          control_flush_error     = 21
          OTHERS                  = 22.
      IF sy-subrc EQ 0.
        MESSAGE 'Download successful' TYPE 'I'.
      ENDIF.
      IF sy-subrc <> 0.
    *  MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.

  • How to get DIVISION wise report in Controlling?

    Hi,
    How to get DIVISION wise report in Controlling? I am not trying to get Division in COPA report but i am not able to see Division Characteristic in Operating concern Data structure.
    Kindly help me - where can i get good Controlling report with Division wise? why i am not able to see the Division characteristic in COPA report?
    Thanks
    Kishore

    HI,
    Check this:
    KEA0 ->Data stucture (Display) ->Extras(Menu) -> Display fixed fields. In this pop-up you will see 'Division' (SPART).
    If this field is defined as Segment level characteristic (KEQ3), then you can build reports on this characteristic using KE35.
    Hope this helps.

  • How to get balance sheet report for profit centers

    hi
    how to get balance sheet report for profit centers, is there any transcation code to get that report or i need to create a report painter report for this

    Hi,
    You can use T. code KE5Z for actual line items.
    More to this you can use program RFBILA10 (Use T. code SE38 and program RFBILA10) for complete blance sheet.
    The transaction is for special purpose ledger but this program RFBILA10 can be used for profit center balance also.
    In selection, you can give ledger name which is generally 8A for profit center ledger.
    Reg

  • How to get a Crystal report as an iview in Portal

    Hi,
    Please let me know how to get a crystal report to Portal.
    Regards,
    Pradeep

    Hi,
    I used URL iview option to get the crystal report in portal and am able to view it. Thank you all for your inputs.
    But as of now SSO is not configured between BOE and BI system, so when i click on URL iview initially it asks me for credentials to BOE InfoView and after entering that it again asks for BI login as the data has to be picked from BI server.
    We are going to configure SSO mean while i just want to know whether it is possible to pass the id and passw as parameters to this url iview, if so what are the parameter id's i need to maintain to pass id and passw.
    Let me know on this.
    Regards,
    Pradeep
    Edited by: pradeep balam on Jul 29, 2011 8:34 AM

  • How to get the link report of a swf file to the set of clases

    He  But How to get the link Report of the SwF File

    Here are some links with additional information:
    http://stackoverflow.com/questions/185252/optimizing-flex-when-multiple-modules-are-used
    http://livedocs.adobe.com/flex/3/html/help.html?content=modular_4.html
    http://livedocs.adobe.com/flex/3/html/help.html?content=controls_15.html
    http://livedocs.adobe.com/flex/3/html/help.html?content=compilers_14.html
    If this post answers your question or helps, please mark it as such.

  • Urgent: How To Get Vendor History Report

    Hi Sap Techies,
    Please can Any one help me how To Get Vendor History Report and Which Transaction Code I have To use or Do i Need to write any Programs For that
    Moderator: Please, search before posting

    Dear,
    What type of history you want for Vendor, you want list of Vendor or you want transaction data for Vendor
    For Vendor transaction use FBL1N and for Vendor List you can use S_ALR_87012086
    Hope it helps!!
    Br,Vivek

  • How to get sms delivery report on iphone 6 ios 8.1

    How to get sms delivery report on iPhone 6 ios 8.1

    Not a feature of the iPhone. Ask your carrier if they support this, as it is a carrier feature.

  • How to get field label in downloaded file

    Hi,
    How to get filed labels, when we download a report to an Excel sheet?
    Thank U

    HI,
      Hoping that you are using the 'GUI_Download'  FM to download. Then you the
      following code
    TYPES : BEGIN OF type_xlhead,
              colname TYPE char50,
            END OF type_xlhead.
    data: type_t_xlhead     TYPE STANDARD TABLE OF type_xlhead,
         CALL FUNCTION 'GUI_DOWNLOAD'
          EXPORTING
            filename                = v_file
            filetype                = c_asc
            write_field_separator   = c_x
          TABLES
            data_tab                = rt_rec_result
            fieldnames              = type_t_xlhead
          EXCEPTIONS
            file_write_error        = 1
            no_batch                = 2
            gui_refuse_filetransfer = 3
            invalid_type            = 4
            no_authority            = 5
            unknown_error           = 6
            header_not_allowed      = 7
            separator_not_allowed   = 8
            filesize_not_allowed    = 9
            header_too_long         = 10
            dp_error_create         = 11
            dp_error_send           = 12
            dp_error_write          = 13
            unknown_dp_error        = 14
            access_denied           = 15
            dp_out_of_memory        = 16
            disk_full               = 17
            dp_timeout              = 18
            file_not_found          = 19
            dataprovider_exception  = 20
    In the table rt_xlhead pass the name of fields.
    DATA : s_xlhead TYPE type_xlhead.
      CLEAR s_xlhead.
      REFRESH  type_t_xlhead .
      s_xlhead-colname = 'Company Code'(116).
      APPEND s_xlhead TO  type_t_xlhead .
      CLEAR s_xlhead.
      s_xlhead-colname = 'Main Asset Number'(117).
      APPEND s_xlhead TO  type_t_xlhead
      CLEAR s_xlhead.
      s_xlhead-colname = 'Sub Number'(118).
      APPEND s_xlhead TO  type_t_xlhead
      CLEAR s_xlhead.
    Rewards points if useful

  • How to get MS Access report into Java by JNI

    hi,
    I am new to JNI and I need to know how could I get MS Access report data in my application. Specially, I am having difficulties in C coding part. I read API documentation and tutorials about JNI, so if you know where could I read about this topic send me that too.
    thanks

    use j-Interop , it has a sample for ADO access.

  • How to get ssouser in reports

    In forms to get sisngle sign on user we use this
    GET_APPLICATION_PROPERTY(SSO_USERID);
    how to get in reports
    Thanks in advance

    Hi
    I have tried following your thread but iam getting default value
    not the one when user looged in using single sign on
    created am user parameter
    assigned a default value
    in selelct statement used
    select ........
    where user_name = :AUTHID
    NOT WORKING GETTIGN DEFAULT VALUE

  • How to get cumulative in reports

    Hi There..
    I am supposed to get the following format.
    The Data which I retrieved frm the query is
    'a' and 'Total'.For 'Cumulative Total' I have to get it frm 'a' and 'total'.....
    I hope u guys got the point...
    a Total Cumulative Total
    a100 100 0
    150 250
    200 450
    a101 50 0
    100 150
    40 190
    and so on....
    I don't know how to get the value stored in cursor and then get the cumulative...
    I will be very grateful if u guys help me out of these....
    Thanx for ur time,
    sharad

    I guess the table which i have drawn is confusing.
    it is like this
    a100 100 0
    150 250
    200 450
    a101 50 0
    100 150
    40 190
    bye
    null

  • How to get SMS delivery report on iPhone 4

    I live in Greece and I use cosmote network how can I recieve SMS reports?

    Not a feature of the iPhone. Ask your carrier if they support this, as it is a carrier feature.

  • How to get field data using a formula

    I have a table with fields ‘pension contribution’ and ‘current year’.The first field stores a single record for a given year.Say if ‘current year’ is 2014 ‘pension contribution’ is 7% and so on.
    I wanted to get a result by providing a certain year from another field in a table using a formula.
    How do I do this?An explanation would be helpful.

    Hi Nebil,
    You can't! You'll need to join the the two tables or use a Subreport.
    -Abhilash

  • How to get summary wise report?

    hi experts,
    i have report, AR Aging analysis, in this i have Base Date and Current date, based on these it calculates age and it shows that amount in that age column, in my report it showing detailed report, but i want summary report.
    for example:
    cust no., Bdate, Curr.date, Age,0-30,31-60
    100,3/1/2008,3/31/2008,30,5000,0
    100,3/12/2008,3/31/2008,19,2000,0
    100,3/3/2008,3/31/2008,28,2000,0
    like this it showing, but i want summary wise, that means it should be summarized based on customer number,
    is it possible or not,
    if it is possible please help to do this,
    thanks in advance
    venkat

    Hi Venkat,
    Summarization of report depends on the data and query structure, as the example you have stated in this you can see although its for the same customer but somewhere down the line for other fields its having distinct values. So this way's you cann not get the summraized data for customer.
    if the report is somewhat like this :
    cust no.,Age,  0-30,31-60
    Then ur output wil be summarized for a particular customer.
    100, 77, 90000, 0
    Thanks
    Dipika

Maybe you are looking for

  • Strange folder "tmp" in "private" folder.   virus?

    an alias folder just recently showed up on my harddrive in the main window/directory (the one that has "applications, library, system and users" It's called "tmp" and is an alias folder. inside there's a folder called 501 and some files like cscache_

  • GL code Allocation Error in ML81N

    Dear All, We have here PS module and made purchase requisition with respect to network, wns element in project and with reference to different PR no. we made PO and when we are going to make service enrty sheet in ML81N and as we select all service i

  • Extraction unicode  BW & unicode R/3 source system

    Hello, I have a situation where I need to load a material master data from R/3 to BW. In source system for material description, language key used as "EN" and description maintained in Chinese language. Both R/3 and BW systems are unicode compliance.

  • Position of charging symbol since 7.0.4 update

    Has the position of the charging symbol on the mini ipad changed from inside the green box to outside the box?

  • Relay Server Configuration

    Hi, I am trying to  configure relay server 16 for SMP2.3. By refering link:-http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/e084e63d-5764-2e10-bcb5-f943c11c6529?overridelayout=t… Have successfully done with step:- Installing the Re