Error: item id=simple1 doesnt exist in assignment to variants id=simple1

Hi Experts,
I am getting error while i am creating Bill of Material (BOM) for negative values.
when ever i am creating negative bom by using bapi i am getting this error
select mandt  reinr matnr werks stlal bmsch phflg ztext stktx    postp idnrk menge sortf imein lgort posnr potx2 fmeng alprf ewahr alpgr rekri     from  zbomtemp into table it_final1 where reinr = p_reinr.
loop at it_final1 into wa_final1.
if wa_final1-menge < 0.
CLEAR it_bomgroup1.
it_bomgroup1-bom_group_identification = 'BAPI_SMP_COL1'.
it_bomgroup1-object_type = 'BGR'.
it_bomgroup1-object_id = 'SIMPLE1'.
it_bomgroup1-bom_usage = '6'." YOU COULD CHANGE THE BOM USAGE TO YOUR
it_bomgroup1-CREATED_IN_PLANT = '1001'.
it_bomgroup1-ltxt_lang = sy-langu.
it_bomgroup1-technical_type = ' '.
**it_bomgroup1-bom_text =  wa_final-ztext. "'Simple BoM - FM'.
APPEND it_bomgroup1.
CLEAR it_variants1.
it_variants1-bom_group_identification = 'BAPI_SMP_COL1'.
it_variants1-object_type = 'BOM'.
it_variants1-object_id = 'SIMPLE1'.
it_variants1-alternative_bom = '06'. " 'wa_final-stlal. .
it_variants1-bom_status = '01'.
it_variants1-base_qty = wa_final1-bmsch ."_final-bmsch. ."'1.000'.
it_variants1-valid_from_date = sy-datum.
it_variants1-function = 'NEW'.
APPEND it_variants1.
CLEAR it_matrel1.
it_matrel1-bom_group_identification = 'BAPI_SMP_COL1'.
it_matrel1-material = wa_final1-idnrk ."'000000000200001342'.
it_matrel1-bom_usage = '1'.
it_matrel1-alternative_bom = wa_final1-stlal."'01'.
it_matrel1-PLANT = '1001'.
APPEND it_matrel1.
**********CLEAR it_subitemas.
**********it_subitemas-bom_group_identification = 'BAPI_SMP_COL1'.
**********it_subitemas-sub_object_type = 'SUI'.
**********it_subitemas-sub_object_id = 'SIM1'.
**********it_subitemas-super_object_type = 'ITM'.
**********it_subitemas-super_object_id = 'SIMPLE1'.
**********APPEND it_subitemas.
CLEAR it_itemas1.
it_itemas1-bom_group_identification = 'BAPI_SMP_COL1'.
it_itemas1-sub_object_type = 'ITM'.
it_itemas1-sub_object_id = 'SIMPLE1'.
it_itemas1-super_object_type = 'BOM'.
it_itemas1-super_object_id = 'SIMPLE1'.
it_itemas1-valid_from_date = sy-datum.
it_itemas1-function = 'NEW'.
APPEND it_itemas1.
***CALL FUNCTION 'BAPI_MATERIAL_BOM_GROUP_CREATE'
***EXPORTING
***all_error = 'X'
***TABLES
***bomgroup = it_bomgroup
***variants = it_variants
***items = it_items1
***materialrelations = it_matrel1
***itemassignments = it_itemas
*****subitems = it_subitems
*****subitemassignments = it_subitemas
***return = return.
***if sy-subrc = 0.
***CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
EXPORTING
WAIT          = 'X'.
IMPORTING
  RETURN        =.
       LOOP AT return.
*****WRITE:/ return-type, return-id, return-number,
*****return-message.
*****ENDLOOP.
CALL FUNCTION 'ZBAPI_BOMCREATIONNEGATIVE'
EXPORTING                                                                 ** here this fm is nothing but standrd bapi +   standard bapi commit ..
  P_REINR       =
TABLES
   BOM1          = it_bomgroup1
   VAR1          = it_variants1
   ITE1          = it_items1
   MATR1         = it_matrel1
   ITEA1         = it_itemas1
   RET           = return
**clear it_bomgroup.
clear it_matrel1.
**clear it_itemas.
**clear it_variants.
clear it_items1.
**LOOP AT return.
**WRITE:/ return-type, return-id, return-number,
**return-message.
**ENDLOOP.
**else.
**CALL FUNCTION 'BAPI_TRANSACTION_ROLLBACK'
IMPORTING
  RETURN        =
