Getting error in bapi_po_create1 'Please maintain services or limits '

Hi People,
I am trying to create a service purchase order using Bapi_po_create1...... i have used POSERVICES ( LINE_NO ,
SERVICE,  QUANTITY ,  GR_PRICE ,   MATL_GROUP,    FORM_VAL1,   FORM_VAL2 )  ( i also added header, item,
schedule, account, details ) and when i execute this bapi  iam getting the following error :
' Please maintain services or limits  '
I couldnt solve this issue ..........can you people tel me what are fields that need to be filled and how to solve this error ?
( i checked the threads but not able to find the solution ) ?
Thanks in Advance,
Siva

Hi
I think you missed some more fields. Check this:
Field OUTL_IND is used to flag a line as an outline line. The service lines are assigned to the outline lines using the fields PCKG_NO (for the service line) and SUBPCKG_NO (for the outline line).
The outline hierarchy is mapped using the fields LINE_NO and HI_LINE_NO. Field HI_LINE_NO links to field LINE_NO of the hierarchically superior outline.
I found the above data in the Documentation of the BAPI which can be seen in se37 tcode.
Regards,
VIshwa.

Similar Messages

  • SE029 Please Maintain Services or Limits

    Hi;
    For Account Assign K and item category D, I am trying to raise a PO, But I want to remove services or limits from mandatory fields and make them optional...Where can I make this setting?
    Thanks

    Hi,
    you can change the field selection in transaction ML90.
    Sorry, but I do not understand your problem, because it is a MUST in you use item category D for services to maintain services or limits or both. You can not save a service purchase item without entering limits or services (or both)....
    Regards,
    Edit

  • Getting error Maintain services or limits while calling BAPI_PO_CREATE1

    Hi All,
    I am facing the problem with the BAPI for creating the Open Purchase Orders.
    I am using the BAPI_PO_CREATE1 and getting the error "Please maintain services or limits".
    I have check all the field which are required in the POSERVIES table and populating the same. But still getting the same error.
    Can any one please suggest me how to solve this error.
    Thanks for Helping.
    Regards
    Balu

    Hi Akash,
    May be for particular Document type you need to pass Payment terms..
    so pass value for Payment term and also pass 'X' in POHEADERX for payment terms...
    Regards,
    Ankit.

  • Service purchase order bapi_po_create1 error: maintain services or limits

    I am trying to create service Purchase Order.
    I am getting error: 'Purchase order still contains faulty items, Please maintain services or limits'.
    Struggling to solve this. Can anybody shed some light on this to solve.
    I would appreciate your any help.
    thanks.
    The following is the code I am working.
    REPORT  ZAUTO_PO_CREATE1                        .
    constants: c_x value 'X'.
    DATA: i_poitem TYPE STANDARD TABLE OF bapimepoitem,
    i_poitemx TYPE STANDARD TABLE OF bapimepoitemx,
    i_poitem_sch TYPE STANDARD TABLE OF bapimeposchedule,
    i_poitem_schx TYPE STANDARD TABLE OF bapimeposchedulx,
    i_acct_*** TYPE STANDARD TABLE OF bapimepoaccount,
    i_polimits type standard table of BAPIESUHC,
    i_acct_assx TYPE STANDARD TABLE OF bapimepoaccountx,
    i_services TYPE STANDARD TABLE OF bapiesllc ,
    i_srvacc TYPE STANDARD TABLE OF bapiesklc,
    i_return TYPE STANDARD TABLE OF bapiret2,
    wa_header TYPE bapimepoheader,
    wa_headerx TYPE bapimepoheaderx,
    wa_poitem TYPE bapimepoitem,
    wa_poitemx TYPE bapimepoitemx,
    wa_poitem_sch TYPE bapimeposchedule,
    wa_poitem_schx TYPE bapimeposchedulx,
    wa_acct_*** TYPE bapimepoaccount,
    wa_acct_assx TYPE bapimepoaccountx,
    wa_services TYPE bapiesllc,
    wa_srvacc TYPE bapiesklc,
    wa_return TYPE bapiret2,
    wa_BAPIESUHC type BAPIESUHC,
    ws_po TYPE bapimepoheader-po_number.
    data: wa_it_xlikp like line of it_xlikp.
    loop at it_xlikp into wa_it_xlikp.
    endloop.
    data: wa_it_xlips like line of it_xlips.
    loop at it_xlips into wa_it_xlips.
    endloop.
    data: wa_it_xvbpa like line of it_xvbpa.
    loop at it_xvbpa into wa_it_xvbpa.
    if wa_it_xvbpa-parvw = 'SP'.
    wa_header-vendor = wa_it_xvbpa-lifnr.
    endif.
    endloop.
    *data: it_komp type table of komp,
         wa_it_komp like line of it_komp.
         loop at it_komp into wa_it_komp.
         endloop.
    service PO is only for YLF delivery type.
    if wa_it_xlikp-lfart ne 'YLF'.
    exit.
    endif.
    shipping conditions.
    *case wa_it_xlikp-vsbed.
    *when '3P' or 'CP'.
    *exit.
    *endcase.
    wa_header-doc_type = 'YB'.
    wa_header-creat_date = sy-datum.
    wa_header-created_by = sy-uname.
    wa_header-vendor = '0005000000'.
    wa_header-comp_code = 'OB01'.
    wa_header-purch_org = 'OB01'.
    wa_header-pur_group = 'OB9'.
    wa_header-CURRENCY = 'USD'.
    wa_header-vper_start = '20061118'.
    wa_header-vper_end = '20061126'.
    wa_header-ref_1 = 1.
    wa_header-incoterms1 = 'AOS'.
    wa_header-incoterms2 = ''.
    wa_header-our_ref = 'N'.
    wa_headerx-comp_code = c_x.
    wa_headerx-doc_type = c_x.
    wa_headerx-creat_date = c_x.
    wa_headerx-created_by = c_x.
    wa_headerx-vendor = c_x.
    wa_headerx-purch_org = c_x.
    wa_headerx-pur_group = c_x.
    wa_headerx-vper_start = c_x.
    wa_headerx-vper_end = c_x.
    wa_headerx-ref_1 = c_x.
    wa_headerx-incoterms1 = c_x.
    wa_headerx-incoterms2 = c_x.
    wa_headerx-our_ref = c_x.
    wa_poitem-po_item = '00010'.
    wa_poitem-short_text = 'Automatic generation - Freight'.
    wa_poitem-plant = '0089'.
    wa_poitem-quantity = '1'.
    *wa_poitem-MATERIAL = '10'.
    wa_poitem-NET_PRICE = '23.00'.
    wa_poitem-po_unit  = 'ACT'.
    wa_poitem-item_cat = 'D'.
    wa_poitem-acctasscat = 'K'.
    *wa_poitem-matl_group = 'S1'.
    *wa_poitem-pckg_no = '10'.
    APPEND wa_poitem TO i_poitem .
    wa_poitemx-po_item = '00010'.
    *wa_poitemx-po_itemx = c_x.
    wa_poitemx-short_text = c_x.
    wa_poitemx-plant = c_x.
    wa_poitemx-quantity = c_x.
    wa_poitemx-net_price = c_x.
    wa_poitemx-po_unit = c_x.
    wa_poitemx-tax_code = c_x.
    wa_poitemx-item_cat = c_x.
    wa_poitemx-acctasscat = c_x.
    wa_poitemx-matl_group = c_x.
    wa_poitemx-pckg_no = c_x.
    APPEND wa_poitemx TO i_poitemx.
    wa_poitem_sch-po_item = wa_poitem-po_item .
    **wa_poitem_sch-delivery_date = ''.
    APPEND wa_poitem_sch TO i_poitem_sch.
    wa_poitem_schx-po_item = wa_poitem-po_item.
    wa_poitem_schx-po_itemx = c_x.
    wa_poitem_schx-delivery_date = c_x.
    APPEND wa_poitem_schx TO i_poitem_schx.
    wa_acct_***-po_item = wa_poitem-po_item.
    wa_acct_***-serial_no = 01.
    wa_acct_***-gl_account = '5210'.
    wa_acct_***-co_area = 'OB01'.
    wa_acct_***-costcenter = '36089'.
    wa_acct_***-funds_ctr = 'DUMMY'.
    APPEND wa_acct_*** TO i_acct_***.
    wa_acct_assx-po_item = wa_poitem-po_item.
    wa_acct_assx-serial_no = 01.
    wa_acct_assx-po_itemx = c_x.
    wa_acct_assx-serial_nox = c_x.
    wa_acct_assx-gl_account = c_x.
    wa_acct_assx-co_area = c_x.
    wa_acct_assx-costcenter = c_x.
    wa_acct_***-funds_ctr = c_x.
    APPEND wa_acct_assx TO i_acct_assx.
    *services/ limits
    *wa_BAPIESUHC-limit = '3000.00'.
    wa_BAPIESUHC-EXP_VALUE = '300.00'.
    wa_BAPIESUHC-no_limit = 'X'.
    *wa_BAPIESUHC-NO_FRLIMIT = 'X'.
    append wa_bapiesuhc to i_polimits.
    wa_services-pckg_no = '20'.
    wa_services-line_no = '2'.
    wa_services-service = '0005000000'.
    wa_services-subpckg_no = '10'.
    wa_services-quantity = '100'.
    wa_services-gr_price = '100'.
    wa_services-userf1_txt = 'TEXT'.
    wa_services-from_line = '1'.
    wa_services-to_line = '2'.
    APPEND wa_services TO i_services.
    wa_srvacc-pckg_no = '20'.
    wa_srvacc-line_no = '1'.
    wa_srvacc-serno_line = '02'.
    wa_srvacc-serial_no = '02'.
    wa_srvacc-percentage = '100'.
    APPEND wa_srvacc TO i_srvacc.
    CALL FUNCTION 'BAPI_PO_CREATE1'
    EXPORTING
    poheader = wa_header
    poheaderx = wa_headerx
    POADDRVENDOR =
    TESTRUN =
    MEMORY_UNCOMPLETE =
    MEMORY_COMPLETE =
    POEXPIMPHEADER =
    POEXPIMPHEADERX =
    VERSIONS =
    NO_MESSAGING =
    NO_MESSAGE_REQ =
    no_authority = c_x
    no_price_from_po = c_x
    IMPORTING
    exppurchaseorder = ws_po
    EXPHEADER =
    EXPPOEXPIMPHEADER =
    TABLES
    return = i_return
    poitem = i_poitem
    poitemx = i_poitemx
    POADDRDELIVERY =
    poschedule = i_poitem_sch
    poschedulex = i_poitem_schx
    poaccount = i_acct_***
    *POACCOUNTPROFITSEGMENT =
    poaccountx = i_acct_assx
    POCONDHEADER =
    POCONDHEADERX =
    POCOND =
    POCONDX =
    POLIMITS = i_polimits
    POCONTRACTLIMITS =
    poservices = i_services
    posrvaccessvalues = i_srvacc
    POSERVICESTEXT =
    EXTENSIONIN =
    EXTENSIONOUT =
    POEXPIMPITEM =
    POEXPIMPITEMX =
    POTEXTHEADER =
    POTEXTITEM =
    ALLVERSIONS =
    POPARTNER =
    ***confirms the document creation by database commit.
       CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
        EXPORTING
          WAIT          = 'X'
    IMPORTING
      RETURN        =
    LOOP AT i_return INTO wa_return.
       WRITE wa_return-message.
    ENDLOOP.

    Fill this tables:
    GT_POSRVACCESSVALUES  TYPE STANDARD TABLE OF BAPIESKLC,
    GT_POCONTRACTLIMITS   TYPE STANDARD TABLE OF BAPIESUCC,
    Glauco

  • Maintain Services or Limits in BAPI_PO_CREATE1

    Great day Friends,
    Its my first day on SDN. Hoping to find helpful answers here and Wish you luck for your career also.
    I am working on BAPI_PO_CREATE1.
    I've used following tables.
    return
    poitem
    poitemx
    poaccount
    poaccountx
    poservices
    I've passed the data for POSERVICES as following:
      wa_poservices-line_no  = '0000000010'.
      wa_poservices-ext_line = '0000000010'.
      CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
        EXPORTING
          input  = wt_tab2-service
        IMPORTING
          output = wt_tab2-service.
      wa_poservices-service  = wt_tab2-service.
      wa_poservices-outl_ind = 'X'.
      wa_poservices-quantity = wt_tab2-quantity.
      wa_poservices-gr_price = wt_tab2-gr_price.
      APPEND wa_poservices TO poservices.
    As there's only one service item so I've hard coded the Iine_no and Ext_no.
    After Executing it's giving me error as 'Maintain Services or Limits'.
    I've gone through the documentation but couldn't find it helpful.
    Any suggestions ?

    Hi Varun...
    My query regarding "Maintain Services or Limits" has been resolvd.
    It is now saying No account assignment exist for po service line 000000010..
    Anyway I would be rating you for sure for solving my issue. But It will be more helpful if you help me on this also...
    here's my code...
    FORM po_services .
      CLEAR: wa_poservices, wa_posrvaccessvalues.
      wa_poservices-pckg_no = pckg_no.
      wa_poservices-line_no  = '0000000001'.
      wa_poservices-subpckg_no = pckg_no + 1.
      APPEND wa_poservices TO poservices.
      wa_poservices-pckg_no = pckg_no + 1.
      wa_poservices-line_no  = '0000000002'.
      wa_poservices-ext_line = '0000000010'.
      CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
        EXPORTING
          input  = wt_tab2-service
        IMPORTING
          output = wt_tab2-service.
      wa_poservices-service  = wt_tab2-service.
      wa_poservices-outl_ind = 'X'.
      wa_poservices-quantity = wt_tab2-quantity.
      wa_poservices-gr_price = wt_tab2-gr_price.
      wa_poservices-subpckg_no = '0000000000'.
      APPEND wa_poservices TO poservices.
      wa_posrvaccessvalues-pckg_no = pckg_no + 1.
      wa_posrvaccessvalues-line_no = '0000000001'.
      wa_posrvaccessvalues-serial_no = '01'.
      APPEND wa_posrvaccessvalues TO posrvaccessvalues.
    ENDFORM.                    " PO_SERVICES
    FORM acc_assignment .
      CLEAR : wa_poaccount, wa_poaccountx.
      wa_poaccount-po_item      =  wt_tab2-po_item.
      wa_poaccount-serial_no    = '01'.
      wa_poaccount-gl_account   =  '400265'.
    wa_poaccount-quantity     = '1.000'.
    CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
       EXPORTING
         input  = wt_tab2-orderid
       IMPORTING
         output = wt_tab2-orderid.
      wa_poaccount-orderid      = wt_tab2-orderid.
      APPEND wa_poaccount TO poaccount.
      wa_poaccountx-po_item      = wt_tab2-po_item.
      wa_poaccountx-serial_no    = '01'.
    wa_poaccountx-quantity     = 'X'.
      wa_poaccountx-gl_account   = 'X'.
      wa_poaccountx-orderid      = 'X'.
      APPEND wa_poaccountx TO poaccountx.
    ENDFORM.                    " ACC_ASSIGNMENT

  • Adobe application manager getting error code : A12E6 please what can i do ?

    adobe application manager getting error code : A12E6 please what can i do ?

    Anass63113494 what Adobe software or service are you attempting to install?  Also which operating system are you using?

  • My ipad mini 2 is not turning on. I tried to reset with the power/home buttons but it didnt work. I tried to restore it in DFU mode but it didnt work, i get error 4004. Please help me!

    My ipad mini 2 is not turning on. I tried to reset with the power/home buttons but it didnt work. I tried to restore it in DFU mode but it didnt work, i get error 4004. Please help me!

    I also tried the ol' whacking 3 times trick...Didn't work to my surprise

  • I backed up my movies and rebuild my computer, and after making sure i'm using the latest version of itunes and quicktime and and making sure i still had spare computer authorizations, i still get error 23132.  Please help.

    I backed up my movies and rebuild my computer, and after making sure i'm using the latest version of itunes and quicktime and and making sure i still had spare computer authorizations, i still get error 23132.  Please help.

    I had this exact issue.  Spent over an hour on the phone with apple support, they couldn't resolve.  Here is what I ended up doing, that worked.
    1.  Turned iTunes match off on all my iOS devices
    2.  Deleted the offending playlists from the iOS device they originated on
    3.  Started iTunes, let it run (literally) for an hour before it became responsive.  First thing I did, before clicking anywere else was disable iTunes match.  If I clicked anywhere, it would clock for another hour.
    4.  Let iTunes run overnight, by morning it had cleaned out the repeating play lists.  This got my Mac/iTunes back to an operable state.
    5.  Restore iPhones from backup in iTunes.
    What was causing my issue was a single playlist that was created on an iPhone, then suddenly showed up with several thousand duplicates on my other iPhone.  The culprit playlist did not, for some reason, duplicate itself on my two iPads.  Apple support seemed to think it was because the problem iPhone tried to sync the playlist to iCloud over and over again unsuccessfully, then it finally went through and populated the thousands of blank/failed playlists which then tried to propigate to iTunes and my other iOS devices.  Seems like a reasonable theory.
    I have not yet re-enabled iTunes match.  So, no idea what will happen if I decide to go back down that rabbit hole.

  • Why do I keep getting error occurred. Please try later again when trying to watch youtube videos

    Why do I keep getting "Error occurred. Please try later again." , eveytime when trying to watch youtube videos. I have the latest adobe flash player and java so why can't I watch videos at youtube??
    It's very, very, frustrating having had so many people tell me I need to change my browser to you guys at mozilla firefox.
    I've tried everything but still cannot view the youtube videos. I have a 32 bit Toshiba laptop.
    God bless, I await your reply,
    Daniele

    Clear the cache and the cookies from sites that cause problems.
    "Clear the Cache":
    * Tools > Options > Advanced > Network > Offline Storage (Cache): "Clear Now"
    "Remove Cookies" from sites causing problems:
    * Tools > Options > Privacy > Cookies: "Show Cookies"
    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
    *Don't make any changes on the Safe mode start window.
    *https://support.mozilla.com/kb/Safe+Mode
    *https://support.mozilla.com/kb/Troubleshooting+extensions+and+themes

  • HT201210 I can't submit the new itunes software to update my computer and iphone. I keep getting error 1667. Please help

    I can't submit the new itunes software to update my computer and iphone. I keep getting error 1667. Please help

    Upgrading to Mavericks
    You can upgrade to Mavericks from Lion or directly from Snow Leopard. Mavericks can be downloaded from the Mac App Store for FREE.
    Upgrading to Mavericks
    To upgrade to Mavericks you must have Snow Leopard 10.6.8 or Lion installed. Download Mavericks from the App Store. Sign in using your Apple ID. Mavericks is free. The file is quite large, over 5 GBs, so allow some time to download. It would be preferable to use Ethernet because it is nearly four times faster than wireless.
          Macs that can be upgraded to OS X Mavericks
             1. iMac (Mid 2007 or newer) - Model Identifier 7,1 or later
             2. MacBook (Late 2008 Aluminum, or Early 2009 or newer) - Model Identifier 5,1 or later
             3. MacBook Pro (Mid/Late 2007 or newer) - Model Identifier 3,1 or later
             4. MacBook Air (Late 2008 or newer) - Model Identifier 2,1 or later
             5. Mac mini (Early 2009 or newer) - Model Identifier 3,1 or later
             6. Mac Pro (Early 2008 or newer) - Model Identifier 3,1 or later
             7. Xserve (Early 2009) - Model Identifier 3,1 or later
    To find the model identifier open System Profiler in the Utilities folder. It's displayed in the panel on the right.
         Are my applications compatible?
             See App Compatibility Table - RoaringApps.

  • Trying to download ios 3 getting error code 8288  please help

    Have a first generation ipod touch, trying to download ios 3 to computer getting error code 8288, please help.

    I finally solved this on my own. I installed iTunes 9.2 on my Mac. You can get it from here:
    http://support.apple.com/kb/dl1056
    Then I went to the iOS 3 purchase page here:
    http://support.apple.com/kb/HT2052
    and clicked the Purchasing link. It opens up iTunes. I connected my iPod touch G1 and did a check for system update. Miraculously, it found it this time and downloaded the update.
    No guarantee that this'll work for you, but I'm finally able to use my iPod touch again and put on some useful apps.

  • My i pod touch will not download games. i get error code 1004 please try later. any ideas?

    my ipod touch wll not download games, i get error code 1004 please try later. any ideas?

    Try this complete previous discussion:
    Re: Error 1004 iOS 4.3.3 downloading App Store

  • I have just tried to convert a PDF file for the first time. Get error message-can't access service.

    I just purchased ExportPDF and have tried to convert a PDF file to *.docx and *.rtf for the first time.  In both cases I get a file that says there was an error is accessing the online service.  What do I do?

    Could you try these steps to alleviate the access issue you're having:
    Choose Edit > Preferences (Win) or Adobe Reader > Preferences (Mac)
    Click 'Online Services' on the left-hand side
    Sign out of our Adobe ID and sign back in.
    Try to convert your document again.
    If you continue to have trouble, please verify that you can access the service via the web interface.  To do this:
    Open a browser and navigate to http://exportpdf.acrobat.com/signin.html
    Try to log in with your Adobe ID (email address) and password
    Once logged in, follow the on-screen prompts to convert a file
    Let us know if you're still having trouble and we'll try to help!
    -David

  • BP J02 error.. Please maintain target language

    hi guys,
        im activating the Swiss BP & when i try to activate the J02 Building Block.. i get a error...
    "*   Target Language not maintained - Red light"
    "Please maintain target language"

    Hi Dkmurthy,
    please insert the following entries in the Customizing :
    Lang.       del.date     datcat       descr.                       printout
    SV     K     5     Kalenderformat     Kalend
    SV     M     3     Månadsformat     Månad
    SV     P     4     Periodformat     Period
    SV     T     1     Dagsformat     Dag
    SV     W     2     Veckoformat     Vecka
    Regards,
    Mauro

  • Getting Error which says" Please login with Adobe Id to use Adobe Creative Suite Extension Builder"

    We have licensed version of Extension Builder 2 and also have open internet on the machine on which we are trying the export the project. Even after providing the correct username and password , we get the error that "Please provide Adobe Id to use Adobe Creative Suite Extension Builder."
    We have tried making all the necessary changes of internet still the error persist. Please help.

    Please check the below thread.
    http://forums.adobe.com/thread/1064568

