Parameters....formal and actual parameters...

when we need parameters, the concept of formal and acutal perameters with simple examples...pl

Hi Balaji..
We need parameters for Modularization and reuse of the code..
Suppose that your report have five internal tables and you have to consolidate(sum up) the records in the table. This way you will need the same logic 5 times..
So, instead of coding 5 times, we create a subroutine with parameters.. We will give a parameter type table to this subroutine and call this subroutine 5 times, passing the name of our 5 tables..
The formal parameters are the parameters  that you define in the subroutine declaration.. FORM f_test_subroutine TABLES t_itab STRUCTURE e_itab
USING us_par1
CHANIGN ch_par2.
However, the actual parameters are the actual values passed to the subroutine while calling the subroutine..
PERFORM f_test_subroutine TABLES t_mytab
USING w_par1
CHANGING w_par2..
Thanks and Best Regards,
Vikas Bittera.
***Points for useful answers ***

Similar Messages

  • Target Cost and Actual Cost

    Hi All,
    When is the target cost and actual cost gets populated and from where does the data comes from liek labour,machine,overhead cost comes?
    Thanks in advance

    Dear Friend,
    speaking from controlling point of view, target and actual costs will be flown from "costing variant planned" and "costing variant actual" respectively.In above mentioned varinats, whats the process has to be followed to calculate  material costs,activty costs,overhead costs etc will be defined. These variants will be assigned in order type dependent parameters OPL8.
    Target Costs - In standard cost estimate(ck11n),target cost will be calculated  in the following way
                              -material cost from material master and BOM
                              - activity costs from routing( for this u need to plan the activity costs in KP26)
                              - other costs from the definitions of planned costing variant.
                       - after running the standard cost estimate,u need to mark n release(ck24).
    Actual Costs - material costs frm goods issues (via goods mvmts thru MBIA,MB1B etc) against
                          production/process order.
                              - activity costs(as per the price u plannned in KP26)through  operation confirmation in
                                COR6N/CO11N.
                              - any other costs like overheads,cost center issues etc as per the process defined
                                in 'actual costing variant'.
    Hope this will clear your doubt.
    Rams.

  • Planned and Actual costs at the Activity level

    Hi all,
          Can you tell me if there is a R/3 report which lists out the planned and actual costs for a project and displays it for each network and activity? I want these values at the activity level.
          I found a report which lists out these values for each network, but I cannot drilldown to the activity level. Please help.
    Thanks,
    Satyajit.

    Hi,
    There is setting in network type. Please go through transaction OPUV  i.e.
    Change view- Network type paramaeters : overview " Overview.
    Uner Network type parameters there is one radio button in front of ActvtyAcctAssgn. Just activate it.
    Hope this helps.
    Regards
    Tushar

  • Report  for bom wise target and actual cost as well as qty at line item

    Dear Experts,
    Is there any standard tcode for bom wise target and actual cost as well as qty at line item level for the month.
    there is one tcode s_alr_87013127 but user has to double click in order to get line item details.
    I want to see line item wise breakup/bom wise target and cost cost as well as qty.
    Thanks in advance.
    regards
    RK

    Dear experts,
    I am still looking for a revert.
    regards
    RK

  • I am trying to download a variety of files and when it is finished, the Mac freezes up and the task bar continues to blink on and off. I have to go into Firefox and actually quit the application to continue. Any help is very much appreciated

    I am trying to download a variety of files and when it is finished, the Mac freezes up and the task bar continue to blink on and off.
    I have to go into Firefox and actually quit the application to continue. Any help is very much appreciated.

    are you backing up files, or doing a Time machine backup, either way, the Time machine will STOP when finished and show "last backup at XXXXXX"  meaning its done...... OR if when transferring files, it will show a progress bar on your desktop and vanish when files are copied.
    Open up the Hitachi drive (your G drive is made by Hitachi, and the best made by the way).....and see if the files are there.
    a MORE VISUAL way is to open the hard drive file, and drag and drop files INTO the Gdrive and you can see them visually be copied there as you do it.
    To see your HD on your desktop GOTO  FINDER......PREFERENCES....then GENERAL TAB.........check the box marked HARD DRIVES.........then your Gdrive will appear on your desktop........open it from there,  and DRAG and drop files from anywhere INTO the Gdrive....... easy visual way to see the files being copied into the Gdrive.

  • PS: BAPI For Planned Progress and Actual Progress

    Dear All,
                  Is there any BAPI available for Planned Progress and Actual Progress for PS Project.
    Regards,
    Sohail

    Hi,
    Try using this report s_alr_87013532.
    Also for planned and actual progress the table is rpsqt. Could not find any bapi for the progress
    Regards
    Hiren K.Chitalia

  • Is there standard report for planned and actual devlivery date?

    Hi Guru,
    Could you help me to find standard report to compare planned delivery date in PO and actual delivery date (GR Posting date)?
    I wonder, Is there standard report for planned and actual delivery date?
    or I have to create a customizing report.
    Thank you very much.

    hi
    i dont think it is possible to see both in one pan so try to create some Z report
    u try ME80fn here u have to change the views ,in del shedule view u can see the delivery dtae and in PO histry view u can see the posting date
    regards
    kunal

  • Tcode for planned production  and actual production

    Hello,
    I am working with a report I want to check the values with R/3 for Planned Production and Actual production. Does anybody have any idea how to check?
    Thanks in advance

    Hey Suman,
    i have the same problem, did you find a solution?
    thanks

  • Function module for calculating planned and actual cost of production order

    Hi ,
    Do we have any standard function module for calculating planned and actual cost for production order?
    i need to implement this in a Z-report.
    Thanks
    Srini

    Hi,
    try below function module
    CRMCO_GET_PLAN_ACTUAL_COSTS
    CO_IH_GET_PLANNED_COSTS_TOTAL
    Regards,
    Sankaran

  • How to differentiate b/w Plan and actual data

    Hi,
    How to differentiate b/w plan nad actual data.
    Is that value type or Version InfoObject??
    What should be the value for that and how it gets populated ??
    Regards,

    Hello Tapan,
    The plan and actual data is differentiated on the basis of value of infoobject 0VTYPE. Value 10 is for actual. Different plan versions can be differentiated by different values of infoobject 0VERSION.
    These values are populated when actual data is loaded or plan data is entered.
    Hope it helps.
    Regards,
    Praveen

  • In iMovie 11, how can you cut/paste a clip that has subtitles and actually have the subtitles get cut/pasted. When I try, the subtitles disappear into the void and I have to do the subtitling all over again.

    In iMovie 11, how can you cut/paste a clip that has subtitles and actually have the subtitles get cut/pasted. When I try, the subtitles disappear into the void and I have to do the subtitling all over again.

    If you think this is a bug, you can report it here:
    Apple - Mac OS X - Feedback

  • What is the difference between delivery date and actual goods issue date?

    Hi ,
    Can you please tell me the difference between Delivery date and Actual goods issue date ?
    Delivery data can be be greater than goods issue date?
    Thanks,
    Ajay

    Hi Ajay,
                  Delivery date means its the original date on which the delivery should be done.Actual goods Issue date is the date on which goods to be delivered according to the purchase order.There can be delay in the delivery so we maintain 2 objects.
    Yes delivery date can be greater than Goods Issue date.
    Hope this clears
    Regards
    Karthik

  • Best practice for Plan and actual data

    Hello, what is the best practice for Plan and actual data?  should they both be in the same app or different?
    Thanks.

    Hi Zack,
    It will be easier for you to maintain the data in a single application. Every application needs to have the category dimension, mandatorily. So, you can use this dimension to maintain the actual and plan data.
    Hope this helps.

  • Hi. I have the Apple connector kit...and actually played my M-Audio Oxygen 25-keyboard thru  my iPad2--without a powered hub.  But that was two month ago.   Now...I can't get it to play.   I can hear the notes...but faintly.  And I have pushed ALL the pos

    Hi. I have the Apple connector kit...and actually played Garageband via my M-Audio Oxygen 25-keyboard thru  my iPad2--without a powered hub. 
    But that was two month ago.
      Now...I can't get it to play--with volume.   I can hear the notes...but faintly.  And I have pushed ALL possible volume controls up (Keyboard & iPad). 
      I know the keyboard is triggering, because I tested it on a MacBook: got full volume, just like before.
      But just can't get full volume from the iPad2.  I got a 4-port USB hub...and tried interfacing it between the keyboard and the connector kit/iPad2.  But still no volume.  It's almost like a switch is off in the iPad???
      Any help would be appreciated.  Dan

    hello again,
    i didn't really dare to delete the blue home folders before, just in case everything went wrong, but now i think i have so little space that i can't afford to lose 2.25gb!
    one thing that slightly worries me is the fact that the 'proper' library folder (in the home icon) is 2.09gb, whereas the 'wrong' one (from the blue folder forenamesurname) is 2.24gb - this is the one i would be deleting. just seems odd to delete a larger file than the one i presume i'm using.
    "Move everything you want to keep out of the blue folders, and then place both of the folders on your desktop. If everything works properly after a few days, delete both folders. If you are asked for your administrator password at any point or if either folder is copied instead of moved when dragged, don't delete that folder."
    by 'everything you want to keep', does this include the library folder? 'cause there doesn't seem to be much else, and i'm not sure if deleting the library folder would ruin all my preferences.
    i've put both of the folders on the desktop, it didn't ask for the admin password or try to copy them, so i guess that's good news. what kind of things should i be looking out for to act differently?
    are the folders not in use now that they are on the desktop?
    also if i put them in the trash will they have no effect? i.e. the same as permanently deleting them, so i could put them in the trash as a test.
    cheers, stephen.

  • Plan and Actual at WBS Elements without activities

    Hi Experts,
      I am in need of a small help from you. My scenario is like this:
    I have equipments/material as WBS Elements( Level1,2...). I have no activities/materials.
    I planned the costs using CJ40 and Budgeted using CJ30 and confirmed all the WBS Elements by entering actual dates for the same.
    Now i want to see planned/actuals costs in report. When i checked in one standard report it is showing 0 for both planned and actuals.
    I also want to have a brief step-by step procedure for Project with only WBS Elements, i.e., from Initiation to Settlement.
    Can anyone please help me in this regard.
    Thanks in advance.
    Regards,
    Suresh.D.

    The following is in answer to
    "I also want to have a brief step-by step procedure for Project with only WBS Elements, i.e., from Initiation to Settlement."
    Most probable scenario would consist of following steps
    Create PDef - Create WBS (either copying from template or manually) - Plan costs - Roll up planned costs - Budget (at top level) - Budget distribute - budget Release - WBS release - Post actual costs - run cost / revenue variance report - settle costs against the WBS - TECO project - Close Project.
    I believe I haven't missed on any important aspect.
    Would appreciate inputs from others in this effort.
    Hope this information was useful.
    Regards,
    Pradyumna

Maybe you are looking for

  • ITunes 7 Rendering Issues

    Ahoy hoy, I became entangled in this problem upon first running iTunes; Running it for the first few minutes, all is fine, tick-tock, no problems so far. Then... If one is inclined to switch applications, to say Firefox etc., hide iTunes, and then sw

  • ... is not a property of ...

    I have built two custom tag libraries, the first one works perfectly but in the second one I get the following compiler message (translated from Spanish): Error(18): id is not a property of com.grancanaria.presentacion.tags.ayuda.SelectAgencias The c

  • ActionScript/Flex to ANT

    I am trying to port a mid size project from Flash Builder (ActionScript/Flex) to ANT so we can use our automated system. I am getting the following error: Could not resolve <s:View> to a component implementation.

  • Wrapping multiple text lines

    This may be difficult to explain, but I am not seeming to find the exact wording in my searches so I am going to ask here... I have several lines of text boxes at the end of a form, and rather than making it all one big block of text and wrapping tex

  • AppleID changes not saving

    (I'm not entirely sure this is the best place for the question, but there isn't a clear section for AppleID issues). When I go into the "My Apple ID" (appleid.apple.com), I can log in just fine, but when I make changes, they aren't actually saving.