Internal Order Group & Internal order wise report
Hi All
Any Standard reports are available to display the internal order group name and internal order.
Any Standard Function module or standard table are available to retrieve the order group and internal order details.
Please confirm.
Regards
K.Gunasekar
Hi,
There is a lot of standard reports (e.g. S_ALR_87012993 - Orders: Actual/Plan/Variance); just go to Information systems of the Internal orders in the standard menu.
Tables: AUFK - orders master data. SETNODE and SETLEAF - groups.
Regards,
Eli
Similar Messages
-
List of Released Sales order USER ID'S wise Report
Hi,
Where can i get List of Released Sales order.The problem is we have 3 user ID's to release orders.So i need user ID's wise release orders report.In VKM2 its not working even if i give credit representative group.Thanks in advance.
Rgds,
NAGDear Sudhir,
T. Code: SE16
Table: VBAK
It will list out the Sales Orders, along with Created by and Created On..and many more informations*.
(You may group your Sales Doc. Result, based upon Transaction Group as "0 - Sales Doc." and Dcoument Category as "C - Sales Order").
Best Regards,
Amit.
*To view/select felds, from Menu-bar,
Settings --> Format_list --> choode fields -
Hi,
How can we determine.... a particular Internal Order belongs to which Internal Order Group. Any specific reports or tables?
ThanksHi Shelina,
The best way is probably to use T-Code KOH3 then via menu Extras -> Check and Help Functions -> Find in Group. There you type in the Internal Order number you are interested in and you will then get the list of Order Groups for that IO.
This will only give you the group that the IO is actually assigned to but you can see the usage of that group by clicking on the usage button and it will list up the above hierarchy.
Cheers,
Gudmundur -
Operation wise Report of production order
Dear Experts,
I am having total 4 operations in production order .I want operation wise report ( For example ,I am having production order of 10 quantity , I want a report through which I can check how much quantity is lying in operation 10 ,20 30 & 40 )
waiting for inputs.
Warm Regards,
Satyahi,
Work Center
CRHD Workcenter Header Data
CRCA Workcenter Capacity Allocation
CRCO Workcenter Cost Center Assignment
CRHH Hierarchy Header
CRHS Hierarchy Structure
CRTX Workcenter Text
KAKO Capacity Header
KAZY Intervals of Capacity
Routing
PLPO Routing Operation Details
PLKO Routing Header Details
MAPL Routing Link to Material
PLAB Relationships - Standard Network
PLAS Task List - Selection of Operations
PLMZ Component Allocation
PLPH CAPP Sub-operations
PLFH PRT Allocation
PLWP Maintenance Package Allocation
PLMK Inspection Characteristics
Bill of Material
STPO BOM Item Details
STPU BOM Sub Items (designators)
STKO BOM Header Details
MAST BOM Group to Material
STZU BOM History Records
STAS BOM Item Selection
STPF BOM Explosion Structure
Thanking you -
Adding Internal Orders to Order Groups
Hi Abapers,
Does anyone know of a function module or method that will add internal orders to an order group?
Thanks,
BeckyDear Jonathan,
Thank you for using the SDN Forums,
Probably the most comprehensive method of finding Order related information throughout the system is to use Inspection Report RKACSHOW. It can be accessed by entering it as a transaction and hitting the 'enter' key or via SE38 and execute.
This Inspection report provides great selection criteria that will allow you to perform a system wide check and also the fuctionality to be more specific should you need to investigate inconsistencies and the type:
See the following note for full explaination and rundown on this very helpful Report:
Note: 28145: Report: RKACSHOW
As for you query, there does not appear to be a 'Where used' option for internal orders.
Kind Regards,
Brendan -
Mass maintenance of internal order groups
Hello everyone,
I need to create an internal order group with a large number of subgroups, each with a few internal orders assigned to it, and I am looking for ways to automatize this procedure. I am equally concerned about any changes to the hierarchical structure that may be required in the future as I am about creating it in the first place. LSMW's batch input recording does not seem to work with KOH1 or KOH2.
Any ideas?
Thanks.Hi,
1: check T-code KOK4, define a selection variant and tick "create order group" by entering a group key and a group name (for groups with large number of order master records).
2: For creation of group hierarchies, see SAPNET note 51141 and the reports listed there (RGSIMPH1, RGSIMPH2) and/or the BAPIc listed there for object BUS1117.
BR Christian -
Table name for Internal order group and Profit center group
Hello Friends,
Could any one provide me the table for Internal order group and Profit center group.
We are developing new customized report and user requested internal order group and Profit center group in the selection criteria.
I have checked for this tables but found only these fields in structures.
Thanks in advance,
Ravi Kiran.Or use FM [G_SET_TREE_IMPORT|http://www.sdn.sap.com/irj/scn/advancedsearch?query=g_set_tree_import] to read the hierarchy/Group. (Read FM and FG documentation, you can also add break-point and call some S_ALRxxx transaction which use this FM for the objects you need).
Regards,
Raymond -
RESPAREA? - authorisations on Internal Order groups?
Hi together,
is it possible to restrict on Internal Order Groups in authorisation Object RESPAREA?
I know its possible for Profitcenter groups etc.. with PH / HI / KN..
But what about Internal Order groups?
SIngle Internal Orders I can restrict via OR
Thank youHi Nicola,
In your internal order group you might have created so many lower level groups. but any how in any of the group through EDIT- order- insert order option you have insert the order number...
If you assign the order numbers in lower level option ... system will give error message...
If helpful assign points
Cheers
PK -
In which Table Internal Order Group (AUFGR) is stored and how it is related to Internal Order (AUFNR)
hi,
The Internal order group details are found in the table SETHEADER & SETLEAF, SETHEADER-SETNAME would be the internal order group for the setclass for the order group set class '0103',
to get all internal orders for an ordergroup.
You can use fm K_HIERARCHY_TABLES_READ.
or
HRGPBS_ORDERGROUP_GETDETAIL
rgds
anver
if hlped mark points -
Create Internal Order Group massively
Hi Gurus,
I need to create massively internal order group.
Can someone help me?
Thanks in advance.
AngelaHas anyone found the answer to this query yet?
I tried using an LSMW:
Business Object: BUS1117
Method: CREATE
Message Type: INTERNALORDERGROUP_CREATE
Basic Type: INTERNALORDERGROUP_CREATE01
However, it is only creating the top node via idoc
The other idocs fail with "Inconsistent set hierarchy"
My issue is I am not sure how to setup the source structures and source file (file upload).
This is how I setup the file:
TOPNODEONLY GROUPNAME HIERLEVEL VALCOUNT DESCRIPT VALFROM VALTO
92CAPITAL 0 0 92 RPC Domestic Capital
92NONDAIRY 1 0 92 Non Dairy Capital
92ARLIN 2 0 92 Arlington plant capital
92AR_CRFRD 3 0 92 Previous Year - Arlington
Any help would be greatly appreciated! -
GET THE INTERNAL ORDER NUMBER BY INTERNAL ORDER GROUP
Hi everyone! I want to know if there's existing functional module whereas I can get a list of internal order number (AUFNR) based from the internal order group name (AUFGR)? Thanks a lot! Your response will be greatly appreciated!
Hi,
First take a look at K_ORDER_SET_CREATE fm..
The following code may help you in getting the orders based on order group..
DATA: t_setvalues LIKE SETVALUES
OCCURS 0 WITH HEADER LINE,
t_hierarchy LIKE SETHIER OCCURS 0
WITH HEADER LINE,
l_date_from LIKE sy-datum,
l_date_to LIKE sy-datum,
l_subrc LIKE sy-subrc,
l_setid LIKE SETHIER-SETID,
BEGIN OF t_aufnr OCCURS 0,
aufnr TYPE aufnr,
END OF t_aufnr.
CALL FUNCTION 'G_SET_ENCRYPT_SETID'
EXPORTING
SETCLASS = '0103'
SHORTNAME = l_aufgr <Your Aufgr here>
IMPORTING
SETID = l_setid.
CALL FUNCTION 'G_SET_AVAILABLE'
EXPORTING
SETNAME = l_setid
TABLE = 'CCSS'
IMPORTING
SUBRC = l_subrc.
CALL FUNCTION 'G_SET_TREE_IMPORT'
EXPORTING
CLIENT = sy-mandt
SETID = l_setid
TABNAME = 'CCSS'
fieldname = 'AUFNR'
NO_DESCRIPTIONS = space
NO_RW_INFO = space
date_from = l_date_from
date_to = l_date_to
TABLES
SET_HIERARCHY = t_hierarchy
SET_VALUES = t_setvalues
EXCEPTIONS
SET_NOT_FOUND = 1
OTHERS = 3.
LOOP AT t_setvalues.
t_aufnr-aufnr = t_setvalues-from.
COLLECT t_aufnr.
t_aufnr-aufnr = t_setvalues-to.
COLLECT t_aufnr.
ENDLOOP.
Sri
Message was edited by: Srikanth Pinnamaneni -
Migration internal order group
Hi all,
I am doing the migration program for internal order group creation.(KOH1)
I have used the FM for BAPI_INTERNALORDRGRP_CREATE and BAPI_INTERNALORDRGRP_ADDNODE
for creating internal order group. using those FM in my program , the internal order group created successfully,
But, i check these data's in transaction code KOH3.
the internal order description is not come, that means internal order group has more internal orders, that internal orders already created one. so when displaying that internal order in my internal order group, the description is not display.
Expected: already created internla order it displayed, but the internal order description from table it doesn't show.
Anyone clear my doubts.
Thanks,
Amudha.Hi,
You can get the ordergroup as SETNAME in SETHEADER table for the SETCLASS '0103', the order details are found in SETLEAF for the setname obtained from SETHEADER,
Hope this helps,
Rgds, -
GEt Order Groups Info from Internal Orders
Hi,
I need to get the order group information from an internal order and also the cost element associated with it.
Thanks.Hi,
Try from below tables : AUFK and CSKA.
Ranjith. -
Production Order and Internal Order for each item of the sales order
Hi
I am developing Make To Order Report where I have to display the MTO Line Items and non MTO Line Items. For non MTO Line Items I have to display Internal order with Planned and Actual Costs and also Production Order with Planned and Actual Costs. Could anybody tell how to get the Internal order no and production order with Planned and Actual costs for each line item for a sales order.
Thanks
NagaHi,
You can get the Production orders, Planned orders, Internal orders generated for Sales order item from AFPO table (use fields KDAUF-Sales order number & KDPOS-Sales order item). Then to identify the order type use order category (AUTYP) from table AUFK.
Once you have the Production/internal order, you can ge the cost from COSS and COSP table. Use the object number from AUFK to get the cost entries from COSS & COSP.
You can use the following sample code as reference.
Hope this is helps.. (Don't forget to mark it... )
Form GET_COSTS *
Get the material cost, labour hours and the labour cost for the *
sales order material. *
There are no interface parameters to be passed to this subroutine. *
FORM GET_COSTS.
DATA V_OBJNR LIKE AUFK-OBJNR.
DATA v_menge LIKE vbap-kwmeng.
SELECT SINGLE OBJNR
INTO V_OBJNR
FROM AUFK
WHERE AUFNR EQ AFPO-AUFNR.
SELECT * FROM COSS
WHERE OBJNR EQ V_OBJNR
AND WRTTP IN ('01', '04'). " p_wrttp. "Labour Cost ( Plan, Actual)
PERFORM GET_VALUES_FROM_COSS.
ENDSELECT.
SELECT * FROM COSP
WHERE OBJNR EQ V_OBJNR
AND WRTTP IN ('01', '04') " p_wrttp
AND KSTAR NE '0000510033'. " EQ p_kstar2. "Material Cost
PERFORM GET_VALUE_FROM_COSP.
ENDSELECT.
Get the unit cost of the production order by dividing the production
cost by the order quantity. The result will be multiplied by the
GL posting qunatity (Delivery quantity) to get the production cost
for the quantity being deluivered.
IF NOT AFPO-PSMNG IS INITIAL.
OUT_REC-LABOUR_HOURS_ACT = OUT_REC-LABOUR_HOURS_ACT / AFPO-PSMNG.
OUT_REC-ADDNL_LABOUR_HOURS_ACT =
OUT_REC-ADDNL_LABOUR_HOURS_ACT / AFPO-PSMNG.
OUT_REC-LABOUR_HOURS_PLN = OUT_REC-LABOUR_HOURS_PLN / AFPO-PSMNG.
OUT_REC-ADDNL_LABOUR_HOURS_PLN =
OUT_REC-ADDNL_LABOUR_HOURS_PLN / AFPO-PSMNG.
OUT_REC-LABOUR_COST_ACT = OUT_REC-LABOUR_COST_ACT / AFPO-PSMNG.
OUT_REC-ADDNL_LABOUR_COST_ACT =
OUT_REC-ADDNL_LABOUR_COST_ACT / AFPO-PSMNG.
OUT_REC-LABOUR_COST_PLN = OUT_REC-LABOUR_COST_PLN / AFPO-PSMNG.
OUT_REC-ADDNL_LABOUR_COST_PLN =
OUT_REC-ADDNL_LABOUR_COST_PLN / AFPO-PSMNG.
OUT_REC-MATERIAL_COST_ACT = OUT_REC-MATERIAL_COST_ACT / AFPO-PSMNG.
OUT_REC-ADDNL_MATERIAL_COST_ACT =
OUT_REC-ADDNL_MATERIAL_COST_ACT / AFPO-PSMNG.
OUT_REC-MATERIAL_COST_PLN = OUT_REC-MATERIAL_COST_PLN / AFPO-PSMNG.
OUT_REC-ADDNL_MATERIAL_COST_PLN =
OUT_REC-ADDNL_MATERIAL_COST_PLN / AFPO-PSMNG.
ENDIF.
Multiply the calculated Unit Production costs with the GL quantity to
get the actual production cost of the quantity delivered.
Calculation for Labour Hours
OUT_REC-LABOUR_HOURS_ACT = OUT_REC-LABOUR_HOURS_ACT *
OUT_REC-QUANTITY.
OUT_REC-ADDNL_LABOUR_HOURS_ACT = OUT_REC-ADDNL_LABOUR_HOURS_ACT *
OUT_REC-QUANTITY.
OUT_REC-LABOUR_HOURS_PLN = OUT_REC-LABOUR_HOURS_PLN *
OUT_REC-QUANTITY.
OUT_REC-ADDNL_LABOUR_HOURS_PLN = OUT_REC-ADDNL_LABOUR_HOURS_PLN *
OUT_REC-QUANTITY.
Calculation for Material Cost
OUT_REC-MATERIAL_COST_ACT = OUT_REC-MATERIAL_COST_ACT *
OUT_REC-QUANTITY.
OUT_REC-ADDNL_MATERIAL_COST_ACT =
OUT_REC-ADDNL_MATERIAL_COST_ACT * OUT_REC-QUANTITY.
OUT_REC-MATERIAL_COST_PLN = OUT_REC-MATERIAL_COST_PLN *
OUT_REC-QUANTITY.
OUT_REC-ADDNL_MATERIAL_COST_PLN =
OUT_REC-ADDNL_MATERIAL_COST_PLN * OUT_REC-QUANTITY.
Calculation for Labour cost
OUT_REC-LABOUR_COST_ACT = OUT_REC-LABOUR_COST_ACT *
OUT_REC-QUANTITY.
OUT_REC-ADDNL_LABOUR_COST_ACT = OUT_REC-ADDNL_LABOUR_COST_ACT *
OUT_REC-QUANTITY.
OUT_REC-LABOUR_COST_PLN = OUT_REC-LABOUR_COST_PLN *
OUT_REC-QUANTITY.
OUT_REC-ADDNL_LABOUR_COST_PLN = OUT_REC-ADDNL_LABOUR_COST_PLN *
OUT_REC-QUANTITY.
Get the planned material cost from the total of the planned cost of
the component materials in the production order confirmations.
SELECT BWART MENGE MATNR SHKZG FROM AUFM
INTO (AUFM-BWART, AUFM-MENGE, AUFM-MATNR, AUFM-SHKZG)
WHERE AUFNR EQ AFPO-AUFNR.
CHECK AUFM-BWART NE '101'.
READ TABLE I_MBEW WITH KEY MATNR = AUFM-MATNR
BWKEY = AFPO-DWERK.
IF SY-SUBRC NE 0.
SELECT MATNR BWKEY ZPLPR LPLPR PEINH
FROM MBEW
INTO I_MBEW
WHERE MATNR EQ AUFM-MATNR
AND BWKEY EQ AFPO-DWERK.
APPEND I_MBEW.
ENDSELECT.
ENDIF.
IF SY-SUBRC EQ 0.
IF I_MBEW-ZPLPR NE 0.
IF AUFM-SHKZG EQ 'H'.
OUT_REC-PLANNED_MATERIAL_COST =
OUT_REC-PLANNED_MATERIAL_COST +
( I_MBEW-ZPLPR * AUFM-MENGE / I_MBEW-PEINH ).
ELSE.
OUT_REC-PLANNED_MATERIAL_COST =
OUT_REC-PLANNED_MATERIAL_COST -
( I_MBEW-ZPLPR * AUFM-MENGE / I_MBEW-PEINH ).
ENDIF.
ELSEIF I_MBEW-LPLPR NE 0.
IF AUFM-SHKZG EQ 'H'.
OUT_REC-CURRENT_MATERIAL_COST =
OUT_REC-CURRENT_MATERIAL_COST +
( I_MBEW-LPLPR * AUFM-MENGE / I_MBEW-PEINH ).
ELSE.
OUT_REC-CURRENT_MATERIAL_COST =
OUT_REC-CURRENT_MATERIAL_COST -
( I_MBEW-LPLPR * AUFM-MENGE / I_MBEW-PEINH ).
ENDIF.
ENDIF.
ENDIF.
ENDSELECT.
Get the Future material cost per Unit by deviding the calculated
Future material cost above with the goods reciept quantity to, then
multiply the unit cost with the GL quantity to get the Future material
Cost for the Quantity delivered. (Quantity in the entery from GLPCA
Table).
IF NOT AFPO-WEMNG IS INITIAL.
OUT_REC-PLANNED_MATERIAL_COST =
OUT_REC-PLANNED_MATERIAL_COST / AFPO-WEMNG * OUT_REC-QUANTITY.
OUT_REC-CURRENT_MATERIAL_COST =
OUT_REC-CURRENT_MATERIAL_COST / AFPO-WEMNG * OUT_REC-QUANTITY.
ENDIF.
ENDFORM. " GET_COSTS
Form GET_VALUE_FROM_COSP *
Get the Material cost from COSP table. *
There are no interface parameters to be passed to this subroutine. *
FORM GET_VALUE_FROM_COSP.
FIELD-SYMBOLS: <FS> TYPE ANY.
DATA: V_COMPONENT TYPE I.
Cummulate the posting values of all the 16 period buckets as to get
total production order cost. This is to handle the aprtial posting of
prodction order values in diffrent periods.
V_COMPONENT = 15.
DO 16 TIMES.
ADD 1 TO V_COMPONENT.
ASSIGN COMPONENT V_COMPONENT OF STRUCTURE COSP TO <FS>.
IF COSP-WRTTP EQ '04' AND COSP-KSTAR EQ P_KSTAR2.
ADD <FS> TO OUT_REC-MATERIAL_COST_ACT.
ELSEIF COSP-WRTTP EQ '04'.
ADD <FS> TO OUT_REC-ADDNL_MATERIAL_COST_ACT.
ELSEIF COSP-WRTTP EQ '01' AND COSP-KSTAR EQ P_KSTAR2.
ADD <FS> TO OUT_REC-MATERIAL_COST_PLN.
ELSEIF COSP-WRTTP EQ '01'.
ADD <FS> TO OUT_REC-ADDNL_MATERIAL_COST_PLN.
ENDIF.
ENDDO.
ENDFORM. " GET_VALUE_FROM_COSP
Form GET_VALUES_FROM_COSS *
Get the Labour cost and Labour hours from the COSS table. *
There are no interface parameters to be passed to this subroutine. *
FORM GET_VALUES_FROM_COSS.
FIELD-SYMBOLS: <FS1> TYPE ANY,
<FS2> TYPE ANY.
DATA: V_COMPONENT1 TYPE I,
V_COMPONENT2 TYPE I.
Cummulate the posting values of all the 16 period buckets as to get
total production order cost. This is to handle the aprtial posting of
prodction order values in diffrent periods.
V_COMPONENT1 = 15.
V_COMPONENT2 = 111.
DO 16 TIMES.
ADD 1 TO: V_COMPONENT1, V_COMPONENT2.
ASSIGN COMPONENT V_COMPONENT1 OF STRUCTURE COSS TO <FS1>.
ASSIGN COMPONENT V_COMPONENT2 OF STRUCTURE COSS TO <FS2>.
IF COSS-WRTTP EQ '04' AND COSS-KSTAR EQ P_KSTAR1.
ADD <FS1> TO OUT_REC-LABOUR_COST_ACT.
ADD <FS2> TO OUT_REC-LABOUR_HOURS_ACT.
ELSEIF COSS-WRTTP EQ '04'.
ADD <FS1> TO OUT_REC-ADDNL_LABOUR_COST_ACT.
ADD <FS2> TO OUT_REC-ADDNL_LABOUR_HOURS_ACT.
ELSEIF COSS-WRTTP EQ '01' AND COSS-KSTAR EQ P_KSTAR1.
ADD <FS1> TO OUT_REC-LABOUR_COST_PLN.
ADD <FS2> TO OUT_REC-LABOUR_HOURS_PLN.
ELSEIF COSS-WRTTP EQ '01'.
ADD <FS1> TO OUT_REC-ADDNL_LABOUR_COST_PLN.
ADD <FS2> TO OUT_REC-ADDNL_LABOUR_HOURS_PLN.
ENDIF.
ENDDO.
ENDFORM. " GET_VALUES_FROM_COSS -
Purchase Order with Internal Order
Dear all,
Are there any reports in SAP that will show the value of the Internal order with respect to Purchase Orders?
Thank you.HI,
These are the tcodes which gives the standard functionality of internal orders
FCOM_RULE_OCL Rule for Internal Order Line Items
FCOM_RULE_OCV Rule for Internal Order Variances
FCOM_RULE_OL Rule for Internal Order Line Items
FCOM_RULE_OV Rule for Internal Order Variances
GJRG_5JCB Internal orders: overview actuals
JKB1 Create internal order
JKB1X Create Internal Order
JKB2 Change internal order
JKB2X Change Internal Order
JKB3 Display internal order
JKB3X Display Internal Order
JKB4 Display internal order
KAMN Menu for Internal Orders
KKBC_ORD_INT Analyze Internal Order
KO01 Create Internal Order
KO03 Display Internal Order
KO14 Copy Planing for Internal Orders
KO1ECP Internal Orders: Easy Cost Planning
KO9E Plan Settlement: Internal Order
KO9G Plan Settlement: Internal Orders
KOA1 Send Internal Order
KOK2 Collective Proc. Internal Orders
KOK3 Collective Disp. Internal Orders
KOK4 Aut. Collect. Proc. Internal Orders
KOK5 Master Data List Internal Orders
KOK6 Collect. Printing of Internal Orders
KOSRLIST_OR Internal Orders: Coll. Displ. SettRu
KOT2_OPA Order types for internal orders
KOT2_OPA_STSMA Order Types for Internal Orders
KOT3_OPA Order types for internal orders
KSR1_ORC Strategies for Internal Orders
KSR2_ORC Strategy Sequences: Internal Orders
In case if it does not contain the information then you have to go in for a development of the report.
Thanks & Regards,
Kiran
Maybe you are looking for
-
Confuse about the injecting entity in EJB 3.0?
Hi all, I have an customersBean which is inherit from customersRemote and my problem is i' am little confuse about injecting the entity(customer). Where can you apply the EntityManagerFactory is it outside on EJB or Inside the EJB? means outside EJB
-
Dear All, We are facing error in MIGO Transaction,after applying PATCHES In Development Server. The Particular Include-Program which is containing Data Variables after application of Notes was resetted.That Include program is not allowin
-
Dynamic Selection Variable for CO report
Dear Expert, I have created cost center report using report painter. I wanted to setup dynamic selection variant with values Current Fiscal Year and period as current -1. With this variant I wanted to generate background job, but noticed that the rep
-
Where do I find pictures after sync
I just synced my pictures from the computer to the phone using the blackberry download software and when I opened my pictures on the phone nothing was there. Where do I find the pictures on the phone after sync?
-
What is Cisco UC Virtualization Hypervisor?
What is Cisco UC Virtualization Hypervisor for BE6000?