Query for exceed planned quantity

Hi,
    Can some one help me to make a right query.
First'Receipt from Production'  must not be added if theres a quantity exceed from the planned quantity.. I tried to make my own but still it doesn't work

Hi Vissia,
Create a UDF in Receipt from Production(U_RemQty) and assign a FMS query to get the planned qty.
FMS Query
SELECT ($[$13.87.NUMBER] - ($[$13.88.NUMBER] + $[$13.89.NUMBER]))
And use this SP to restrict the document posting
IF @transaction_type = N'A' AND @Object_type = N'59'
BEGIN
-- Receipt from Prodn Quantity restriction
     IF EXISTS (SELECT distinct 'error'
                    FROM dbo.IGN1 T0 inner join OIGN T1 on T0.DocEntry = T1.DocEntry
                    WHERE (T0.Quantity > T0.U_RemQty)
                    and T0.BaseType = N'202'
                    and T0.TranType is not null
                    and T0.DOCENTRY = @list_of_cols_val_tab_del)
     Begin
          SELECT @Error = 1, @error_message = 'More than Prodn Order Planned Qty!-Receipt from Production'
     End
END
Regards,
Bala
Edited by: Balakumar Viswanathan on Jan 18, 2011 12:39 PM

Similar Messages

  • SQ01/SQVI SAP QUERY for PIR Planned Independent requirement

    I wanna make a query to see all the PIR with respect to a plant , material , date etc ..
    I tried with table PBIM and PBID , but could not get a success.
    Can you tell me the table names to be included to make this query along with the links.
    Thanks

    Dear,
    Even i have created query with three tables, and kept plant as input field from one of the table, but after executing system responding as no data exists. please guide
    thanks in advance
    kaialsh thakkar

  • No Recieving more than planned Quantity

    Hi All,
    My client want that no user can recieve FG more than planned Quantity in Production Order. I Put a query in SP_Transaction Notification but its not working.
    IF (@object_type = '59' AND @transaction_type= 'A')
    BEGIN
    If exists
    (Select p.Type
    From OIGN b
      inner join IGN1 bs
         On b.DocEntry=bs.DocEntry and bs.LineNum=0
      inner join OWOR p On p.DocEntry=bs.BaseEntry
    Where b.DocEntry = @list_of_cols_val_tab_del
       and p.Type= 'S'
       and bs.BaseType=202
       and p.PlannedQty< p.CmpltQty )
    Begin
    set @error =1
    set @error_message = 'You can not Complete more then planned !'
    End
    Regards
    Piyush

    Hi Piyush,
    Try this:
    If (@object_type = '59' and @transaction_type = 'A')
    Begin
       If (Select CurSource From OIGN Where DocEntry = @list_of_cols_val_tab_del) = 'L'
       Begin
          If((Select Sum(Z.Quantity) From IGN1 Z Where Z.DocEntry = @list_of_cols_val_tab_del) > (Select PlannedQty From OWOR Where DocNum = (Select A.BaseRef From IGN1 A Where A.DocEntry = @list_of_cols_val_tab_del)))
           Begin
                  Select @error = 1
                  Select @error_message = 'Quantity Exceeds Planned Quantity!!'
          End
       End
    End
    Thanks,
    Neetu

  • Af:query for master detail

    Hi Experts,
    Can we have an af:query to show master detail data ?
    What we generally have is af:query showing records of 1 table. What i want is for the records that get populated from af:query in the master table, i want to show the records in the detail table of the row selected
    any idea ?
    thnks

    Thank you NewBee. It worked and am able to get the detail information from the master table. I am struggling with another implementation. I have 3 radio buttons in the global template which I am referencing in all my pages.
    The template has 3 radio buttons. Contacts, Plans and Users. The three queries are completely different from one another.
    On click of Contacts, I should display the respective af:query for Contacts, Plans and Users without displaying the resultant table. This query panel will be global to all the pages.
    I have tried setting it as follows:
    <af:panelGroupLayout layout="vertical"
    id="pt_pgl3"
    rendered="#{baseBean.searchContactsSelected == 'true'}"
    visible="#{baseBean.searchContactsSelected == 'true'}">
    <af:query id="qryId1" headerText="Search" disclosed="true"
    value="#{bindings.GloablSearchByContactsVOCriteriaQuery.queryDescriptor}"
    model="#{bindings.GloablSearchByContactsVOCriteriaQuery.queryModel}"
    queryListener="#{bindings.GloablSearchByContactsVOCriteriaQuery.processQuery}"
    queryOperationListener="#{bindings.GloablSearchByContactsVOCriteriaQuery.processQueryOperation}"
    resultComponentId="::contactSearch:md1"/>
    <f:subview id="contactSearch">
    <jsp:include page="/contactsSearchResults.jspx"/>
    </f:subview>
    <af:panelGroupLayout>
    I have tried various implementations to the best of my knowledge but its not rendering. Is it possible to navigate to a different jspx on click of Search button of af:query. This will give me an opportunity to display different pages based on the Search action and keeping the search on a global level.
    Hope I was clear in explaining the issue
    Thanks!

  • Total planning quantity field

    hi friends,
    from which table i get the field for Total planning quantity.
    actually i found the structure for it i.e PBPT and fielld name is PLGMG
    but i dont get from any data base table.
    with regards.

    hi shreeram ,
    AM60X                            Work fields for SAPMM60X
    HM60X                            Help fields SAPMM60X
    MDALV_MD73_PBPT    Structure for ALV: Item Data MD73 Ind. R
    PBIMOUT               Output Structure Items Planned Independe
    PBPT                             Table of ind. requirements item data
    PBPTVB                           Reference structure for XPBPT
    RBPT                             Table for reference reqmts item data
    regards
    sandeep patel

  • A Query for shortfall quantitiy of components in a Planned Order

    Hello,
    I'm trying to create a query to report committed quantity, required quantity and shortfall quantity of components for a planned order related to a WBS.
    When I run MDVP for a specific planned order I see values in FLMNG field.
    But when I check the reservation of that planned order in RESB table FLMNG table is empty while other fields for required quantity and committed quantity are filled.
    So I ran ST05 for MDVP and figured out that system is using a table called RESVDB( I cannot remember the exact table name) but result the is same.
    Does system fill the FLMNG field only in the structure of MDVP with substraction of committed and required quantities and never updates it in reservation tables? If it does update tables where can I find this field?
    And also, to get the same result with MDVP, is using these fields in RESVDB the right way?
    Thanks,
    Arda

    Hello Arda
    The system design is explained on the following note:
    423538 - MDVP: Missing part list in collective availability check
    The following information is provided on this note:
    For dependent requirements of a planned order, the system generally updates no
    missing part indicators using the availability check in the corresponding
    dependent requirements record of table RESB. SAP does not plan to implement
    changes in the system design of the R/3 standard system that allow processing
    the missing part indicator from the availability check.
    BR
    Caetano

  • A save request exceeded the quantity limits for a given structure type.

    I am running PI7.1 SP6..
    I have created all the objects and done all of the configuration in the Enterprise Service Builder and the Integration Builder and I am trying to publish the Webservice in the Service Registry, but after displaying the WSDL, and then publishing the Webservice, I get the following error:
    com.sap.aii.ib.core.uddi.RegistryClientException: A save request exceeded the quantity limits for a given structure type.
    Number of Business Entities exceeds your limit of 1 (2)
         at com.sap.aii.ib.server.uddi.RegistryClientDelegateProvider$EjbRegistryClient.publishServices(RegistryClientDelegateProvider.java:338)
         at com.sap.aii.ibdir.server.wsquery.WSQUDDISrvPublishTB.execute(WSQUDDISrvPublishTB.java:112)
         at com.sap.aii.ibdir.core.simulation.DefaultTaskBroker.execute(DefaultTaskBroker.java:158)
         at com.sap.aii.ibdir.server.simulation.TaskQueryService.specialQuery(TaskQueryService.java:31)
         at com.sap.aii.ib.server.query.SpecialQueryServiceProvider$SpecialQueryServiceImpl.specialQuery(SpecialQueryServiceProvider.java:63)
         at com.sap.aii.ib.server.query.QueryServiceImpl.specialQuery(QueryServiceImpl.java:443)
         at com.sap.aii.ib.server.query.QueryServiceBean.specialQuery(QueryServiceBean.java:112)
         at sun.reflect.GeneratedMethodAccessor534.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at com.sap.engine.services.ejb3.runtime.impl.RequestInvocationContext.proceedFinal(RequestInvocationContext.java:43)
         at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:166)
         at com.sap.engine.services.ejb3.runtime.impl.Interceptors_StatesTransition.invoke(Interceptors_StatesTransition.java:19)
         at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)
         at com.sap.engine.services.ejb3.runtime.impl.Interceptors_Resource.invoke(Interceptors_Resource.java:71)
         at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)
         at com.sap.engine.services.ejb3.runtime.impl.Interceptors_Transaction.doWorkWithAttribute(Interceptors_Transaction.java:38)
         at com.sap.engine.services.ejb3.runtime.impl.Interceptors_Transaction.invoke(Interceptors_Transaction.java:22)
         at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)
         at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:189)
         at com.sap.engine.services.ejb3.runtime.impl.Interceptors_StatelessInstanceGetter.invoke(Interceptors_StatelessInstanceGetter.java:16)
         at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)
         at com.sap.engine.services.ejb3.runtime.impl.Interceptors_SecurityCheck.invoke(Interceptors_SecurityCheck.java:21)
         at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)
         at com.sap.engine.services.ejb3.runtime.impl.Interceptors_ExceptionTracer.invoke(Interceptors_ExceptionTracer.java:16)
         at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)
         at com.sap.engine.services.ejb3.runtime.impl.DefaultInvocationChainsManager.startChain(DefaultInvocationChainsManager.java:133)
         at com.sap.engine.services.ejb3.runtime.impl.DefaultEJBProxyInvocationHandler.invoke(DefaultEJBProxyInvocationHandler.java:164)
         at $Proxy2177.specialQuery(Unknown Source)
         at sun.reflect.GeneratedMethodAccessor533.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at com.sap.engine.services.rmi_p4.P4DynamicSkeleton.dispatch(P4DynamicSkeleton.java:234)
         at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:351)
         at com.sap.engine.services.rmi_p4.server.ServerDispatchImpl.run(ServerDispatchImpl.java:70)
         at com.sap.engine.services.rmi_p4.P4Message.process(P4Message.java:62)
         at com.sap.engine.services.rmi_p4.P4Message.execute(P4Message.java:37)
         at com.sap.engine.services.cross.fca.FCAConnectorImpl.executeRequest(FCAConnectorImpl.java:872)
         at com.sap.engine.services.rmi_p4.P4Message.process(P4Message.java:53)
         at com.sap.engine.services.cross.fca.MessageReader.run(MessageReader.java:58)
         at com.sap.engine.core.thread.execution.Executable.run(Executable.java:108)
         at com.sap.engine.core.thread.execution.CentralExecutor$SingleThread.run(CentralExecutor.java:304)
    Caused by: com.sap.esi.uddi.sr.api.ws.PublishServicesFault: A save request exceeded the quantity limits for a given structure type.
    Number of Business Entities exceeds your limit of 1 (2)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
         at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
         at com.sap.engine.services.webservices.espbase.client.bindings.impl.JAXWSUtil.deserializeException(JAXWSUtil.java:357)
         at com.sap.engine.services.webservices.espbase.client.bindings.impl.JAXWSUtil.processFault(JAXWSUtil.java:327)
         at com.sap.engine.services.webservices.espbase.client.bindings.impl.SOAPTransportBinding.call_SOAP(SOAPTransportBinding.java:987)
         at com.sap.engine.services.webservices.espbase.client.bindings.impl.SOAPTransportBinding.callWOLogging(SOAPTransportBinding.java:703)
         at com.sap.engine.services.webservices.espbase.client.bindings.impl.SOAPTransportBinding.call(SOAPTransportBinding.java:673)
         at com.sap.engine.services.webservices.espbase.client.jaxws.core.WSInvocationHandler.processTransportBindingCall(WSInvocationHandler.java:167)
         at com.sap.engine.services.webservices.espbase.client.jaxws.core.WSInvocationHandler.invokeSEISyncMethod(WSInvocationHandler.java:120)
         at com.sap.engine.services.webservices.espbase.client.jaxws.core.WSInvocationHandler.invokeSEIMethod(WSInvocationHandler.java:83)
         at com.sap.engine.services.webservices.espbase.client.jaxws.core.WSInvocationHandler.invoke(WSInvocationHandler.java:64)
         at $Proxy2689.publishServices(Unknown Source)
         at com.sap.esi.uddi.sr.api.ws.ejb.ServicesRegistryProxyFacade.publishServices(ServicesRegistryProxyFacade.java:358)
         at sun.reflect.GeneratedMethodAccessor1059.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at com.sap.engine.services.ejb3.runtime.impl.RequestInvocationContext.proceedFinal(RequestInvocationContext.java:43)
         at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:166)
         at com.sap.engine.services.ejb3.runtime.impl.Interceptors_StatesTransition.invoke(Interceptors_StatesTransition.java:19)
         at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)
         at com.sap.engine.services.ejb3.runtime.impl.Interceptors_Resource.invoke(Interceptors_Resource.java:71)
         at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)
         at com.sap.engine.services.ejb3.runtime.impl.Interceptors_Transaction.doWorkWithAttribute(Interceptors_Transaction.java:38)
         at com.sap.engine.services.ejb3.runtime.impl.Interceptors_Transaction.invoke(Interceptors_Transaction.java:22)
         at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)
         at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:189)
         at com.sap.engine.services.ejb3.runtime.impl.Interceptors_StatelessInstanceGetter.invoke(Interceptors_StatelessInstanceGetter.java:16)
         at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)
         at com.sap.engine.services.ejb3.runtime.impl.Interceptors_SecurityCheck.invoke(Interceptors_SecurityCheck.java:21)
         at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)
         at com.sap.engine.services.ejb3.runtime.impl.Interceptors_ExceptionTracer.invoke(Interceptors_ExceptionTracer.java:16)
         at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)
         at com.sap.engine.services.ejb3.runtime.impl.DefaultInvocationChainsManager.startChain(DefaultInvocationChainsManager.java:133)
         at com.sap.engine.services.ejb3.runtime.impl.DefaultEJBProxyInvocationHandler.invoke(DefaultEJBProxyInvocationHandler.java:164)
         at $Proxy255.publishServices(Unknown Source)
         at com.sap.aii.ib.server.uddi.RegistryClientDelegateProvider$EjbRegistryClient.publishServices(RegistryClientDelegateProvider.java:335)
         ... 41 more
    As always, these errors are so informative! 
    It has published the Webservice in the Service Registry, but not with the End Points...
    has anyone come across the message before and know how to fix it so I can successfully publish the Webservice???
    I have searched SDN and OSS - also opened an OSS note about another error I am experiencing...

    Hi Barry
    Have you already published for the same server or this is first time you tried and got error ?
    Did you referred Troubleshooting guide
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e05829a5-55aa-2a10-f694-ba8e30c3c122
    Master installation guide
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e0301486-758c-2a10-9d84-a195556df422
    Thanks
    Gaurav

  • Incorrect data for proportional factor in query based on Planning Book

    hi,
    We have upgraded from APO 3.1 to SCM 5.0.
    Post upgrade, the proportional factor is being displayed incorrectly in the BEX query based on the Planning Book data if we run the query for multiple months.
    for eg,
    if, in the planning book, the proportional factor for months 10.2009 and 11.2009 are as follows :
    Brand  >> Month >> Proportional Factor
    B1 >> 10.2009 >> 70%
    B2 >> 10.2009 >> 30%
    B1 >> 11.2009 >> 80%
    B2 >> 11.2009 >> 20%
    When we execute the query for the above brands for months 10.2009 and 11.2009,
    then, at the total level, the % displayed is 100% and the data at brand level is halved.
    We do not have any exits or formulae operating at the key figure level in the query and hence are unable to figure out why this is happenning...
    Any clue on this ?
    regards,
    Anirudha

    Resolved.

  • I need to display planned quantity and actual quantity for Plant in quarter

    Hi,
       I need to display planned quantity and actual quantity for Plant in quarter  AND  month wise as  below.
                                                                    Q1                              Q2  .......                              M1                                       M2 .........................................
    PLANT    MATERRIAL    UNIT     PLTY   ACTQTY          PLTY   ACQTY                   PLTY   ACQTY                    PLTY   ACQTY
    P1            M1                      EA        20        15                      30       25                             40       35                              50       45
    P1            M2                      EA        20        15                      30       25                             40       35                              50       45
    P2            M2                      EA        20        15                      30       25                             40       35                              50       45
    I will keep plant and material infoobject as row. Can you please suggest how i should design column section to display like above
    Regards
    Deep.

    Hi Deep,
    Assuming you have an InfoObject for Quarter (say 0CALQUARTER) & Month (say 0CALMONTH), drag the Quarter InfoObject & Month InfoObject below in the Columns. Drag your KFs i.e. Planned Qty & Actual Qty below the Month InfoObject to form a KF structure. If you don't want Qty Unit to be displayed alongside your KFs, use NODIM() function & display Unit in the Rows.
    --Priya

  • LOV- Query has exceeded rows only for one LOV...

    Hi All,.<br><br>
    I know we need to set FND:View Object Fetch Size value for the warning Query has exceede 300 rows.....">But in my case everything is fine.
    In one page iam getting this warniing and in another page for the same LOV iam not getting.The only difference for both LOVs Inou fileds is the one which is raising warning has ToolTip Message and the other dont have.Iam wondering why iam getting this warning only in one page and not for other LOVs and not in other pages.Can any one please help me by giving clue.<br><br>
    SoujanyaReddy

    sorry wrong place ...

  • GR quantity for the planned order(MD13)??

    Hi All,
             I have a list of planned orders(MD13) with planned quantities(PLAF table).
    Now I need a Goods receipt quantity for these planned orders, because I need to show
    the comparison between planned quantity and goods receipt quantity in the for the last month.
    I can get material documents by passing material,plant,movement type and date range to MSEG,there I can find the GR quantity. But how can I know that this GR quantity is for that particular planned order ??
    Say for example, I have planned 100units for the material m1 for the month of july.
    But actual GR quantity for this material is only 80units. 100-80 = 20 units is my comparison..
    From where can I get this 80units, hope u understand my question.
    Anyone please help me.
    Helpful answers will be rewarded
    Thanks & Regards,
    V.Raghavendra.

    Hello Raghavendra,
    there are no goods receipts for planned orders. These are converted either into production orders or purchase requisitions and then purchase orders. For production and purchase orders there are goods receipts.
    For production orders you should find the link in MSEG-AUFNR (if you really do have any scenario with GR for planned orders, this should be the same field).
    Easier, if production orders are applicable, should be to look in AFPO-WEMNG (Quantity of goods received for the order item) and compare it to AFPO-PSMNG or AFPO-PGMNG.
    You can also check in AFPO-PLNUM whether this production order is linked to your planned order.
    Regards,
    Kay

  • Query on open planned orders details with process order GR details

    Dear Experts,
    I need to create a query in SQ01 where the requirement is as given below,
    Query output should display the open planned orders  (Planned orders which is not converted to process order details) details for a material like Planned order number, Planned order quantity, Start date, Finish date and also  the details of the list of process orders created for the same material with its details like PO qty, GR qty, Basic start date, Finish date, Actual finish date, BOM Component material codes, component quantity.
    But i tried creating this query by joing the tables PLAF+ AFPO+AUFK+ AFKO+RESB . My input parameter will be the Material Number for which Planned order and Process orders are being created.
    But i am unable to generate the output when i create a query by joining these tables
    Is it possible to obtain the output for open planned order details and process order details in a single query ?
    I am failing in my repeated attempts
    Please provide your suggestions for developing this query
    Regards,
    J.Balakrishnan

    Dear Bala,
    as alternative , for use a query report and not a custom abap report, you can try to read data from MRP tables MDKP and MDTB . In these one tables you can find both elements (planned order and production orders) for to start to research all details that you need.
    You can also use MDTB-DELKZ to filter only planned order (PA) and Production order (FE).
    With the number order you can read the RESB table in order to define components details.
    With this table would you the advantage to have always the opened orders.
    If the following table are empty you should make a little customizing modification so that once MRP run will write them.
    Give me feedback if i have been useful for you.
    Daniele

  • Query for releasing and closing Production order ststus in bulk

    Hi
    Releasing planed to released
    1. i want to release all those production orders entered in system which are in planned status.I want to apply one query for that which should change the status of Prod orders to release in systems automatically by applying this query.Please give me that suitable query and how to use it for proper result.
    closing released to planned
    2. Same like above i want to close all those Production orders whose receipt quantity is equal to planned quantity. i.e i want one query which should change the status of production order from release to closed on condition that receipt quantity is equal to the planned quantity.Please give me that suitable query and how to use it for proper result.
    Thanks

    For point 1 and 2:  It should not be tried and using a Query does not comply with SAP Support policy.  Doing so would lead you to lose SAP Support.

  • Why is the Planned quantity in MCP9 not appearing(Repetitive Manufacturing)

    Sub:WHY IS THE PLANNED QUANTITY IN MCP9 NOT APPEARING(REPITITIVE MANUFACTURING
    Why are the planned orders not displayed anymore. They are still in the system - in  MD04 - but since we moved from release 3.1i to 4.0 the plan order qty disappeared  from transaction MCP9!!!!.Now we are using Version 4.7
    There must be a reason 
    Perhaps searching in  SAP OSS system -if the transaction is not supported in rel 4.0 anymore and we should use something else instead
    Or we need to apply an OSS note from SAP to repair the problem...
    Or the info system update must be modified because of rel change... I don't know.
    Please suggest your valuable guidance,Iam not able to enclose a screenshot of the problem,planned qty is 0 or it is not getting displayed.If you reply to this query i can send a detailed analysis to that mail id .

    Dear Guruji Mr.Rajesha vittal,
    Sir ,iam stuck with this problem,not able to proceed.
    Can i send the activites i have completed till now ,I want your e mial id sir for me to send the attachments to you.
    Also i dont know how to award points i need to award points to u for all the solutions i have recieved till now ,can you please explain to me
    I am stuck with this MCP9 problem i have done it according to your suggestion,but still the planned quantities are not displayed. can you please help me out.Very urgent. I need u mail id
    Thanks & Awaiting your reply
    P.S.KIRAN
    [email protected]
    [email protected]

  • Want to Prevent Inventory Transfer More than Planned Quantity

    Dear Experts,
    I want to Prevent Inventory Transfer More than Planned Quantity. so that No one can Post any Issue for Production More than Planned Quantity has Assigned that Production Order. Using SAP Business One B1 .
    Please Advice ......
    Thanks In Advance ,
    Ajibul Hakim

    Hello Gordon,
    Thanks for your Reply . I want to Prevent Inventory transfer , which will Exceed the Planned Limit. but yesterday I Have Tried Myself again and I have succeed ! so thanks you again ,
    Also thanks to Nagarajan for your kind reply and i wanted to do like that but I want to restrict Inventory transfer...
    I have Done Like this....
    IF @object_type='67' 
      BEGIN
      IF @transaction_type='A' OR @transaction_type='U'-----Add
          BEGIN
            IF exists(SELECT * FROM  WTR1 T0
          LEFT JOIN OWTR T1 ON T1.DocEntry=T0.DocEntry
            WHERE  (T0.U_PlanQTY<(T0.Quantity+T0.U_TotalIssue)) AND T1.U_OrderType='100'
                         AND T0.DocEntry=@list_of_cols_val_tab_del)
            BEGIN
             SET @ERROR=1
             SELECT @ERROR_message = N'Issued Quantity Can not More than Planned Qty ,Check again and reconfirm please '
            END
          END   
       END
    Thanks,
    Ajibul Hakim
    Message was edited by: Ajibul Hakim

Maybe you are looking for

  • Error in hrrcf_a_reg_job_search

    Hi All, We are using E recruitment 604 Patch 6 and Trex 7.10 level 20. I am using the SICF service "hrrcf_a_reg_job_search" for the registered candidates to search for Job requisitions. When I test this service by login in as registered candidate, th

  • Auto trim out silence at beginning and end?

    Audition 3 Anyone know if there is an option to automatically trim out the silence at the beginning and end of audio file?  If so, how?

  • Publish for Approval - has anybody got this working?

    Hi guys, I just heard about Publish for Approval and thought I would take it for a spin. But I can't get it going. Whenever I start the publish for approval application it asks for questions which aren't in the notes. Like where is Aperture-Submit.ac

  • Material Component to Network - BAPI_NETWORK_COMP_ADD

    hi, has anyone come across this SAP problem? I use BAPI_NETWORK_COMP_ADD to add a material to a Network. It adds fine, and shows up in CJ20N. However, if you go to the Plan/Actual Cost (CN41), there is no cost associated. Okay. I used BAPI_NETWORK_CO

  • Unwated popping and clicking

    there's an annoying, ugly pop/click at the beginning of one of my audio regions. I'm told that to get rid of this I should be in the sample editor and have the region begin at a zero crossing. So I have "search zero crossings" enabled and have the st