BAPI Error message in WDA using AIF

Friends,
I am working on Custom WDA using AIF to create Purchase Requisitions.
I am calling the BAPIs  -  'BAPI_REQUISITION_CREATE' and 'BAPI_TRANSACTION_COMMIT' using CALL FUNCTION.
I passed the item values to zitab and called the function module.
Here is the code:
CALL FUNCTION 'BAPI_REQUISITION_CREATE'
EXPORTING
SKIP_ITEMS_WITH_ERROR                = 'X'
AUTOMATIC_SOURCE                     = 'X'
IMPORTING
NUMBER                               = number
TABLES
   REQUISITION_ITEMS                    = zitab
  REQUISITION_ACCOUNT_ASSIGNMENT       =
  REQUISITION_ITEM_TEXT                =
  REQUISITION_LIMITS                   =
  REQUISITION_CONTRACT_LIMITS          =
  REQUISITION_SERVICES                 =
  REQUISITION_SRV_ACCASS_VALUES        =
  RETURN                               = zbapireturn
  REQUISITION_SERVICES_TEXT            =
  REQUISITION_ADDRDELIVERY             =
  EXTENSIONIN                          =
I am getting the following error messages from BAPI_REQUISITION_CREATE:
1. Message type - E
Code - W5069
Message - Please also pass on a unit of measure for the quantity
2. Message type - E
Code - W5002
Message - No items exist (not possible to save)
Here are the relevant details:
System - SAP ECC 6.0 EhP4
Adobe Livecycle Designer version  - 8.1.2.4246.1.597341
ADS version - 802.20100318013254.656549
I found this link that is relevant to the second error, thought the solution is not provided:
Error : No items Exists (Not Possible to save)
I would appreciate any hints or thoughts on how to get these errors rectified.
Regards,
Arun.

Thanks Kris for your reply.
I was able to rectify the 2 errors.
I need to update 5 custom fields in the CI_EBANDB include in the EBAN table. I am using the EXTENSIONIN parameter.
Here is my code:
data: wa_bapiextn type bapiparex,
      zbapiextn type table of bapiparex.
  wa_bapiextn-structure = 'CI_EBANDB'.
  wa_bapiextn-VALUEPART1 = 'A'.
  wa_bapiextn-VALUEPART2 = 'B'.
  wa_bapiextn-VALUEPART3 = 'C'.
  wa_bapiextn-VALUEPART4 = 'D'.
  append zstruct to zitab.
  append wa_bapiextn to zbapiextn.
CALL FUNCTION 'BAPI_REQUISITION_CREATE'
* EXPORTING
*  SKIP_ITEMS_WITH_ERROR                = 'X'
*  AUTOMATIC_SOURCE                     = 'X'
  IMPORTING
    NUMBER                               = number
    TABLES
      REQUISITION_ITEMS                    = zitab
*   REQUISITION_ACCOUNT_ASSIGNMENT       =
*   REQUISITION_ITEM_TEXT                =
*   REQUISITION_LIMITS                   =
*   REQUISITION_CONTRACT_LIMITS          =
*   REQUISITION_SERVICES                 =
*   REQUISITION_SRV_ACCASS_VALUES        =
     RETURN                               = zbapireturn
*   REQUISITION_SERVICES_TEXT            =
*   REQUISITION_ADDRDELIVERY             =
    EXTENSIONIN                          = zbapiextn
The custom fields are not getting updated. I would greatly appreciate any hints on how to get these custom fields updated.
Regards,
Arun.

