Pls suggest right BAPI  FOR  Tcode(MSC2N)

Hi All,
I am uploading the data(characteristic values) through the Tcode MSC2N When I am trying to do this through bdc it's not allowing to change characteristic values?What will be the problem?we can use the BAPI BAPI_OBJCL_CHANGE but this bapi will only change the characteristic values but I also need to change date1 field(this is there in the Basic data2in the same transaction MSC2N) Can any body suggest how to do this please?
Thanks&Regards
Mahesh

Hay Mahesh
Try with the following BAPI's
BAPI_OBJCL_CREATE              Classification BAPI: Create Assignment
BAPI_OBJCL_CREATE_KEY          BAPI for Classification: Create Assignment (Key)
Thanks & regards
Sreenivasulu P

Similar Messages

  • Need a BAPI for Tcode 'OX19'

    Hi,
      I need a BAPI for Tcode 'OX19' so that the comapny codes for that Controlling area gets updated in the database.
    Regards,
    Deepthi.

    Hi,
    Using the  BAPI "BAPI_COAREA_GET_RELATED_CCODES" , I am able to view the company codes for that Controllling area. I need for Creation of Company codes for the controlling area. can you tell me please.
    Regards,
    deepthi.

  • Pls Suggest server names for Reporting Server and Shared Services

    Hi,
    Can any one Pls Suggest server names for Reporting Server and Shared Services
    Thanks in advance.

    Report server name: OrclRpt
    Shared Services: OrclSS

  • Any BAPI for tcode :FB50/FB50L

    HI ,
    is there any BAPI for tcode FB50 & FB50L.
    POints will be rewarded
    Thanks in advacne

    hi
    List of all BAPIs
    http://www.planetsap.com/LIST_ALL_BAPIs.htm
    http://www.sappoint.com/abap/bapiintro.pdf
    http://www.sappoint.com/abap/bapiprg.pdf
    http://www.sappoint.com/abap/bapiactx.pdf
    http://www.sappoint.com/abap/bapilst.pdf
    http://www.sappoint.com/abap/bapiexer.pdf
    http://service.sap.com/ale
    http://service.sap.com/bapi
    http://www.geocities.com/mpioud/Abap_programs.html
    http://www.sapdevelopment.co.uk/reporting/reportinghome.htm
    regards
    ravish
    <b>plz dont forget to reward points if helpful</b>

  • FM or BAPI for Tcode: FAGLSKF

    Hi,
    I have searched SDN and was unable to find any BAPI for posting into Tcode FAGLSKF.
    When I decided that i need to go with BDC, unfortunately it is not a table container and a ALV container.
    Let me know how to deal with it.
    I have found some FM for this but doesnt do any validations and directly write into the table .
    Regards
    Krish

    Try  'BAPI_ACC_POST_STAT_KEYFIGURE'
    Find Sample code for the same
    DATA :
           ls_doc_header         TYPE          bapifaglskf01,
           ls_item_file_content  TYPE          zst_fi_upload_format,
           lt_extension          TYPE TABLE OF bapifaglskf03,
           lt_doc_items          TYPE TABLE OF bapifaglskf02,
           ls_doc_items          TYPE          bapifaglskf02,
           ls_return             TYPE          bapiret2.
    ********Form Document Header.
       CLEAR ls_doc_header.
       ls_doc_header-comp_code = iv_company_code.
       ls_doc_header-date_from = iv_date_from.
       ls_doc_header-date_to = iv_date_to.
       ls_doc_header-version = '1'.
       ls_doc_header-act_plan_indicator = '0'."Actual
    * Form document Item
       REFRESH lt_doc_items[].
       LOOP AT it_item_file_content INTO ls_item_file_content.
         ls_doc_items-statkeyfig = ls_item_file_content-stagr.
         ls_doc_items-profit_ctr = ls_item_file_content-prctr.
         ls_doc_items-quantity  = ls_item_file_content-mbgbtr.
         APPEND ls_doc_items TO lt_doc_items.
         CLEAR ls_doc_items .
       ENDLOOP.
    **Call BAPI to creat the Document
       CALL FUNCTION 'BAPI_ACC_POST_STAT_KEYFIGURE'
         EXPORTING
           documentheader = ls_doc_header
         TABLES
           linedata       = lt_doc_items
           extension1     = lt_extension
           return         = et_return.
       CLEAR ls_return.
       READ TABLE et_return INTO ls_return WITH KEY type = 'S'.
       IF sy-subrc EQ 0.
         ev_doc_no = ls_return-message_v1.
       ENDIF.

  • Pls suggest Online docs for 1Z0-051

    I am new to the forum and trying to get online Documentation for first exam in the track...Can somebody pls suggest online help and sites related to the OCP..?
    Edited by: user10997331 on Apr 10, 2009 1:02 PM

    Please read:
    1) The forum faq (announcment stickey post at he top of this forum) [http://forums.oracle.com/forums/ann.jspa?annID=794]
    2) The certification blog on [http://education.oracle.com/pls/web_prod-plq-dad/db_pages.getpage?page_id=39]
    3) The oracle certifiaction site has lots currently on [http://education.oracle.com/pls/web_prod-plq-dad/db_pages.getpage?page_id=39]
    (View all certifications and drill down to a certifaction or exam), you should be able to find the exam topics.
    4) Search in this forums for posts on 1z0-051.
    5) If you are serious about Oracle also take time to become familar with the Oracle Technology website [http://www.oracle.com/technology] which has links to documentation and tutorials and other resources.
    6) IMPORTANT: Some 'online docs' you may find, or are directed to, or may be offered (particularly braindumps), may be unauthorised materials and using them could end up with you losing credit for any exam/certification you may take.
    Hopefully you will find these references and places to search useful.
    Rgds - bigdelboy.
    Edited by: bigdelboy on 10-Apr-2009 14:39 - did not notice hsawwan had replied earlier and given a good reference.

  • Any BAPI for Tcode FD32

    Hi Experts,
    Can anyone please tell me if there is a BAPI for the Tcode FD32 to block a
    customer who exceeds his credit limit?
    Thanks
    Dany

    if both KNKA and KNKK are updated.
    use this FM CREDITLIMIT_CHANGE.
    if either KNKA or KNKK is updated.
    use FM KLIM_WRITE_DOCUMENT
    below is a simple example.
    REPORT  ZTEST.
    TABLES:t014,t014t.
    INCLUDE ff02lcdf.
    INCLUDE ff02lcdv.
    PARAMETERS:kunnr LIKE knkk-kunnr,
               kkber LIKE knkk-kkber.
    START-OF-SELECTION.
    END-OF-SELECTION.
      CLEAR:t014,yknka,knka,yknkk,knkk.
      SELECT SINGLE * FROM t014 WHERE kkber = kkber.
      IF sy-subrc = 0.
        *XF02C = t014-waers.
        xf02c = t014-waers..
      ENDIF.
      objectid = kunnr.
      tcode = 'FD32'.
      utime = sy-uzeit.
      udate = sy-datum.
      username = sy-uname.
      upd_knkk = 'U'.
      SELECT SINGLE * FROM knka INTO yknka WHERE kunnr = kunnr.
      IF sy-subrc = 0.
        MOVE yknka TO knka.
      ENDIF.
      SELECT  SINGLE * FROM knkk INTO  yknkk WHERE kunnr = kunnr AND kkber = kkber.
      IF sy-subrc = 0.
        MOVE yknkk TO knkk.
        knkk-klimk = '543.23'.
        knkk-ctlpc = 'SG2'.
        MODIFY knkk.
      ENDIF.
      IF   ( upd_knka                           NE space )
          OR ( upd_knkk                           NE space )
        CALL FUNCTION 'KLIM_WRITE_DOCUMENT           ' IN UPDATE TASK
          EXPORTING
            objectid                = objectid
            tcode                   = tcode
            utime                   = utime
            udate                   = udate
            username                = username
            planned_change_number   = planned_change_number
            object_change_indicator = cdoc_upd_object
            planned_or_real_changes = cdoc_planned_or_real
            no_change_pointers      = cdoc_no_change_pointers
            o_yknka                 = yknka
            n_knka                  = knka
            upd_knka                = upd_knka
            o_yknkk                 = yknkk
            n_knkk                  = knkk
            o_xf02c                 = *xf02c
            n_xf02c                 = xf02c
            upd_knkk                = upd_knkk.
      ENDIF.
      CLEAR planned_change_number.

  • Any BAPI available for Tcode MSC2N

    Hello,
    Very Good Afternoon,
    I need to change the few vlaues in the t-code MSC2N.
    I need to change the City of Origin and Reg Of orign for few Batch numbers
    in Basic Data1 tab.
    There are around 1000 batch numbers which needs this change
    Is there any BAPI available to go ahead..
    Any suggestions will be appreciated.
    Regards,
    Kittu

    Hi, You can update classification for a batch using the following code.
    But first, you'll need to find out that the batch management is cross-plant or plant dependant.
    If it is cross plant then plant(WERKS) is not part of the key to BAPI_OBJCL_CONCATENATEKEY.
    CLEAR: objectkey, objectkeytable, objectkeytable[],
               allocvaluesnumnew, allocvaluesnumnew[],
               return.
        objectkeytable-key_field = 'MATNR'.
        objectkeytable-value_int = matnr.
        APPEND objectkeytable.
        objectkeytable-key_field = 'CHARG'.
        objectkeytable-value_int = charg.
        APPEND objectkeytable.
    * Only if Batch management is Plant dependant
        objectkeytable-key_field = 'WERKS'.
        objectkeytable-value_int = werks.
        APPEND objectkeytable.
        CALL FUNCTION 'BAPI_OBJCL_CONCATENATEKEY'
          EXPORTING
            objecttable    = objecttable
          IMPORTING
            objectkey_conc = objectkey
          TABLES
            objectkeytable = objectkeytable
            return         = return.
        allocvaluesnumnew-charact = "characteristic name goes here".
        allocvaluesnumnew-value_from ="characteristic value goes here".
        APPEND allocvaluesnumnew.
        allocvaluesnumnew-charact =  "characteristic name goes here".
        allocvaluesnumnew-value_from =  "characteristic value goes here".
        APPEND allocvaluesnumnew.
        CALL FUNCTION 'BAPI_OBJCL_CHANGE'
          EXPORTING
            objectkey                = objectkey
            objecttable              = objecttable
            classnum                 = classnum
            classtype                = classtype
    *   STATUS                   = '1'
    *   STANDARDCLASS            = STANDARDCLASS
    *   CHANGENUMBER             = CHANGENUMBER
    *   KEYDATE                  = SY-DATUM
    *   NO_DEFAULT_VALUES        = ' '
    * IMPORTING
    *   CLASSIF_STATUS           = CLASSIF_STATUS
          TABLES
            allocvaluesnumnew        = allocvaluesnumnew
            allocvaluescharnew       = allocvaluescharnew
            allocvaluescurrnew       = allocvaluescurrnew
            return                   = return
    * Do not forget to commit, otherwise changes would not take effect.
    commit work.
    Regards,
    Hashir Ahmed

  • Any FM/Bapi/program to find BAPIs for tcodes?

    Hi,
    Is there any program or BAPI or FM  to find all the BAPIs that are used in Tcode.
    Thanks
    Ganesh

    There is no such report, and it will be hard (via ABAP) to determine which BAPI should be used for a certain transaction. These BAPI's are normally not used in transactions since these BAPI's are to be called from remote systems. So there is no 'where used'  for this.
    So to determine this will be very very hard. A long shot, not even sure this will work:
    1. Determine BAPI's called from IDoc's.
    2. Determine function module which is called from within BAPI.
    3. Simulate the 'where used' functionality in other programs.
    4. Check if any of these programs have a transaction code attached to it.
    As I said, very hard, if not impossible.
    BTW: Are you looking for BAPI's or BADI's? Big difference.
    Edited by: Micky Oestreich on Mar 6, 2009 6:22 PM

  • Pls suggest a book for OCP DBA

    Hello friends,
    I wanted to take Oracle database administrator certification exam(OCP)
    Can anyone please suggest me which book i can use. i have very little experience
    in oracle..
    thank u
    karthik

    Hi
    You can start with the installation and config guide for e sourcing application.Also scripting and workflow guide would provide you a lookin to the technical aspects. Follow the below mentioned links:
    http://help.sap.com/saphelp_sourcing_70_p/helpdata/en/39/8ee60a3d74482e9e0111c46dc1e23d/frameset.htm
    https://websmp106.sap-ag.de/support
    Regards
    Mudit Saini

  • Pls suggest a reason for a compile time error

    the following program gives a compile time error bcoz of the statement
    ((State)this).val=this.val. if u could suggest why?
    public class Mainc
    public static void main(String args[])
    State st=new State();
    System.out.println(st.getvalue());
    State.Memento mem= st.memfunc();
    st.altervalue();
    System.out.println(st.getvalue());
    mem.restore();
    System.out.println(st.getvalue());
    public static class State
    protected int val=11;
    int getvalue()
         return val;
    void altervalue()
         val=(val+7)%31;
    Memento memfunc()
         return new Memento();
    class Memento
         int val;
    Memento()
         this.val=state.this.val;
         void restore()
              ((State)this).val=this.val;
    }

    The statement :
    ((State)this).val
    tries to cast Memento into its super class State which is inorrect [former is not latter's subclass]
    restore method should be as follows:
    void restore()
    State.this.val=this.val;
    }

  • Pls suggest a app for transfering pics with serial num: as in my pc to enable search option!

    hie,
    i bought this new ipad for my enterprise, i have several jewelery folders in my pc, which i thought i will be able to transfer in the same way into ipad,
    but i observed now, that into ipad, all the photos from pc gets transfered all in one without any serial number/lable/title.
    & on ipad it doesnot have any search icon on the top to enter a desired number.
    can someone please help with what could be a solution, or which applicztion would best suite my problem.
    i would like all the photos transfered with serial number the same as in my pc. & to enable myself to pick a specific numbered photo at once without going to scroll down the ipad looking for that specific photo.
    awaititng to hear form everyone with a best solution.
    thanxs
    tonymamiya

    It turns out that I may have not waited enough time for the wipe of all of my existing calendar appointments to sync through.
    I created a few more in outlook, deleted them, checked via the office 365 web calendar they were deleted.
    Then I waited another 15 minutes, created the Exchange/Office365 account from scratch, and magic I appear to be back!
    (until something else goes wrong that is)

  • Bapi for T-code LSO_PV11 Create course

    Hi
       Anyone pls suggest the bapi for the T-code LSO_PV11 i.e Create course

    Hello There.
    I would like to suggest my opinion,
    To know the Function module for a particular Transaction,
    1. Table TSTC gives the Program name for a particular transaction.
    There are includes which contain (say) "Global data" and "Function modules".
    2. To get BAPI function modules, Transaction BAPI is the most powerfull solution for any module.
    One more thing, to be kept in mind while creating a BAPI is to create a function module and make it RFC enabled.
    BAPIs are nothing but RFC enabled function modules.
    Hope that's usefull.
    Good Luck & Regards.
    Harsh Dave

  • BAPI for o4f1 tcode

    hi all,
            I am working on the bdc for tcode o4f1 belongs to OIL domain.
    Facing the problem while uploading the data into table controls.
    Can anyone suggest the BAPI for the tcode o4f1?

    T.code ORF1 is maintenence view for the view V_TVST_RF. This view contains more than one table in it. I dont think there would be BAPI available to update data into this view. Please go to transaction se93 and view the details of this transaction. This transaction calls SM30 with the viewname as parameter.
    Thanks,
    LK.

  • BAPI for KB11N tcode

    Hi,
    Could you please let me know if there is a standard BAPI which does the same functionality as that of KB11N tcode.
    Regards
    Vimal

    pls chk this thread
    Re: BAPI for Tcode KB11N

