BOM mandatory for Subcontract PO .
Dear All ,
My client wants to make BOM mandatory for subcontract PO .Like whenever I create a Subcontract PO with item category L and BOM is not maintained for the material , the system should give error message .
We have 2 links for this .One is item category L and other is purchasing group 005 which they have maintained for subcontracting work .Please let me know how to maintain error message for this .
Regards
Abhijit Das
Hi
For Scheduling agreements, the system do not issue any error message while creation.
But when you maintain Delivery schedules in transaction ME38 , they system will ask for component and schedule lines cannot be saved without entering the components.
Gobinathan G
Similar Messages
-
Automatic PR for non-stock BOM component for Subcontract PO
Dear Guru,
Can you any master please advice me on below question?
We have a subcontract PO with the BOM component of non-stock, can i know if there is possible for those non-stock BOM component to generate a Purchase Requisition automatically, any existing configuration that we can do?
Thank you very much,
Regards
Chee WeeHi,
You can use Material Type "NLAG" for Non-stock materials.
Non stock materials cannot be stored, right, hence the name non-stock.
Non-stock material includes materials that are not managed on an inventory basis (for example, small parts such as nails) though physically in stock.
You can create a BOM which contains an NLAG item or directly use in Production order also.
item Category "N" So system will create the purchase requisition when there is requirement.
We receive the non stock material using movement type 101. upon receiving the material will be consumed.
Please refer link below for better understanding.
BOM explosion in MRP for non-stock material
What is use of Item Category N(non-stock item) in BOM creation
Believe this could help your queries. TQ
rgds,
nanthakumar -
Checking"ok "made mandatory for subcontracting po goods receipt
Dear Experts,
while making goods receipt against subcontracting PO,user mistakenly unchecked the OK the for the components.
and posting the documents.due to this consumption is not updated with 543 movement , but finished product is updated.
its leading to stock imbalances in our system,like not showing reduction in vendor stock,no updation of consumption stock please advise me.
Regards,
VarunHi Madhu,
This is for only child parts in subcontracting , Child parts will come only in Subcontracting right.
Process steps
Enter transaction code MIGO then go to standard variant in that click on standard variant enter something like zmigo
and click on create , enterr short text
It will goes to transaction skip copy settings and enter till lost next click on where you want modification this timeskip all except required screen (The screen number may be 220) select w.content and out put only enter short text and save
Then activate in standard variant and check -
BOM Explosion in PO for Subcontract.
Hello Gurus,
I have Created the BOM using CS01 for subcontract order. i could not able to explode it during my PO. I wantend to know weather there is any prerequsit to be made for the BOM Explosion in the PO..?
regards,
Mahesh.Dear Mahesh,
1.Create the BOM for the sub-contract material(header material) in T code CS01 for BOM usage 1.
2.Mention the procurement type as F and special procurement type as 30 in the material master of the header material(which you
recieve from sub-contractor) in MRP2 view.
3.Maintain the sub-contracting Purchase info record in ME11.
Check and revert
Regards
Mangalraj.S -
Is it possible to create a BOM for ROH material for Subcontracting
Dear Guru's
As per my knowledge BOM is needed only for HALB & FERT material even if for subcontracting purpose. So is it possible to create a BOM for ROH material for Subcontracting?. Pls help me to get a soln ?
Regards
RageshRagesh,
When you are subcontracting the material, the Std SAP says that the material type should be HALB and not ROH.
But if client requires for any reason that the material should be ROH only, there is no problem in chaning the settings.
Sumeet -
Error while posting GR for subcontracting process
Dear Friends,
while creating a GR for a subcontracting PO, I get the following error. please suggest what to do. i checked the configuration for the movement type and could not come up with the solution.
Fld selectn for mvmt type 543 / acct 7449990 differs for Vendor goods movement (014)
Message no. M7093
Diagnosis
Comparison of the field selection strings from movement type 543 and G/L account 7449990 has revealed that there is an incompatible field selection combination at one or more points.
Field for which the field selection is different: Vendor goods movement
Example
On the movement type screen, a given field is a mandatory-entry field, whereas on the G/L account screen, the same field is suppressed.
System Response
You cannot post this transaction, unless you have changed the field selection adequately.
Procedure
Contact your system administrator.
Action to be taken by the system administrator
Check whether any postings resulting from this movement type are to be made to the G/L account determined automatically. If you find that the G/L account is not correct, check the automatic account determination in the Customizing system for valuation.
Proceed
If the G/L account is correct, use the report RM07CUFA to compare the field selection for the movement type with the field selection for the G/L account and change the incorrect settings or the field status group of the G/L account.
ProceedThe field is mandatory in acct 7449990 and hidden in movement type 543 or vice versa. To check the field status for that movement type, you can run the program RM07CUFA
Once you execute this program and found that the field is set to mandatory, then it should be mandatory for that movement type field status also.
Alternatively, Go to txn OMJJ, click on Movement Type and execute. There double click on "Field selection (Enjoy) and see whether the movement is maintained as Required Entry or Optional Entry.
Now go to FS00, input the G/L Account 7449990 and execute. There go to tab Create/bank/interest and chech whether you have maintained any value against "Field status group" and also you have checked the box for "Post automatically only".
This should be done in consultation with FI people only if the issue is in production client.
thanks
G. Lakshmipathi -
Standard Cost Estimate for Subcontracting
Dear Sir / Madam,
We are in the process of migrating from our normal R/3 operations for Production Planning to Execution inclusive of Costing of materials by using iPPE functionality for repetitive scenario. We have our BOMs for painted body currently in R/3. The painted body falls under subcontracting scenario.
In this scenario the body in white produced from our bodyshop is sent out to the subcontractor along with certain paint items and is received as painted body and consumption of the body in white and the paint items sent needs to be shown during the goods receipt of painted body.
For this we have maintained the BOM for the painted body in iPPE. Also in the costing variant "ZD01" in order to arrive at Standard cost (CK11N) for the painted body we have maintained the following settings for Valuation variant for subcontracting :
Priority Strategy Sequence
1 Net Quotation Price
2 Effective Price from Purchase Order
While running CK11N for the material (painted body) we are receiving the following message
Message no. 28501 : Error in dependency processing: condition 0000062388 is empty
We wanted to verify whether the message raised is normal or would it have any adverse impact.
Your assistance would be highly appreciated.
Regards,
Bhavika
Edited by: Bhavika Goyal on Feb 7, 2009 12:20 PMDear All,
Control Key is important for inhouse producrtion and Sub Contract. Check it once and when ever u have given the Product (semi fisished) to Sub Contractor, along with Paint.
Here one thing is important what is your process? how much portionis involced in Sub contracting. why because
Paint issue to the sub con is captured by the way for migo or miro
Payment to sub contract is capture all the cost of the Sub Con., then is there any cost is missed for this process. Let me know the remain things?
thanqu
raj -
DEAR FRIENDS,
I am making a program for tracking the materials given (mb1b 541 movt.) for subcontracting and taken by me (101 for actual good receipt, 543 for the given material- stock type inward, 545 for the scrap returns). but while i made the program i am unable to pick up the materials BOM from the PO which is essential to take the difference between these and the supplied quantities taken-in by GR.
following is the program.
Please suggest the changes. Thanks,
Deepak
*& Report ZMM_SUBCONTRACTING_PO_REPORT
*& Author:
*& Date :
*& Reason: Sub Contracting PO Report.
*& Find Discreprancy in PO and BOM. according to 543 and 545
REPORT ZMM_SUBCONTRACTING_PO_REPORT NO STANDARD PAGE HEADING
LINE-SIZE 157.
*& TABLES DECLARATION
TABLES: EKKO,
EKPO,
EKBE,
ENT5303.
*& SELECTION-SCREEN.
SELECTION-SCREEN: BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-001.
SELECT-OPTIONS: S_MATNR FOR EKPO-MATNR,
S_WERKS FOR EKBE-WERKS OBLIGATORY.
PARAMETERS: P_BUKRS LIKE EKKO-BUKRS OBLIGATORY.
SELECT-OPTIONS: S_BUDAT FOR EKBE-BUDAT OBLIGATORY,
S_EBELN FOR EKKO-EBELN,
S_BELNR FOR EKBE-BELNR,
S_GJAHR FOR EKBE-GJAHR.
SELECTION-SCREEN: END OF BLOCK B1.
*& INTERNAL TABLES DECLARATION.
DATA: BEGIN OF IT_EKKO OCCURS 0,
EBELN LIKE EKKO-EBELN,
END OF IT_EKKO.
DATA: BEGIN OF IT_EKBE OCCURS 0,
EBELN LIKE EKBE-EBELN,
EBELP LIKE EKBE-EBELP,
GJAHR LIKE EKBE-GJAHR,
BELNR LIKE EKBE-BELNR,
BUZEI LIKE EKBE-BUZEI,
BEWTP LIKE EKBE-BEWTP,
BWART LIKE EKBE-BWART,
BUDAT LIKE EKBE-BUDAT,
MENGE LIKE EKBE-MENGE,
DMBTR LIKE EKBE-DMBTR,
LFBNR LIKE EKBE-LFBNR,
MATNR LIKE EKBE-MATNR,
WERKS LIKE EKBE-WERKS,
BUKRS LIKE WB2_V_EKKO_EKPO2-BUKRS,
MENGE_I LIKE WB2_V_EKKO_EKPO2-MENGE_I,
LIFNR LIKE WB2_V_EKKO_EKPO2-LIFNR,
COUNT TYPE P DECIMALS 4,
BMENGE LIKE EKBE-MENGE,
MENGE101 LIKE EKBE-MENGE,
MENGE543 LIKE EKBE-MENGE,
MENGE545 LIKE EKBE-MENGE,
DIFFER LIKE EKBE-MENGE,
TMENGE LIKE EKBE-MENGE,
RATE LIKE EKBE-DMBTR,
NAME1 LIKE LFA1-NAME1,
LINE_COLOR(4),
END OF IT_EKBE.
DATA: WA LIKE IT_EKBE.
DATA: BEGIN OF IT_FINAL OCCURS 0.
INCLUDE STRUCTURE IT_EKBE.
DATA: END OF IT_FINAL.
DATA: BEGIN OF IT_FINAL_TEMP OCCURS 0.
INCLUDE STRUCTURE IT_EKBE.
DATA: END OF IT_FINAL_TEMP.
DATA: BEGIN OF IT_BOM OCCURS 0.
INCLUDE STRUCTURE CAPP_ITM.
DATA: END OF IT_BOM.
DATA: BEGIN OF IT_BOM_HEAD OCCURS 0.
INCLUDE STRUCTURE CAPP_BOM.
DATA: END OF IT_BOM_HEAD.
*& DATA DECLARATION.
DATA: COUNT TYPE P DECIMALS 4,
V_CNT TYPE P DECIMALS 4 VALUE '0.0001' ,
V_MENGE LIKE EKBE-MENGE,
V_DELETE.
TYPE-POOLS: slis.
DATA: l_date(12) TYPE c,
l_date1(12) TYPE c,
l_time(10) TYPE c,
l_list(60) TYPE c.
DATA: CATALOG TYPE SLIS_FIELDCAT_ALV, "FIELDCAT
TCATALOG TYPE SLIS_T_FIELDCAT_ALV, "IT FIELDCAT
EVENT TYPE SLIS_ALV_EVENT, "EVENT
TEVENT TYPE SLIS_T_EVENT, "IT EVENT
LAYOUT TYPE SLIS_LAYOUT_ALV, "LAYOUT
PG_TOP TYPE SLIS_FORMNAME VALUE 'TOP_OF_PAGE',
PG_HEAD TYPE SLIS_T_LISTHEADER,
EXIT1 TYPE SLIS_EXIT_BY_USER,
VAR1 LIKE DISVARIANT,
VAR2 LIKE DISVARIANT.
*& START-OF-SELECTION.
START-OF-SELECTION.
PERFORM PROCESS_SELECTION.
PERFORM DELETE_CANCELLED_DOCUMENTS.
PERFORM EXPLODE_BOM_FOR_101.
SORT IT_FINAL BY COUNT.
PERFORM DISPLAY_OUTPUT.
FREE IT_FINAL_TEMP.
*& ALV FORMATTING
*& ALV DISPLAY
PERFORM GENERATE_ALV_FIELDCAT.
PERFORM EVENTS USING TEVENT.
PERFORM TEXT USING PG_HEAD.
PERFORM ALV_SHOW.
*& FORM PROCESS_SELECTION.
FORM PROCESS_SELECTION.
SELECT
A~EBELN
A~EBELP
A~GJAHR
A~BELNR
A~BUZEI
A~BEWTP
A~BWART
A~BUDAT
A~MENGE
A~DMBTR
A~LFBNR
A~MATNR
A~WERKS
B~BUKRS
B~MENGE_I
B~LIFNR
FROM
EKBE AS A
JOIN
WB2_V_EKKO_EKPO2 AS B
ON
AEBELN = BEBELN AND
AEBELP = BEBELP_I
INTO
CORRESPONDING FIELDS OF TABLE IT_EKBE
WHERE
A~MATNR IN S_MATNR AND
A~WERKS IN S_WERKS AND
A~BUDAT IN S_BUDAT AND
A~EBELN IN S_EBELN AND
A~BELNR IN S_BELNR AND
A~GJAHR IN S_GJAHR AND
A~VGABE IN ('1', '7') AND
A~BEWTP IN ('E', 'O') AND
( A~BWART IN ('101', '545', '543') OR
( ABWART = '102' AND ABEWTP = 'E' ) ) AND
B~BUKRS = P_BUKRS AND
B~BSTYP = 'F' AND
B~BSART = 'SUBC'."AND
B~LOEKZ <> 'X'.
SORT IT_EKBE BY EBELN EBELP GJAHR BELNR BUZEI.
ENDFORM.
*& FORM DELETE_CANCELLED_DOCUMENTS.
FORM DELETE_CANCELLED_DOCUMENTS.
DELETE IT_EKBE WHERE BWART = '102' AND BEWTP <> 'E'.
LOOP AT IT_EKBE WHERE BWART = '102'.
READ TABLE IT_EKBE INTO WA WITH KEY BELNR = IT_EKBE-LFBNR.
IF SY-SUBRC = 0.
DELETE IT_EKBE WHERE BELNR = WA-BELNR.
ENDIF.
ENDLOOP.
CLEAR WA.
DELETE IT_EKBE WHERE BWART = '102'.
ENDFORM.
*& FORM EXPLODE_BOM_FOR_101.
FORM EXPLODE_BOM_FOR_101.
CLEAR COUNT.
LOOP AT IT_EKBE WHERE BWART = '101' OR
BWART = '543'.
IF NOT IT_EKBE-MATNR IN S_MATNR.
V_DELETE = 'X'.
ELSE.
CLEAR V_DELETE.
ENDIF.
IF V_DELETE <> 'X'.
COUNT = COUNT + 1.
IT_EKBE-COUNT = COUNT.
V_MENGE = IT_EKBE-MENGE.
MODIFY IT_EKBE.
IT_FINAL = IT_EKBE.
APPEND IT_FINAL.
ENDIF.
call function 'CABM_READ_BOM'
exporting
I_MATNR = IT_EKBE-MATNR
I_WERKS = IT_EKBE-WERKS
I_STLAL = '01'
I_STLAN = '3'
I_DATUV = IT_EKBE-BUDAT
TABLES
EXP_BOM_DATA = IT_BOM_HEAD
EXP_ITM_DATA = IT_BOM
EXCEPTIONS
NO_RECORD_FOUND = 1
OTHERS = 2
if SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ELSE.
*START RK 18.06.2007
DELETE IT_BOM WHERE DATUV > IT_EKBE-BUDAT.
END : 18.06.2007
IF V_DELETE = 'X'.
LOOP AT IT_BOM.
DELETE IT_EKBE WHERE MATNR = IT_BOM-IDNRK.
ENDLOOP.
REFRESH IT_BOM.
ELSE.
PERFORM CHECK_BOM_GR.
ENDIF.
endif.
ENDLOOP.
FREE IT_EKBE.
ENDFORM.
*& FORM CHECK_BOM_GR.
FORM CHECK_BOM_GR.
DATA: WACNT TYPE P DECIMALS 4.
WACNT = COUNT.
LOOP AT IT_BOM.
READ TABLE IT_EKBE INTO WA WITH KEY EBELN = IT_EKBE-EBELN
MATNR = IT_BOM-IDNRK.
IF SY-SUBRC = 0.
WACNT = WACNT + V_CNT.
WA-COUNT = WACNT.
WA-BMENGE = IT_BOM-MENGE.
WA-TMENGE = V_MENGE.
APPEND WA TO IT_FINAL.
DELETE IT_EKBE WHERE EBELN = WA-EBELN AND
EBELP = WA-EBELP AND
MATNR = WA-MATNR AND
BELNR = WA-BELNR AND
BUZEI = WA-BUZEI.
**START : ADDED BY .... KUMAR ON 14.06.2007
ELSE.
WACNT = WACNT + V_CNT.
WA-COUNT = WACNT.
WA-BMENGE = IT_BOM-MENGE.
WA-MATNR = IT_BOM-IDNRK.
WA-TMENGE = V_MENGE.
APPEND WA TO IT_FINAL.
**END ADDED BY .... KUMAR ON 14.06.2007
ENDIF.
CLEAR WA.
ENDLOOP.
REFRESH IT_BOM.
ENDFORM.
*& FORM DISPLAY_OUTPUT.
FORM DISPLAY_OUTPUT.
Populate color variable with colour properties
Char 1 = C (This is a color property)
Char 2 = 3 (Color codes: 1 - 7)
Char 3 = Intensified on/off ( 1 or 0 )
Char 4 = Inverse display on/off ( 1 or 0 )
i.e. wa_ekko-line_color = 'C410'
IT_FINAL_TEMP[] = IT_FINAL[].
LOOP AT IT_FINAL.
CLEAR IT_FINAL-DMBTR.
********added by .... .... on 17.02.2007
if it_final-bmenge < 0.
IT_FINAL-DIFFER = IT_FINAL-TMENGE * IT_FINAL-BMENGE * -1.
else.
*********end by .... .... on 17.02.2007
IT_FINAL-DIFFER = IT_FINAL-TMENGE * IT_FINAL-BMENGE.
********added by .... .... on 17.02.2007
endif.
*********end by .... .... on 17.02.2007
IF IT_FINAL-BWART = '101'.
IT_FINAL-LINE_COLOR = 'C210'.
IT_FINAL-MENGE101 = IT_FINAL-MENGE.
IT_FINAL-DIFFER = 0.
LOOP AT IT_FINAL_TEMP WHERE BELNR = IT_FINAL-BELNR AND
EBELN = IT_FINAL-EBELN AND
EBELP = IT_FINAL-EBELP.
IF IT_FINAL_TEMP-BWART <> '545'.
IT_FINAL-DMBTR = IT_FINAL-DMBTR + IT_FINAL_TEMP-DMBTR.
ELSE.
IT_FINAL-DMBTR = IT_FINAL-DMBTR - IT_FINAL_TEMP-DMBTR.
ENDIF.
ENDLOOP.
IT_FINAL-RATE = IT_FINAL-DMBTR / IT_FINAL-MENGE101.
SELECT SINGLE
NAME1
INTO
IT_FINAL-NAME1
FROM
LFA1
WHERE
LIFNR = IT_FINAL-LIFNR.
IF SY-SUBRC <> 0.
CLEAR IT_FINAL-NAME1.
ENDIF.
ELSEIF IT_FINAL-BWART = '543'.
IT_FINAL-MENGE543 = IT_FINAL-MENGE.
IT_FINAL-LINE_COLOR = 'C200'.
IT_FINAL-DIFFER = IT_FINAL-DIFFER - IT_FINAL-MENGE543.
CLEAR: IT_FINAL-LIFNR,
IT_FINAL-EBELN,
IT_FINAL-BELNR,
IT_FINAL-MENGE_I,
IT_FINAL-BUDAT.
ELSEIF IT_FINAL-BWART = '545'.
******added by .... on 17.02.2007
IT_FINAL-MENGE = IT_FINAL-MENGE * -1.
IT_FINAL-MENGE = IT_FINAL-MENGE.
*******end by .... on 17.02.2007
IT_FINAL-MENGE545 = IT_FINAL-MENGE.
IT_FINAL-LINE_COLOR = 'C200'.
IT_FINAL-DIFFER = IT_FINAL-DIFFER - IT_FINAL-MENGE545.
CLEAR: IT_FINAL-LIFNR,
IT_FINAL-EBELN,
IT_FINAL-BELNR,
IT_FINAL-MENGE_I,
IT_FINAL-BUDAT.
ELSE.
IT_FINAL-LINE_COLOR = 'C200'.
CLEAR: IT_FINAL-LIFNR,
IT_FINAL-EBELN,
IT_FINAL-BELNR,
IT_FINAL-MENGE_I,
IT_FINAL-BUDAT.
ENDIF.
MODIFY IT_FINAL.
ENDLOOP.
ENDFORM.
*& Form GENERATE_ALV_FIELDCAT
text
FORM GENERATE_ALV_FIELDCAT.
DATA: POS TYPE I.
POS = POS + 1.
CLEAR: CATALOG.
CATALOG-COL_POS = POS.
CATALOG-FIELDNAME = 'COUNT'.
CATALOG-TABNAME = 'IT_FINAL'.
CATALOG-SELTEXT_L = 'S. No.'.
CATALOG-NO_ZERO = 'X'.
CATALOG-FIX_COLUMN = 'X'.
APPEND CATALOG TO TCATALOG.
POS = POS + 1.
CLEAR: CATALOG.
CATALOG-COL_POS = POS.
CATALOG-FIELDNAME = 'MATNR'.
CATALOG-TABNAME = 'IT_FINAL'.
CATALOG-SELTEXT_L = 'Mat. No.'.
CATALOG-NO_ZERO = 'X'.
CATALOG-FIX_COLUMN = 'X'.
APPEND CATALOG TO TCATALOG.
POS = POS + 1.
CLEAR: CATALOG.
CATALOG-COL_POS = POS.
CATALOG-FIELDNAME = 'BMENGE'.
CATALOG-TABNAME = 'IT_FINAL'.
CATALOG-SELTEXT_L = 'BOM Qty'.
CATALOG-NO_ZERO = 'X'.
CATALOG-FIX_COLUMN = 'X'.
APPEND CATALOG TO TCATALOG.
POS = POS + 1.
CLEAR: CATALOG.
CATALOG-COL_POS = POS.
CATALOG-FIELDNAME = 'EBELN'.
CATALOG-TABNAME = 'IT_FINAL'.
CATALOG-SELTEXT_L = 'PO No.'.
CATALOG-NO_ZERO = 'X'.
CATALOG-FIX_COLUMN = 'X'.
APPEND CATALOG TO TCATALOG.
POS = POS + 1.
CLEAR: CATALOG.
CATALOG-COL_POS = POS.
CATALOG-FIELDNAME = 'MENGE_I'.
CATALOG-TABNAME = 'IT_FINAL'.
CATALOG-SELTEXT_L = 'PO Qty'.
CATALOG-NO_ZERO = 'X'.
CATALOG-FIX_COLUMN = 'X'.
APPEND CATALOG TO TCATALOG.
POS = POS + 1.
CLEAR: CATALOG.
CATALOG-COL_POS = POS.
CATALOG-FIELDNAME = 'BELNR'.
CATALOG-TABNAME = 'IT_FINAL'.
CATALOG-SELTEXT_L = 'Gr. No.'.
CATALOG-NO_ZERO = 'X'.
CATALOG-FIX_COLUMN = 'X'.
CATALOG-HOTSPOT = 'X'.
APPEND CATALOG TO TCATALOG.
POS = POS + 1.
CLEAR: CATALOG.
CATALOG-COL_POS = POS.
CATALOG-FIELDNAME = 'BUDAT'.
CATALOG-TABNAME = 'IT_FINAL'.
CATALOG-SELTEXT_L = 'GR Date'.
CATALOG-NO_ZERO = 'X'.
CATALOG-FIX_COLUMN = 'X'.
APPEND CATALOG TO TCATALOG.
POS = POS + 1.
CLEAR: CATALOG.
CATALOG-COL_POS = POS.
CATALOG-FIELDNAME = 'MENGE101'.
CATALOG-TABNAME = 'IT_FINAL'.
CATALOG-SELTEXT_L = '101 Gr Qty'.
CATALOG-NO_ZERO = 'X'.
CATALOG-FIX_COLUMN = 'X'.
APPEND CATALOG TO TCATALOG.
POS = POS + 1.
CLEAR: CATALOG.
CATALOG-COL_POS = POS.
CATALOG-FIELDNAME = 'MENGE543'.
CATALOG-TABNAME = 'IT_FINAL'.
CATALOG-SELTEXT_L = '543 Gr Qty'.
CATALOG-NO_ZERO = 'X'.
CATALOG-FIX_COLUMN = 'X'.
APPEND CATALOG TO TCATALOG.
POS = POS + 1.
CLEAR: CATALOG.
CATALOG-COL_POS = POS.
CATALOG-FIELDNAME = 'MENGE545'.
CATALOG-TABNAME = 'IT_FINAL'.
CATALOG-SELTEXT_L = '545 Gr Qty'.
CATALOG-NO_ZERO = 'X'.
CATALOG-FIX_COLUMN = 'X'.
APPEND CATALOG TO TCATALOG.
POS = POS + 1.
CLEAR: CATALOG.
CATALOG-COL_POS = POS.
CATALOG-FIELDNAME = 'DIFFER'.
CATALOG-TABNAME = 'IT_FINAL'.
CATALOG-SELTEXT_L = 'Difference'.
CATALOG-NO_ZERO = ' '.
CATALOG-FIX_COLUMN = 'X'.
APPEND CATALOG TO TCATALOG.
POS = POS + 1.
CLEAR: CATALOG.
CATALOG-COL_POS = POS.
CATALOG-FIELDNAME = 'LIFNR'.
CATALOG-TABNAME = 'IT_FINAL'.
CATALOG-SELTEXT_L = 'Vendor'.
CATALOG-NO_ZERO = 'X'.
CATALOG-FIX_COLUMN = 'X'.
APPEND CATALOG TO TCATALOG.
POS = POS + 1.
CLEAR: CATALOG.
CATALOG-COL_POS = POS.
CATALOG-FIELDNAME = 'NAME1'.
CATALOG-TABNAME = 'IT_FINAL'.
CATALOG-SELTEXT_L = 'Vendor Name'.
CATALOG-NO_ZERO = 'X'.
CATALOG-FIX_COLUMN = 'X'.
APPEND CATALOG TO TCATALOG.
POS = POS + 1.
CLEAR: CATALOG.
CATALOG-COL_POS = POS.
CATALOG-FIELDNAME = 'RATE'.
CATALOG-TABNAME = 'IT_FINAL'.
CATALOG-SELTEXT_L = 'Rate'.
CATALOG-NO_ZERO = 'X'.
CATALOG-FIX_COLUMN = 'X'.
APPEND CATALOG TO TCATALOG.
POS = POS + 1.
CLEAR: CATALOG.
CATALOG-COL_POS = POS.
CATALOG-FIELDNAME = 'DMBTR'.
CATALOG-TABNAME = 'IT_FINAL'.
CATALOG-SELTEXT_L = 'Value'.
CATALOG-NO_ZERO = 'X'.
CATALOG-FIX_COLUMN = 'X'.
APPEND CATALOG TO TCATALOG.
ENDFORM.
*& Form ALV_SHOW
text
FORM ALV_SHOW.
LAYOUT-COLWIDTH_OPTIMIZE = 'X'.
LAYOUT-BOX_TABNAME = 'IT_FINAL'.
LAYOUT-INFO_FIELDNAME = 'LINE_COLOR'.
LAYOUT-ZEBRA = 'X'.
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
I_CALLBACK_PROGRAM = SY-REPID
I_CALLBACK_USER_COMMAND = 'USER_COMMAND'
IS_LAYOUT = LAYOUT
IT_FIELDCAT = TCATALOG
IS_VARIANT = VAR1
I_SAVE = 'A'
IT_EVENTS = TEVENT[]
TABLES
T_OUTTAB = IT_FINAL.
ENDFORM . "ALV_SHOW
*& FORM USER_COMMAND.
FORM USER_COMMAND USING
R_UCOMM LIKE SY-UCOMM
SELFIELD TYPE SLIS_SELFIELD.
DATA: TABIX LIKE SY-TABIX,
WA LIKE IT_FINAL.
TABIX = SELFIELD-TABINDEX.
READ TABLE IT_FINAL INTO WA INDEX TABIX.
IF NOT WA-BELNR IS INITIAL.
set parameter id : 'MBN' FIELD WA-BELNR.
CALL TRANSACTION 'MB03' AND SKIP FIRST SCREEN .
ENDIF.
ENDFORM.Hi,
U can try this standard report for subcontracting:
J1IFR (Transaction name),
Not sure how much this will be useful to u.
regards,
Viji -
Hi Gurus,
I have a Requirement for calculating the cost for Subcontracting Non stock items N as it is getting calculated in standard functionality for subcontracting items of Type L.
This will be done in CK11n ( used to calculate the standard cost estimate of the product) for header as well as component materials.
please suggest the user exit or Badi where i can change.
Please refer the below logic-
BOM for the material 2000500 as Header and 1LPL0835298AB as a component and this component has an assembly with 7008508 as a component and this component is an Sub contracted item and this has an assembly with component 1LBA182151-3.
Price calculation for the material 7008508 (Item Category as N). Since this is sub contracted item the price will picked from field EINE-NETPR.
In EINA, pass the material (MATNR=7008508) to fetch the list of info records (INFNR) created for that material.
Then it has to input those info records to EINE table along with Purchasing organization (EINE-EKORG=PT02).
From the output of EINE table, it should compare the price (EINE-NETPR) of the PIR and should take the least price from those PIR`s.
If the currency is other than PLN, then it should be converted to PLN based on conversion charges.
For Material (MATNR=1LBA182151-3), it should pass the material number to table MBEW along with valuation area (BWKEY = WERKS).
From the output, it should check the Price control (VPRSV) ‘V’ or ‘S’
If ‘V’ the price will be picked from the field “VERPR”
If ‘S’ the price will be picked from the field “STPRS”
Also from the output, it should check the Price unit (PEINH) ‘1’ or other than ‘1’. If it is other than ‘1’ it should divide the VERPR or STPRS by PEINH. Then this is the price of the Material “1LBA182151-3”.
The material (MATNR=1LBA182151-3) should be passed to table “MARA” and will take the Base unit of measure from that table “MEINS”.
Br,
SuryaHi Surya,
Please put breakpoints in any of the below BADI's and check if any of them will trigger for your
requirement:
VALUATION_CK BAdI for Valuation in Product Costing
CK_KALAMATCON2_CI BAdI for CI Fields for Table KALAMATCON2
COSTINGRUN_CK Edit Costing Run
COST_APPORTION_CK Maint Apportionment Structure Joint Production: Dist Rules
CO_PROD_COSTING_CK Cost Management for Joint Products (Costing, Target Costs)
DATA_EXTENSION_CK For Data Enrichment in Product Costing
DYNPRO_EXTENSION_CK BAdI for Interface Enhancement in Costing
ORDER_COSTING_CK Enables Header Data Changes in Preliminary Order Costing
QUANTITY_STRUCT_CK Enables Quantity/Structure Changes in Costing
SUR_STOCK_TRANSF_CK Overhead on Materials with Stock Transfer Between Plants
Thanks
Sri -
Runtime error in MIGO for subcontracting order
Hi All
We have an issue in subcontracting process. We are trying to complete goods receipt for the multiple line items for subcontracting PO.
These multiple line item contains serialized materials. When we are trying to complete the GR, We are getting runtime error saying u201COnly 0 serial numbers entered instead of 1u201D
Any pointers in resolving this issue will be a great help to us.Mohandevegowda wrote:
Hi All
>
> We have an issue in subcontracting process. We are trying to complete goods receipt for the multiple line items for subcontracting PO.
>
> These multiple line item contains serialized materials. When we are trying to complete the GR, We are getting runtime error saying u201COnly 0 serial numbers entered instead of 1u201D
>
> Any pointers in resolving this issue will be a great help to us.
Hi,
Pls check whether you have maintained the serial no for the material in mm01 tcode. When it comes to subcontracting process you will create a BOM by listing all your materials but when you take GR from subcontractor after some action is performed on that list of materials then definitely you have to manually give the serial no in MIGO or check automatic serial no there.you might have not placed anything over there.
Thanks -
MIGO Error for subcontracting scenario through PO
Hello All,
We have PR PO process where PR is created for subcontracting and then PO with BOM explode in PO for same material for in and out.
User is getting error while posting MIGO for Subcontracting GR though PO.
Though 541 stock has been transferred to vendor
and though PR PO process we are doing subcontractor PO and MIGO 543 movement
getting error with blank message in migo
Message no. M7895
Due to this not able to complete MIGO and stock transfer to plant from vendor
Please check the attached file for error
Thanks and regards
Hard VoraI think it is still possible to place the cursor on the message and to click the icon with the question mark, this should then hopefully bring a pop-up with the message number.
from there you can investigate further. e.g. if it is a Z or Y message, then it is a home made message, and you can get the info who created it from transaction SE91.
In any case you should do the following in Migo:
Open the sub-items before you press Save or before you click the Check button. Only then you can know whether the message belongs to the header or to the item. -
BOM EXPLOSION IN SUBCONTRACTING SCENERIO
Hi,
To all Experts,
This is regarding the bom explosion in subcontracting P.O(scenerio).Scenerio prob. is explained as follows -
1) I have an assembly which includes the semifinish & raw materials.
2) By cs11 it explpodes whole BOm
3) When i made P.O. for job work order(subcon.), in mateial data view it displys only the semifinish components(i.e. component or explode bom) ,but not the raw,which we want to send to vendor.
so due to above,how we can determine, what the material we are sending to vendor?
In short i want to explode the bom in po,in which it displys the semifinish as well as its raw.
So please suggest a propper solution for above query.
Hoping suggestion quickly
Thanks in advance
ManishHello Manish,
Could you please tell me how you have resolved this problem. I have the similar requirement.
"want to explode the bom in subcontracting po,in which it displys the semifinish as well as its raw."
we are exploring the PHANTOM ASSEMBLY but still no luck.
When i set at BOM item level - Phantom Assembly off indictor and Spec. Procurement 50
system is still requesting for transfer of Phantom Assembly instead of components to the vendor.
Thanks in advance -
How to desable ok check for subcontracting child parts in MIGO
Dear SAP Experts,
my client is having one issue regarding disable OK check for subcontracting child parts in MIGO transaction ,In MIGO subcomponenets are attached to main component , my client is asking for disable that OK check box user shouldnot remove that check box tick mark when system showing message deficiate of subcomponents at subcontractor because some times users removing that check box tick mark and proceeding further, with that they are not able to reconcile the sub challans.
Plz let me know how disable OK check for child parts in MIGOchandu
while making the po we are explode the BOM and we defined the parant and child mateirlas in bom.
system will show the same in migo . i think there is no standard configration to block the option.
Regards
laxman -
ECM Change no Mandatory for CS02
Dear all,
To make the ECM change no mandatory for CS01 and CS02 i have followed the below settings.
1.In OS27 - Check box included for BOM validity maintained,EC Management active,History Requirement.
2.In OS25 - BOM usage 1 & BOM status 1 - History Requirement check box is included.
3.Authorization object C_STUE_NOH is with No.
After making these changes and saving and assigning the same to that user id,logout and login.
It is working properly for CS01 but for CS02 even waring message it is not giving, directly it is allowing to chage the BOM without change no.
Can any one suggest what may be the issue or any other settings i am missing?
Thanks in advance,
GaneshDear all,
I noticed one issue if the BOM is alraedy created without the change number, when i try to change that BOM it is not throwing error message as Change no. mandatory.
For that same BOM if i assign with one change no and make the necessary change and saved.
After this change it is not allowing me to change the BOM without change no.
My question is all materials BOM are already created in the system, so the user try to change the BOM in CS02 as first time without the change no it allows.
How can we restrict the user to change the BOM with change no only?
I hope my question is clear.
Thanks in advance,
Ganesh -
Bom explosion RFQ subcontracting
HI,
We have requirement of the customer to explode the BOM and have a component Screen in RFQ for subcontracting
According to SAP this is not possible ( there is a SAP OSS note )
Did anyone had this same requirement? And how did you solve this
Thanks
Regards
BorisNo I had not this problem, but I would just enter it as text.
I am not sure if printing of the Bom on a purchasing document is a good approach, since a BoM is usually treated as intellectual property (at least in chemical industry) and must not be seen by anybody. A supplier selection is as well not just made by a written RFQ, somebody does a business trip, visits the manufacturing facility, discusses the capabilities based on the process instructions, which are much more detailed than a pure BoM. If you later have a couple approved vendors, then you may send RFQs, but then you dont need anymore a BoM as it is already known by the vendor.
Maybe you are looking for
-
I am having trouble with photo attachments in mail
When i attach photos from Lightroom into my mail messages, they are embedded and do not appear as attachments. When others receive the email, the pictures are embedded and can only be copied but cannot be used or edited like a normal attachment. Wh
-
DVD on mid-2012 MacBook Pro?
I've got a mid 2012 MacBook Pro, non-retina, and when I put a DVD in my computer, it says that the DVD is incompatible. Is there something easy I can do to fix this myself or do I have to take it in? Also, if you know how this might have happened, th
-
FF13 Reader Plugin Puts ashx File on Desktop
10.1.3.23 Acrobat Firefox 13 Plugin: At a Regions Bank site I want to Clk the PDF Icon and have the Statement Open As it has Done recently. Today it Dnloads an .ashx File on the desktop and I have to Clk That to see the Checking Statement. Not ideal,
-
No Document Libraries available GW8
I think i must be missing something very basic. I created GW Library object in Console One; it is associated with the only PO we have; but when a client tries to link via tools/options/documents; we get the error "no document libraries available". Al
-
Item to delete in trash went in the negatives...
So I put about 40,000 files in the trash and clicked empty trash. It was acting as normal and deleting the files. Then when it hit zero and should have closed the window, it started going negative! It is -100,000 items to delete at the time of wri