ELSE.
it_items1-bom_group_identification = 'BAPI_SMP_COL1'.
it_items1-object_type = 'ITM'.
it_items1-object_id = 'SIMPLE1'.
it_items1-item_no = wa_final1-posnr."'0010'.
it_items1-item_cat = wa_final1-postp.."'L'.
it_items1-component = wa_final1-idnrk."'000000000200001343'.
it_items1-comp_qty = wa_final1-menge.."'2'.
it_items1-valid_from_date = sy-datum.
APPEND it_items1.
endif.
endloop.
**CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
LOOP AT return.
WRITE:/ return-type, return-id, return-number,
return-message.
ENDLOOP.
ENDFUNCTION.
here i am using this and i am getting that error and any one reply to his
sry for u r distrubance
regards,
pradeep
Edited by: pradeep_546 on May 4, 2011 3:06 PM
Edited by: pradeep_546 on May 5, 2011 10:32 AM
Edited by: pradeep_546 on May 6, 2011 11:05 AM

hi Kim,
Sorry for the mis-intepretation.
I was about to say that i facing the problem for another Apshell say 'Apshell2'
I was not able to find out the OLAP database for this Apshell2. But for Apshell the OLAP db does exist in Analysis server.
Any suggestions so that i can get the other apshell2 in the analysis server.
we have done a migration based on this given link.
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/20a26f50-4252-2a10-8c97-a2c7058cd804
Regards,
chandru.