Maybe you are looking for

  • ITunes won't open after I close it

    Whenever I am done with iTunes for a while, I usually close it. Recently, when I close iTunes, it seems to stay open in the process list of task manager and will not go away - period. I have tried "end process", and also tried the taskkill command fr

  • Invisible watermark - to be built INSIDE the images, how?

    Lightroom friends and all others, I use Adobe Lightroom 2.3, Adobe Design Premium CS4 operating with latest Macintosh system architecture version, OSX 10.5.6, using MBP 17" laptop and MacPro. I tried to Google on the topic, but most seems to show inv

  • Add Original File Name in Exported Photo Metadata

    It would be helpful if LR added the original filename from which the exported file was created. Like in Camera Raw, you can find the original filename of the RAW file in the metadata of files created and saved with ACR. Thanks for listening.

  • Creative Suite 2 Issues

    Hey guys, I just installed CS2 and mainly need Indesign, but I keep getting an "invalid serial number message" or a message asking me to personalize my product with the name, organization and serial number and then says the serial number is invalid.

  • What is the best way to do permanent local storage of small bits of data on mobile?

    My app has a consumable item for purchase. Once purchased, it is consumed immediately, and the item's location is then permanently stored in the app. What is the best way to achieve this? Should I use something like SharedObject, or do the contents o