Logic for CM38

Hi,
I want to know the logic how to get he AVAILABLE CAPACITY and the Planned order details for a  WORK CENTER as PLANT wise, In CM38 we can find, Please let me know logic to extract those details from the table or any function module exist to do that.
regards,
Prabhu

Hi,
I want to know the logic how to get he AVAILABLE CAPACITY and the Planned order details for a  WORK CENTER as PLANT wise, In CM38 we can find, Please let me know logic to extract those details from the table or any function module exist to do that.
regards,
Prabhu

Similar Messages

  • Logic for carry forward of previous stock to current period stock.

    Hi Experts,
    Client is using already MC.9 for see the stock analysis report, however as per there requirement we are exploring BOM as well as fetching quantity from table level as well. in my report I am experiencing  difficulty to carry forward previous period closing stock quantity to current period stock quantiy, if there is no received for current period, however the same is happens in MC.9
    Could any one tell me what is the logic behind MC.9 which is do carry forward previous period closing  stock to current period stock quantity in report.
    As per the requirement I am using S031, S032,S033, however unable to get logic for carry forward the previous month stock quantity to current month.
    have a requirement of creating a report of showing material stock period wise for each plant in below mention format.
    Header 1
    Header 2
    Header 3
    Header 4
    LFGJA/LFMON
    ROH (MT)
    HALB (MT)
    FERT (MT)
    11.2013
    100.000
    121.000
    121.00
    12.2013
    50.000
    12.000
    123.00
    01.2014
    23.231
    .23.234
    45.342
    02.2014
    23.231
    34.094
    45.098
    03.2014
    34.098
    98.983
    00.000
    04.2014
    00.000
    69.093
    98.098
    05.2014
    00.000
    89.098
    00.000
    For Example Break up of ROH material plant wise in below mention format.
    LFGJA/LFMON
    WERKS
    MENGE (MT)
    11.2013
    P001
    30.000
    11.2013
    P002
    50.000
    11.2013
    P003
    20.00
    Thanks in advance,
    SKN

    Hi,
       The last period closing stock = current period opening stock. You may get the details from MBEWH and S032 tables. Refer the doc: Material Stock and Valuation History tables - how to read them
    Regards,
    AKPT

  • In MVC, do i need a View or Page with flow logic for POPUP window

    Hi All,
    I have the below scenario using the MVC pattern.
    I have a main view with 3 trays, each tray has two buttons, for example first tray has Create Order button. When I click on this button, I need a popup window to come with a tableview and a button(Create), where I select some rows and click on the button Create  to create order.
    But as per the MVC pattern I canu2019t call the view (popup) from another view(main view).  So should I create a VIEW or PAGE WITH FLOW LOGIC for the popup? .
    I need 6 popup to be called from the main view and once the function is done close the popup.
    Please suggest me the flow for this scenario.
    Cheers,
    Srini.

    Srini,
    1. You can call the view in pop-up because you will be calling the controller using open.window.
    Here is the sample code:
    method DO_REQUEST .
      data:
            li_vw           type ref to   if_bsp_page,
            lv_form_field   type          string,
            li_md           type ref to   zcl_model01.
      dispatch_input( ).
      li_md ?= get_model( 'm01' ).
      lv_form_field = request->get_form_field( 'invoice_create' ).
      if lv_form_field is initial.
    *------ Request to display main page
        li_vw = create_view( view_name = 'main.htm' ).
        li_vw->set_attribute( name = 'model' value = li_md ).
        call_view( li_vw ).
      elseif lv_form_field eq 'true'.
    *------ Request to display Invoice page in pop-up
        li_vw = create_view( view_name = 'invoice.htm' ).
        li_vw->set_attribute( name = 'model' value = li_md ).
        call_view( li_vw ).
      endif.
    endmethod.
    Layout:
          function do_Invoice()
          { var s=0; r=1; w=300; h=300; x=screen.width/2;
            x=x-w/2;
            var y=screen.height/4;
            y=y-h/2;
            popUp=window.open('main.do?invoice_create=true','win','width='+ w
            +',height='+ h +', left=' + x +',top='+ y +');
    Option2:
    Ofcourse you can't bind the model in page becos those are 2 different things. But all you need to do is access the model to get some value. To know how to access the model from Page w/flow logic look at [this link|Passing model reference to a page in a Popup].
    Raja
    Edited by: Raja Thangamani on Apr 14, 2009 11:22 AM

  • What is the logic for 2LIS_17_I3HDR to pick a order as completed on time?

    Hi, Experts:
    I am working on PM using 2LIS_17_I3HDR to load data. In 2LIS_17_I3HDR, there is a field called "orders completed on-time". I am wondering what is the logic for 2LIS_17_I3HDR to identify if an order was completed on time. I would assume it compares some kind of completion/finish date with a planed/schduled comletion/finish date. Would someone please tell me what fields in what table or in transaction IW39 DOES does 2LIS_17_I3HDR  use for this?
    Many thanks!
    Jenny

    Hi, Ram:
    Thank you for the reply!
    The key figure is ZHLAFIH_TGERL (Number of On-time Closed Orders). I saw some SAP programs refering to its component type "DZHLAFIH_TE" too.
    Thanks,
    Jenny
    Edited by: Jenny Chen on Dec 2, 2009 7:53 PM
    Edited by: Jenny Chen on Dec 2, 2009 7:55 PM

  • I am considering buying a new MAC laptop to run LOGIC for composition and band live/recording, but which one is best as I do not want to spend too much money? Does it have a line in and how do you monitor sound? Will I need adaptors and a interface?

    Can anybody help?
    I am considering buying a new MAC laptop to run LOGIC for composition and band live/recording, but which one is best as I do not want to spend too much money?
    Does it have a line in and how do you monitor sound?
    Will I need adaptors and an interface?
    Also, I am guessing as Logic only runs on MAC surely then they would not the best spec to recommend to run it?
    I see all the upgrades as additional memory or a faster process?
    Is a retina screen necessary, and why flash based storage against a 1TB hard drive, and a i5 instead of an i7
    The main reason for this purchase is to play live and use backing tracks and record found sounds and make creative songs.
    I hope you can provide some valuable feedback, as I am a longtime MAC user and see upgrades and changes happen regularly but the most important thing is the songs not the equipment.
    I have £500 already and willing to add another 500 to 700 pounds, then software extra.

    Can anybody help?
    I am considering buying a new MAC laptop to run LOGIC for composition and band live/recording, but which one is best as I do not want to spend too much money?
    Does it have a line in and how do you monitor sound?
    Will I need adaptors and an interface?
    Also, I am guessing as Logic only runs on MAC surely then they would not the best spec to recommend to run it?
    I see all the upgrades as additional memory or a faster process?
    Is a retina screen necessary, and why flash based storage against a 1TB hard drive, and a i5 instead of an i7
    The main reason for this purchase is to play live and use backing tracks and record found sounds and make creative songs.
    I hope you can provide some valuable feedback, as I am a longtime MAC user and see upgrades and changes happen regularly but the most important thing is the songs not the equipment.
    I have £500 already and willing to add another 500 to 700 pounds, then software extra.

  • Logic for making ASN as an attachment to a email?

    hi all,
    can anyone help me trying to write a logic for making the Advanced Shipment Notification as an email attachment after having converted it into pdf format?
    I need logic for:
    1) Initially converting it into pdf
    2) Making the pdf as an attachment and not as a general email content.
    Thanks & Regard/Aryan

    Dear Aryan,
    This conversion to pdf can be done by using program RSTXPDFT4, and for the pdf to be sent as attachment you need to contact your technical team as they will write a script for that, scheduling of the same can also be done.
    Reward Points if it helps,
    Regards,
    N

  • Where to see the logic for 0FYEAR (SAP Exit)

    There is already an SAP exit 0FYEAR. There is a requirement to make ZFYEAR1 just like 0FYEAR. So, i want to see where the code (logic) for 0FYEAR is present so that i can write the the same for my custom variable(ZFYEAR1) in CMOD. Can anyone help me with the name of the program?

    Include ZXRSRU01 --> Function Module EXIT_SAPLRRSO_001
    or
    Search for Function Module RSVAREXIT_ [variable name]
    Variable Name = 0FYear

  • GL A/c numbering logic for chart of accounts BAIN

    Hi,
    Will any expert pl let mek now What is the GL A/c numbering logic for chart of accounts BAIN (BAIN is standard ch of A/c for India apart from CAIN)?
    Regards
    Anand

    Your question is not clear about numbering logicu2026
    First of all the GL Account # are always externally assigned (it can be either numeric and alphanumeric)
    The length of GL account is 10 digits. But if you give it as 6 in TC OB13 then
    u2022     Numerical account numbers
    The system includes zeros to the left of the number
    0000001234
    u2022     Alpha-numeric account numbers
    The system includes zeros to the right of the number
    1131DB0000

  • Logic for Expand/compress icons

    Hi all,
    iam creating a custom transaction in which if you click on partner row in Partner tab an address dialog box pops up...
    (similar to sales order/header/partner tab)
    now, i want my window have the same func as the SAp window has but iam having problems in trying to understand what SAP is doing..
    My question:
    logic for expand/compress icons in the dialog box..
    how can i implement the logic for expand/cmpress icons..
    if i click on expand, i should see all the fields and if i compress ,all initial fields should compress and if all fields are filled and then u click on compress the icon should disappear(similar to SAP)..
    my present logic is not able to switch the expand/compress properly..iam using screen-names for these...i see that SAP is using icons but iam not sure how to do this..
    can anyone input..
    gretaly appreciate....

    Hi Karunya,
    I have done something similar on the selection-screen of a Custom Report using text symbols & icons. You can probably try it out.
    parameters:
      p_cstopn type c no-display. 
    selection-screen:
      pushbutton 1(33) p_pcust user-command cus.
    at selection-screen.
    Check whether the additional selections screen is open or closed
      if p_cstopn = space. 
        p_pcust = text-opn. 
      Make all fields invisible
        loop at screen.
          if screen-group1 = c_customize.
            screen-input = 0.
            screen-invisible = 1.
            modify screen.
          endif.
        endloop.
      else.
        p_pcust = text-clo.
      endif.
    In the text symbols :
    use @3S@ Open Additional Selections forTEXT-OPN &
        @3T@ Close Additional Selections for TEXT-CLO
    Good Luck,
    Suresh Datti

  • Reg : Logic for Report

    Hi ,
    I would like to know one logic for preparing functional specification for one MM report. This report should fetch all materials that are below safety stock.
    Please help me.

    HI,
    The logic is you take the current unresticted stock of a material from MARD table, field name is LABST.now you check for the safety stock of the particular in MARC table Field name-EISBE.
    Now compare the current stock with the safety stock,generate a report for the materials whose present stock is less than the safety stock.
    for this requirement safety stock should be maintained in the material master,other wise your report will not work.
    Regards,
    velu

  • Logic for monthly quarterly yearly basis for  ar eport

    hi ,
              i need to run a report (which shows sales order number and creation date
    based on erdat entered in selection screen)
    in back ground. for that i have to develop a wrapper program which calls the main program and executes it. i can do that but the thing is i need logic to run that wrapper program to execute the report on basis of monthly quarterly and yearly.
    example : if i execute the report for erdat-creation date range 15.01.2005 and 25.03.2005 we will display sales order num and date b/w this range.
    if i excute this thro wrapper program for entered date and select monthly basis,
    it should split into 3 variants i,e for  3 months and execute .what is the logic for that.

    hi ,
              i need to run a report (which shows sales order number and creation date
    based on erdat entered in selection screen)
    in back ground. for that i have to develop a wrapper program which calls the main program and executes it. i can do that but the thing is i need logic to run that wrapper program to execute the report on basis of monthly quarterly and yearly.
    example : if i execute the report for erdat-creation date range 15.01.2005 and 25.03.2005 we will display sales order num and date b/w this range.
    if i excute this thro wrapper program for entered date and select monthly basis,
    it should split into 3 variants i,e for  3 months and execute .what is the logic for that.

  • Program logic for Camparison

    Hi Guys,
       I am trying to write a logic for comparison....Can you plz help me on this....
    I have data like below.. I need to compare value which is comming from file with the data in SAP, If it fall under data maintained in sap 'Accept record' otherwise I need to reject. How can i check (write logic) for this checking....
    data maintained in SAP ,  Data from file     ,     Result
    <10               ,      <8          ,             Accept
    >5 and <10        ,      =8          ,             Accept
    >5  and <10       ,      >15         ,             Reject
    =15               ,      >10 and <30  ,            Accept
    Thanks & Regards,
    Rays
    Message was edited by: rayudu p
    Message was edited by: rayudu p

    Hi Guys,
       I am trying to write a logic for comparison....Can you plz help me on this....
    I have data like below.. I need to compare value which is comming from file with the data in SAP, If it fall under data maintained in sap 'Accept record' otherwise I need to reject. How can i check (write logic) for this checking....
    data maintained in SAP ,  Data from file     ,     Result
    <10               ,      <8          ,             Accept
    >5 and <10        ,      =8          ,             Accept
    >5  and <10       ,      >15         ,             Reject
    =15               ,      >10 and <30  ,            Accept
    Thanks & Regards,
    Rays
    Message was edited by: rayudu p
    Message was edited by: rayudu p

  • Implementing Custom Validation Logic for Payment Disbursements

    Hi All,
    Is there anyone here, who has implemented Custom Validation Logic for disbursements in Oracle payments.
    Theory: Under Payments Setup Administrator -> Formats -> Formats, we can setup a payment format and even attach a XML template. Apart from this we can setup Pre-defined validations or user Defined validations.
    For Pre-defined validations / seeded validations, Oracle has provided an API
    IBY_VALIDATIONSETS_PUB.evaluateCondition. We can use this API, and call a custom package by using the keyword 'CUSTOM' in the call.
    Has anyone played around with this package and successfully implemented custom validations. Does anyone have a sample code on how to implement this. The Payment Manager Implementation guide is of little help.
    Thanks

    This document was very helpful to me in creating a custom validation.
    http://docs.oracle.com/cd/E18727_01/doc.121/e13416/T387353T419293.htm

  • SAP FS-CD logic for cancellation of policies

    Hi,
    I am new to SAP FS-CD.  Hence I am finding it difficult to get the logic for many funtionalities.  Here is one requirement we have.
    We need to know all the policies that are flagged for cancellation and rescission.  Which table and fields I can use for this?
    Also which is the best way to fetch from FKKMAKO table?

    DFKKLOCKS

  • Posting logic for stock shortage

    Hi there,
    I m workiing in SAP R/3 ECC 6.0 version CO module.
    We are trying to find a solution for posting logic for stock shortage. Regarding this SAP Note 362037 have also been referred.
    We have purchased vide PO a certain item say ferro alloy 100 kgs. @ 5000 INR each (Clearing & Forwarding charges Rs.50000 credited) at which GR was made. Now at the time of bill passing of clearing & forwarding at a later date the amount passed was Rs. 20000 when the stock quantity of ferro alloy was only 40 kgs. The system adjusted the entire Rs. 30000 with the balance inventory available reducing the inventory cost instead of transferring to Price difference account the required proportionate amount.
    Whether this can be rectified in the system.
    Regards,
    Divraj Agarwal
    Edited by: Divraj Agarwal on Feb 22, 2010 12:32 PM

    Hi,
    Create a Formula variable with Replacement Path for Batch, and replace with Attribute and attribute is Date OF Manufacturing, so using this you get Date Of manufacture. And next create a Formula variable with Custome Exit and select Dimenstion ID = Date.
    And write the following code to get Current day.
    WHEN 'ZVCURDAY'.
          CLEAR: l_s_range.
          l_s_range-low = sy-datum.
          l_s_range-sign = 'I'.
          l_s_range-opt = 'EQ'.
          APPEND l_s_range TO e_t_range.
    so by using you get current date. So create Formula and do Substraction, i.e. Curday-Dateof Manufacture (above Replcement variable), so you get number of days from Manufacturing.
    Then you csan create conditions, i.e. <30 days, <60 days like that.
    Thanks
    Reddy

Maybe you are looking for

  • Why does safari open a new window when a search is entered

    so I open safari like normal , go yahoo bookmark. then do a search thru yahoo. select it then it opens a new safari window. How do I stop this , so the selected searched item stay on current tab, rather then opening a new window

  • Xephyr[solved]

    good evening, everyone, i'm trying to use Xnest to spawn a new X server in a window. i did this years back, and there were no problems. now all i get is a black screen. the first command i used was this: Xnest :1 -geometry 800x600 after some googling

  • SmartForms (SAP - ABAP)

    Hi Friends, Can anybody tell me how to search exact user exit to write code for workflow ? I am waiting for ur reply....... Thx and Regds, bapi bobby

  • Release Skype to Go number to use with different p...

    I have a skype to go number that I use to take business calls when at the computer or to divert when I am out of the office. I have now moved into an office with a landline. Is there any chance that I can get skype to release my number so that I can

  • I have a 5c and just updated to ios 8.2. NO VOICE TO TEXT when uploading pics to emails and was there on old software.

    I have a 5c and just updated to iOS 8.2. NO VOICE TO TEXT when uploading to an email and use to have it, Steps>take photo>select the photo on bottom left of camera screen>select upload icon>hit mail icon>input address.>select subject or main body, I