Error message display for PO creation with reference to internal orders

Sir,
While creating PO with Tcode ME21N (item category I) with reference to ' Internal Order with Funds provided (Tcode KO12), system displaying error message  when Budget is exceeded.
But when Funds provision is not mentioned (Funds value is initial in KO12) , error message is not being given by the system during Po creation with ME21N.
Where should I configure in img(Tcode SPRO) , so that system will throw error mesage while creating PO without Budget Provision (Funds not mentioned ) in Internal Orders.
Regards,
Srinivasa Murthy

Hi Anupam,
The error message display as follows. (when the PO Price exceeds the Planned Funds kept for internal order)
This error comes during PO creation Process and PO can not be saved. This error message display is correct.
Item 001 Order 600643 budget exceeded
Message no. BP604
Diagnosis
In document item 001 Order 600643, budget  for fiscal year 2009 was exceeded by 99,960,000.00 INR.
But  my question is 'when funds have not at all been mentioned for the internal order' then system has to throw the same error as mentioned above. But it is not happening. System is allowing the PO to save which is not correct.
Regards,
Srinivasa Murthy

Similar Messages

  • BAPI for Outbound Delivery Creation with reference to Sales Order

    Dear all,
    I'm on R/3 4.6B platform and to develop an RFC for outbound Delivery creation instead of using the standard VL01N transaction.
    I've review BAPI for Outbound Delivery Creation with reference to Sales Order - VL01N thread which suggest BAPI_DELIVERYPROCESSING_EXEC .
    However, in 4.6B, that function module doesn't exist. Appreciate any suggestion and or workaround.
    Thanks.
    Steven
    Edited by: Steven Khoo on Mar 25, 2010 7:13 AM
    Edited by: Steven Khoo on Mar 25, 2010 7:14 AM

    Not required anymore

  • BAPI for Outbound Delivery Creation with reference to Sales Order - VL01N

    Hi Everybody,
           We are in ECC 5.0 version.
           I want to create a enhancement for Outbound Delivery Creation with reference to a Sales Order.
           Is any BAPI available for this ?
           Any input on this will be very much helpfull.
           Please suggest any BAPI available for this, or should I go for BDC using VL01N or VL04 ?
           Thanks in advance.
    regards,
    Nagarajan.J

    Hi Nagarajan,
    The BAPI BAPI_DELIVERYPROCESSING_EXEC meets your requirement. You can create delivery with reference to sales order.
    The below is the sample code...
      data:lt_request      like bapideliciousrequest
                                    occurs 0 with header line,
           lt_createditems like bapideliciouscreateditems
                                    occurs 0 with header line,
           lt_return       like bapiret2
                                    occurs 0 with header line.
        lt_request-document_type      = 'A'.
        lt_request-document_numb      = vbeln.
        lt_request-document_item      = posnr.
      lt_request-material           = matnr.
      lt_request-plant              = werks.
      lt_request-stge_loc           = lgort.
      lt_request-quantity_base__uom = base_uom_qty.
      lt_request-delivery_date      = sy-datum.
      append lt_request.
      call function 'BAPI_DELIVERYPROCESSING_EXEC'
      EXPORTING
        DELIVERY_EXTEND       =
        TECHN_CONTROL         =
        tables
          request               = lt_request
          createditems          = lt_createditems
          return                = lt_return.
      loop at lt_return where type = 'A'
                          or  type = 'E'.
        exit.
      endloop.
      if sy-subrc <> 0.
    Use the BAPI for Commit
        call function 'BAPI_TRANSACTION_COMMIT'
             exporting
                  wait = 'H'.
      endif.
    Thanks
    Ramakrishna

  • Error During Delivery creation with reference to Sales order

    Hi all,
    I am confused while creating delivery order with reference to sales order as this error *" Number of copying routine for table VBKD is missing in Table TVCPL"* is coming again and again.
    I have perhaps made all possible things in VTLA ( Copy sales doc to delivery doc) but still i m finding it difficult to remove it
    Please guide me in it.

    Hi,
    You will need to make assignment from So item to Delivery item please check if copy control is maintained at item level. Also make sure that Copy controls are maintianed for the billing document from the SO & Delivery both as this would be the next step.

  • Report for gl accounts with reference to purchase order

    hi
    experts
    Is there any report which can give the gl accounts with reference to purchase order
    thnx

    Use t code ME2N and click 'Account Assignment" from application tool bar or press Shift + F12 to view PO with GL code. If GL code is not showing select from the layout.
    Rgds,
    Vijay

  • PM order creation with refrence to internal order

    Hi all
    I want to create PM order with the refernce of Internal Order.PM order should also have the same number as that of Internal order. Please guide how it is to be done.
    Regards
    Anil

    Anil,
    Internal order and Maintenance order are of two different order category. I dont think you will be able to create maintenance order with ref to internal order.
    DP

  • Can we display error messages inline for components used with iteration

    Hi
    While using form components in a table or any some iteration like making use of forEach, I am unable to render the error messages inline. Can someone help me in achieving this?
    Regards
    Honey

    Here's a snippet:
    <af:table var="row" rowBandingInterval="0" id="t1"
    partialTriggers=":cb1"
    value="#{viewScope.table.dataList}">
    <af:column sortable="false" headerText="Name" id="c2">
    <af:inputText value="#{row.name}" id="it2" required="true"/>
    <af:message id="m1" for="it2"/>
    </af:column>
    <af:column sortable="false" headerText="Address" id="c1">
    <af:inputText value="#{row.address}" id="it1"
    required="true"/>
    <af:message id="m2" for="it1"/>
    </af:column>
    </af:table>
    required true would act the same way as a validator. When using the validator, it is placed as a child component of the inputText.
    Regards
    Honey

  • Error message display for radiobuttongroup using report_attribute_error_msg

    Hi,
    We are displaying error message on the submit button of a form. 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. Where 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.
    Please help us to resolve the problem. Does SAP Web Dynpro ABAP provide this functionality for RADIOBUTTONGROUPBYKEY/RADIOBUTTONGROUPBYINDEX?
    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.
    Thanks
    Venkat

    Hi,
    Try to use the method ADD_MESSAGE
    lr_msg_srv = cl_bsp_wd_message_service=>get_instance( ).
      lr_msg_srv->ADD_MESSAGE( IV_MSG_TYPE = 'E'
                                         IV_MSG_ID = 'ZCRM'
                                         IV_MSG_NUMBER = '001'
                                         IV_MSG_V1 = 'Message' ).
    Best regards,
    Caíque Escaler

  • Exit for PO creation with reference to PR

    Hi all,
    Is there any exit/BADI which can throw an error message if a PO is being created against a PR which had no release strategy associated with it? Basically I have to prevent creation of PO if a PR has been created such that no release strategy is applicable on it.
    Thanks

    Hi Javed,
    Try User Exit MM06E005,
    Implement EXIT_SAPMM06E_012,
    PR number is passed in field TEKPO-BANFN.
    Also you go through this thread,
    Re: PO with reference to PR
    Here you will find the solution for generating an error message
    while creating PO against PR.
    Reward points if useful.
    Cheers,
    Swamy Kunche

  • Error message display for me"invalid colmun " when i implement stored procedure

    Hi guys
    in this stored procedure below i have proplem in colmun in sex type i have two values Male and female
    but when i search by this colmun from interface it give me invalid colmun why
    this is my stored procedure
    Create Procedure sp_Employee
        @EmployeeID       NVARCHAR(50),
        @EmployeeName     NVarchar(100),
        @SexType          Nvarchar(50)
    AS
    Declare @SQLQuery as nvarchar(2000)
    SET @SQLQuery ='SELECT * from ViewEmpTEST Where (1=1)'
     If @EmployeeID <>''
             Set @SQLQuery = @SQLQuery + 'And (EmployeeID = '+ @EmployeeID+') '
    If @EmplyeeName  <>''
             Set @SQLQuery = @SQLQuery + ' AND (EmplyeeName  LIKE
    N''%'+@EmplyeeName +'%'') '
    If @SexType <>''
              Set @SQLQuery = @SQLQuery + 'And (SexType = '+ @SexType+') '
    Exec (@SQLQuery)
    and this is my view ViewEmpTEST
    SELECT     CONVERT(varchar, dbo.Employee.DriverID) AS EmployeeID, dbo.Employee.EmplyeeName, dbo.Employee.DriverName,
                          dbo.Nationality.NationalityName, dbo.Employee.ResidentNo, dbo.Country.CountryName, dbo.Branch.BranchName, dbo.Employee.ResignDate,
                          dbo.Employee.HealthCarNo, dbo.Jobs.JobName, dbo.Department.DepartmentName, dbo.Employee.PlaceIssue, dbo.Employee.Deduction,
                          dbo.Employee.ExpireDateMedical, dbo.Employee.PolicyNumber, dbo.Employee.ExpireDateResident, dbo.Miritial.MiritualStatus,
                          dbo.Status.StatusType, dbo.Sex.SexType, dbo.Employee.UnactiveReason, CONVERT(varchar, dbo.Employee.BirthDate, 103) AS BirthDate,
                          CONVERT(varchar, dbo.Employee.DateToday, 103) AS DateToday, dbo.Employee.UserID, dbo.Employee.PassportNo, dbo.Employee.Bonus,
                          dbo.Employee.AccountType, dbo.Employee.PlaceOfBirth, dbo.Employee.ExpireDateresidentHijri, CONVERT(varchar, dbo.Employee.PassportDateStart,
                          103) AS PassportDateStart, dbo.Employee.PassportDateExpire, dbo.Employee.EntryNo, dbo.Employee.PlacePassport, CONVERT(varchar,
                          dbo.Employee.Salary) AS Salary, dbo.Employee.AccountNo, dbo.Religon.ReligonName, dbo.Employee.Mobile, dbo.Employee.Email,
                          CONVERT(varchar, dbo.Employee.SexID, 103) AS SexID, CONVERT(VARCHAR, dbo.Employee.StatusID, 103) AS StatusID, dbo.Employee.JoinDate,
                          dbo.Employee.JobDetailes, dbo.BloodType.BloodType, dbo.Class.ClassName, dbo.Employee.OccupationID, dbo.Ocuppation.OcuppationName
    FROM         dbo.Employee LEFT OUTER JOIN
                          dbo.Ocuppation ON dbo.Ocuppation.OccupationID = dbo.Employee.OccupationID LEFT OUTER JOIN
                          dbo.BloodType ON dbo.BloodType.BloodID = dbo.Employee.BloodID LEFT OUTER JOIN
                          dbo.Class ON dbo.Class.ClassID = dbo.Employee.ClassID LEFT OUTER JOIN
                          dbo.Department INNER JOIN
                          dbo.Jobs ON dbo.Department.DepartmentID = dbo.Jobs.DepartmentID ON dbo.Employee.JobID = dbo.Jobs.JobID LEFT OUTER JOIN
                          dbo.Miritial ON dbo.Miritial.MiritialID = dbo.Employee.MiritialID LEFT OUTER JOIN
                          dbo.Branch ON dbo.Branch.BranchID = dbo.Employee.BranchID LEFT OUTER JOIN
                          dbo.Status ON dbo.Status.StatusID = dbo.Employee.StatusID LEFT OUTER JOIN
                          dbo.Sex ON dbo.Sex.SexID = dbo.Employee.SexID LEFT OUTER JOIN
                          dbo.Religon ON dbo.Religon.ReligonID = dbo.Employee.ReligonID LEFT OUTER JOIN
                          dbo.Country ON dbo.Country.CountryID = dbo.Employee.CountryID LEFT OUTER JOIN
                          dbo.Nationality ON dbo.Nationality.NationalityID = dbo.Employee.NationalityID
    WHERE     (dbo.Nationality.NationalityID IS NULL) OR
                          (dbo.Nationality.NationalityID IS NOT NULL) OR
                          (dbo.Country.CountryID IS NULL) OR
                          (dbo.Country.CountryID IS NOT NULL) OR
                          (dbo.Jobs.JobID IS NULL) OR
                          (dbo.Jobs.JobID IS NOT NULL) OR
                          (dbo.Miritial.MiritialID IS NULL) OR
                          (dbo.Miritial.MiritialID IS NOT NULL) OR
                          (dbo.Branch.BranchID IS NULL) OR
                          (dbo.Branch.BranchID IS NOT NULL) OR
                          (dbo.Status.StatusID IS NULL) OR
                          (dbo.Status.StatusID IS NOT NULL) OR
                          (dbo.Sex.SexID IS NULL) OR
                          (dbo.Sex.SexID IS NOT NULL) OR
                          (dbo.Class.ClassID IS NULL) OR
                          (dbo.Class.ClassID IS NOT NULL) OR
                          (dbo.Ocuppation.OccupationID IS NULL) OR
                          (dbo.Ocuppation.OccupationID IS NOT NULL) OR
                          (dbo.BloodType.BloodID IS NULL) OR
                          (dbo.BloodType.BloodID IS NOT NULL)
    what is the proplem in statment sextype in stored procedure

    Start over - completely.  The tsql for your view is poorly written. 
    One does not have a sex, one has a GENDER. 
    I can understand a conversion of datatype like "CONVERT(varchar, dbo.Employee.DateToday, 103) AS DateToday", but not "CONVERT(varchar, dbo.Employee.SexID, 103) " - style 103 is for datetime datatypes and the column name SexID does not
    remotely imply that datatype. 
    Similarly, stop being so lazy and specify the length of your converted varchar column rather than allowing it to default to some length.  And if you are going to convert to varchar, shouldn't you be converting to nvarchar given that your procedure
    arguments are nvarchar?  Consistency will only help your code stability and correctness.
    To continue with the datetime to varchar conversion, is this an attempt to simply strip the time component from a column that is datetime?  If so, simply convert it to date and avoid any possibility of error due to interpretation assumptions with the
    converted string and its format.
    Lastly, do you really need all of those outer joins?  I find it difficult to believe that an employee does not have a required relationship with a majority of those tables.
    As for your problem, please post the complete and entire error message - exactly as displayed.  Presumably you have performed a basic test of your view and verified that it still works (i.e., nothing was changed about the tables involved in the view
    after the view was created).  Something like "select top 1 * from dbo.ViewEmpTEST where SexType = 'x';" should execute successfully and return an empty resultset. 
    And, of course, the SexType column is (presumably) nvarchar, so you will need to enclose the value you are searching for in your dynamic sql with single quotes.  If you intend to provide dynamic searching functionality, you will need to learn to code
    it and debug it yourself.  The others have already indicated that this approach is a security-risk.  At the very least, you should capture the string that you are attempting to execute and visually examine it yourself when you discover that
    it does not work.  It will then become obvious (assuming the code you currently have posted is what you are using) that the error is your inclusion of the SexType argument in the string:
    select ... where ... And (SexType = male)

  • Bapi for PO creation with reference to Purchase Requisition - PReq

    Can any one let me know if there is any BAPI to Create PO with reference to PReq. I know we can easily write a BDC for ME21 but... is there a similar functionality via BAPI's ?

    Try
    BAPI_PO_CREATE1
    check its documentation in SE37 for detail documentation..
    Enjoy SAP.
    Pankaj Singh

  • Order creation  with reference to other order in B2B shop

    Hi Experts,
    In our project we have a B2B scenario in internet sales where we have to create a order (Item category TANN) with reference to other existing order (item category TAN) . How can we do that?
    We have both transaction types in transaction group which was assigned to the webshop.
    Thanks in advance

    Hi Rao,
    You are right. CRM 5.0 ISA allows multiple transaction types per webshop. But there is no followup transaction cpacity is build into the webshop. One alternate way to achieve this functionality is to create an order template using one transaction type and then use the second order type to create a followup from the template. Other alternate approach is to quotation to order follow-up process, where you choose one transaction type as quotation and then create the order using a followup for the quotation.
    <b>Do not forget to reward if it helps,</b>
    Regards,
    Paul Kondaveeti

  • Automise CS61 BOM creation with reference to Sales order

    Hi Experts.
    Need your help in fixing one scenario:
    We have scenarion data coming from third party containing BOM data with respect to Sales order.
    We are using XI/PI,
    1: Do we have any idoc for CS61 master creation. (Not likely to move in bdc ....etc)
    2: How to Create multilevel in that....
    Please guide .. Help is appreciable.
    Regards
    Deepak Sodhi

    Hi,
    You will need to make assignment from So item to Delivery item please check if copy control is maintained at item level. Also make sure that Copy controls are maintianed for the billing document from the SO & Delivery both as this would be the next step.

  • Invoice creation with reference to Sales Order no in IDoc

    Hi Guys,
    Is it possible to create a Invoice with reference to the  sales order no in IDOC
    Regards
    Sathis.

    Hi,
    Use FM rv_invoice_create.
    BR,
    Lokeswari.

  • GI with reference to internal order

    Hello,
    We want to make a GI 261 with reference to an internal order using MIGO and get the error message:
    Order xxxxxx not found or not permitted for goods movement
    Message no. C6001
    Diagnosis
    Either the order xxxxxx does not exist or you have specified an order for which the function you want cannot be executed. For example, no goods receipt for a CO internal order or no goods issue with reference to a reservation can be carried out.
    Procedure
    Check your entries and select an order for which the desired function is permitted.
    I would appreciate any suggestions as I have no idea how to post it.
    Regards,
    Grzegorz Skorus

    Hi Gurus,
    I am also getting same ERROR while doing Goods issue with reference to the Internal order with 261 movement type
    Order 920040 not found or not permitted for goods movement
    Message no. C6001
    Diagnosis
    Either the order 920040 does not exist or you have specified an order for which the function you want cannot be executed. For example, no goods receipt for a CO internal order or no goods issue with reference to a reservation can be carried out.
    Procedure
    Check your entries and select an order for which the desired function is permitted
    Please give the T-code and detailed description for below solution
    the configuration of Field Selection Comparison: moment Type - G/L Account sap sdn

