Help - any have a example of BAPI_INSPECTIONPLAN_CREATE

Hi all, pls need a example for this bapi.
Thanks

Hi
FORM process_inspection_plan .
  data: wa_test_run    type bapiflag,
        wa_group       like BAPI1191_TSK_C-TASK_LIST_GROUP,
        wa_gr_counter  like  BAPI1191_TSK_C-GROUP_COUNTER.
* Determine Group and Group Counter.
  perform get_group_groupcounter.
  IF V_EXIT = 'X'.
    EXIT.
  ENDIF.
  if bdc_done <> ' '.
*create header task
    perform create_header_task.
*create material task
    perform create_mat_task.
*create operations
    perform create_operations.
*test_run
    if p_test?? = 'X'.
      wa_test_run = 'X'.
    else.
      wa_test_run = ' '.
    endif.
*call BAPI
    CALL FUNCTION 'BAPI_INSPECTIONPLAN_CREATE'
     EXPORTING
       TESTRUN                      = wa_test_run
*     PROFILE                      = c_profile
     IMPORTING
       GROUP                        = wa_group
       GROUPCOUNTER                 = wa_gr_counter
      TABLES
       TASK                        = t_task
       MATERIALTASKALLOCATION       = t_matalloc
       OPERATION                    = t_oper
*      REFERENCEOPERATION           =
*      PRODUCTIONRESOURCE           =
       INSPCHARACTERISTIC           = t_insp_char
      TEXTALLOCATION               = t_text_all
      TEXT                         = t_text
       RETURN                       = t_return.
    call function 'BAPI_TRANSACTION_COMMIT'
      EXPORTING
        wait   = t_wait
      IMPORTING
        return = wa_return.