Similar Messages

  • BAPI Error Message Handling

    Hi Group,
    I am using BAPI ,How to display the BAPI  Error Message (eg:BAPIRET1) which is returning by BAPI

    HI ,
    ITS SIMPLE TRY THIS CODE
    AWARD PTS
    DATA: gt_ret     TYPE TABLE OF bapiret2,
               ls_ret    TYPE bapiret2,
    CALL FUNCTION 'BAPI_SALESORDER_CHANGE'
        EXPORTING
          salesdocument     = p_vbeln
          order_header_in   = gt_hdr
          order_header_inx  = gt_hdrx
        TABLES
          return            = gt_ret -
    >>>>.<b>IMPORTANT</b>
          order_item_in     = gt_itm
          order_item_inx    = gt_itmx
          schedule_lines    = gt_sched
          schedule_linesx   = gs_schedx
          order_text        = gs_stdtxt.
          PARTNERS          = gs_partner
      CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
      LOOP AT gt_ret INTO ls_ret.
        WRITE:/ ls_ret-type.
        WRITE:/ ls_ret-message.
      ENDLOOP.

  • I'm trying to make a cd from my itunes. I get error message "cannot be used because it is not recognized.

    I'm trying to make a cd from my itunes. I get error message "cannot be used because it is not recognized.

    I just figured it out. All I had to do was close out of iTunes then restart.

  • Error message on iPad using safari and iMessage/ FaceTime.

    I'm having trouble with my iPad (3). Just recently I keep getting the same error message when searching using safari, it says cannot open page as too many redirects occurred. I've tried closing all tabs, clearing the history and clearing cookies and data but nothing is working. I can still use google and use my Facebook and Twitter apps. Also since clearing data, I have been logged out of iMessage and FaceTime, when I try and log back in again it says that an error occurred during activation. What's wrong with my iPad?! I updated my iOS software a few weeks ago so I assumed that couldn't be the problem. Please help!

    You can try resetting your iPad by simultaneously pressing and holding the Home and Sleep/Wake buttons until you see the Apple Logo. This can take up to 15 seconds so be patient and don't release the buttons until the logo appears.
    Try again to see if the problem persists.

  • I contiue to get the error message registry settings used by itunes drivers for importing and burning CD's and DVD's are missing.  Please reinstall itunes.  Reinstalling itunes does not fix the problems

    I continue to get the error message registry settings used by itunes drivers for importing and burning CD's and DVD's are missing.  Please reinstall itunes.  Reinstalling itunes does not fix the problems

    I'd start with the following document, with one modification. At step 12 after typing GEARAspiWDM press the Enter/Return key once prior to clicking OK. (Pressing Return adds a carriage return in the field and is important.)
    iTunes for Windows: "Registry settings" warning when opening iTunes

  • Rendering error message:File in use

    Please help, I am trying to print a project to video but in the rendering process I get the error message: File in use by this or another application. I have no files in use in another application. MAC support is unfamiliar with the message and recommends uninstalling FCP and re-installing. Any other ideas as I am afraid of losing the project. Any help would be appreciated. Thanks, G.
    G5   Mac OS X (10.3.9)   FCP HD 4.5
    G5   Mac OS X (10.3.9)   FCP HD 4.5

    If you rerender does the error go away? I know this comes up with Tiger and spotlight. I just disabled spotlight for my media drives. It does not look like you are running Tiger, usless your auto info has not been updated.
    If you cannot render at all, then is is not spotlight.
    I would try braking the timeline down in 1/2s. keep going until you get a render that works. You may be able to track down the exact clip that is having a problem. Good luck
    Bob

  • Error messages after every use of pacman

    I'm getting error messages after every use of pacman. Don't know if it's compromising the usage, but it's quite annoying. The messages are the following:
    /sbin/ldconfig: file /usr/lib/libicudata.so.38.0 is truncated
    /sbin/ldconfig: file /usr/lib/libicudata.so.38 is truncated
    /sbin/ldconfig: file /usr/lib/libicudata.so is truncated
    /sbin/ldconfig: file /usr/lib/libicudata.so.38.0 is truncated
    /sbin/ldconfig: file /usr/lib/libicudata.so.38 is truncated
    /sbin/ldconfig: file /usr/lib/libicudata.so is truncated
    Any guesses?

    Because the file you get errors about is owned by that package, I'd try a normal reinstallation first though, the f flag isn't the safest one...
    Last edited by Ramses de Norre (2007-11-11 19:04:30)

  • Keep getting error message "registry setting used by itunes drivers for importing

    Keep getting error message "registry setting used by itunes drivers for importing and burning cds & dvds are missing", this can happen as a result of installing other cd burning software".  The only software on my computer is original cd-dvd on my hp portable with Vista.  My computer now recognized itouch as a camera. Ive uninstalled and reinstalled itunes, nothing changes.

    I'd start with the following document, with one modification. At step 12 after typing GEARAspiWDM press the Enter/Return key once prior to clicking OK. (Pressing Return adds a carriage return in the field and is important.)
    iTunes for Windows: "Registry settings" warning when opening iTunes

  • I cannot utilize my Adobe documents - I get this error message - "You cannot use this product at this time.  You must repair the problem by uninstalling and then reinstalling this product or contacting your IT administrator or Adobe customer support for h

    I cannot utilize my Adobe documents - I get this error message - “You cannot use this product at this time.  You must repair the problem by uninstalling and then reinstalling this product or contacting your IT administrator or Adobe customer support for help.”

    Thank you!  My solution was different.  I had turned off services in MSCONFIG and did not turn them back on.  After I turned services back on, Acrobat started  working again without the nag error and impedance to use the program.  I appreciate your input!  Adobe customer service/tech support was dismally disappointing.

  • Can i save a podcast without taking up space on nano 6, i keep getting error message space is used up but I don't want to lose the podcast episode for the future

    can i save a podcast without taking up space on nano 6, i keep getting error message space is used up but I don't want to lose the podcast episode for the future

    Sorry to be such a moron with this, but I just don't have much experience with this iPad.  I have had it for over a year and I just keep adding stuff to it and it has worked great.  Now that the memory is used up, I am trying to figure out how to free up space and not lose what I have paid for. 
    So, Step 1 is complete, as I have "Transferred" all of the purchases.
    What is Step 2?  I unchecked the concert on the iTunes library, did a sync, but it's still on my iPad.
    Thanks again for the help!!!

  • Passing BAPI  Error Messages to BDC  Session.

    Hi,
    Can any one drive the idea how to convert rather passing BAPI error messages into BDC session.
    regards.

    Naveen,
    I am sure you already have the logic of "If the call transaction is errored out you create a BDC session for the same data".
    Now, when your BAPI fails, irrespective of the error, you need to build the BDCDATA table and pass the data to the session. So, I don't you really need to know the errors and pass them to the BDC Session.
    Check the RETURN table of the BAPI, if it has got E / A / X error types then you can build the BDCDATA table and create the session.
    Regards.
    Ravi
    Note : Please mark the helpful answers and close the thread if the issue is resolved.

  • Can't find printer connected by ethernet through airport extreme.  All I get is a generic error message - I'm using printer IP address as address.

    Old imac using snow leopard printed just fine to Ricoh cl2000n printer that is connected to airport extreme via ethernet (as was the imac). New iMac with Lion otherwise same cable configuration and the computer cannot find the printer.  It searchs and spits out a generic error message.  Any suggestions?  Thanks!

    Is your printer listed?
    http://support.apple.com/kb/HT3669
    If not then you need to get the driver and install it.
    Otherwise you may want to reset the printing system.
    http://support.apple.com/kb/ht1341

  • Error message: The preset used by one or more sequences in this project requires third-party components that could not be located. These sequences will be modified to use a custom sequence setting instead. To continue editing using the original preset, qu

    Hello all,
    I can't open a PP project without this error message appearing:
    "The preset used by one or more sequences in this project requires third-party components that could not be located. These sequences will be modified to use a custom sequence setting instead. To continue editing using the original preset, quit the application without saving the project, reinstall any third-party components that are required and reopen the project".
    What I had been doing before this occurred was editing a PP project using ProRes sequences and multi-camera editing. Multi-camera was not working very well and after a few attempts to fix that I gave up and finished the job cutting 3 layers of video instead. AME refused to render the three finished sequences of over 1hr duration so rendered final videos from the PP sequences.
    I tried deleting plists for AME, PP and QT, repairing disc permissions and rebooting but there was no improvement.
    Client is satisfied for now but will want to come back to this job at a later date so decided to uninstall and re-install AME and PP in the hope both would be ready to work properly when needed again. AME works fine in conjunction with a different PP project but now I can't open the PP project in question without the above error message appearing.
    Having searched the net it would seem that the problem may be caused by ProRes but I haven't been able to find a definitive solution for the problem. Does anyone know either:
    1. How to fix this?
    2. If I chose the "modified using a custom sequence setting", can I be sure that my sequences will look the same even if they don't use ProRes? The final deliverable format will be mp4 so as long as the overall look doesn't change then I can  afford a change in the edit codec. It's just that with three sequences over an hour long, I don't want days of work to be ruined.
    Other older PP projects of mine open and work fine.
    Premiere Pro CC 8.2.0
    Media Encoder CC 8.2.0.54
    OSX 10.10.2
    Any help would be greatly appreciated.
    Duncan.

    Adobe web chat come up with a solution.
    Open the PP project.
    Export your sequence or project as a Final Cut Pro XML file.
    Set up a new PP project.
    Import the Final Cut Pro XML file.
    This will get you back up an running.
    Since getting back to editing this project I have found that some things will be lost or change in using XML:
    You will lose position key framing, black video clips, dissolve fx, audio levels, audio dynamic fx, the ability to open a multi camera clip and change the camera view.
    You will keep cut points, crop fx.
    Not perfect but only took a couple of hours to save 3 days work.

  • Error message for radiobuttongroup using report_attribute_error_message

    Hi,
    We are displaying error message on the submit button of a form in web dynpro abap application. We have different UI elements in the form which are mandatory to enter by the user.So we are using 'CALL METHOD lo_message_manager->report_attribute_error_message' method to display error.
    When user click on the error message control will go the UI field which is caused for error.
    This works fine for INPUT,DROPDOWNBYKEY,TEXTEDIT,RADIOBUTTON UI elements.
    But error link is not working for RADIOBUTTONGROUPBYKEY/RADIOBUTTONGROUPBYINDEX ui elements.
    Is this problem is with WEB DYNPRO ABAP or am i missing any property settings. Does SAP Web Dynpro ABAP provide this functionality for RADIOBUTTONGROUPBYKEY/RADIOBUTTONGROUPBYINDEX?
    Please help us to resolve the problem.
    Below attached written code for reference.
    CASE lo_action->name. WHEN 'SUBMIT'.
    IF lv_radio IS INITIAL.
    *    REPORT message
       call method lo_message_manager->report_attribute_error_message
         exporting
           message_text              = 'Please select something from radio button grp by key.'
           element                   =  lo_el_radio_node
           attribute_name            = `RADIO`
    *        params                    =
    *        msg_user_data             =
    *        is_permanent              = ABAP_FALSE
    *        scope_permanent_msg       = CO_MSG_SCOPE_CTXT_ELEMENT
    *        msg_index                 =
    *        cancel_navigation         =
    *        is_validation_independent = ABAP_FALSE
      ENDIF.
        IF lv_text IS INITIAL.
    *    REPORT message
       call method lo_message_manager->report_attribute_error_message
         exporting
           message_text              = 'Please KEY IN SOMETHING THE TEXTEDIT BOX......'
           element                   =  lo_el_text_edit
           attribute_name            = `TEXT`
    *        params                    =
    *        msg_user_data             =
    *        is_permanent              = ABAP_FALSE
    *        scope_permanent_msg       = CO_MSG_SCOPE_CTXT_ELEMENT
    *        msg_index                 =
    *        cancel_navigation         =
    *        is_validation_independent = ABAP_FALSE
      ENDIF.
        IF lv_radio_group  IS INITIAL.
    *    REPORT message
       call method lo_message_manager->report_attribute_error_message
         exporting
           message_text              = 'Please select something in second radio group.'
           element                   =  lo_el_radio
           attribute_name            = `RADIO_GROUP`
    *        params                    =
    *        msg_user_data             =
    *        is_permanent              = ABAP_FALSE
    *        scope_permanent_msg       = CO_MSG_SCOPE_CTXT_ELEMENT
    *        msg_index                 =
    *        cancel_navigation         =
    *        is_validation_independent = ABAP_FALSE
      ENDIF.
    ENDCASE.

    Hi Smitha
    You declare as below :
    *---- SELECTION-SCREEN
    SELECTION-SCREEN BEGIN OF BLOCK b1.
    SELECT-OPTIONS : s_werks FOR vbap-werks .                 "Plant
    SELECTION-SCREEN END OF BLOCK b1.
    *Selection Screen validation
    AT SELECTION-SCREEN .
      IF s_werks-low IS NOT INITIAL.
        SELECT SINGLE werks            "Plant
        FROM t001w
        INTO s_werks-low
        WHERE werks = s_werks-low
        and werks in ( '2000','3000','4000' ).
        IF sy-subrc NE 0.
          MESSAGE e000 WITH text-t48.
        ENDIF.
      ENDIF.
    if its a parameter just replace s_werks as p_werks
    Edited by: Martina Floriette on Feb 21, 2009 6:01 AM

  • Is there any way to send Apple Support a Screen Shot of the Error Message I receive using their phone with their own accessories ?

    I have Verizon's iPhone 5 4G LTE 32GB Black. I purchased Apple's mini USB lighting charging adapter. Every mini USB charging accessory I own gives the error message. I want to send you a screen shot. It doesn't help you win over Android users when the products you make and say will be compatable, are are not. It's frustrating. Please help.

    this is a user helping user forum apple don't read or write here we are not trying to win over android users
    if you want apples attention use the feedback channel
    http://www.apple.com/feedback/iphone.html
    about taking a screenshot of your error msg then
    http://ipod.about.com/od/iphonewidgets/ht/iph-screenshot.htm
    more hits here
    https://www.google.dk/search?client=opera&q=taking+screenshot+on+galaxy+s3&sourc eid=opera&ie=utf-8&oe=utf-8&channel=suggest#hl=en&client=opera&hs=Uby&tbo=d&chan nel=suggest&sclient=psy-ab&q=taking+screenshot+on+iphone&oq=taking+screenshot+on +&gs_l=serp.3.1.0l4.9085.9085.0.12092.1.1.0.0.0.0.44.44.1.1.0.les%3B..0.0...1c.1 .4k063Cpgpno&pbx=1&bav=on.2,or.r_gc.r_pw.r_cp.r_qf.&bvm=bv.41642243,d.bGE&fp=593 4ee7a74a81829&biw=1752&bih=752

Maybe you are looking for

  • Surveys with Opportunities

    Hello, We are sending out a survey to the contact person when an opportunity has been closed and saved. The survey is sent as a URL within an email and a smartform is used to generate this email. The URL opens up the survey correctly and the answers

  • BUG in TEST DRIVE ias installation routine

    After scuccesfully installation of the TEST DRIVE PII version the installation leave the destination directory blank. The bug is knwon in this newsgroup. My tip: Go to http://iplanet.subscribnet.com/ download the real version (SP3 is brand new) and t

  • Becoming a member of the Privilege Group

    People, I am using the PL/SQL packages wwsec_api and wwsec_oid to create and maintain users and groups. The problem is that I need some users to members of the "Privilege Group". This is described on the OID html interface as "Grant members full DAS

  • How do i put keynote on my dock?

    i have a macbook air, and ive purchased keynote but i dont know how to get it on my dock

  • Can not boot off of installation disk - MBP 10.6

    I am trying to wipe and reinstall the OS in my 2010 MBP 15. I have tried everything - and it will not boot off of the disk. It sees the disk and starts to boot - but it gets stuck at the gray screen with the darker gray Apple logo. I tried it with th