FM to update/modify PLPO table entries

Hi Freinds,
To update PLPO (operations) i need use:
CP_BT_PLPO_UPDATE
CP_BT_PLPO_APPEND
Questions:
1) Can i use CP_BT_PLPO_UPDATE for update only, or for delete too?
2) When i use this FM, another tables updates too? For example, table PLAS?

Hello Andrey
I cannot tell for sure but most likely you have to use the "update" parameter for deleting tasks. Following is the documentation of the IT_METHODS parameter:
FU BAPI_ALM_ORDER_MAINTAIN       IT_METHODS
Short Text
     BAPI structure: Processing methods
Description
     The methods table specifies which methods the BAPI executes. For this
     the following data is always required:
     o   REFNUMBER   A reference number for a data table line,
     o   OBJECTTYPE  An object category, which specifies which data table(s)
         is referenced
     o   METHOD      A method which specifies what should be done to the
         object
     o   OBJECTKEY   A key as a reference to the corresponding higher-level
         object
Value range
     The following values are allowed:
     OBJECTTYPE
     o   HEADER      Order header
     o   PARTNER     Partner data
     o   OPERATION   Operation data
     o   RELATION        Relationships
     o   COMPONENT   Components
     o   TEXT            Long texts
     o   (empty)         General BAPI functions (Save)
     METHOD
     o   CREATE      Create objects
     o   CHANGE      Change objects
     o   DELETE      Delete objects
     o   RELEASE     Release
     o   ATPCHECK        Availability check
     o   CALCULATE       Calculate
     o   SCHEDULE        Schedule
     o   SAVE            Save all data
     OBJECTKEY
     0-12        Order number
     13-16       Operation number
     17-20       Suboperation number
     The following methods are allowed for the individual objects:
     HEADER:
     CREATE, CHANGE, RELEASE, ATPCHECK, CALCUALTE, SCHEDULE
     PARTNER, OPERATION, RELATION, COMPONENT, TEXT:
     CREATE, CHANGE, DELETE
     (empty):
     SAVE
Regards
  Uwe