Similar Messages

  • Since upgrading to Yosemite on my iMac, My Mail app refuses to open, Safari won't load, and I can't upload pictures from my iPad... Please help, any ideas very welcome. I've had my iMac since 2011, and have never had any issues to deal with before..

    Since upgrading to Yosemite on my iMac: My Mail app refuses to open, Safari won't load, and I can't upload pictures from my iPad...
    Please help, any ideas very welcome. I've had my iMac since 2011, and have never had any issues to deal with before..
    Thanks

    29/11/2014 20:17:01.315 com.apple.xpc.launchd[1]: (jp.buffalo.NASPower)
    Service only ran for 11 seconds. Pushing respawn out by 49 seconds.
    29/11/2014 20:17:37.013 com.apple.backupd[616]: Finished scan
    29/11/2014 20:17:43.108 com.apple.backupd[616]: Saved event cache at
    /Volumes/Time Machine Backups/Backups.backupdb/Geoff Lambrechts’s iMac
    (2)/2014-11-29-200648.inProgress/9B453663-603F-40B8-AC21-24F05C724E15/.6162AD34- 38F8-30AB-98E0-4A22FB9D311F.eventdb
    29/11/2014 20:17:43.207 com.apple.backupd[616]: Not using file event
    preflight for Macintosh HD
    29/11/2014 20:18:01.561 com.apple.xpc.launchd[1]: (jp.buffalo.NASPower)
    Service only ran for 11 seconds. Pushing respawn out by 49 seconds.
    29/11/2014 20:18:16.288 com.apple.xpc.launchd[1]:
    (com.apple.quicklook[715]) Endpoint has been activated through legacy
    launch(3) APIs. Please switch to XPC or bootstrap_check_in():
    com.apple.quicklook
    29/11/2014 20:18:23.705 com.apple.SecurityServer[56]: Session 100013 created
    29/11/2014 20:18:32.046 mdworker[718]: code validation failed in the
    process of getting signing information: Error Domain=NSOSStatusErrorDomain
    Code=-67062 "The operation couldn’t be completed. (OSStatus error -67062.)"
    29/11/2014 20:19:01.662 com.apple.xpc.launchd[1]: (jp.buffalo.NASPower)
    Service only ran for 11 seconds. Pushing respawn out by 49 seconds.
    29/11/2014 20:19:45.458 com.apple.xpc.launchd[1]:
    (com.apple.imfoundation.IMRemoteURLConnectionAgent) The
    _DirtyJetsamMemoryLimit key is not available on this platform.
    29/11/2014 20:19:59.123 com.apple.xpc.launchd[1]:
    (com.apple.PubSub.Agent[725]) Endpoint has been activated through legacy
    launch(3) APIs. Please switch to XPC or bootstrap_check_in():
    com.apple.pubsub.ipc
    29/11/2014 20:19:59.123 com.apple.xpc.launchd[1]:
    (com.apple.PubSub.Agent[725]) Endpoint has been activated through legacy
    launch(3) APIs. Please switch to XPC or bootstrap_check_in():
    com.apple.pubsub.notification
    29/11/2014 20:20:01.138 com.apple.xpc.launchd[1]: (jp.buffalo.NASPower)
    Service only ran for 10 seconds. Pushing respawn out by 50 seconds.
    29/11/2014 20:21:01.484 com.apple.xpc.launchd[1]: (jp.buffalo.NASPower)
    Service only ran for 10 seconds. Pushing respawn out by 50 seconds.
    29/11/2014 20:21:13.430 com.apple.backupd[616]: Found 4529 files (1.1 GB)
    needing backup
    29/11/2014 20:21:18.786 com.apple.backupd[616]: 2.82 GB required (including
    padding), 1.24 TB available
    29/11/2014 20:21:31.775 Console[734]: Failed to connect (_consoleX) outlet
    from (NSApplication) to (ConsoleX): missing setter or instance variable
    29/11/2014 20:21:34.230 WindowServer[162]: disable_update_timeout: UI
    updates were forcibly disabled by application "Console" for over 1.00
    seconds. Server has re-enabled them.
    29/11/2014 20:21:36.898 WindowServer[162]: common_reenable_update: UI
    updates were finally reenabled by application "Console" after 3.67 seconds
    (server forcibly re-enabled them after 1.00 seconds)
    29/11/2014 20:21:36.971 coreservicesd[83]: SFLEntryBase::ListHasChanged
    mach_msg returned 10000004d
    29/11/2014 20:22:01.817 com.apple.xpc.launchd[1]: (jp.buffalo.NASPower)
    Service only ran for 10 seconds. Pushing respawn out by 50 seconds.
    29/11/2014 20:23:02.170 com.apple.xpc.launchd[1]: (jp.buffalo.NASPower)
    Service only ran for 10 seconds. Pushing respawn out by 50 seconds.
    29/11/2014 20:24:02.547 com.apple.xpc.launchd[1]: (jp.buffalo.NASPower)
    Service only ran for 10 seconds. Pushing respawn out by 50 seconds.
    29/11/2014 20:25:02.168 CalendarAgent[218]:
    [Refusing to parse response
    to PROPPATCH because of content-type: .]
    29/11/2014 20:25:02.233 CalendarAgent[218]:
    [Refusing to parse response
    to PROPPATCH because of content-type: .]
    29/11/2014 20:25:02.236 CalendarAgent[218]:
    [Refusing to parse response
    to PROPPATCH because of content-type: .]
    29/11/2014 20:25:02.284 CalendarAgent[218]:
    [Refusing to parse response
    to PROPPATCH because of content-type: .]
    29/11/2014 20:25:03.059 com.apple.xpc.launchd[1]: (jp.buffalo.NASPower)
    Service only ran for 10 seconds. Pushing respawn out by 50 seconds.
    29/11/2014 20:25:12.674 com.apple.xpc.launchd[1]:
    (com.apple.imfoundation.IMRemoteURLConnectionAgent) The
    _DirtyJetsamMemoryLimit key is not available on this platform.
    29/11/2014 20:26:03.464 com.apple.xpc.launchd[1]: (jp.buffalo.NASPower)
    Service only ran for 10 seconds. Pushing respawn out by 50 seconds.
    29/11/2014 20:27:03.841 com.apple.xpc.launchd[1]: (jp.buffalo.NASPower)
    Service only ran for 10 seconds. Pushing respawn out by 50 seconds.
    On 29 November 2014 at 19:29, Apple Support Communities Updates <

  • OK! I am unable to type into any pages documents ... just started doing this. Tried opening new page ... no luck ... thries to edit a current paper... no luck!!! Help, anyone have an idea what I have done?

    OK! I am unable to type into any pages documents ... just started doing this. Tried opening new page ... no luck ... thries to edit a current paper... no luck!!! Help, anyone have an idea what I have done?

    Try a new post in the Pages forum. They would know better then us.
    DALE

  • Hi every one can any one help i have a problem in importing java dump for

    hi every one can any one help i have a problem in importing java dump for solman 4.0 mssql 2005 sr3

    Hi wahed,
    Please elobrate question not clear.
    Regards,
    Shahed iqbal

  • Wonder if anyone can help? Have just bought a new Macbook pro and installed FCP7. I thought that I would get quicktime pro but stuck with QTX. Downloaded QT7 but it won't let me install it. Any suggestions? B

    Wonder if anyone can help? Have just bought a new Macbook pro and installed FCP7. I thought that I would get quicktime pro as standard but stuck with QTX. Downloaded QT7 but it won't let me install it. Says I can't do install as I already have QTX. Does FCP not come with QTpro or am I jsut being stupid. Any suggestions would be great. Thanks.  B

    Hi there,
    Are you running Lion or Snow Leopard? either way this may help by the looks of it.
    http://www.macworld.com/article/161320/2011/07/lion_quicktime7.html
    cheers
    Andy

  • I have a new computer and downloaded the latest version of itunes.I now need to authorise my computer but cannot find the bar that contains " store windows help" any suggestions please?

    i have a new computer and downloaded the latest version of itunes.I now need to authorise my computer but cannot find the bar that contains " store windows help" any suggestions please?

    Press Alt or Ctrl+B.
    tt2

  • Please help i have two ipods but i can use any as i can download the newer version of Itunes as i have the older version of Bonjour on my laptop  I just cannot remove this!!!!!!!!!!!!

    please help i have two ipods but i can use any as i can download the newer version of Itunes as i have the older version of Bonjour on my laptop
    I just cannot remove this!!!!!!!!!!!!

    i am no shure but go on Itunes store in shortcuts and try to find 'purchasse'
    good luck

  • Can any one help i have lost safari on my powerMAC g4 and cant figure out how to get it back  and safari 5 is not supported on my cumputer

    can any one help i have lost safari on my powerMAC g4 and cant figure out how to get it back  and safari 5 is not supported on my computer

    Make sure there's enough free space on the startup disk.
    Right or control click the MacintoshHD icon on your Desktop.
    Click Get Info. In the Get Info window you will see Capacity and Available.
    Make sure there's a minimum of 15% free disk space.
    If there's sufficient disk space, the startup disk may need repairing.
    Launch Disk Utility located in /Applications/Utilities
    Select the startup disk on the left then select the First Aid tab.
    Click Verify Disk  (not Verify Disk Permissions)
    You will need your install disc if the startup disk needs repairing.
    Using Disk Utility to verify or repair disks

  • I have used Final Cut Pro 7 for about a year. Two weeks ago when I tried to open it, it opened for 15 seconds and then the icon disappeared. I have tried to reinstall and it didnt help. any one has similar case or can help?

    I have used Final Cut Pro 7 for about a year. Two weeks ago when I tried to open it, it opened for 15 seconds and then the icon disappeared. I have tried to reinstall and it didnt help. any one has similar case or can help?

    Please post your problem in the Final Cut Studio (Final Cut Pro 7) forum:
    https://discussions.apple.com/community/professional_applications/final_cut_stud io?view=discussions
    You'll get the help you need in that forum.

  • HT5787 Help, I have forgotten my Apple ID security questions and when i send it to my email address to reset the questions nothing shows up in inbox. Any other way to get past this?

    Help, I have forgotten my Apple ID security questions and when i send it to my email address to reset the questions nothing shows up in inbox. Any other way to get past this?

    You've checked the spam folder on your rescue email account as well as the inbox, and you've tried clicking the reset link a second time ? If you have, and you still haven't received the email, then you will need to contact iTunes Support / Apple to get the questions reset.
    Contacting Apple about account security : http://support.apple.com/kb/HT5699

  • Help, I have forgotten my Apple ID security questions and when i send it to my email address to reset the questions nothing shows up in inbox. Any other way to get past this?

    Help, I have forgotten my Apple ID security questions and when i send it to my email address to reset the questions nothing shows up in inbox. Any other way to get past this?

    Security questions:
    https://discussions.apple.com/docs/DOC-4551
    http://support.apple.com/kb/HT5312
    This is also useful:
    http://www.macworld.co.uk/ipad-iphone/news/?newsid=3463233&olo=email
    If you don’t know your security questions, phone Apple (using the number listed here:  http://support.apple.com/kb/HE57  ) and ask for the Account Security Team.

  • Since I installed Mountain Lion, my iMac has shut down after 15-20 minutes. I have adjusted screen saver, shut down time, and sleep after. Nothing seems to help, any ideas?

    Since I installed Mountain Lion, my iMac has shut down after 15-20 minutes. I have adjusted screen saver, shut down time, and sleep after. Nothing seems to help, any ideas?

    As old as your iMac is, have you cleaned out the dust? Dust buildup can lead to over heating issues. Remove any and all things plugged into it including the power cord, Remove the RAM access grille. Vacuum all openings starting with the RAM access area (air intake). Vacuum all ports and plugs, DVD slot and the opening across the top of the rear of the body. Blow compressed air through all your openings and vacuum again to remove any dust you loosend. Reinstall the RAM grille. Plug in the keyboard and mouse if not blue tooth. Insert power cord...
    You are now in a perfect position to do a
    SMC RESET
    http://support.apple.com/kb/HT3964
    Shut down the computer.
    Unplug the computer's power cord and ALL peripherals.
    Wait 15 seconds.
    Attach the computers power cable.
    Wait another 5 seconds and press the power button to turn on the computer.
    It is the 5 second timing that initiates the reset.
    Here is a link to a Widget to monitor your temps and other operations:
    http://islayer.com/apps/istatpro/

  • My imac is frozen with the following notice:  USB over current notice.  have tried powered hub, no help.  have tried unplug and restart, no help.  any suggestions?

    my imac is frozen with the pop up notice of "usb over current notice, a usb device is currently drawing too much power.  the hub it is attached to will be deactivated".  have tried unplug and restart, no help.  have tried power hub, no help.  my wired keyboard and mouse do not work.  help.

    Unplug all devices including your mouse and keyboard. Now do a
    SMC RESET
    http://support.apple.com/kb/HT3964
    Shut down the computer.
    Unplug the computer's power cord and ALL peripherals.
    Wait 15 seconds.
    Attach the computer's power cable.
    Wait another 5 seconds and press the power button to turn on the computer.
    It is the 5 second timing that initiates the reset.
    If it starts up normally plug in 1 item at a time. You may have a defective device that is drawing too much current.

  • Help i have forgotten my password for itunes and have a new email address but cant change this as i have to login first, any advice???

    help i have lost my password to log into itunes and have a new email address but can't change this because i can't login?????

    Whenever a menu choice is grayed out, that is because you have Restrictions turned on in Settings.  Be sure to turn it off.
    You are confusing an itunes store account with an icloud account.  You two can continue using the same ID for itunes (thus sharing purchased music, apps, etc.), but you really should have separate accounts (different IDs) for icloud, since an account is intended for one user to keep his/her devices in sync.
    To create a new icloud account, go to
    http://www.apple.com/icloud/setup/
    Then go to Settings>icloud and scroll to the bottom of the screen and tap Delete Account.  (have restrictions turned off)  That will disconnect the device from the account but will not delete data in icloud or other devices.  Then sign in using the new ID.

  • Is there any blog or examples to handle the errors without using ESB tool kit.

    Hello,
    I have been trying to work with error handling since last week but I dont understand how to construct the error message. Is there any blog or examples to explain handle the errors step by step from scratch without using ESB tool kit.Can anybody help me out.
    Thanks in advance.

    You can use option 3 to construct the error message inside orchestration.
    Before using a BizTalk XML Message inside an orchestration, it must first be constructed. In fact this is just populating the message with XML. If there is an attempt to use this message before it is constructed, the above error will come. Some messages
    come pre-constructed, such as messages that originate from a send port
    There are several ways to construct a message inside an orchestration:
    Create a new message from an existing message using BizTalk map
    Assign one message to other(i.e. creating a copy of an existing message)
    Creating a message with the help of a System.XML.XMLDocument variable
    We have to first declare an orchestration variable of type XmlDocument. Then in a message assignment shape, we need to do something like this:
    myxmlDoc = new XmlDocument();
    myxmlDoc.LoadXML("<somexmlhere></somexmlhere>")
    myMsgBeingConstructed = myxmlDoc;
    Abhijit Mahato - Microsoft Community Contributor 2011 - MCTS BizTalk Server blog: http://abhijitmahato.wordpress.com/ Please "Mark as Answer" if Post has Answered the Question

Maybe you are looking for

  • Print report in OAF

    Hi , i have a requirement to print all the values as a report. say i have a page. For each value i have a check box. oN select of the checkboxes the values needs to be printed. How do i proceed on this? the report should be displayed as PDF. what sho

  • Export to Spreadsheet in Agent Inbox - Values on First Page Only Get Transferred

    Hello, I am facing an issue with the "Export to Spreadsheet" functionality in the Agent Inbox. The number of items in the inbox is too large to fit on one page and therefore spans multiple pages. Now, when I choose to export the inbox results to a sp

  • Will 2.6.24.2 be a PREEMPT kernel?

    Previous "official" kernel was patched with Ingo Molnar's real time patch, AFAIK. The one which is in core at the moment isn't, or at least I think it isn't. It's quite understandable as 2.6.24.1 doesn't have a corresponding real time patch. Will 2.6

  • How can I extract parts of the EXIF metadata to use in a Smart Collection?

    I want to aggregate all of the images I've captured by Capture Month and identify those images that were scanned or have no Capture Date.  This question actually attempts to open the door for read access to all of the image metadata and the ability t

  • GDS using infoset query

    Dear All, I need to create a GDS using 2 tables COSP and BSEG. BSEG is cluster table and COSP is transparent table ...  Can i create GDS using Infoset query ... If yes then pls tell me the way to do this.. Thanks, Regards Shweta