BAPI_InspectionPlan_Create-Create Operation based on First Operation

Hi All,
I am uploading inspection Plan using BAPI_Inspectionplan_create method.For This one operation had already been created.I need to create the next operations as a copy of first operation except for the change in operation description.
Could someone help me with some sample code
Thanks & Regards,
Neelima S

Hi All,
I am uploading inspection Plan using BAPI_Inspectionplan_create method.For This one operation had already been created.I need to create the next operations as a copy of first operation except for the change in operation description.
Could someone help me with some sample code
Thanks & Regards,
Neelima S

Similar Messages

  • Using create operation

    Hi,
    I've been using CreateInsert for a while now, by dragging CreateInsert onto my task flow, and then dragging the corresponding VO as a form on my page. I use this to have a new 'blank' row ready to edit for the user when they navigate to the page.
    However, the cleanup required when using CreateInsert isn't really what I want. I want them to be able to navigate away from the form without me having to rollback.
    Is there a way to use the 'Create' operation like I am using 'CreateInsert'? (i.e. Have a new editable row ready for the user when they navigate to the page)
    Thanks,
    Joel

    I tried doing that, but when I get to my form on the page, it isn't showing a blank 'form', but instead is showing the data corresponding to the first row in the iterator. What am I doing wrong?

  • How can i override the default create operation UIX ADF STRUTS

    Hi dear forum:
    How can I customize the default create operation?
    I need to calculate a value and put it into the new row created.
    Please help me!!!

    Hi,
    if you are usimng Business Components,
    1. Select the Entity Object and double click on it
    2. Select the Java node
    3. Check the "Create Method" checkbox
    4. click OK
    5. Open the <eo name>Impl.java file created (need to see this in System navigator view)
    6. Search for the set<Attribute name>() method and add your calculation for this attribute
    Frank

  • ORA-01079: ORACLE database was not properly created, operation aborted

    Hello everyone,
    On Oracle Database 10g Enterprise Edition Release 10.2.0.1.0
    My problem is that I've to drop the database as the same is not created properly.
    For that, I get the below error when I try to mount the database.
    ORA-01079: ORACLE database was not properly created, operation aborted
    Also, when I was starting the database specifying the pfile, it was throwing error saying
    ORA-00202: control file: 'D:\ORACLE_10G\DATABASE\CTL1SAMPLEDB.ORA'
    When I specified control_files clause in init.ora I was getting above error, so I tried removing the same but still faced the same error.
    Can anybody help me resolving the problem ... ???
    thanks

    Rossy Rocs wrote:
    Hello everyone,
    On Oracle Database 10g Enterprise Edition Release 10.2.0.1.0
    My problem is that I've to drop the database as the same is not created properly.
    For that, I get the below error when I try to mount the database.
    ORA-01079: ORACLE database was not properly created, operation aborted
    Also, when I was starting the database specifying the pfile, it was throwing error saying
    ORA-00202: control file: 'D:\ORACLE_10G\DATABASE\CTL1SAMPLEDB.ORA'
    When I specified control_files clause in init.ora I was getting above error, so I tried removing the same but still faced the same error.
    Can anybody help me resolving the problem ... ???
    thanksyou should be able to do the following on windows from the command line
    oradim -delete -sid sampledbthen remove the D:\ORACLE_10G\DATABASE\ folder from the filesystem (assuming there are only files relating to your db in there.
    finally remove the D:\ORACLE_10G\ADMIN\SAMPLEDB folder structure assuming it exists.
    Niall Litchfield
    http://www.orawin.info

  • How to create operations without entering a performing work center

    How to create operations without entering a performing work center ? which control key should i select ?

    Hi
    QM01 is control key used for all the task lists of Quality.
    there is no such a configuration associated with control key &  usage of work center.
    Work center is used for the activity capturing perpose & control key is to control operations.
    I hope this is clear.
    Entering a work center is totally depends on the scenario & not control key.
    Regards
    Sujit

  • Error in nw installation  create operation system accounts

    hi expert!!
    i installing nw when i try to create operation system account ,i get following this error:
    ERROR 2008-04-18 11:53:08
    FSL-01002  Unable to create account cg15\SAPServiceEPL. HRESULT=0x80005009
    ERROR 2008-04-18 11:53:08
    MUT-03025  Caught ESyException in Modulecall: ESAPinstException: error text undefined.
    ERROR 2008-04-18 11:53:08
    FCO-00011  The step createAccounts with step key |NW_Users_Create|ind|ind|ind|ind|0|0|NW_Users_Create_Do|ind|ind|ind|ind|3|0|createAccounts was executed with status ERROR .
    pls give me solution and looking forward to responce  
    thanks !!!!

    HI,
    is your  machine in Domain..or you perform local installation ?
    check whether user have administrator rights or not?
    regards,
    kaushal

  • Error in Create Operation in SUP MBO Developement

    Hi all,
    I have created MBO with getlist RFC and I have created CREATE operation for that MBO using CREATE RFC. After that i have created two screens one for getlist and one for create. In the create screen i have configured the submit button action to Synchronize opreation. From simulator i have create one customer but it was not sync with backend it was in pending operations.( In the Synchronize opration screen i have uncheckd the Place the operation in pending state). I did manually submit operations but nothing happened.
    Please help me to resolve this.
    Thanks,
    Ram

    Hi Ram,
    In the place where you created Synchronize action for your submit button, there will be options. One such option says "Synchronize pending operations when greater than " in that give the value as "1". So whenever it sees one single pending operation it immediately submits that operation to backend. Similarly you can configure that to any number and once those many pending operations reaches then SUP will submit them to Backend.
    Regards,
    Siva.

  • Problem when Rollback a Create operation in Master-Detail scenario

    Hi.
    I'm using 11.1.1.7.0 and I'll try to explain my issue as clear as I could.
    In my DataControls, I have
    StateView1SubstateView2
    I drag and drop SubstateView2 to my .jspx and create a Master table - Detail table. This works.
    My data are: State1, State2, and State3, all with related substates.
    Then I drag and drop a button to make New State functionality. Create operation is invoked, a popup with the form is opened, and it works too.
    Then I drag and drop a button to make New Substate functionality. Create1 operation is invoked, a popup with the form is opened. Here it's somethig wrong.
    Suppose I choose State2.
    I click New Substate, but I cancel the operation. Rollback is executed, and it works too.
    My issue comes now: I click again New Substate button with State2 selected in Master Table. This happens:
    I don't know how, but State1 is selected (and I didn't do this).
    Then, Detail table reloads with State1 related substates.
    Popup is opened to create a State1 substate (but not State2 substate as I expected).
    What am I doing wrong? Any help would be very appreciated.
    Regards

    Well, finally, when closing or cancelling the popup, this code works fine:
    DCIteratorBinding parentIter = ADFUtils.findIterator("StateView1Iterator");
    Key parentKey = parentIter.getCurrentRow().getKey();
    //You can add your operation code here, i have used simple Cancel operation with Rollback andExecute  
    OperationBinding rollback = ADFUtils.getBindingContainer().getOperationBinding("Rollback");
    rollback.execute();
    // Execute for StateView1
    OperationBinding execute = ADFUtils.getBindingContainer().getOperationBinding("Execute");
    execute.execute();
    // Execute for SubstateView2
    OperationBinding execute1 = ADFUtils.getBindingContainer().getOperationBinding("Execute1");
    execute1.execute();
    parentIter.setCurrentRowWithKey(parentKey.toStringFormat(true));

  • Create Operation with Integration Gateway for SOAP Webservices

    Dear All,
    Has anyone used the create operation for Soap Webservices for SMP 3.0 to invoke a POST into the system using OData and Integration Gateway.
    Can you please help with the steps.
    Thanks,
    Best Regards,
    Rakshit Doshi

    I tried the same sometime back but faced some issues. Then i came to know about one known issue.
    Reference
    Rgrds,
    JK

  • Confusion with Commit and Create Operations

    Hi:
    I'm using JDeveloper 10.1.3.4. I created an ADF Table that I want to use for data entry and modification. I also added Commit and Create operations as command buttons. Here's the behavior I'm seeing when I run the page:
    1. When I click on Create a blank record appears but no record is created in the database. This seems appropriate.
    2. When I enter data and click Commit, two records are created in the database: one with the data I entered and a blank record. This is problematic.
    Can anyone suggest a reason why I get 2 records during the Commit-button action? Also, is there a correct way to create this data-entry table?
    Thanks.

    Hello,
    Try using the createInsert operation instead of create.
    Both these operations only create a new row on the midtier, NOT in the database, which is intended.
    because adding the row right away to the database removed any use for the midtier in general
    cereate only creates a row in the midtier, it does not cimmit anything to the database and will not do so unless any value in that row is altered.
    createInsert create a row on the midtier and marks it so that the next commit will save this row to the database no matter if no values are changed.
    It doesnt explain why you got two records though, which is something different, maybe you clicked twice or called create twice?
    -Anton

  • How to insert override default create operation UIX ADF STRUTS

    Hi dear forum:
    How can I customize the default create operation?
    I need to calculate a value and put it into the new row created.
    Please help me!!!

    See How can i override the default create operation UIX ADF STRUTS

  • Create quotation based on notification

    Hello All,
    Can any one tell me hwo to create quotation based on notification.
    I know the BAPI's BAPI_QUOTATION_CREATEFROMDATA2 has to be used to create quotation
    i get diffrent errors like
    1) in sufficient parameters
    2) Sales document  was not changed
    I don't know what these error means and How to solve it.
    Here is my code
    data: ls_quotation_header  type bapisdhd1,
          ls_quotation_headerx type bapisdhd1x,
          lt_items             type table of bapisditm,
          lt_itemsx            type table of bapisditmx,
          lt_partners          type table of bapiparnr,
          ls_partner           type bapiparnr,
          ls_item              type bapisditm,
          lt_return            type table of bapiret2,
          ls_return            type bapiret2,
          ls_itemx             type bapisditmx,
          ls_diadr             type diadr,
          lv_parnr             type ihpa-parnr.
    ls_quotation_header-sales_org = '1000'.
    ls_quotation_header-distr_chan = '10'.
    ls_quotation_header-division = '20'.
    ls_quotation_header-doc_type = 'AS'.
    ls_quotation_header-ref_1_s = '63693'.
    lv_parnr = ls_quotation_header-ref_1_s.
    ls_quotation_headerx-notif_no = '000350000002'.
    *ls_quotation_header-SALES_GRP = 'SOG'.
    *ls_quotation_header-SALES_ORG = '0001'.
    *ls_quotation_header-DOC_TYPE
    *PURCH_DATE
    ls_quotation_headerx-sales_org = 'X'.
    ls_quotation_headerx-distr_chan = 'X'.
    ls_quotation_headerx-division = 'X'.
    ls_quotation_headerx-doc_type = 'X'.
    ls_quotation_headerx-ref_1_s = 'X'.
    ls_quotation_headerx-notif_no = 'X'.
    *ls_quotation_header-SALES_GRP = 'X'.
    *ls_quotation_header-SALES_ORG = 'X'.
    *ls_quotation_header-DOC_TYPE
    call function 'CONVERSION_EXIT_ALPHA_INPUT'
      exporting
        input  = lv_parnr
      importing
        output = lv_parnr.
    break-point.
    call function 'PM_PARTNER_READ_MASTER_DATA'
      exporting
        parnr                  = lv_parnr
        nrart                  = 'KU'
      importing
        diadr_wa               = ls_diadr
      exceptions
        no_valid_parnr         = 1
        no_valid_parnr_today   = 2
        no_authority           = 3
        parvw_and_nrart_inital = 4
        others                 = 5.
    if sy-subrc <> 0.
      message id sy-msgid type sy-msgty number sy-msgno
              with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    elseif sy-subrc = 0.
      move-corresponding ls_diadr to ls_partner .
      append ls_partner to lt_partners.
    endif.
    ls_partner-partn_role = 'AG'.
    ls_partner-partn_numb = lv_parnr.
    append ls_partner to lt_partners.
    *ls_item-hg_lv_item = 5.
    *ls_item-material = 31999.
    *ls_item-sales_unit = 'LE'.
    *ls_item-item_categ = 'ZEQU'.
    *APPEND ls_item TO lt_items.
    *ls_itemx-hg_lv_item = 'X'.
    *ls_itemx-material = 'X'.
    *ls_itemx-sales_unit = 'X'.
    *ls_itemx-item_categ = 'X'.
    *APPEND ls_itemx TO lt_itemsx.
    call function 'BAPI_QUOTATION_CREATEFROMDATA2'
      exporting
    *   SALESDOCUMENTIN                =
        quotation_header_in            = ls_quotation_header
       quotation_header_inx           = ls_quotation_headerx
    *   SENDER                         =
    *   BINARY_RELATIONSHIPTYPE        = ' '
    *   INT_NUMBER_ASSIGNMENT          = ' '
    *   BEHAVE_WHEN_ERROR              = ' '
    *   LOGIC_SWITCH                   =
    *   TESTRUN                        =
    *   CONVERT                        = ' '
    * IMPORTING
    *   SALESDOCUMENT                  =
      tables
       return                         =  lt_return
       quotation_items_in             =  lt_items
       quotation_items_inx            =  lt_itemsx
        quotation_partners             = lt_partners
    *   QUOTATION_SCHEDULES_IN         =
    *   QUOTATION_SCHEDULES_INX        =
    *   QUOTATION_CONDITIONS_IN        =
    *   QUOTATION_CONDITIONS_INX       =
    *   QUOTATION_CFGS_REF             =
    *   QUOTATION_CFGS_INST            =
    *   QUOTATION_CFGS_PART_OF         =
    *   QUOTATION_CFGS_VALUE           =
    *   QUOTATION_CFGS_BLOB            =
    *   QUOTATION_CFGS_VK              =
    *   QUOTATION_CFGS_REFINST         =
    *   QUOTATION_KEYS                 =
    *   QUOTATION_TEXT                 =
    *   EXTENSIONIN                    =
    *   PARTNERADDRESSES               =
    regards,
    Lisa

    In the meantime we have found the solution to this problem. 
    The objectkey must contain the notification number (12 digits):
    <b>METHODS</b>
    000001  HEADER     CREATETONOTIF  %00000000001000010000188
    000001  OPERATION  CREATE         %000000000010010
    000001             SAVE           %00000000001
    Kind regards,
    Lieselot

  • Creating Holidays Based on Following Rule

    Hi All,
    There is requirement from client to created holidays based on following Rules :
    1 Rule. For eg. if holidays falls on 20-June every year, then holiday will be given on Third Monday of June every year. How to configure this
         Ans. I have taken a option of floating holiday, this can do it for me..but any other option
    2 Rule. Holiday will be moved to previous Monday if its date matches Tuesday or Wednesday into the annual calendar overview or It will be moved to next Monday if its date matchs Thursday or Friday into the annual calendar overview.      
        Ans. I tried to used option Fixed day from date but it takes next monday always..so the condition get false when it is tuesday and wednesday.
               I can go for Floating holiday option also, but looking for better and accurate solution.
    I have the Floating day holiday rule for both the above rule...but it would be better , if someone can suggest a better solution than the floating day holiday rule...
    Looking for your co-operation
    Regards,
    Ketal Parikh

    It is better to define the holiday calendar every year so that you will not need these kind of floating holiday options.
    Every year your administrator can define the holiday calendar (He can check the holidays pertaining to that year & define it in the holiday calendar) and generate the work schedules.
    Hope this helps you.
    Regards
    N  Navaneethan

  • How to create event based process chains

    Hi All,
    I would like to know about event based process chains. In connection to this, could you please answer the following queries,
    1. How to create events
    2. How to link created event to the process chain in the same BI or BW system and as well as from  
        externel BI system.
    3. How link one process chain with other process chain (i.e, After completion of one process chain, it
        should trigger other dependent process chain)
    Thanks and Regards,
    Kotesh.

    1). Doubt regarding first question.
    For example, i would like to create time based event (it should be trigger daily at specified time),
    where we have to maintain scheduling options while creating event.
    When i checked SM62 there i found only two options a). Event name and b). Description.
    Could please send any doucument link if you have.
    Ans : You can use function modules like "BP_EVENT_RAISE" in a program and schedule the program to trigger.
    2). For externel BIW system also same procedure we need to follow or any difference.
    Ans : Externally you need to trigger the same event.
    3). i found dependent process chain also had scheduling options as direct scheduling insted of start using meta chain or API. As you said dependent process chain should be mata chain. it seems dependent process chain may be Meta chain or Direct scheduilg.
    Ans : Its your choice how you want to schedule it.You can either make that dependent chain a metachain or schedule it separately.
    I found at the end of first process chain they kept one process like Raise event and second process chain connected with the help of raise event process event name. If you have any idea about this process could explain a bit more.
    Ans : May be they are raising the event in the main chain and triggering the dependent chain using this event.
    But Metachain is preferred for such thing.Though it does similar thing.
    Hope this helps.

  • Error while creating https based web clipping portlet

    Please help me if any one has created https based web clipping portlet. I'm getting the following error when https url is used during clipping :
    An exception has occurred : oracle.portal.wcs.transport.http.HttpTransportException WCS-510 -- HTTP connection failed to URL https://google.com by method get
    Please click "Cancel" or "Back" in the above panel (if present) to retry. Otherwise, please try to click "Back" (from the browser) to go back to the Oracle Portal page to restart.
    both are not working
    Steps performed :
    1) Added proxy settings in provider.xml
    2) Imported certificates from https site into WLS_Portlet key store
    Thanks
    Bikash

    Hi,
    Are you using proxy server? if yes you have to configure it, or it is problem with your provider.xml file. Can you past the code from provider.xml related to proxy setting?
    I have resolved this issue by follow following technique, Look this code from provider.xml
    <proxyInfo class="oracle.portal.provider.v2.ProxyInformation">
    <!-- <httpProxyHost></httpProxyHost>
    <httpProxyPort></httpProxyPort>
    <dontProxyFor>*.mycompany.com</dontProxyFor> -->
    <proxyUseAuth></proxyUseAuth>
    <proxyType></proxyType>
    <proxyRealm></proxyRealm>
    <proxyUseGlobal></proxyUseGlobal>
    <proxyUser></proxyUser>
    </proxyInfo>
    commented first three tags and removed value from remaining tags.
    Just try with that, Hope this will solve your problem
    Muhammad Nasir

Maybe you are looking for

  • DNG files created with LR4 do not show thumbnails

    Hi,  When using LR3 to create DNG files from my RAW files, those files would show me thumbnails of my image in Windows Explorer.  I am running Windows/7 (64) and have installed a CODEC from "Fast Picture Viewer" that allows thumbnails from RAW & DNG

  • SQL Server 2008 installation

    hey guys, I am trying to install data services 4.0 on a windows server with MS SQL database as the repository database. So, my plan was to install MS SQL 2008 first, then IPS, then data services. But i am facing a problem in installation of MS SQL it

  • Is there any way to request a firmware update

    As the title says, is there any way I can request a firmware update for my BTHomehub2 as I like to keep things updated to the latest version. Thanks in advanced, ken. Solved! Go to Solution.

  • Adobe CS3 License and Reinstall Issue

    After a while of using Adobe Design Suite CS3 I got an unexpected error 'Licensing for this product has stopped working'. I tried uninstalling and reinstalling the Suite, but installation for Photoshop, InDesign and Illustrator keeps failing. Only Ac

  • Oracle license for academic project

    hi i am about to start a project with academic purposes in university, it will have some research and finally the result will be an application based on oracle database i will work most of the time in university, the problem is that there are not oth