Similar Messages

  • Add table entry while client is not open

    we only have access to SE16, no sm30 maintain table entry authorization, but this can be bypassed by <removed by moderator>.
    thus we can modify existing table entry.
    but I can't use this method to add additional table entry, any one know how to add entry using se16 debugging?
    Moderator message: bypassing authorization checks is not supported in these forums.
    Edited by: Thomas Zloch on May 25, 2011 12:03 PM

    I can confirm those activities are checked and active.
    SAP Note - 1129764 --> Users can actually see their original workbooks and the ones that have been 'saved as', they just want to be able to modify and just 'save' the original ones.
    SAP Note - 1052085 --> This doesn't fit either, users have 'save' button disabled and can only click on save us. Besides we are already running on SP.14
    Last note says: "Workbooks are not saved in BW systems that are not changeable.".
    This is a statement that bothers me, indeed my client is set closed.
    And SCC4 shows these paramenters:
    Changes and Transports for client-specific Objects
       --> No changes allowed
    Cross-Client Object Changes
       --> No changes to repository and cross-client customizing objs
    Protection: Client copier and comparison Tool
       --> X Protection level 1: No overwriting
    CATT and eCATT Restrictions
       --> eCATT and CATT not allowed
    Restrictions:
    (both unchecked).
    Are you certain that it is possible to save them while the client is not opened? I'm starting to think that it just can't be done
    Thank you for your help.
    Regards,
    Gonzalo

  • Table entries update through tcode me21n

    Hi ,i want to update the database table ekpo through the screen fields execution.
    please help me with the code lines.
    thanks

    i am doing like this for updating the entries through tcode me21n.
    IN PBO;
    data: v_date type ekpo-zzpldte,
          v_code type ekpo-zzreason.
    if sy-tcode = 'ME21N'
    or sy-tcode = 'ME21'.
      loop at screen.
        if screen-name = 'EKPO-ZZREASON'
         or screen-name = 'EKPO-ZZPLDTE'.
          screen-input = '0'.
          modify screen.
        endif.
      endloop.
    endif.
    IN PAI:
    types:ekpo.
    data:it_ekpo like standard table of ekpo with header line,
         wa_ekpo like ekpo.
    select * from ekpo
    into corresponding fields of table it_ekpo.
    loop at it_ekpo into wa_ekpo.
    wa_ekpo-zzpldte = v_date.
    wa_ekpo-zzreason = v_code.
    modify ekpo from wa_ekpo.
    endloop.
    i dont know whther i am doing it correctly,
    will this will give me the database updates.
    please note v_date and v_code is my feilds on th screen for the user entry.
    please suggest.
    thanks.

  • Updating a view after modifying a table...

    Hello,
    Here is the scenario.
    I have a a table in HANA with 50+ columns of data.  I have created both Attribute and Analytical views of that data.  These views have been activated and deployed.  Now I need to modify my table to add two new columns that I will want to included in my existing Attribute and Analytical views.  How can I accomplish this?  It seems that when I modify my table, the views in HANA studio do not have the ability to be updated.  It seems I have to re-create my voews from scratch to now include my two new columns.  Hopefully I am missing something simple.
    Thanks in advance!

    Hi Matt, no way you need to recreate your views after a DDL change on the underlying tables.
    When the table structure changes, you usually need to close any information view editors on the model in question and then reopen the model for editing after the change, but otherwise should be fine. I have done this many times.
    What revision are you working on? Can you give the exact sequence of steps?
    Regards,
    Justin

  • Function Module to update Characteristic Value (AUSP table entry)

    Looking for a function module/BAPI to update a characteristic value (AUSP table entry).
    This is for a material master Material classification value, not a Variant Config value that I need to update.
    Anybody have one?  I have one that will find the value, but not change it.
    Thanks.

    That wasn't it, but it gave me the one piece I was missing.
    Answer is:
    Function Module "CLAE_CLASSIFY_OBJECT"
    In CHANGE_KSSK
    M = 0
    KLA = (Class Type)
    OBJEK = (Material Number for the Material Characteristic being changed)
    OBTAB = MARA
    CLASS = (Class Name with Characteristic to be changed)
    S = 1
    S = (blank)
    AENNR = (EC Change Number or Blank)
    DATUV = (Today's Date or date for change)
    C = "X"
    In CHANGE_AUSP
    OBJEK = (Material Number for the Material Characteristic being changed)
    ATINN = (Chararacteristic to be changed)
    M = 0
    KLA = (Class Type)
    ATWRT = (New Value for Characteristic)
    C = X

  • How to update the VBFA table without entries in VBRK and VBRP tables

    Hello,
    I have a requirement , where the sales order , delivery happens in one SAP system say X system and billing document wil happens in other sap system say Y.
    Now in this particular case , if the user want to know the billing document number in X system. what would be the solution.
    Is there any possibility to update the VBFA table with invoice number of Y system (without updating the VBRK and VBRP tables).
    User want to see the billing doc number from sales order in the form of document flow in X system
    Thanks in advance
    Pradeep

    Hii
    Without updating VBRK/VBRP table and updating VBFA is not possible, So you have to play with work arround to create one Z TABLE, so whenever system Y will create billing document with the reference of System X data you have to update Ztable with Invoice number created in System Y, The primary key will be in Z TABLE is Delivery document number to track one to one with billing doc.
    Thanks and Regards
    Shambhu Sarkar

  • PO not updates in ICH due to table entry error

    Hi Experts,
    I have an issue while sending the PO from R/3 to SNC. Below error has occured and not able to understand what exactly this error. I have checked the PO data and everything is correct in R/3.
    "Error changing a table entry (secondary index /1OM/ORDR7MP3100, mode M)"
    Could you please help me to resolve the issue as many PO's are blocked due to above error.
    Regards
    Gowri

    Hi Gowri,
    It looks like ODM is not activated properly for PO.
    Check whether ODM activation is done properly or not.
    You can refer step 1,3 and 4 in SAP note 1178483 for activation of ODM or SAP note 836457.
    If above steps are already perform and still the same issue then you need to force generate the ODM go to
    transaction code:
    /N/SCMB/ODM_GEN_ORC for force activation of the component(check the force generate check box)
    /N/SCMB/ODM_GEN_ORDTP for force activation of the order data type(check the force generate check box)
    /N/SCMB/ODM_GEN_ORDA for force activation of the order data area(check the force generate check box)
    And perform the steps mentioned in the above SAP note.
    Regards,
    Nikhil

  • Change pointer entries not updated in BDCP table

    I am using a IDOC to file senario.For message type ISM_MATMAS. In Tcode JP28 when changing Business partner only CDHDR and CDPOS table are getting updated but BDCP table is not getting updated. I have activated CP's for message type in Tcode BD50,
    Globally in BD61,
    added the field in BD52.
    But its not working.
    Please let me know if anybody faced such problem ?
    Regards,
    Vijay

    Hi Karthick,
    Did u saved after the changes in Sm30?
    Also is there any maintenance events for this table? If yes check the code in these events. There might be some logic for over writing ur changes.
    u can check the events by this path.
    SE11=>Table name=>change=>utilities=>Table maintenance generator=>Environment=>Modification=>Events.
    Thanks,
    Vinod.

  • Doubt in customizing request with respect to table entries

    Hi All,
    I have a doubt in customizing request with respect to table entries.
    Suppose I have a customizing request with respect to a table that contains say 10 entries in the development system.
    Now I am transporting this request to the quality system in which the same table contains 20 entries.
    When I am transporting this table from the development system to the quality system, will my 10 entries in the development system get added to the 20 entries in the quality system or will my table get overwritten in the quality system.
    What difference will this be if it is a workbench request ? .
    Regards,
    Sushanth H.S.

    Hello,
    So if we are transporting contents of a table from one system to another, it should always be a customizing request and not a workbench request right.
    If the "Delivery Class" of the table is 'C'(Customizing table, maintenance only by cust., not SAP import) it will ask for a customizing request.
    If it is 'A'(Application table (master and transaction data)), it will ask for Workbench.
    To add to your previous qn, when you transport the entries to subsequent system it will always check the KEY FIELDS and then update. If you see a transport, then the table entries are represented by their key fields.
    If you create new entries in your table and transport, it will add the records. Else it will modify them
    Hope i am clear.
    BR,
    Suhas
    Edited by: Suhas Saha on Jan 23, 2009 11:51 AM

  • Maintaining Table Entries directly in production

    Hi All,
    I have created a Z table. This table has been moved to production. Currently table entries are transported to production from development client. But this table regularly gets changed and so this needs to be maintained day to day basis. As per the policies transport request to production is moved only at specific times. Client in the production is not modifiable (Closed Client where no change authorization). To maintain the entries in the table every time client in the production should be opened.
    Can you please let me know is there any way we can maintain the entries without opening the client for changes and without moving the entries with the transport request? Is there any other way to maintain the entries?
    Thanks in Advance,
    Shravan G.
    Moderator message: please use more descriptive subject lines from now on, changed for you this time.
    Edited by: Thomas Zloch on Nov 30, 2010 2:26 PM

    Dear,
    Create a maintainence view on that Z table. In that Maintainence table select Maint status->Delivery class-> select "Customizing" option. If any one creates new entry in Dev, system popsup for a TR. Those new entries will be saved in to TR. You can transport that TR across landscape.
    The above one general practice for customization.
    If you dont want that, create a table maintainence dialog  on that z table and hence create a tcode with SM30 from SE93 transaction code.
    Go to SE93-> select transaction with parameter
                          Enter transaction SM30
                          check  Skip initial screen
                          In default values maintain below:
                      VIEWNAME     Z table name
                      UPDATE     x
    Using that tcode you can maintain values directly in production
    Thanks and Regards,
    Edited by: chandra madapati on Nov 30, 2010 6:17 AM

  • How to update a standard table

    Hi all,
    I want to update table makt with a program from table itab.
    Loop at itab into wa.
          modify makt from wa.
    endloop.
    I even can not debug the loop...
    Is it not possible to update sap tables?
    Thanks.

    You can definitely modify Standard Database table from ABAP Program.
    1.Syntax for modifying Database table from Workarea is,
    MODIFY dbtab FROM workarea.
    Effect
    When a wa work area that is not table-type is specified, which meets the requirements for use in Open SQL statements, a line is searched for in the database table that has the same content in the primary key as the corresponding beginning part of the work area.
    If such a line is not found, a new line is inserted according to the same rules as for the INSERT statement.
    If such a line is found, this line is overwritten according to the same rules as for the UPDATE statement.
    If the change would lead to a double entry in a unique secondary index, then it is not executed and sy-subrc is set to 4.
    Notes
    The wa work area should always be declared with reference to the database table or the view in the ABAP Dictionary.
    If the the database table or view is specified statically, then you the specification of the work area using FROM wa can be ommitted outside of classes if a dbtab table work area is declared for the corresponding database table or for the view using the TABLES statement. The system enhances the MODIFY statement implicitly with the FROM dbtab addition.
    Eg. :
    DATA message_wa TYPE t100.
    message_wa-sprsl = 'EN'.
    message_wa-arbgb = 'MYMSGCLASS'.
    message_wa-msgnr =  '100'.
    message_wa-text =  'Some new message ...'.
    MODIFY t100 FROM message_wa.
    2. Syntax for changing Database table from internal table is ,
    MODIFY dbtab FROM TABLE itab.
    Effect
    If an itab internal table is specified, the system processes all lines in the internal table according to the rules for the wa work area. The line type of the internal table has to meet the requirements for use in Open SQL statements.
    If the change to a line in the internal table would lead to a double entry in a unique secondary index, the corresponding line is not inserted and sy-subrc is set to 4. If the internal table is empty, sy-subrc is set to 0. The sy-dbcnt system field is always set to the number of lines that were actually processed
    Reward if helpful.

  • How to update a Z table by sm31

    hi guys,
    i need to update some z tables, i know that there is a way in TXN se11 the option utilities, create update.tab, but that ask me for a FM!!
    do i need to create a fm for each table? is there any standard fm for updating tables?
    i need to modify this table by SM31,
    any ideas?

    Hi Javier,
    The first question is where from are you going to update the tables? will yo manually change the entries?
    Try to generate the table maintenance for the 'Z' table.. by SE11>Environment>Table maintenance generator..
    You will not need to write any code for this... then goto SM30, put your table name and you will be able to create, modify or delete entries of your table..
    Thanks and Best Regards,
    Vikas Bittera.

  • UPDATE dbtable FROM TABLE itab .

    Hi All,
    UPDATE dbtable FROM TABLE itab.
    For the above statement, if there are entries in itab that do not have primary key in dbtable, then are they created in the dbtable or ignored.
    if they are ignored, how would i know which are ignored. or how to insert those ignored lines into the dbtable.
    Thanks in advance..!

    MODIFY will update current records and create ones that do not exists.   Not sure about UPDATE as I never use it.
    MODIFY dbtable FROM TABLE itab.
    Regards,
    Rich Heilman

  • Custom table entry if transaction fails

    hey ppl,
    One doubt. I am using a exit in sales order and the requirement is that once the exit is triggered,few values must be updated on the custom table that i have created. My question s that, i am able to modify my custom table but if for some reason ,after my exit if the transaction fails :
    1. would the custom table entry be reversed back automatically?
    2. Else, is it our responsibility to reverse the entry in the custom table?If yes, can you please guide me how to do it?
    Thanks in advance.

    1. would the custom table entry be reversed back automatically? Can't be sure on this. the entry will be updated to table once the Current LUW is updated.
    2. Else, is it our responsibility to reverse the entry in the custom table?If yes, can you please guide me how to do it?
    Yes. If entry is there you wll require to DELETE it otherwise you can just to ROLLBACK WORK.

  • Change table entries with a workitem

    Hi all,
    I think this is an easy one for you. I want to change a table entry in a customer table over a method which is part of a work item. In the test modus everything is ok but directly over the workflow the entries are not updated (background processing). I'm using the modify command.
    Thanks for your help
    Thomas

    Hello,
    Did you put a commit in the method? Is there no update at all, or an incorrect value?
    You can debug it by putting an infinite loop in the method:
    Temporary, for debugging.
    data: lv_rbtmp(1).
    lv_rbtmp = 'X'.
    while lv_rbtmp eq 'X'.
    endwhile.
    Go to SM50, find the program (usually user WF-BATCH) choose debug (Program/Session > Program > Debugging) and change the value to get out of the loop.
    Don't forget to remove the infinite loop!
    regards
    Rick Bakker
    Hanabi Technology

Maybe you are looking for

  • Report Mining Using RAS

    Hi, We're trying to put together a report mining application to help us analyse the hundreds of reports in our Crystal Reports Server 2008, so when we make a change to a database table or field we can easily check to see which reports are affected an

  • Having Firmware problems NEED HELP A

    I had tried to load an update to the firmware to my Creative Zen Touch, and during the installation, the power flickered and my computer turned off. I am now stuck with a Zen Touch with no OS and it isno longer recognized by my computer or the firmwa

  • Start body command doesn't work

    I am writing an XML publisher version of the packing slip report. I am using the commands <?start:body?> and <?end body?> so that the text appearing before start body will be a header. It is not working - there is no header on the second and subseque

  • AfterI store websites using BookMarks, they are lots when I go back to get them....How do I fix this problem..??

    After I Bookmark websites, they are lost when I go back to get them...How do I fix this problem...??

  • Slideshow - dreamweaver or fireworks or flash?

    Wanting to create a simple image slideshow, with some fading transitions to embed into a front page layout. Fireworks does a great one with navigation, but I'm after just the image transitions. I'm using Creative Suite 4 Is there a way to do this, an