Is there any BAPI or FM or Method to create Version for Initiative

My requirement is :
when status of decision point for initiative is set to final i.e 003 then version for initiative should get generated. I am serching for BAPI or FM or Method which could generate Version for initiative .

Hello Naren,
You can use function module '/RPM/INIS_VERS_CREATE' to create versions for initiatives.
Alternatively, you can also use the 'class->method'... 'cl_inm_initiative_o_api=>create_initiatives_version'
Thanks,
Gaurav

Similar Messages

  • For the historical work order is there any bapi

    i am doing with creation of historical work order where the transaction is iw61. so, is there any bapi for this? can u just suggest me which method is preferable for the historical work orders?

    u can go check using whether bapi exists using transaction code bdbg
    Regards
    Janapathi

  • Is there any BAPI for AS02?

    Hi Experts,
    I am guessing, the following idea may work for my problem, but, pls, let me give some info, abt the same.......
    1 - At the sales order creation time, each LINE ITEM creates the SubAsset, say,
    Line_ Item_1 -
    > creates SubAsset_1,
    Line_ Item_2 -
    > creates SubAsset_2, so on
    2 - if some reasons, if the user deletes Line_ Item_1, I need to delete that particlar SubAsset_1,
    so, pls. let me know that,
    1- If the user, deletes the item_1, then I wanna, to delete the created SubAsset_1, so then, I guess, SubAsset_2 shuld be modified as SubAsset_1
    2- Is it works out? makes sense?
    3- If so, Wht is the best method to delete a SubAsset from Asset Master? Is it AS02 BDC or Is there any BAPI or any other?
    thanq.

    thanq,
    1- If the user,for some reason,  deletes the item_1, then I must/wanna, to delete the created SubAsset_1, so then, Is the SubAsset_2 modified as SubAsset_1 in Asset related tables with BAPI_*CHANGE?
    2- Or in other words, Is it possible to DELETE the sub asset? if so, How?
    thanq
    Message was edited by:
            Srinivas

  • Is there any BAPI or function module  to delete entries from a table (VBAK)

    Hi Everybody,
    this is my first thread in SDN...
    my problem follows...
    A report is be created that selects all sales orders created by e-Sales that are more than 20 minutes old and still have a delivery block:
    tables:
    VBAK     sales document: header data
    selection fields:
    VBAK-LIFSK      &#8800;     <BLANK>
    VBAK-ERNAM     =     userID used by e-Sales / IVE
              (EP-BATCH / EAI-BATCH)
    VBAK-ERDAT      <=     Current system Date
    VBAK-ERZET     <=     Current system Time - 20 minutes
    These orders should be deleted from SAP system.
    This report should be scheduled to run regularly every 10 minutes.
    my doubt : is ther any BAPI or Function module to delete entries from a standard table...if no what is the way to delete the enteries from a std table...
    best replies will be rewarded....
    regards
    Reddy

    Hi Vasanth ,
    thanks for your reply.
    i tried in the same manner what u mentioned.
    but how to pass only one parameter to the functionmodule..
    here in this case we have to pass only update flag as 'D'..
    i did the same it giving dump..
    An exception occurred that is explained in detail below.                          
    The exception, which is assigned to class 'CX_SY_DYN_CALL_ILLEGAL_TYPE', was      
      not caught and                                                                   
    therefore caused a runtime error.                                                 
    The reason for the exception is:                                                  
    The call to the function module "BAPI_SALESORDER_CHANGE" is incorrect:                                                                               
    In the function module interface, you can specify only                            
    fields of a specific type and length under "ORDER_HEADER_INX".                    
    Although the currently specified field                                            
    "INT_ORDER_HEADER_INX" is the correct type, its length is incorrect.              
    my pgm :
    *& Report  YNEW_ORDER_DELETION
    REPORT  ynew_order_deletion.
    TABLES:vbak.
    PARAMETERS:
         p_lifsk LIKE vbak-lifsk DEFAULT '02'.
    SELECT-OPTIONS:
       s_lifsk FOR vbak-lifsk DEFAULT '10',
        s_ernam FOR vbak-ernam,
        s_erdat FOR vbak-erdat,"DEFAULT sy-datum.
        s_erzet FOR sy-uzeit.
    *PARAMETERS:
    p_erzet LIKE sy-uzeit.
       s_erdat like vbak-erdat,
       s_erzet like vbak-erzet.
    DATA:
       BEGIN OF int_final OCCURS 0,
            w_vbeln TYPE vbak-vbeln,
       END OF int_final.
    DATA:
      int_return LIKE bapiret2 OCCURS 0 WITH HEADER LINE.
    DATA: int_order_header_inx LIKE bapisditmx OCCURS 0 WITH HEADER LINE.
    DATA:
      wf_time TYPE sy-uzeit.
    INITIALIZATION.
      s_ernam-low = 'KULKARMA'.
      s_ernam-sign = 'I'.
      s_ernam-option = 'EQ'.
      APPEND s_ernam.
    s_ernam-low = 'EAI-BATCH'.
    s_ernam-sign = 'I'.
    s_ernam-option = 'EQ'.
    APPEND s_ernam.
    wf_time = sy-uzeit - 1200.
    p_erzet = sy-uzeit - 1200.
    p_erzet-low = wf_time.
    APPEND s_erzet.
      int_order_header_inx-updateflag = 'D'.
      APPEND int_order_header_inx.
    START-OF-SELECTION.
      SELECT vbeln FROM vbak
                       INTO TABLE int_final
                       WHERE lifsk EQ p_lifsk
                         AND ernam IN s_ernam
                         AND erdat IN s_erdat
                         AND erzet IN s_erzet.
      IF sy-subrc = 0.
        LOOP AT int_final.
          CALL FUNCTION 'BAPI_SALESORDER_CHANGE'
            EXPORTING
              salesdocument         = int_final-w_vbeln
      ORDER_HEADER_IN             =
        order_header_inx            = int_order_header_inx
      SIMULATION                  =
      BEHAVE_WHEN_ERROR           = ' '
      INT_NUMBER_ASSIGNMENT       = ' '
      LOGIC_SWITCH                =
      NO_STATUS_BUF_INIT          = ' '
            TABLES
              return                      = int_return
      ORDER_ITEM_IN               =
      ORDER_ITEM_INX              =
      PARTNERS                    =
      PARTNERCHANGES              =
      PARTNERADDRESSES            =
      ORDER_CFGS_REF              =
      ORDER_CFGS_INST             =
      ORDER_CFGS_PART_OF          =
      ORDER_CFGS_VALUE            =
      ORDER_CFGS_BLOB             =
      ORDER_CFGS_VK               =
      ORDER_CFGS_REFINST          =
      SCHEDULE_LINES              =
      SCHEDULE_LINESX             =
      ORDER_TEXT                  =
      ORDER_KEYS                  =
      CONDITIONS_IN               =
      CONDITIONS_INX              =
      EXTENSIONIN                 =
        ENDLOOP.
        LOOP AT int_return.
          WRITE:/ int_return-type,
                  int_return-id,
                  int_return-number,
                  int_return-message.
        ENDLOOP.
      ENDIF.
    please help me ..its a very urgent issue to be solved...
    am waiting for ur reply...
    regards
    gangareddy

  • Is there any way to call a method by name?

    Hi there,
    Is there any way to call a method by name?
    e.g. myobject.whatIAmLookingFor("the_name_of_a_myobject's_method",param1,param2,...);
    Thanx in advance

    Is there any way to call a method by name?
    Yes:
    <looking at his paint(Graphics g) method>
    Hey Sam! Commere Sam! Das a good boy!

  • Is there any BAPI allowing to retreive dump information in details?

    Dear all,
    I would like to ask a question about dumps that are sometimes generated on SAP sytems.
    Each morning, by using the transaction ST22 I can see the dumps that were generated during
    the precedent day. I click on each dump label then in the menu System > list > save
    I can save the dump file which includes technical information about the error (our
    developers look inside in order to find out what went wrong that gernerated the error)
    Now, sometimes there are actually too many dumps and saving each file by ST22 one by one
    takes too much time.
    I know ABAP programming language, I would like to ask is there any BAPI in SAP which could be called
    and that provides the same details that you can have by ST22 about the generated dumps? I was thinking
    to call inside a loop (as many times as there are dumps) this BAPI and write the datails about each
    dump in DATASET and creates the files.
    So, do you know any BAPI providing information about dumps?
    Thank you very much for your attention,
    Kind Regards,
    Dariyoosh

    Hello there,
    Thanks for this information, I'm going to look into the function group in order to
    see how I may use its function modules properly for my purpose.
    Thank you very much,
    Kind Regards,
    Dariyoosh

  • Is there any Bapi for Physical Sample creation

    Hi Folks,
    Is there any Bapi for physical sample creation. My scenario is like this I have the data in the table (material, plant, batch, type,vendor, vendorbatch ). For each material i have to create a  physical sample......
    Any ideas or suggestions would be appreciated..
    thanks
    chaithanya.

    HI Chaitanya,
    You can use : BAPI_BATCH_CREATE
    it has import paramaters like Material, Plant , batch , Batch Attributes ( Vendor No, Vendor Batch etc)... I guess this is what you are looking for.
    Regards,
    -Venkat.

  • Is there any BAPI or FM which updates or modifies FD32 transaction

    Is there any BAPI or Function module  which updates or modifies the fields of FD32 transaction screens

    Hi, Srikanth
    Please Have a look at this Link [BAPI for FD32 |bapi for FD32]
    Please Search Before Posting
    Hope will Solve out your Problem,
    Best Regards,
    Faisal

  • Is there any BAPI's to get system information

    HI All,
    Is there any BAPI's to get system information like name which NWcomponent is installed, version, function modules which are implemented.
    ITS VERY URGENT
    Thanks

    Hi,
    bapi for getting the details of system inthe sense euipment i believe so try this bapi
    BAPI_EQUI_GETDETAIL
    BAPI_EQUI_GETLIST
    Regards,
    sana.

  • Is there any BAPI to update LFA1/LFB1?

    Hi, Expert:
    I wrote one customer program to upate the following two fields. Is there any BAPI I can use, because It's master data. we need create CHANGE POINTERS.  we can't directly update them.
    LFA1-SPERQ (2)  Function That Will Be Blocked
    LFB1-ZAHLS (1) - Block key for payment
    Regards,
    Zhang

    Hi experts, I have to modify the master data also, but, the scenario for me is diferent. I have to update the withholding - tax information. I need to create new rows , and also modify others. I know that´s information is in the LFBW table, but i can´t find any bapi to update it. Any Idea?
    Thanks in advance.

  • Is there any Bapi to Connect to the Sql Serve

    Hi ,
              I have a requirement in which i want to connect to the Sql Server is there any BAPI for the same can anybody help me out .
    Thanks in advance
    Regards
    Shankar

    Hi.
    Have you read the online documentation and searched for "native SQL". If yes, what are your specific questions?
    Best regards,
    Jan Stallkamp

  • Is there any BAPI/FM to create a standing request

    Hi all,
    Is there any BAPI/FM which can be used to create a standing request?
    with regards,
    Sumanth

    we can create using the BAPI_REQUEST_CREATE
    with regards,
    Sumanth

  • Is there any BAPI for BOM creation? which does by RCSBI010 / Batch Input.

    Hi Experts,
    I need to Upload the extracted Excel-file(.txt) for BOM creation, so, pls, let me know that, Is there any BAPI for this purpose. In detail the requirement is that,
    The suggested idea shuld work as like as pgm. RCSBI010
    thanq
    Edited by: Srinivas on Feb 14, 2008 6:18 PM

    Hi Srinivas,
    Try these Function Modules
    CS_BI_BOM_CREATE_BATCH_INPUT   - Create BOM Via Batch Input
    CS_BI_BOM_CREATE_BATCH_INPUT1  - Create BOM Via Batch Input (Corrected Session Handling)
    There are two BAPI's too, which can be used
    ALE_MATERIAL_BOM_GROUP_CREATE
    BAPI_MATERIAL_BOM_GROUP_CREATE - Creation of a material BOM group
    Hoe this helps.
    Edited by: Priyabrata Samanta on Feb 15, 2008 3:56 AM

  • Is there any BAPI that can create assignment in workforce planning (CMP2)

    Hello,
    I want to implement a batch input program in order to create assignment in workforce planning. But the screen is not actually proper for batch input. Is there any Bapi that can create assignment for a given network, Operation/Activity, suboperation/Subactivity, personel Number and work hours.
    Thanks in advance.

    Hi Aselsan,
    Please have a look into the below link
    [Link 1|Re: BAPI to create network (T-code CJ21)]
    [Link 2|Example code for BAPI_NETWORK_MAINTAIN]
    [Link 3|BAPI_NETWORK_COMP_ADD]
    Hope they are useful,
    Thanks
    kalyan

  • Is there any bapi/Function module to change only header text in fb02

    Hi ,
    I want to change only header text in FB02 .the header text will come  from a internal table.My Requirement is
    1. open a document in FB02
    2.change the header text of the document.
    Right now i'm doing this through an BDC.but i'm looking for a BAPI /FM.
    I Tried bapi_acc_gl_posting_post, fI_document_change..
    is there any BAPI/FM for this???
    Thanks,
    Challa

    You can use SAVE_TEXT FM
    Thanks
    Seshu

