BAPI or FM for KNVV table updation

Hi,
I  want to know a function module or BAPI which updates the Customer Sales data in the KNVV table.
If any one has worked on the same, please let me know. Thanks in advance.
Regards,
Sajith.

Hi,
Why not create a IDOC DEBMAS01 to change the data ?
There is no BAPI available to do this or a function module as far as I know.
Cheers
Colin.

Similar Messages

  • How downtime can be reduced for setup table update.

    Hi;
    Can anyone tell me various ways to reduced system downtime for setup table updates.
    thanks
    Warm Regards
    Sharebw

    Hi,
    You will need to fill the set up tables in 'no postings period'. In other words when no trasnactions are posted for that area in R/3 otherwise those records will not come to BW. Discuss this with end user and decide. Weekends are a general choice for this activity.
    try Early Delta Initialization
    With early delta initialization, you have the option of writing the data into the delta queue or into the delta tables for the application during the initialization request in the source system. This means that you are able to execute the initialization of the delta process (the init request), without having to stop the posting of data in the source system. The option of executing an early delta initialization is only available if the DataSource extractor called in the source system with this data request supports this.
    Extractors that support early delta initialization are delivered with Plug-Ins as of Plug-In (-A) 2002.1.
    You cannot run an initialization simulation together with an early delta initialization.
    hope this link may make you clear about early delta init
    http://help.sap.com/saphelp_nw04s/helpdata/en/80/1a65dce07211d2acb80000e829fbfe/frameset.htm
    thanks,
    JituK

  • Required to create a script for base table update using XMLSTORE package.

    Hi can anybody provide me some help full suggestion on how to update base table using XMLSTORE package.
    I created a simple script for Employee table and can able to do the basic operation like Insert and update on the table.
    Query is as follow's
    DECLARE
    insCtx DBMS_XMLSTORE.ctxType;
    rows NUMBER;
    xmlDoc CLOB :=
    '<ROWSET>
    <ROW num="1">
    <EMPLOYEE_ID>922</EMPLOYEE_ID>
    <SALARY>1801</SALARY>
    <HIRE_DATE>17-DEC-2007</HIRE_DATE>
    <JOB_ID>ST_CLERK</JOB_ID>
    <EMAIL>RAUSSJACK</EMAIL>
    <LAST_NAME>JACK</LAST_NAME>
    <DEPARTMENT_ID>20</DEPARTMENT_ID>
    </ROW>
    <ROW>
    <EMPLOYEE_ID>923</EMPLOYEE_ID>
    <SALARY>2001</SALARY>
    <HIRE_DATE>31-DEC-2005</HIRE_DATE>
    <JOB_ID>ST_CLERK</JOB_ID>
    <EMAIL>PATHAK</EMAIL>
    <LAST_NAME>PRATIK</LAST_NAME>
    <DEPARTMENT_ID>20</DEPARTMENT_ID>
    </ROW>
    </ROWSET>';
    BEGIN
    insCtx := DBMS_XMLSTORE.newContext('EMPLOYEES'); -- Get saved context
    DBMS_XMLSTORE.clearUpdateColumnList(insCtx); -- Clear the update settings
    -- Set the columns to be updated as a list of values
    DBMS_XMLSTORE.setUpdateColumn(insCtx, 'EMPLOYEE_ID');
    DBMS_XMLSTORE.setUpdateColumn(insCtx, 'SALARY');
    DBMS_XMLSTORE.setUpdateColumn(insCtx, 'HIRE_DATE');
    DBMS_XMLSTORE.setUpdateColumn(insCtx, 'JOB_ID');
    DBMS_XMLSTORE.setUpdateColumn(insCtx, 'EMAIL');
    DBMS_XMLSTORE.setUpdateColumn(insCtx, 'LAST_NAME');
    DBMS_XMLSTORE.setUpdateColumn(insCtx, 'DEPARTMENT_ID');
    -- Insert the doc.
    rows := DBMS_XMLSTORE.insertXML(insCtx, xmlDoc);
    --COMMIT;
    DBMS_OUTPUT.put_line(rows || ' rows inserted.');
    -- Close the context
    DBMS_XMLSTORE.closeContext(insCtx);
    END;
    SELECT employee_id, LAST_name FROM employees WHERE employee_id = 114;
    DECLARE
    updCtx DBMS_XMLSTORE.ctxType;
    rows NUMBER;
    xmlDoc CLOB :=
    '<ROWSET>
    <ROW>
    <EMPLOYEE_ID>114</EMPLOYEE_ID>
    <LAST_NAME>PRABHU</LAST_NAME>
    </ROW>
    </ROWSET>';
    BEGIN
    updCtx := DBMS_XMLSTORE.newContext('EMPLOYEES'); -- get the context
    DBMS_XMLSTORE.clearUpdateColumnList(updCtx); -- clear update settings
    -- Specify that column employee_id is a "key" to identify the row to update.
    DBMS_XMLSTORE.setKeyColumn(updCtx, 'EMPLOYEE_ID');
    rows := DBMS_XMLSTORE.updateXML(updCtx, xmlDoc); -- update the table
    DBMS_XMLSTORE.closeContext(updCtx); -- close the context
    commit;
    END;
    Nowi want little modification on this above query like as i am passing static XML tags and i want it to pick the dynamic XML from web and use the XMLSTORE for the update.
    and also for complex XML having 2-3 levels how this query needs to be changed.As i am new to this Oracle utillity any help from xepert will be a great help for me.
    Thanks

    Nowi want little modification on this above query like as i am passing static XML tags and i want it to pick the dynamic XML from webFrom a Web Service?
    You'll need UTL_HTTP or HttpUriType interface to send the request and receive the XML response.
    Search in the forum, there are already a lot of useful examples available.
    and also for complex XML having 2-3 levels how this query needs to be changed.DBMS_XMLStore is OK for readily processing a canonical XML format (/ROWSET/ROW/COLUMN structure or alike).
    However, if you have to deal with a more complex structure, you either have to :
    - use a target object table that matches the XML structure
    - preprocess the input document using XSLT to transform it to canonical format
    That's why DBMS_XMLStore is not appropriate for multilevel documents, especially if they contain nested repeating groups.
    In this case, XMLTable is a more flexible way of parsing the XML and process it relationally at the same time.
    Depending on the size of the document, performance may be improved with schema-based object-relational storage.
    For more help, please post a new thread in the {forum:id=34} forum, with the following information :
    - database version (select * from v$version)
    - a sample XML document (the complex one)
    - DDL of your target table
    - mapping between XML elements and columns (ie which tag goes to which column?)
    - an XML schema (if you have one)

  • KNVV- Somebody knows the datasource for KNVV table

    Hi!
    Before, Merry Xtmas to all....
    Now I have an issue!!! Need to extract data from knvv table, and i was looking for datasource and nothing... somebody knows if  the datasouce standard was created?
    Thanks a lot

    use - 0CUST_SALES_ATTR

  • Any BAPI for PAYR table updation

    Hi All,
    Is there any BAPI available for payment medium file table (PAYR) update?
    Thanks,
    Anil.

    check with FM : INSERT_PAYR
    You may have to use FM DEQUEUE_EFPAYR ENQUEUE_EFPAYR alongwith above FM..
    also try
    HRPY_RGDIR_CHANGE_PAYROLL
    BAPI_EXTPAYROLL_INSERT_OUT
    regards,
    srinivas
    <b>*reward for useful answers*</b>

  • BAPI for Mean table updation

    Hi Friends,
      I need to update the Internation Artical number (EAN11) field in MEAN table and also EAN11,NUMTP fields from MARA. Could any one of you please let me know the BAPI to update the table data.
    Thanks & Regards
    Ravindra

    check with FM : INSERT_PAYR
    You may have to use FM DEQUEUE_EFPAYR ENQUEUE_EFPAYR alongwith above FM..
    also try
    HRPY_RGDIR_CHANGE_PAYROLL
    BAPI_EXTPAYROLL_INSERT_OUT
    regards,
    srinivas
    <b>*reward for useful answers*</b>

  • BADI/User Exit for custom table update from Delivery

    Hi
    Our requirement is to update a custom table with the delivery number and other related details when the picking status is changed to "C". Kindly suggest BADI/User exit for this requirement .
    Thanks in Advance for your immediate help .

    Hi Joseph,
    See SAP Note 415716 - User exits in delivery processing. It says when you have the document number available, what is permitted, what not, ....
    I hope this helps you
    Regards
    Eduardo

  • BAPI / Function Module for Sale order updation

    Hi,
         I need to update sale order details(Reason for rejection)..Can you please tell me any of the existing BAPI's / Function modules to do the same.

    hi,
      try bapi_salesorder_change
        <b>allocate points if useful</b>
    regards,
    pavan

  • Bizarre situation with the "Where used list" for a table updated by FB50

    Hello all,
    I use the "where used list" (all check boxes selected) function in SE11 to find out where and how the table FMGLFLEXT (General Ledger Public Sector: Total) is being used and updated. All I get is a reference to a function module, namely   “G_POSTING_FMGLFLEXT”. When I do a "where used list" (once again, all check boxes selected) for the FM, I get the message: Function Module G_POSTING_FMGLFLEXT not found in selected search area Message no. ES120“ despite the fact that all check boxes are selected.
    Yet this table contains data which were put in there via transaction FB50 (G/L Acct Pstg: Single Screen Trans.). So somehow, somewhere this data was created and put into the table.
    I don’t get it! What am I missing?
    Thank you for your help

    There could be several reasons for this, including:
    - The cross reference tables (used by the "where used" functionality) have not been updated in the system you are logged into - check with your Basis team on this as the programs that do this (a) run for hours and (b) take up a fair chunk of database space.
    - The data may be stored via dynamic SQL (e.g. "insert into (g_tab_name)") so the table reference doesn't show up
    - The function module may be called dynamically so the FM where used doesn't reflect this
    You could try, instead, using the ST05 SQL Trace to track what code is updating the table when you run FB50.
    Jonathan

  • Logic for MVER table update

    Hi Experts,
    Can anyone let me know how this table MVER updates. What are all the mvt type it will consider for updation. Your fast reply is appreciated.
    Thanks,
    Suresh

    Hi Suresh,
    The following are the various mvmt types that are used for consumption.
    201
    221
    231
    241
    251
    261
    281
    291
    331
    333
    335
    551
    553
    555
    557
    These values are updated in the MVER table. For eg. V06, V08 fields of MVER are updated with 261 and 201 Mvmt types.
    Reward if cleared and close the thread.

  • BAPI or RFC for item level updation in BOM

    Hi ,
    I need to mass update the operation lead time offset in all the items in the BOM.
    First i am downloading the BOM components and its existign operation lead time offset in the form of excel file. Then i am modifying the excel file and the same is uploaded to update the operation lead time offset.
    I need a BAPI or RFC to update the item level details in the BOM. Please help.
    Thanks
    S.Srinivasan

    Hi,
    Please refer the below thread to find BAPI
    How to find related BAPIs
    You can also use tcode BAPI
    Message was edited by:
            Kannan S

  • Procedure created for OLS table update

    I have created the following procedure in ( PL/SQL )that will insert rows into a table - in addition to the rowlabel. It inserts the rows correctly when I use the 'label_to_char' function in the procedure, however my users cannot see the data that they have access to until they manually insert a row into the table themselves.
    I have changed the procedure using the 'to_data_label' function to see if that might work. I get an invalid column error when the procedure gets executed. However, when I do a manual insert using the to_data_label function for only one row, it does work.
    I also have tried aliasing the rowlabel row, and it still does not work. Here is my procedure:
    (I am new to creating procedures, so it may be something in the way it is written.)
    create or replace procedure insert_comps(v_tag number,
    v_short varchar2,
    v_long varchar2,
    v_parent varchar2,
    v_row varchar2 default null)
    is
    v_rl varchar2(60) := 'TS:';
    begin
    if v_row is null then
    if v_short != v_parent then
    v_rl := v_rl||v_parent||','||v_short;
    elsif v_parent = v_short then
    v_rl := v_rl||v_short;
    end if;
    else
    v_rl := v_row;
    end if;
    insert into policy_compartments(
    rowlabel,
    short_name,
    long_name,
    tag,
    parent)
    values(to_data_label('BBORDER',v_rl),
    v_short,
    v_long,
    v_tag,
    v_parent);
    end insert_comps;
    Are there any suggestions?
    Thanks in advance,
    Christine

    Example...
    Schema 1 (scott):
    SQL> create table x (x number);
    Table created.Schema 2:
    SQL> create table x (x number);
    Table created.
    SQL> ed
    Wrote file afiedt.buf
      1  create or replace procedure pop_x authid current_user is
      2  begin
      3  insert into x values (1);
      4  commit;
      5* end;
    SQL> /
    Procedure created.
    SQL> grant execute on pop_x to scott;
    Grant succeeded.Schema 1 (scott):
    SQL> exec schema2.pop_x;
    PL/SQL procedure successfully completed.
    SQL> select * from x;
             X
             1
    SQL>Schema 2:
    SQL> select * from x;
    no rows selected
    SQL>;)

  • BAPI for Knvv text

    Hi all,
    I'd be greatful if anyone of you could guide me for the bapi, Is there is any bapi for knvv table text. In KNVV table we have four fields (VKBUR, VKGRP, KVGR1, KVGR2) and the related text we can get in table TVKBT TVGRT TVV1T TVV2T. plz tell me if there is any bapi where we just put these four fields and we can get related text ..
    Thnks for ur help
    Puneet

    Hi,
    Try it this way
    DATA : IT_TVV1T TYPE TABLE OF TVV1T_KEY,
           WA_TVVIT TYPE TVV1T_KEY,
           ET_TVV1T TYPE TABLE OF TVV1T.
    WA_TVVIT-SPRAS = 'E'.
    WA_TVVIT-KVGR1 = '01'. "--> Pass your value here
    APPEND WA_TVVIT TO IT_TVV1T.
    CALL FUNCTION 'WB2_TVV1T_ARRAY_SELECT'
      TABLES
        IT_TVV1T              = IT_TVV1T
        ET_TVV1T              = ET_TVV1T
    EXCEPTIONS
       NOT_FOUND             = 1
       PARAMETER_ERROR       = 2
       OTHERS                = 3
    IF SY-SUBRC <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    Regards

  • Lock object for knvv

    Hi,
    is there any lock object for KNVV table for EIKTO field.
    If yes please help me.
    Thanks,
    Sandeep Garg

    Hi,
    According to my search i found lock objects only for KNA1 table. you may try it by,
    GOTO se11.
    select Lock object Radio button.
    Press F4.
    A popup appears, in that popup, under Short Description, type
    CustomerMaster* or what ever description you feel and press enter. you will get a list of lock objects, if they match your description.
    One tip is always give the first letter in CAPS. like CustomerMaster*.

  • Chnage pointers table updation

    Hello,
    I am updating the EKPO-Netpr field using programm.After updation i am trying to extract the data for BW.But there is no change pointer are created for this table updation.
    Can you please clarify,How to create change pointers for table updation?
    Best regards,
    Shyam

    Hi ,
    You need to create a change document object for that from transaction SCDO .
    After that you need to call the automatically created function module (during creation of change Doc. Object)
    from your program where you wrote the update or insert statement after those statement.
    Now those changes will reflect on the database table CDPOS and CDHDR .
    Please check the link  - -
    [https://wiki.sdn.sap.com/wiki/display/ABAP/Change+Document]
    Regards
    Pinaki

Maybe you are looking for

  • WHAT IS THE MOST EFFICIENT WAY OF ORGANISING DOCUMENT FILING ?

    I know this sounds dumb, but I am flummoxed about how to organise filing of folders on my Mac. In the real world filing is easy but computers seem to make it completely different & a nightmare. I have ten years worth of using various macs all copied

  • How to send a Meeting Request to Exchange/Outlook using JavaMail

    Hi, Can any body help me "How to send a Meeting Request to Exchange/Outlook using JavaMail" which will be added to the calendar items. If possible, please provide me with the sample code. Please send the sample code to the following mail id: "[email 

  • Problems due to full hd screen

    I'd like to know how I can modify the sizes of the cursor in Indesign, because it is too big and it has a grainy appearance. My screen is full hd, maybe that is the reason. But I can't solve it. Thanks

  • TAXINN related

    Hi Any idea for some basic ideas about TAXINN and how different is it from TAXINJ. In TAXINJ we create calculations schemas and attach these schemas to vendors. Then using FTXP we maintain taxes. In taxINN how is tcode FV11 used and what role FTXP ha

  • Anyone received a shipment even though status is still "not yet shipped"?

    Has anyone ever received a shipment from Apple even though their online status shows their order as "not yet shipped"? Not sure if my iPad hasn't shipped yet due to high demands although it should have already or if magically it is on its way.