Maybe you are looking for

  • Huge Time Machine Back Up

    I have been running Lion on my mid-2009 15" MacBook Pro for about three weeks.  Time Machine was able to find my previous back up volume on an external HD and keep on recording to it.  This morning I saw a 61.3 GB back up in progress!  I do not use t

  • Dual-booting Ubuntu 13.04 with Windows 8 on a U410

    Hi! I have a U410 on which I would like to dual-boot Ubuntu 13.04. I've run it up on a live flash drive, everything works OK. When it comes to the actual install I'm a bit nervous as I've never had a machine like this before, it's only two months old

  • Bex hierarchy variable leads to internal server error

    hi all, problem is about hierarchy variables. Whenever i have hierarchy variable with characteristic i get an error detailed below. "500 internal server error." "ERROR RS_EXCEPTION (000): SQL0104N  An unexpected token """" was found following "'1' AN

  • Add all unit price  in current document

    Dear all Am using SAP B1-PL 38 I want sum of all unit price in document level UDF ,for example am putting purchase order say Vendor1 Item1  11qty   Unitprice 10   Total 110 Item1  10qty   Unitprice 10   Total 100 now i want 20 in document level UDF

  • Regarding multi sources to single target

    Hi all, In which case( business need) we will go for multi messages to a single one(n:1) mapping. so far I have encountered 1:n but not vice versa. Please explain business need and give some blogs to practice. Thanks