Maybe you are looking for

  • New columns in Enjoy Preq (ME51N/ME52N/ME53N) overview ALV

    Hi all, I want to add some new columns in the overview subscreen of the Enjoy Purchase Requisition transactions (ME21N/ME22N/ME23N). I've added some fields on item level of the PReq, via the enhancement MEREQ001 (in the Customer include CI_EBANDB). I

  • Amount in MB5B

    hI, Can any one tell me in MB5B( stock on posting date) . at the time of posting stock system increasing amount in local currency. I want to know that how & from where system this value is picking? regards Manoj..

  • Long back-and-forth with Lenovo... any suggestions?

    Below is a excruciatingly detailed record of my long struggle with Lenovo's customer support regarding my T61, for which I purchased a warranty that is good until June 26, 2010. This is the result of painstaking documentation all along the way; I hav

  • How to use pkmc by using lsmw

    I have many items their location need to be changed from one to another ,and qty is also need to be changed if needed,so I want to using the automatic method -lsmw, but when I have recorded the steps and save the table to excel version at step 3,it o

  • Oracle forms 10g,multiple insert and update problem

    Hi, I have tabular form(4 records displayed) with one datablock(based on a view). After querying the form could not update all the records but only first record value can select from LOV. I called a procedure in in-insert and on-update The query is l