Function module to calculate Variable-Size Item

I am creating a report for manual reservation. User wants to calculate quantity of material if he enters size1, size2 and size3. Also he wants that a formula key option to be provided so that he can mention conversion formula. Is there any standard function module to calculate quantity?

Hi Vishal,
I've declared two variables
DATA: LDATE(20),
           LTIME(20).
CALL FUNCTION 'GET_SYSTEM_TIME_REMOTE'
IMPORTING
  K_DATE        =
  K_TIME         =
   L_DATE         = LDATE
   L_TIME          = LTIME
AND IN THE FORM HEADER I'VE GIVEN IT AS,
WA_HEADER-TYP  = 'S'.
WA_HEADER-INFO = ': Date'.
WA_HEADER-KEY  = LDATE.
APPEND WA_HEADER TO IT_HEADER.
WA_HEADER-TYP  = 'S'.
WA_HEADER-INFO = ': Time'.
WA_HEADER-KEY  = LTIME.
APPEND WA_HEADER TO IT_HEADER.
STILL IM NOT GETTING WAT ELSE IS REQUIRED ?

Similar Messages

  • Variable size item formulla key funtion module,

    I am developing user interface for manual reservation (cutsom development). User wants to calculate quantity of material if he enters size1, size2 and size3. Also he wants that a formula key option to be provided so that he can mention conversion formula. Is there any standard function module for variable size formulla funtion module.
    I want to use same logic of variable size item formulla of bom in the above custom template.
    Please suggest.

    Hi
    The function module EVAL_FORMULA and FORMULA_EVALUATION may help you as they all export calculated values as output. Please go to SE37 to click the button 'Function module documentation' to see more information.
    Or go to SE80 to check the function group CALC to see more function.
    Best Regards
    Leon.

  • Variable size item:

    Hi
    Company procures copper sheet of certain thickness with different sizes. Stock keeping dimension is KG. Material master has alternative unit of measure and conversion factor for KG and cubic centimeter. Design department will enter this sheet dimension like 15005003 in BOM and it will correctly calculate KG with formula entered.
    My problem is shop floor person will come to know the dimension and KG relation but how store person will come to know what size he has to cut and issue against production order. As while issuing goods he can only see quantity in KG and not in cubic centimeters ?
    Surendra

    SDBSAP ,
    If its unanswered why you flaged it answered .......?
    and solution to your problem in standard sap is not possible.
    You need to go for development, logic can be , for all variable size items from a BOM you need to pick size 1 size 2 and size 3 to print on issue slip . It will give exact dimension to your storage person to issue the correct dimension sheet to shop floor.
    Regards
    Ritesh

  • Variable size item Vs Stock item

    Hi Experts,
    I have a doubt regarding the use of variable size item over standard stock item. I will give an example as under.
    I have an item called cable which is to be added to a header material. This cable will be used in many header materials. I tried using variable size item as an item category and given the following parameters
    Size 1 as 5 M(UOM)
    Formula (L1)
    Number (1) ST
    System calculates the value as 5 M for qty var sz item
    In the item over view screen, quantity against the material 1 ST
    My query is instead of giving the qty as 5 M and use a formula, what if i directly give the item as stock item "L" and directly define the qty as 5M. If there is no difference between the above, why should we use the variable size item? instead we can directly calculate and give the qty for the item right. Kindly clarify the application of variable size item over standard stock item category.
    In both the cases I will be having one material code in the system and the qty will be changed in the respective BOM of two different header materials.
    Regards,
    Sridharan M

    Hi
    In addition to the stock keeping unit you can provide the details like length, width and thickness, say for example if you want to fabricate a metal part. You may need length width and thickness of the plate to be used for fabrication. This details you will be entering in the variable size items and using the formual you can calculate the required quantity in KG.
    This kind of variable size items you need not calcualte the weight of the material you just need to enter the sizes as per the drawing as you prepare the BOM.
    This varies with respect to size.... Variable Size Items
    Soundar

  • Reqmt qty of variable size item in purchase requisition

    Hello All
    I am having a FG "A" & components "B" & "C" out of these two components "B" is variable size item with Base UOM as M, I have given two sizes of "B" as 3M & 2M in the BOM., i.e. material "B" is added two times as a component with variable size item.
    For 1SQM of A"  require 3M & 2M of "B" & 1KG of "C". When am having a reqmt of 10SQM of "A" the sys calculates the dependent reqmt correctly as 30M, 20M of "B" & 10KG of "C", but the purchase requisition of "B" is coming as of 50M.
    My problem here is that how the user would come to know how many qty of "B" is reqd of 3M &  2M length.
    Please throw some light on this behavior of the system. Looking forward to your valuable inputs & guidance.
    Regards,
    J K Tharwani

    jitendra,
    as i post in my earlier reply ,
    there is one work around which will work for you is that , use lead time offset ( with positive + or negative quantity of day ) in component detail screen for one of the position of B in the BOM so in that case you will have 2 different purchase requisition for B.
    Check it out and revert back , i am sure it will work for you.
    Only problem is the date will be delayed by one day or prepone by one day for the second position where B is assigned.
    other wise there for getting this information in PO , you need to go for Z development.
    for it you need to keep a check on specific plant , what are the purchase requisition that have material which are being used as variabble size item category in BOM and for this material you need to Pull values from Variable size field of Item, details screen.
    ROM1 and ROM2 and publish it in text of PR and PO.
    Check and revert back.
    Regards
    Ritesh

  • BOM creation with variable size item

    Dear Experts,
    I want to create BOM with 'R'-Variable size item, Can U tell me exact procedure step by step to How to create BOM with R- Variable size item?
    Regards,
    Shivkumar Dachawar

    Hi,
      T-Code-CS01
    1. Enter the material for which you want to create BOM, Plan and BOM usage.
    2. Select the item category "R", enter the component. Now you will be taken to the "Variable item data" screen.
    3. Enter the datas of Size 1, 2 & 3 (as required) and the unit of the size & number. System will calculate the "Qty of var- size item" in the unit assigned to the basic data of the material master of the component.
    4. Save
    Note: You can change the unit of the variable size item as per your requirement in OS28
    Hope this helps.
    -Thaila Shree

  • BOM:  Variable-size item  Question

    Hi,
    As you all know, we can set the item category as <b>R: Variable-size</b> item in BOM when creating or editing BOM via Tcode CS01, CS02,
    My question is, when we need to use Variable-size item, what's its main fuctions? could you please give me an example?
    Thanks and best regards.

    This item category is used for components that are cut to size. If you assign a material with this item category to an activity , you must also enter data for the item. The system then calculates the necessary variable-size item quantity. Otherwise processing is as for item category L.
    Example: Variable-Size Item Data for a Sheet of Metal
    Size             dimension          Entry      Size unit
    1                 Lenght             200         MM
    2                  Width             300          MM
    If you do not enter a formula, the system calculates the quantity for the variable-size item according to the standard formula:
    Size 1 * Size 2
    The result has the dimension area:
    200 MM * 300 MM = 60,000 MM2 (square millimeters)
    The variable-size item unit must have the dimension area (MM2, CM2, or M2) or you must maintain conversion factors in the material master record.
    In the customizing of Bill of materials you must maintain the formula key for variable size item category for R.
    The variable-size item quantity is used for calculating raw material requirements:
    Raw material requirement =
    Number of variable-size items * Variable-size item quantity * Required quantity
    Base quantity
    Regards
    TAJUDDIN
    Message was edited by:
            TAJUDDIN MOHAMMED
    Message was edited by:
            TAJUDDIN MOHAMMED

  • Function module to calculate Estimate delivery lead time

    Hi Experts,
    It's ugrent.
    In APO System,
    I need a function module to calculate the estimated delivery lead time, The estimate delivery lead time is the time in weeks between the current date and the estimated delivery date. This is rounded up to the next integer value.
    Thanks in advance,
    Regards
    Adil

    Hi Vishal,
    I've declared two variables
    DATA: LDATE(20),
               LTIME(20).
    CALL FUNCTION 'GET_SYSTEM_TIME_REMOTE'
    IMPORTING
      K_DATE        =
      K_TIME         =
       L_DATE         = LDATE
       L_TIME          = LTIME
    AND IN THE FORM HEADER I'VE GIVEN IT AS,
    WA_HEADER-TYP  = 'S'.
    WA_HEADER-INFO = ': Date'.
    WA_HEADER-KEY  = LDATE.
    APPEND WA_HEADER TO IT_HEADER.
    WA_HEADER-TYP  = 'S'.
    WA_HEADER-INFO = ': Time'.
    WA_HEADER-KEY  = LTIME.
    APPEND WA_HEADER TO IT_HEADER.
    STILL IM NOT GETTING WAT ELSE IS REQUIRED ?

  • Variable size item problem in BOM

    hi all,
    We have semi-finished material with componets as variable size items (item cat. R)
    Now in the variable size tem data, Size 1 = 1,406 MM, Size 2 = 1,220 MM. Numner is 1 ST, formaula place is blank.
    Qty Var-Sz Item is calculated by system is 3.957 M2. On what basis this value is calculated?
    In the component material we have maintained a componenet scrap quantity as 15%.
    BOM ratio of header : component = 1NOS : 1 ST
    Again when we create a production order for the header, for 1 NOS header quantity component qty becomes 2.
    For 2 NOS of header qty, component becomes 3 like this.
    Why this happens..
    Regards,
    Srijit.

    Thread closed

  • Function Module  for FB01 Vendor line items postings in 3.1 Version

    Hello all,
    Is there any Function Module  for FB01 Vendor line items postings in 3.1 Version. I do not want to go for BDC. Please suggest.
    Thanks,
    Subba

    Hi,
    search for function module ACCPOSTING* or get development class of transaction FB01 and goto SE80, enter development class - and search in function group's function module.
    Cheers.
    ...Reward if useful.

  • Function module for GL account open items at a key date

    Is there a function module for "GL account open items at a key date" similar to following for customer and vendor accounts?
    BAPI_AR_ACC_GETOPENITEMS Customer account open items at a key date
    BAPI_AP_ACC_GETOPENITEMS Vendor account open items at a key date
    If not, please suggest any alternatives. I am looking to capture the output of FBL3N (GL account line item display) in a program.
    Thank you in advance.
    Prasanna Pujari

    hi,
    please go through the below link i think it will help u.
    http://sapfunctional.com/FI/GL/Balance.
    Regard
    Abhishek Tripathi

  • Variable size items.

    Hi, im a PP consultant from bombay, i had a query regarding a client who is inti\o wooden frame manufacturing it is a strictly discrete industry and the client specifications vary with almost every request. at the moment the client is creating a new mat master for every new product thus causing the master materials to run into 50-60 thousand currently. i want to know if i can use variable size items to reduce the number of materials defined as all of the materials are from standard sized planks. stock is required to be maintained for all components individually.

    Hi,
    "If you want different-sized sections of a material (raw material) to be represented by one material number in BOM items, you use this item category."
    Ans lies in the your last statement(stock is required to be maintained for all components individually)You cannot go for variable size item as you need to maintain stock individually
    Revert if you have further query
    Reward points if useful
    Regards,
    SVP

  • Variable Size Item Data in Purchase Requisition

    Hi
    When ever the Purchase Requisition of the Variable size material is
    raised, how do i view,for reference,the Variable Size Item data from
    Bill of materials .
    Steps for the Reconstruction 
    1.Create a Variable size Item Bill of material.
    2.Run MRP agianst the Variable size material's dependent demand.
    3.View the Purchase requisition of the Variable size Item, to take a
    note of the Item Data.

    Thread closed

  • Storage location selection for variable size item

    Hi All
    There is a BOM of finished good Material "XYZ" and there is a component "A" in the BOM. This Component A is a variable size item, its a metallic bar of length 4 meters.  In BOM XYZ, only 1.5 meters is consumed.
    Now when a production order is made for XYZ and the confirmation is done with movement type 261. All the materials are backflushed along with component A . The client's requirement is to transfer the remaining length of component A (i.e. 4 - 1.5 = 2.5 meters ) to a different storage location at the time of confirmation.
    Please let me know how is it possible.
    Thanks in Advance
    Rohit

    FULL STEPS:
    1.first do mb1b 311 mvmt transfer posting  for the components from raw-stor location to prod stor location. you can do for A
    2.  do GI for the components. for A for that final product . consume 1.5 so. the remaining component will be (3 ) there in the stor. location as per sap. (check in mmbe)
    3. then do mb1b 311   transfer posting for the A component to raw-stor location. from the prod stor location.
    or rever the  transfer posting mb1b 312.

  • Variable Size Item, Material Setting

    Dear All,
    I have a requirement, from  users,
    They want to use Formula as
    ROMS1 * ROMS2 * ROMS3 * 1160  where 1160 is Density, and out put is Mass.
    Material Should be issued in Nos/Pc in Shop and not in KG,
    I want to know how this material to be used in System, Its BUM, Unit of issue etc..
    Please help,
    Regards
    Raghu M
    Edited by: raghu m on Nov 2, 2009 9:08 PM

    Hi Raghu,
    1. Maintain KG as BUM in material master for the component
    2. Maintain alternative unit of measure for volume (meter Cube) and BUM (KG)
    3. Maintain Default values for BOM in configuration (T-Code OS28) for Variable Size item as EA
    4. Maintain Formula key in configuration (T-Code OS15) for the formula to be used ie ROMS1 8 ROMS2 * ROMS3 * 1160
    5. While creating BOM give Item category as R for the component and give the qty, the system will pop up a screen for variable sizes. Enter Variable sizes.
    Hope the above satifies your requirement.
    Please try and revert back
    Regards
    Suri

Maybe you are looking for

  • How to setup specific FTP access on 10.4 Server??

    I want to setup an FTP on our server. I want to allow specific access to only a couple of users... Its so a supplier can dump an automated data dump onto the server for us to utilize. So I want an account for them so they can only access a predefined

  • 6.0.2 BUG REPORT - iTunes doesn't remember Airport Express volume settings!

    Incompetent engineers!! Whilst I'm here, why does the 'iTunes Feedback' menu option take me to a 'Request' page? Incompetent marketeers!!

  • Problems viewing Flash??

    Im a web developer, and I developed this site www.actionfx.net/freeman The problem: The doctor I built the site for has an Airbook. It took him 45 seconds to donwload the web site. With my cheapo gateway laptop next to his, it took me 7 seconds to do

  • How to protect my mac screen

    How to protect my apple macbook pro screen??

  • Update functionality in BRF PLUS

    Hi all, I am new to BRF PLUS , i need to update the database table via BRFPLUS , can anyone let me know how to do it. Any answer is really helpful for me . Thanks Ashutosh