Classification check of an internal order during KO01 KO02 transactions

Hi All,
i need to check if some Classification fields of an internal order are been valued when i save the order during transaction KO01 and KO02.
I'm focused on the user-exit EXIT_SAPLRKIO_002 because it stars at the save event.
Can anyone help me?
Thank you everybody!!
Regards,
Roberto

Hi,
try this inside your user-exit:
data: c_progn  VALUE  '(program name of transaction)<table name>[]'.
FIELD-SYMBOLS: <fs>       TYPE ANY TABLE.
ASSIGN (c_progn) TO <fs>.
In this way you can use table, structure or variable of program that call your user-exit a run time.
Regards,
Leo.

Similar Messages

  • Classification check of an internal order at run time, in KO01 KO02

    Hi All,
    i need to check if some Classification fields of an internarl order are been valued when i save yhe order in transaction KO01 and KO02.
    In debugging mode I've found an interesting internal table: P100. If P100-W <> 0 it means that the corrisponding field is been valued, but i haven't found a way to use it inside any user-exit or BADI.
    I'm focused on the user-exit EXIT_SAPLRKIO_002 because it stars at the save event.
    Can anyone help me?
    Thank you everybody!!
    Regards,
    Roberto

    Hi,
    try this inside your user-exit:
    data: c_progn  VALUE  '(program name of transaction)<table name>[]'.
    FIELD-SYMBOLS: <fs>       TYPE ANY TABLE.
    ASSIGN (c_progn) TO <fs>.
    In this way you can use table, structure or variable of program that call your user-exit a run time.
    Regards,
    Leo.

  • Internal Order Error Tcode: KO02

    Hello All,
    I am trying to close out an internal order using transaction KO02 and am receiving an error "There is still a purchase requisition commitment for ORD #########."
    1> What does this mean.
    2> How can I solve this problem.

    Hi Nasir,
    It can be a case where the PR is closed from Logistics Side but still it is not allowing you to close the order. This is due to a program bug. Can you please try the following
    1. Check IO Report S_ALR_87013019 for the Internal Order.
    2. Check commitment Line Items by double clicking commitments column. (If there is a balance, it will be reflected here).
    3. Double click on the line for PR & it will show an open  Purchase Requisition. You can see the detail of that PR.
    4. See the 'Item' Section 'Quantities & Dates' Tab. If there is a tick on 'Closed' Box, the PR is closed from Logistics side.
    5. To remove the remaining minor balance in PR, you need to Run a Program RKANBU01 (As per SAP OSS Note No 733733). Pls do it thru SE38. If you can replicate this first in Quality System, it will be better. See the messages it shows on screen.
    6. Then again check the IO report given in point 1. If there is no balance in Committments column, you should be able to close the IO.
    Check this & revert. Let me know if any further info is required.
    Reward points if found useful.
    Thanks.
    Prasad.

  • Internal Order on Service Process Transaction

    Hi All,
    I have complex problem for which i need your guidence.Our Client wants is the internal order(r/3 side) for the service order created on the CRM using service process transaction.He has asked us to create a view using eewb trans having internal order field(aufnr).Now the problem  is how to get the internal order which is created at the r/3(automatically) side on the crm side.
    Any input would be of great help.
    Thanks
    Gaurav

    Hi Madhu,
    It is possible to create the return order as a follow up of the service confirmation.
    All u need to do is to maintain the copy control settings.
    I think it is better to copy the header level and not the items. Since ur service confirmation will have the items which are used and not the replaced items.
    The replace item can be entered directly in the return order.
    Wish the information is useful.
    Regards,
    Shalini Chauhan

  • ATP check in the Sale order Processing and CO06 transaction (Confirm Qty)

    Hi All,
    While creating the Sale order, After performing the ATP check and saving the document i have called an user exit to make the confirmed Quantity equal to ZERO when the delivery block is set (As requested by customer). That is working fine...
    But the same confirmed Quantity of ZERO is not reflecting in CO06 transaction. Its showing the old value that the value before setting the delivery block.
    I have identified the table VBBE-VMENG which stores the confirmed quantity in CO06 transaction...
    Could you please help me know any USER EXITS or any other solution to change the confirmed quantity to ZERO in CO06 transaction also while delivery block is set in the sale order.
    Thanks &Regards,
    Navaneeth

    Hi All,
    Please help me by providing some clues on this issue...
    Regards,
    Navaneeth

  • To set and activate 'Create Business Workspace' for Internal Order (KO02)

    Hi All,
    I have an requirement to set and activate the 'Create Business Workspace'  for Internal Order (tcode: ko01,ko02). Can anyone please provide the steps to follow the above configuration. Please find the attached screen shot for your reference.
    Thanks,
    Jamie

    Hi Mani,
    I checked in KO02 and KO03. Please find the below screen shot for your ref. The same issue occurs ie. 'create business workspace' is hidden.
    I checked the authorization for my id, I have SAP_ALL and SAP_NEW profiles so there is no issue in authorization.

  • How to make Classification entry pop up while creating internal order(KO01)

    Dear All
    I need to have the characteristics values of the class assigned to my internal order POP UP during the Internal Order Creation (KO01)
    I have activated the necessary config and the class , characteristic and characteristic value is able to generated successfully.Also, I have activated classification in order type.
    I have  make the characteristic value as Required Entry but it still does not pop up to ask me for entry, instead it just shows a general message as follows:
    +Status changed: missing values for required chars in TM0000000002OR
    Message no. CL500
    Diagnosis
    You want to save an allocation to a class with released status. However, the class contains characteristics for which an entry is required.
    System Response
    The system changes the status of the allocation to incomplete.
    Procedure
    If you want to save the allocation with released status, first you must assign values to all the required characteristics. Then you can set the status you require.
    Note
    The classification status affects functions such as the find objects function. You can define whether objects with incomplete classification status are included in the search result.
    If the classification status of a configurable material is incomplete for an allocation to a class, this does not affect configuration.+
    Please advise. Thanks.

    Hi,
    Have you installed the Software Component
    /QAS/AXO     46C      0000   -                   QuickAddress for BAS
    You can check this in transaction SPAM -> package level.
    BR

  • Problem in creating Internal order (Transaction KO01) through LSMW

    When I am processing the session of internal order creation (KO01) in background I am getting the below error.
    Session FI_INT_ORD_C is being processed by user XXXXXX in mode N on server XXXXX.
    It is running properly when I execute the session in foreground. Could you please help me on this?

    Hello,
    Check in SM37 if any background is scheduled, if you dont have authorization for the t-code ask yor basis guy to look into it.
    Try to see wht that background job is doing, and if possible, if you can hault this background job and then try your job
    Regards,
    Abhishek

  • PO should not exceed Internal Order Value ( Check Required )

    Hi experts,
    Ideally PO should not be made for more value than the sanctioned amount raised through  Internal Order no ( KO01).
    But we find that users are creating PO for more value than the sannctioned value in internal order no.
    Check is required .  Pl. suggest how it can achieved.
    Regards,
    ( Rajneesh Gulati )

    Hi,
    In SPRO
    Controlling>Internal Orders>Budgeting and Availability Control-->Maintain Budget Profile
    Maintain Budget profile and assign  to the order type.(Controlling>Internal Orders>Order Master Data-->Define Order Types)
    Maintain Tolerances in below path.
    Controlling>Internal Orders>Budgeting and Availability Control-->Define Tolerance Limits for Availability Control
    You can maintain the tolerance limits with which in PO, you can give error or warning message when the value exceeds.
    Regards
    Edited by: Varaghamurthy  Chakravarthy Kannan on Sep 2, 2009 11:14 AM
    Edited by: Varaghamurthy  Chakravarthy Kannan on Sep 2, 2009 11:16 AM

  • User Exit  for ko01 ( Creation of Internal Order )

    Hi,
    My requirement is to validate the Business Area & Profit Center based on the Responsible Cost Center entered. EVEN if the Business Area & Profit Center are valid entries as per the data, they should be replaced by the Business Area, Profit Center with respective Responsible Cost Center entered by user. Please help me its urgent.
    Regards
    Vikram

    Hi
    The follwoing user exits and badis available:
                                                                                    Enhancement/ Business Add-in            Description                                                                               
    Enhancement                                                                               
    COOPA002                               
    Customer function for master data maint. - internal orders     
    COOPA003                               
    User-Defined Fields in the Order Master                        
    COOPA004                               
    Customer function: Print order master data                     
    COOPA_01                               
    Customer check modules for internal orders                                                                               
    Business Add-in                                                                               
    INTERNAL_ORDER_EXTND                
       Master Data Extension for Internal Order    
    If it is helpful rewards points.
    Regards
    Pratap.M

  • Internal Order Master Maintenance

    Hi Gurus,
    I have created an internal order but I have missed out the functional area field after the order is saved. When in change mode (KO02), the field is greyed out.
    How can I change this field to be able to input the functional area?
    I tried to check the field status under order type and it set as 'input' mode, so i was wondering other that this field setting, where is the control of the change field fo internal order master data.
    Points will be rewarded.
    Many thanks!

    Thanks Satya for your reply,
    Yes, you are right the cost of accunting is not activate for the company code that i work on.
    I tried to test an internal order creation (KO01) whereby the functional area is filled and upon enter the func. area is grey out with value even before i save the internal order.
    why is it so? It is mainly because the cost of accounting is not activate then the?
    If this is the reason then how can the functional area is active during the creation of internal order.
    Appreciate your kind assistance on this.
    Many thanks!

  • Budget Process (Linked the maintenance Order into Internal Order) in EAM

    Dear Experts,
    Scenario for Repair & Maintenance with only MM & FICO module live w.e.f. 2007 (PM not live)
    Process Managed thru Internal Order (Order Type: RPMT)
    Budget managed through Investment Management (IM); Budget is directly entered against the IO using transaction IM52
    Scenario for Repair & Maintenance with only MM, FICO & PM module live (PM went live in 2010)
    It was proposed to assign budget against each Maintenance Order.  Since the number of maintenance orders being used is very high, it was decided to link the MO & IO so that budget will be assigned to the IO and when the MO is settled against the IO, the budget in IO can be deducted accordingly. The proposed process to assign budget in Internal Order against each Maintenance Order are given below-:
    1.)     In EAM process one can plan/procure material and External Services only when the Maintenance Order is created & released but practically it has to be planned long before any Maintenance Activity (Maintenance Order to be linked with the estimate so that PO can be created against the estimate).
    2.)     The no. of Maintenance Order generated in EAM Module is very large as Maintenance order is created for almost each and every maintenance activity. It is cumbersome to allocate the budget to each and every maintenance order. There should be a single estimate for maintenance activity (as in MM module) and that should be linked to maintenance order so that the actual cost of Indent/Service Entry Sheet can be deducted automatically from the estimate (Maintenance Order is to be linked with estimate).
    3.)      While doing return Indent the cost of return material is not being added to the maintenance order automatically (Maintenance Order is to be linked with estimate).
    4.)      If Material & External Services not planned in the maintenance order (estimate), the user must be able to do that through Internal Order (estimate), hence the Internal Order must be link to the Maintenance Order. They should able to record the planned & actual cost in the maintenance Order.
    Process followed:
    1.) Created Internal Order in KO01 for Repair & Maintenance Order Type
         Assigned budget to Internal Order thru IM52
    2.) Created PM order and assigned Internal order against Settlement Order in tab  
         u2018Locationu2019 and in Settlement Rule with 100%. In this Section attach the Internal  
         Order with selection type u2018ORDu2019. 
    3.) Released both orders and issue the Material for particular Operation and then   
         determine the Cost for material .After that performed MIGO for consumption of
         materials.
    4.) Settled the PM order in KO88.
         Settlement process was successfully saved.
    Problem faced:
    After posting the goods movement (against each Maintenance Order) and settlement of the maintenance order against IO, we still find the budget assigned to the IO is not consumed/deducted.
    1. Actual cost of maintenance is not reflected in the internal order
        immediately. We have to run cost settlement (t-code KO88) for the
        maintenance order each time the actual cost is incurred in the maintenance order.
    2. Also in the case of return indent, the value of returned material is not directly 
        added to the available budget of internal order.
    3. When the material is issued from store through the reservation generated by 
        maintenance order, system does not check for budget in the internal  
        order/maintenance order while issuing material from the store.
    4.  It must not be allowed to create reservation from the internal order of order type
         RPMT.
    5.  In case of external service in the maintenance order, the unit of
         measure in the requisition is set to u201CD (days)u201D by default. System does not allow  
         changing the unit of measure in the requisition (it should allow to change the unit
         of measure or set the unit of measure u201CJOBu201D).
    6.) When the material is issued from  the store through reservation generated  in
         maintenance order, system does not check for budget in Internal Order  
         (estimate)/Maintenance Order while issuing material from store.
    Thanks & Regards
    Deepak Soni

    Hi,
    1. Actual cost of maintenance is not reflected in the internal order
    immediately. We have to run cost settlement (t-code KO88) for the
    maintenance order each time the actual cost is incurred in the maintenance order.
    As per the standard system budgeting is done against the actual cost only. And until you settle your order the actual cost from
    maint order are not getting transfered to IO. Once they are transfered system is checking for the budget.
    2. Also in the case of return indent, the value of returned material is not directly added to the available budget of internal order.
    This is similar to first point, when you return goods there will be negative cost on the order, this has to be settled until that system will not compare the IO budget with maintenance order actual cost.
    3. When the material is issued from store through the reservation generated by maintenance order, system does not check for budget in the internal order/maintenance order while issuing material from the store.
    The budget you have assigned is at IO, how can system will check the budget while issueing goods for maintenance order. We may have to develop or use some user exit over here. Which will trigger checking of budget from the settlement receiver IO for that maintenance order.
    I think you may have to go for development. These are my observations from my experience.
    Regards,
    NNR

  • WIP - Internal order

    Dear Guru's,
    I need a clarifications regarding WIP caluclation for Internal order.
    Our client use to run the WIP calculation for Internal order during month end. Even they use to run WIP for Internal order which doesn't have any actual cost for the month. As a result system is calculating calculated cost for finding the WIP for that month, even actual cost is not booked for that month in that internal order. So our client's requirement is that, system should not calculate WIP if Actual cost is zero for that month. But i saw system is caulcuating Calculated cost while running KKA1 which is almost equal to revenue of that month booked in the inernal order.
    Few points to note:
    1. Sale order is linked to internal order
    2. Internal order is having revenue booked.
    3. Actual cost not booked for the month
    4. KKA1 is run to find the WIP(This client couldnt avoid since they have thousands of order during month end, unable to check each and every order)
    5. WIP posting is done by using calculated cost caluclated by system during KKA1 run and settled to FI
    6. Now system should not do WIP caculation if Actual cost is zero i.e. system should not calcaulted Calcualted cost if Actual cost is zero?
    Kindly let me know if this approach is correct and provide us the soultion.
    Regards,
    Hem

    Hi Hemkumar,
    I presume when you say 'system should not calcaulted Calcualted cost if Actual cost is zero' you mean the periodic actual cost and not cumulative.
    If this is the case you will have to go for RA enhancement.
    With enhancement you can force the periodic calculated cost to be zero irrespective of revenue.
    The revenue will go as revenue surplus in this case.
    But before that I want you to try RA type and profit indicator as E, C and valuation basis I.
    Note that it is not recommended that you ignore these orders from RA calcuation in any period.
    You have to find a way to run the RA and get the desired results at the same time.
    BR
    ABHi

  • Error while creating internal order

    Hi,
    I have defined an Order type for budgeting purpose, so that statistical internal orders be created under that order type.
    This is required for budget controlling.
    Now I am not able to create internal order in Ko01.
    I am getting the below error message:
    Internal Orders: Profit Center  not allowed
    Message no. Z1052
    Please guide me how to create statistical internal order for new order type defined.
    Thanks & Regards,
    Divya

    hi
    goto oke5 actovate u r contorling area for year base  and also asiisgm dummy profit center., u can make settings in this path,
    sap img- controling-profit center accounting-besic settings -contoling area setting-maintain controling area setting, this sceern u activate year wise ,a nd also assign profit center.
    and u dont define profit center goto same path -masterdata- prifitcent - define profit center.
    first u settings completed,
    other wise u contact ur fico consultant
      regards
    sankar.

  • TX CNS41 - settled cost from internal order to WBS element not displayed

    Hi PS Expets,
    I have a question regarding transaction CNS41 "Structure Overview" where cost settled from an internal order is not displayed in in the report for a selected project. This is in a ECC version 5.0
    Settled costs from internal orders are posted with transaction type KOAO on WBS elements and when you check report RCNSTFCO you can see that the following transaction types are deselected when executing transaction CNS41:
    delete t_rpsco_m where vorga = 'KOAO' "<   insert
                          or vorga = 'KOAL' "<   insert
                          or vorga = 'KOAP' "<   insert
                          or vorga = 'KOAQ' "<   insert
                          or vorga = 'KOAR'."<   insert
      CALL FUNCTION 'HFPM_RPSCO_TO_RPSCO_LIS_CONV'
    This is implemented according to OSS note 51971 in order to eliminate internal business volume in the project structure when executing a PS hierarchy report.
    But this also eliminate the display of the cost  from the internal order.
    Any ideas or a work around in order to display settled cost from an internal order on a WBS element in transaction CNS41
    Kind regards,
    Anne

    Hello Tison.
    I guess you have the Project created with a BAPI in your system in background. As far as I have seen I'd try the following in ABAP to create Partners in the Project Definition: BAPI_BUS2001_PARTNER_CREATE_M or the corresponding method ProjectDefinitionPI.PartnerCreateMultiple. This should happen in background when the Project is created also.
    Best regards.
    Jens Schmid

Maybe you are looking for