Maybe you are looking for

  • DTD validation

    Hi All, I am using Sax parser (jaxp1.1), I have directed to validate the xml using setValidating(true), even then it is not validating the data against DTD spec. PLease let me know the possible things to be checked. Thanks Sathish

  • Which of these alternativ​es is to prefer?

    HI, I have here two alternatives  to create a spreadsheet file of measurement values and report header. This will be used as a sub-vi that should run continuously for about an hour. alt1 - is using an array... wouldn't it nessesary to empety this now

  • How to override limitation of no triggers on SYS owned tables?

    Hi! I haven't got any answers to my earlier question so I try to make it simple now... Anybody have any ideas how I could override Oracles limitation of allowing no triggers on SYS owned tables? I would need a trigger on SYS.AUD$ that would fire and

  • HT1414 I can't restore. It keeps saying 'An unknown error occured (3194)'

    So I want to update my iPod 4th gen. since I still have 4.3.3 version. However, when I click restore, when it's about done there's a pop up: "The iPod could not be restored. An unknown error occured (3194)" and my only options are OK and More Informa

  • Iphoto vanished!

    I was using Adobe Photoshop and wanted to open a pic from iphoto (by the way, not '09. I've had my mac for about two years and it came with iphoto). I clicked on the icon in my dock and a question mark showed up over the icon. So I clicked it again a