Similar Messages

  • Error "Item 000010 does not exist" while creating sales order in VA01

    Dear All,
    As per customer requirement we are trying to validate shipping data( item level) and unloading point( item level)  by customer enhancement.
    Enhancement:       V45A0003
    Function Module:    EXIT_SAPMV45A_003
    INCLUDE:                ZXVVAU05
    Inside include we have written validation code that if user enters any wrong value for shipping data or unloading data
    system will throw error message accordingly.
    It is working fine and we are getting error message if wrong shipping data or unloading data is entered.
    But after the error message is displayed if we try to save the sales order  again system throws a STOP message as a POPUP
    saying "Item 000010 does not exist".
    Now,if we enter proper shipping data or unloading data and try to save the salesorder it is throwing error "Item 000010 does not exist"..
    Please let me know your valuable input on this.
    Regards
    Arindam
    Edited by: Arindam Ganguly on Mar 11, 2010 1:55 PM

    It sounds like your error routine has prevented the insertion of the data in VBAP or XVBAP internal tables.  Therefore, upon return to the screen and SAVE, SAP is examining the VBAP or XVBAP table, comparing to the 'I' index table probably, and finding that there is supposed to be an item 10, but it's not in the necessary table(s).    This may be resulting because your internal tables are now inconsistent.
    Look at where your inserted error coding is occurring...you may want to move that to the SAVE_DOCUMENT_PREPARE routine in MV45AFZZ, so that everything will have been built, and a final check of the content will stop the sales order save until the data is corrected.
    Edited by: Breakpoint on Mar 11, 2010 3:29 PM

  • Getting error 'Item 00000 does not exist' while creating a salse order

    Hi All,
    We are facing an issue, we get an error message saying 'Item 00000 does not exist' while creating a sales order for a particular order type, we do not get this problem with all the materials, only a few of them and the materials which give a problem are part of the supersession chain. The problem is not even coming for all the superseded materials.
    This problem is occuring with none of the other order types but just one. We have compared the configuration for the order types for which this error is not coming and the order type which is giving the problem, and its exactly the same.
    When creating the sales order through VA01 even though the error message comes, but on hitting the enter button the processing goes further. But when creating the sales order through the background program the processing stops the moment the error message comes and the Sales Order does not get created.
    Your valuable suggestions for helping us resolving this issue will be highly appreciated.
    Regards,
    Geeta

    HI Geeta
    As per your post "Problem is when you are executing VA01 in background sales orders are not generating due to error message".
    Apart from configuration check alternative is "Take ABAPer's help and change this error message type to warning/information message type in the system". With warning/information message type you could be able to create sales orders in background also.
    try and revert

  • Syntax error :`(' unexpected in korn shell script for assign compound varia

    #!/usr/bin/ksh
    #: notify_po.ksh
    # Description: Script sends out the email notification to PO mail box
    # History:
    . /homes/applidcc/.appsprofile
    . /homes/applidcc/set_forms.env
    . /homes/applidcc/external.env po_recv
    EMAIL=(EMAIL_ADDRESS1=[email protected] EMAIL_ADDRESS2=[email protected])
    $ print $EMAIL
    #for emails in $EMAIL;do
    # echo $EMAIL
    #done
    exit 0

    See not able to execute for loop in korn shell

  • Item 000010 does not exist - Error Message V1331 in VA41

    Dear Experts,
    We r implementing PS module for a client.
    I am using a exit MV45AFZZ, in which i have a perform ZVALIDATEWBS, i am calling this include through a subroutine.
    In this ZVALIDATEWBS routine -> i have validated 2 conditions
    1. Validation for Partner function and
    2. Validation for WBS element.
    For 1 ---> I am comparing with VBPA partner and throwing error message if the partner entered doesnt match with the project code
    For 2 ---> i am checking the status in JEST table if STAT = 'I001'  and INACT field = 'X' for a object number i am throwing error as " WBS must be in u2018 Created-CRTDu2019 status".
    The problem which iam facing is...
    After entering the line item and WBS for the material and after doing Incompletion log and pressing save i am getting a error stating
    "Item 000010 does not exist"  ( Message no. V1331)
    When i comment the error message which is thrown in my exit i am able to save without any error message, i am not getting the standard error  -  "Item 000010 does not exist" (Message no V1331).
    When i debug the code i am not able to predict, becuse if i comment the messages(only message not the whole exit)  the standard program called is different, when i uncomment and check them its going for some different program.
    Kindly help me in this regard.
    thanks
    Krish

    Hello Krishna,
    Thanks for the reply
    this message was from the standard SAP i just copy pasted the message.
    a STOP icon in the front along with this following message -> "Item 000010 does not exist",
    If u can able to give ur mail id i can send the screen shot also. But any clues w.r.to this error.. anything should i need to check in.
    kindly advice
    thanks
    Krish.

  • Error the class for ABAP mapping doesnt exist

    hi PI gurus,
    i faced a probleme when i was trying to call a second Mapping which type is ABAp after another one which type is Message Mapping, why i m doing that because i was trying to folow the step by step of michal :
    http://www.sdn.sap.com/irj/scn/weblogs;jsessionid=(J2EE3417100)ID0279207250DB01347930475897169967End?blog=/pub/wlg/6398
    but the problem is i get the error that the class doesnt exist but i m sure that the class exist and i cheked in se24.
    do you have any idea ????
      <SAP:Stack>Error in mapping program Z_ABAP_MAPPING_EXCEPTION_RS (type SAP-ABAP, kernel error ID CREATE_OBJECT_CLASS_NOT_FOUND) The object could not be created: The class Z_ABAP_MAPPING_EXCEPTION_RS does not exist.</SAP:Stack>
    thanx.

    Check this thread
    [Re: SOP Confituration- Maintain Copy Profiles version A00 not maintained   |SOP Confituration- Maintain Copy Profiles version A00 not maintained;
    thanks
    G. Lakshmipathi

  • Launchpad Doesnt Exist

    Hi all,
    We are implementing LSO into our EP.We have installed the packages.I have assigned all the roles in backend and Portal.When i click on Reports workset in Instructor and Tutor role iam getting the below error.
    The Launchpad / doesnt exist.
    Please give me some inputs on missing contents.
    Thanks,
    Nirish.

    Try to reproduce the issue and check the defaultTrace files. There might be an exception that gives you a light on what is happening.

  • Item 000010 does not exist Message no. V1331

    Hi Experts
    While creating third party sales order with Item Category "TAS", I am getting the error "Item 000010 does not exist
    Message no. V1331" .  What would be reason for it and also kindly help me with the solution for this.
    Thanks and Regards
    M.Dheerendar Jain

    Hi,
    Check the following OSS notes, if they're applicable:
    127309      Error V1331 when you create sales orders
    420093      Message V1331 with item entry in the sales order
    1375071      Message V1 331 when you create subitems using IDocs
    Regards,
    Raghu.

  • Item category group not exist in CRM

    Hi all,
    I u2018m getting an error item category group not exist in CRM that item category group is in R/3
    So my question is weather I have to create that item category group in CRM or I have to download that one from r/3.
    If I create in CRM how to link the R/3 item category group to CRM one.
    Regards
    Rami

    There is definitely no exchange of neither transaction types nor item categories between an erp and a crm system. Also the dependent object like the organisational data profile or the partner profile are not exchanged.
    Instead for those transactions that are exchanged you need to do the customizing the same way in both systems, ERP and CRM.
    Regards, Kai

  • Enhancing component fails-Enhancement Set doesnt exist

    Hi All
       I am trying to enahce a component. I naviagted to the component. I clicked on the 'Enhance Component' button. I entered the name of a Enhancement Set which doesn't exist. The system throws an error 'Enahncement Set XYZ doesnt exist'. I created a Z Component in the BSP_WD_CMPWB transaction. I entered this value in the field for Enhancement Set and it still gives me the error message. What should I do? Search help returns no values.
    Thanks and regards,
    Sowmiya

    Hi,
    use the standard componet with the enhancement set .You can see all the views displayed(standard).
    Right click to enhance that.
    Then the standard view with name BT_HEAD/BPdetails(view) will be changed to (ZBT_HEAD/BPdetails) automatically.
    this will serve the copying purpose.
    This will happen, provided when u enhance the component u should have give the BSP application name as ZBT_HEAD.
    Hope this helps you.
    Thanks
    Jgds

  • Error - Account group  does not exist, check classification assignment

    Hi Guys,
    I am having an BP replication issue from CRM to R3 when i create BP from Web IC with role UTIL_IC. BP gets replicated to R3 if i create BP from GUI.
    Bdoc Error - Account group  does not exist, check classification assignment
    i have completed all the required configuration as below
    Setup of no range for BP and assigned to grouping
    PIDE settings in R3
    Setup if account identification profile in IS solutions
    Thanks,
    Nitin

    Nitin,
    Refer to [this|BP replication error; &[this|Contact Person Replication From CRM to R/3; thread.

  • Invoice created via SUS having error -The template item 1 does not exists

    Hi All,
    We are in SRM6.0 and in our PRD system, we have few invoices created through SUS showing error "The template item 1 does not exist.
    These invoices went into "To be corrected" status and when I hit check it gives me above error message. The message itself don't make much sense to me. Please note we can create new invoice in SRM manually and everything works fine.
    Appreciate any pointers.
    Thanks, Sachin

    We have analysed the issue and found we are getting this error because these invoices are missing with "BE_LOG_SYSTEM" field in table BBP_PDBEI and "BE_REFOBJ_TYPE" field is showing "BUS2201 instead of "BUS2012".
    Any feedback why we have these difference as compare to good invoices (created directly in SRM).
    Thanks, Sachin

  • Excise Invoice creation error -Billing document does not exists

    Dear Experts,
    I have created supplementary sales order, billing with refernece through sales order by VF01.
    Now I want to create Excise Invoice but system gives error Billing Document does not exists
    I have checked billing document in VBRK table & it is showing in table.
    My item categroy is L2N -and set it to C
    I have assigned Billing type under Outgoing excise invoice ->Assign billing type to delivery type still my excise invoice is not generating.
    Pl. guide me.
    Thanks
    Trupti

    Resolved my problem.
    Actually in Billing item categroy if you put SD Doc. Catg. as M you can do excise invoice even if you have not created the
    outbound delivery.
    So cycle will be Supplementary Sales Order->VF01 with ref. to SO->J1IIN -Excise invoice creation.
    Thanks to all.
    Trupti.

  • Post Goods Issue - error : Class type does not exist - Message no. VK662

    Hi,
    I am trying to do Post Goods Issue and getting this error: Class type does not exist
    When double click on the error, it shows it is a message no vk662.
    Any help to resolve it is appreciated. Thanks in advance.
    -Sri

    Sri
    There is a problem in batch determination.
    The batch you assigned to the material does not have a class or if it has a class, that class does not exist.
    Display the batch from the delivery item  using MSC3N and go into the Classification tab. You should have a class of class type 22.  See if that class exists in CL03 and its status in basic data tab. Work on these lines and revert.
    Hope this helps.

  • Commitment item 233000 does not exist in FM area ZK01, fiscal year 2009, an

    Hi,
    i am creating schedule agrement or 1 st april 2009 getting error
    Commitment item 233000 does not exist in FM area ZK01, fiscal year 2009, and variant

    Hi
    Try
    u can do one thing create commitemnt item for the year 2009. public sector management - Create commitmen titem
    then u assign commitment item to GL in Fmderiver Transaction code
    then u post
    Reagards
    Roobal

Maybe you are looking for

  • Is there any possible way I can dual boot Windows with OSX 10.7.2 on a MacBook Pro 15' from 2006?

    Hello, I am new to this forums. I have searched about dual boot win/mac, but couldn't find a clear answer, so I decided to post this now. I run a MacBook Pro 15' from 2006 (Intel based) and have upgraded it to OSX 10.7.2 Lion. I have tried to install

  • BW 7.0 to 7.3 upgrade activity Checklist

    Dear Team, We are planning to upgrade our BW system from 7.0 to 7.3 next month. For that We are looking for general BW 7.3 upgradation Checklist like Pre-upgrade BW activity and post-upgrade BW activity.(More interested in Related to BW activity not

  • Preserving background in Export Layers as Files

    Back in the days of CS2 and ImageReady, there was an advanced export layers as files and it had an option of preserving the background while exporting all the visible layers above it. Is there any possible way to achieve this with CS4? I know there i

  • My solution to the connection problem

    First I will tell the solution and then I will state my thoughts about the source of the problem. SOLUTION: This is not a standard solution but it worked for me: as many, I bought an 60 GB ipod video for xmas and as many I came home to forget about c

  • Copy Express distorting data

    Hello We have used Copy Express to copy one database into another. This has led to several data corruption : - loss of tax account in the tax settings - change of item group code number (without a proper renumbering of data) - copy of one user table