HR Workcenter
Hi Experts,
I am maintaing HR workcenter using HRMS button in IE02 transaction. Now I want to know which tables are updated with this data. How can I read HR workcenters from DB tables.
Please let me know the required tables and the path to access them.
Points are sure.
Thanks,
Sushant
Points are sure.
Dont violate forum rules with such statements
Use table CRHD.
Similar Messages
-
Hi ,
We have setup service desk and want all the users to work on workcenters,created two test users
1.processor
2.enduser
Scenario: when a new msg is crated, the message is processed by processor and when he needs additinal info, he set sthe status in customer action, which triggers a mail to reported by(enduser)
Now,the end user will update the message and add an attachment, which is possible with std workcenters(SAP_SMWORK_BASIC,SAP_SMWORK_INCIDENT_MAN)
but enduser should also be able to see the edit button, because he need to set the message back in process and should not not see action buttion in workcenter(want to restrict him from performing actions)
any helpful inputs would be appreciatedHi,
as I correctly understand your issue, you want to restrict the access to the particular action and you already acheived the status restriction.
>Yes i want to restrict the actions for enduser in workcenter(not one actio,n want to disable the action button for him , it
shud not appear when he click on edit) and status restriction i achived by creating authorization key
In this case, we followed te otherway round in my system, Like change the action definition "Schedule Automatically", this never show the action in tool box.
> i dont want "schedule automatically", becas it will not appear in action tool box for all users(but i need actions to appear for processor user ex: send to SAP shud)
since the enduser couldnt set the status as "In process", so te action for the inprocess status never triggered for them.
> did not understand what you mean here
It will trigger when the processor set the status.
> did not understand what u meant here
also i have another clarification, how can we manage the edit, expert mode...etc buttons and TABS like overview , attachments...etc. so that i can create workcener views for differnt types of users -
In bom explosion afterthat i ll get routing ,workcenter.plnnr ,plnty = n
Hi Experts
my requirement is to explode the bom like cs12 tcode in pp
after that we ll find which component is having routing ,then we pick the
workcenter if the material procurement type is E OR X.
HERE I AM USING MARC,MAPL,PLPO,CRHD.
1.USING CS_BOM_EXPL_MAT_V2 TO EXPLODE THE BOM
MARC IF BESKZ = E OR
===> BESKZ = X ==> MAPL
MATNR MATNR
WERKS PLNTY
BESKZ PLNNR
PLPO
PLNTY
PLNNR
VORNR
ARBID--CRHD
LTXA1 OBJID
VGE01 ARPBL
VGW01
VGW02
WERKS
HERE WE USED TO GET BESKZ = X OR E
AFTER THAT COMAPARE MARC-MATNR = MATNR & ISTPO-IDNRK
MAPL AND PLPO HERE WE USED TO RELATE BETWEEN PLNNR
PLNTY = 'N'
109013030 IS THE HEADER MATERIAL HAVE THE FOLLOWING BOM
.1 610001440
..2 L021000260
.1 912500076
HERE .1 - LEVEL 1,..2 LEVEL 2.
USING CA03 TO GIVE THE MATERIAL WE GOT THE OPERATIONS AND WORKCENTER
IN TABLE MAPL , GIVE THE MATNR AND PLANT ,PLNNR
AFTER THAT I RELATE THE PLNNR TO PLPO
FETCH ALL THE RELEVANT FIELDS FIVE OPERATIONS CAME
BUT IN CA03 THE SAMEMATEIALS GIVE ONLY 3 OPERATIONS ONLY CAME
how can i sove this issue.
very urgent
thanks in advance
Regards
dsHI
MARC ,MAPL only having the plnnr,plnty
not having vornr,stues
plpo is having all the fields
how can i pass plnnr with vornr,stues,vornr to plpo
Regards
ds -
For report with material and workcenter
my client reqd a report for the materials plan order and production generate for the period with respective week in specific workcenter.
Hence for the plan order order and production order i am useing PLAF and AFPO but i am expecting a excelent tips to get a workcenter wise report .As for the materials defined with production version i am getting by production line but for non production version material how do i fetch.
Input will be plant and workcenter on the basis of that generated count of plan orders and count of production orders need to appear.
expecting a help from SAP PP gurus.............Hi,
Before developing customized report please check with std. report COOIS.
First give input as List = order Header , profile, select Production order check box alone & workcenter/plant/date & excute .
Then try with planned order check Box ,
This will give sepearte list for Both production & plant order.
u can use change layout option to design report output as u need
Please check & come back
Regards
pradeep -
How to get all production orders for a workcenter
Hello ...
I have a requirement to create a report of all production orders for a given workcenter. The user enters the workcenter (CRHD-ARBPL), plant (CRHD-WERKS) and a date range, and wants to see a list of orders (AUFNR) that fall within that date range along with some other data from AFKO and AFPO.
I can't figure out a good, consistent way to get from workcenter to production orders.
Any ideas?
Thanks!
SharonHi there check this program for relation between SO PO and Production order
REPORT z_so_info.
TABLES: vbak, vbap, afko, afpo.
*Field catalog
TYPE-POOLS: slis.
DATA: lv_repid TYPE sy-repid VALUE sy-repid,
xfield TYPE slis_t_fieldcat_alv,
afield TYPE slis_fieldcat_alv.
SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-001.
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT 1(25) text-002.
SELECT-OPTIONS: so_so FOR vbak-vbeln OBLIGATORY.
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN END OF BLOCK b1.
SELECTION-SCREEN BEGIN OF BLOCK b2 WITH FRAME TITLE text-003.
PARAMETERS:
p_kunnr LIKE vbak-kunnr, " sold-to
p_kunwe LIKE vbak-kunnr. " ship-to
SELECTION-SCREEN END OF BLOCK b2.
*Constants
CONSTANTS: c_zor TYPE vbak-auart VALUE 'ZOR',
c_we TYPE vbpa-parvw VALUE 'WE',
c_ag TYPE vbpa-parvw VALUE 'AG'.
* c_space TYPE space.
*Ranges
RANGES: ra_parvw FOR vbpa-parvw,
ra_kunnr FOR vbpa-kunnr.
*Tables
DATA: BEGIN OF gt_output OCCURS 0,
vbeln LIKE vbak-vbeln, " sales order number
posnr LIKE vbap-posnr, " SO item number
matnr LIKE vbap-matnr, " material number
sh LIKE vbpa-kunnr, " Ship-to
sp LIKE vbpa-kunnr, " Sold-to
lifnr LIKE ekko-lifnr, " Vendor
bstnk LIKE vbak-bstnk, " PO number
banfn LIKE vbep-banfn, " Purchase requi
po_st TYPE char30, " PO status text
pstyv TYPE vbap-pstyv, " Item catagory
aufnr LIKE afpo-aufnr, " Production Order
prd_stat TYPE string, " Prd order status
END OF gt_output.
DATA: wa_output LIKE gt_output.
FIELD-SYMBOLS: <fs_output> LIKE gt_output.
*Table for sales order and PO
TYPES : BEGIN OF gs_data,
vbeln TYPE vbak-vbeln,
posnr TYPE vbap-posnr,
pstyv TYPE vbap-pstyv,
matnr TYPE vbap-matnr,
END OF gs_data.
DATA: gt_data TYPE STANDARD TABLE OF gs_data,
wa_data TYPE gs_data.
*Table for Production Orders
TYPES: BEGIN OF gs_prd,
aufnr TYPE afpo-aufnr,
posnr TYPE afpo-posnr,
kdauf TYPE afpo-kdauf,
kdpos TYPE afpo-kdpos,
wepos TYPE afpo-wepos, "Goods Receipt Indicator
elikz TYPE afpo-elikz, "Delivery Completed Indicator
objnr TYPE aufk-objnr, "Object number
* getri TYPE afko-getri, "Confirmed Order Finish Date
* gltri TYPE afko-gltri, "Actual finish date
END OF gs_prd.
DATA: gt_prd TYPE STANDARD TABLE OF gs_prd,
wa_prd TYPE gs_prd.
*Table for partner data
TYPES: BEGIN OF gs_partner,
vbeln TYPE vbak-vbeln,
posnr TYPE vbap-posnr,
parvw TYPE vbpa-parvw,
kunnr TYPE vbpa-kunnr,
END OF gs_partner.
DATA: gt_partner TYPE STANDARD TABLE OF gs_partner,
wa_partner TYPE gs_partner.
TYPES: BEGIN OF gs_po,
ebeln TYPE ekkn-ebeln,
ebelp TYPE ekkn-ebelp,
vbeln TYPE ekkn-vbeln,
vbelp TYPE ekkn-vbelp,
END OF gs_po.
DATA: gt_po TYPE STANDARD TABLE OF gs_po,
wa_po TYPE gs_po.
TYPES: BEGIN OF gs_preq,
vbeln TYPE vbep-vbeln,
posnr TYPE vbep-posnr,
banfn TYPE vbep-banfn,
END OF gs_preq.
DATA: gt_preq TYPE STANDARD TABLE OF gs_preq,
wa_preq TYPE gs_preq.
TYPES: BEGIN OF gs_po_stat,
ebeln TYPE ekko-ebeln,
procstat TYPE ekko-procstat,
lifnr TYPE ekko-lifnr,
END OF gs_po_stat.
DATA: gt_po_stat TYPE STANDARD TABLE OF gs_po_stat,
wa_po_stat TYPE gs_po_stat.
*Field symbols
FIELD-SYMBOLS: <fs> TYPE tj02t-txt04,
<fs_temp> TYPE tj02t-txt04,
<fs_stat> TYPE char30.
START-OF-SELECTION.
PERFORM fr_build_range.
PERFORM fr_get_data.
PERFORM fr_build_fc.
PERFORM fr_output.
*& Form fr_get_data
* text
* --> p1 text
* <-- p2 text
FORM fr_get_data.
*Get SO
SELECT a~vbeln a~posnr a~pstyv a~matnr
FROM vbap AS a
JOIN vbak AS b
ON a~vbeln = b~vbeln
JOIN vbpa AS c
ON b~vbeln = c~vbeln
INTO TABLE gt_data
WHERE b~vbeln IN so_so
AND b~auart EQ c_zor "Only Sales Orders
AND c~kunnr IN ra_kunnr. "from selection screen
DELETE ADJACENT DUPLICATES FROM gt_data COMPARING vbeln posnr.
*get data of the production order
IF NOT gt_data[] IS INITIAL.
SELECT a~aufnr a~posnr a~kdauf a~kdpos a~wepos a~elikz
b~objnr
FROM afpo AS a
JOIN aufk AS b
ON a~aufnr = b~aufnr
INTO TABLE gt_prd
FOR ALL ENTRIES IN gt_data
WHERE a~kdauf EQ gt_data-vbeln
AND a~kdpos EQ gt_data-posnr.
ENDIF.
*Get partner data
IF NOT gt_data[] IS INITIAL.
SELECT vbeln posnr parvw kunnr
FROM vbpa
INTO TABLE gt_partner
FOR ALL ENTRIES IN gt_data
WHERE vbeln EQ gt_data-vbeln.
ENDIF.
*Get Purchase Order
IF NOT gt_data[] IS INITIAL.
SELECT ebeln ebelp vbeln vbelp
FROM ekkn
INTO TABLE gt_po
FOR ALL ENTRIES IN gt_data
WHERE vbeln EQ gt_data-vbeln
AND vbelp EQ gt_data-posnr.
SELECT vbeln posnr banfn
FROM vbep
INTO TABLE gt_preq
FOR ALL ENTRIES IN gt_data
WHERE vbeln EQ gt_data-vbeln
AND posnr EQ gt_data-posnr.
ENDIF.
IF NOT gt_po[] IS INITIAL.
SELECT a~ebeln a~procstat a~lifnr
FROM ekko AS a
JOIN ekpo AS b
ON a~ebeln = b~ebeln
INTO TABLE gt_po_stat
FOR ALL ENTRIES IN gt_po
WHERE b~ebeln EQ gt_po-ebeln
AND b~ebelp EQ gt_po-ebelp.
ENDIF.
*Move data to output table
LOOP AT gt_data INTO wa_data.
wa_output-vbeln = wa_data-vbeln.
wa_output-posnr = wa_data-posnr.
wa_output-pstyv = wa_data-pstyv.
wa_output-matnr = wa_data-matnr.
READ TABLE gt_po INTO wa_po WITH KEY vbeln = wa_data-vbeln
vbelp = wa_data-posnr.
IF sy-subrc EQ 0.
wa_output-bstnk = wa_po-ebeln.
READ TABLE gt_po_stat INTO wa_po_stat WITH KEY ebeln = wa_po-ebeln.
IF sy-subrc EQ 0.
wa_output-lifnr = wa_po_stat-lifnr.
CASE wa_po_stat-procstat.
WHEN '01'.
wa_output-po_st = 'Version in process'.
WHEN '02'.
wa_output-po_st = 'Active'.
WHEN '03'.
wa_output-po_st = 'In release'.
WHEN '04'.
wa_output-po_st = 'Partially released'.
WHEN '05'.
wa_output-po_st = 'Released Completely'.
WHEN '08'.
wa_output-po_st = 'Rejected'.
ENDCASE.
ENDIF. "inner read subrc
ENDIF. "outer read subrc
READ TABLE gt_preq INTO wa_preq WITH KEY vbeln = wa_data-vbeln
posnr = wa_data-posnr.
IF sy-subrc EQ 0.
wa_output-banfn = wa_preq-banfn.
ENDIF.
READ TABLE gt_prd INTO wa_prd WITH KEY kdauf = wa_data-vbeln
kdpos = wa_data-posnr.
IF sy-subrc EQ 0.
wa_output-aufnr = wa_prd-aufnr.
*get the purchase requisition for production order as well
SELECT SINGLE banfn
FROM ebkn
INTO wa_output-banfn
WHERE aufnr EQ wa_prd-aufnr.
*Get the status of the production order
PERFORM fr_get_prd_stat USING wa_prd-objnr
CHANGING wa_output-prd_stat.
ENDIF. " sy-subrc
READ TABLE gt_partner INTO wa_partner WITH KEY vbeln = wa_data-vbeln
parvw = c_we.
IF sy-subrc EQ 0.
wa_output-sh = wa_partner-kunnr.
ENDIF.
READ TABLE gt_partner INTO wa_partner WITH KEY vbeln = wa_data-vbeln
parvw = c_ag.
IF sy-subrc EQ 0.
wa_output-sp = wa_partner-kunnr.
ENDIF.
APPEND wa_output TO gt_output.
CLEAR: wa_data, wa_prd,wa_partner,wa_output.
ENDLOOP.
ENDFORM. " fr_get_data
*& Form fr_build_range
* text
* --> p1 text
* <-- p2 text
FORM fr_build_range .
*Range for partner function
MOVE 'I' TO ra_parvw-sign.
MOVE 'EQ' TO ra_parvw-option.
MOVE 'SH' TO ra_parvw-low. " we
APPEND ra_parvw.
CLEAR ra_parvw.
MOVE 'I' TO ra_parvw-sign.
MOVE 'EQ' TO ra_parvw-option.
MOVE 'SP' TO ra_parvw-low. " ag
APPEND ra_parvw.
CLEAR ra_parvw.
*Range for ship-to and sold-to
MOVE 'I' TO ra_kunnr-sign.
MOVE 'EQ' TO ra_kunnr-option.
MOVE p_kunnr TO ra_kunnr-low.
APPEND ra_kunnr.
CLEAR ra_kunnr.
MOVE 'I' TO ra_kunnr-sign.
MOVE 'EQ' TO ra_kunnr-option.
MOVE p_kunwe TO ra_kunnr-low.
APPEND ra_kunnr.
CLEAR ra_kunnr.
ENDFORM. " fr_build_range
*& Form fr_build_fc
* text
* --> p1 text
* <-- p2 text
FORM fr_build_fc .
* sales order number
afield-fieldname = 'VBELN'.
afield-seltext_s = 'Sales #'.
afield-ref_tabname = 'VBAK'.
APPEND afield TO xfield. CLEAR afield.
* sales ITEM number
afield-fieldname = 'POSNR'.
afield-seltext_s = 'Item #'.
afield-ref_tabname = 'VBAP'.
APPEND afield TO xfield. CLEAR afield.
* Material Number
afield-fieldname = 'MATNR'.
afield-seltext_s = 'Material #'.
afield-ref_tabname = 'VBAP'.
afield-outputlen = 10.
APPEND afield TO xfield. CLEAR afield.
*Vendor Number
afield-fieldname = 'LIFNR'.
afield-seltext_s = 'Vendor Num.'.
afield-ref_tabname = 'EKKO'.
APPEND afield TO xfield. CLEAR afield.
* ship-to-party
afield-fieldname = 'SH'.
afield-seltext_s = 'Ship-to'.
afield-ref_tabname = 'VBPA'.
APPEND afield TO xfield. CLEAR afield.
* sold-to-party
afield-fieldname = 'SP'.
afield-seltext_s = 'Sold-to'.
afield-ref_tabname = 'VBPA'.
APPEND afield TO xfield. CLEAR afield.
*PO number
afield-fieldname = 'BSTNK'.
afield-seltext_s = 'PO NUM'.
afield-ref_tabname = 'EKKO'.
APPEND afield TO xfield. CLEAR afield.
*PO status
* afield-fieldname = 'PO_STAT'.
* afield-seltext_s = 'Step'.
* afield-ref_tabname = 'zbacklog_v2'.
* APPEND afield TO xfield. CLEAR afield.
*PO step status
afield-fieldname = 'PO_ST'.
afield-seltext_s = 'PO.Status'.
afield-ref_tabname = 'zbacklog_v2'.
APPEND afield TO xfield. CLEAR afield.
*Purchase requisition
afield-fieldname = 'BANFN'.
afield-seltext_s = 'Pur. Req.'.
afield-ref_tabname = 'VBEP'.
APPEND afield TO xfield. CLEAR afield.
*Item catagory
afield-fieldname = 'PSTYV'.
afield-seltext_s = 'Itm. Catg'.
afield-ref_tabname = 'VBAP'.
APPEND afield TO xfield. CLEAR afield.
*Prodcution Order number
afield-fieldname = 'AUFNR'.
afield-seltext_m = 'Prod.Order'.
afield-ref_tabname = 'AFKO'.
APPEND afield TO xfield. CLEAR afield.
*PRODCUTION status
afield-fieldname = 'PRD_STAT'.
afield-seltext_s = 'Prd. Step'.
afield-ref_tabname = 'zbacklog_v2'.
afield-outputlen = 20.
APPEND afield TO xfield. CLEAR afield.
*PRODUCTION step status
* afield-fieldname = 'PRD_ST'.
* afield-seltext_s = 'Prd. Status'.
* afield-ref_tabname = 'zbacklog_v2'.
* APPEND afield TO xfield. CLEAR afield.
ENDFORM. " fr_build_fc
*& Form fr_output
* text
* --> p1 text
* <-- p2 text
FORM fr_output .
CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
EXPORTING
i_callback_program = sy-repid
* I_CALLBACK_PF_STATUS_SET = ' '
* I_CALLBACK_USER_COMMAND = ' '
* I_STRUCTURE_NAME =
* IS_LAYOUT =
it_fieldcat = xfield[]
i_default = 'X'
i_save = 'A'
TABLES
t_outtab = gt_output
EXCEPTIONS
program_error = 1
OTHERS = 2.
ENDFORM. " fr_output
*& Form fr_get_prd_stat
* text
* -->P_WA_PRD_OBJNR text
FORM fr_get_prd_stat USING p_objnr CHANGING p_prd_stat.
DATA: lt_status TYPE STANDARD TABLE OF jstat,
wa_status TYPE jstat,
lv_status TYPE tj02t-txt04,
lv_temp2 TYPE char5,
lv_buff TYPE string.
CALL FUNCTION 'STATUS_READ'
EXPORTING
client = sy-mandt
objnr = p_objnr
only_active = 'X'
TABLES
status = lt_status
EXCEPTIONS
object_not_found = 1
OTHERS = 2.
LOOP AT lt_status INTO wa_status.
IF wa_status-stat(1) EQ 'I'.
SELECT txt04 FROM tj02t
INTO lv_status
WHERE istat EQ wa_status-stat
AND spras EQ 'E'.
ENDSELECT.
lv_temp2 = lv_status.
CONCATENATE lv_temp2 p_prd_stat INTO p_prd_stat
SEPARATED BY ','.
ENDIF.
CLEAR: wa_status, lv_status, lv_temp2.
ENDLOOP.
lv_buff = p_prd_stat.
*Status of Production Order
IF lv_buff CS 'CRTD'.
p_prd_stat = 'Not Active'.
ENDIF.
IF lv_buff CS 'REL'.
IF lv_buff CS 'GMPS'.
p_prd_stat = 'Printed In Prod'.
ELSE.
p_prd_stat = 'Printed'.
ENDIF.
ENDIF.
IF lv_buff CS 'TECO'.
p_prd_stat = 'Technically Compt.'.
ENDIF.
ENDFORM. " fr_get_prd_stat -
Inspection plan selection based on production workcenter for Inspection typ
Dear QM Guru's,
I have requirement of automatic inspection lot creation based on production work center.
For example :- I have Inspection Plan A, Plan B and Plan C for Material XYZ. My requirement is that, when inspection lot created for material XYZ ,when we release production order (Early lot creation) , it should create inspection lot based on production work centers in the order. In this case, if production workcenter A is in the prodiction order, system automatically assigned inspection plan A, when workcenter B,it should choose inspection plan B and same for C workcenter.
Can we have this set up in the system?
Let me know if u need any other details.
Thanks in advance.The workcenters in QM and PP don't have to be the same. In the user exit your going to code in the logic you want to use to select the inspection plan.
I suggested creating the workcenters the same and the code can use that info to match up the correct task list group to assign the inspection lot. But if that doesn't work pick something else.
Your code can use any logic you want. You can put a description in the short text if you want.
You can just have an understanding that task list group 10 is always used for production work center XYZ and task list group 20 is always used for production work center ABC and task list group 30 is always used for production work center 123. In the user exit you check which production line and just change the group to 10, 20 or 30 then.
I don't care what you pick or how you do it, neither does the function module. I believe the function module will pass in the parameters of the task list it is planning to assign. You then have the ability to use the code to pick a different one and pass back new parameters for the task list.
Craig -
How to change workcenter in my routing while creating producton order?
we have 4 workcenters in routing.
PP guy configured the system in such a way that when production order is created, it will by default assign 1st workcenter in the routing as work center.
I need to write prg to change the work center in the routing for that production order accroding to the free capacity on workcenter.
I know which workcenter i need to assign to the production order in my routing.
i am using enhancement ppco0007 for assigning workcenter to the produciton order automatically according to the free capacity.
Can any one please suggest me if i am wrong in selecting the enhancement or ehat r the fields that i need to change to assign diffferent workcenter to the production order...
thank you very much in advance...
Any hint is very much appreciated..
Points will be given for sure...Hello Lavanya,
You have to use the enhancement "EXIT_SAPLCOBT_001" for updating the Work center in Production order. You need to query to the table CRHD with the field value ARBID to get the work center number . This field is existing in the enhancemnet that you had mentioned before. Try that enhancement as well. That also may work.
Let me know how it goes.
Thanks,
Greetson -
Is there a workaround for a print driver to run on Lion for an old Xerox Workcenter M15i
I have an older Xerox Workcenter M15i. I am trying to use this printer using a new macbook pro running lion. The Xerox web site does not offer a print driver. Does anyone know of a workaround?
Hey GHILL81 - did you ever get a real answer to this? (thanks for nothing, Kappy, you a$$)
I just upgraded to OSX 10.7.4 and my xerox m15i acts squirrelly someties. I am pretty sure a new driver would help. -
Attachments in preview area in workcenter incidents management
Greetings to all!
At workcenter Incident management in the preview for service mesage for a part of users the list of attachments list to the message is not displayed. For some users attachments list displayed in preview.
I cannot find the reason of such behaviour of system. Prompt please from what visibility of the list of applications in the field of preview depends? It is regulated by what parametres?
What conditions should be observed to show attachments list in preview?Hi,
I came across your problem while looking for a solution of mine.
It's very similar to yours, however, the preview of my single page pdfs are totally blank.
Again, if I click on the blank image and press the space bar to invoke quick look, the image displays just fine.
I have tried different things, like resetting mail, resetting preview and even re-installing the OS (not a clean install), but none of them worked.
I had similar issues before and realized that this seems to happen when installing alternative pdf viewer. But this is just a stab in the dark.
Any help is really appreciated. -
Bomexplosion,workcenter with routing
Purpose
The purpose of this report is to show the summary of Routing details of a Finished component from Raw material via Semi-finished component in a single report.
Concept of BOM for finished components are defined in terms of semi finished goods. Hence, routing of a Finished component from raw materials can not be seen directly in system through standard report.
But users need to have the details of a routing of a Finished component from raw material in one report. To provide the details in single report, development is required.
<b>INPUT IS</b>
MATERIAL
PLANT
I tried this following method
1. <b>USING CS_BOM_EXPL_MAT_V2</b>
TO explode the bom with header materials- ISTPO-IDNRK
2. after I am using <b>MARC</b> table with the following fields
MATNR,WERKS,BESKZ---- HERE I CLASIFED THE MATERIAL procurement type
E OR X OR F.
3. IF BESKZ = E OR X --- CHECK <b>MAPL</b> with the following fields
MATNR,WERKS ,PLNTY,PLNNR. PLNTY = N
4. After that I am using the table PLPO with the following fields
PLNTY,PLNNR,VORNR,ARBID,LTXA1,VGE01,VGW01,VGW02,WERKS
5. After I am using the table<b> CRHD</b> with the following fields
OBJID,ARBPL
6. IF MARC BESKZ = F.
7. Using the following table with the fields <b>EORD</b>-MATNR,LIFNR,FLIFN = X
8. After using the <b>EINA</b> with the following fields MATNR,LIFNR,INFNR.
9. After using <b>EINE</b> with the following fields INFNR,APLFZ.
REQUIRED OUTPUT IS
1.material
2.materials description
3.workcenter
4.vendor
5.operation description
6.uom
7.qty
8.setuptime
9.processingtime
10.delivery time
PROBLEM
On executing the program, the out put contains some extra operations which is not there in the CA03 output of the component.
Please help us in solving this issue.
very urgent
Regards
dsThis is your 5th post about your abap program !
You never closed the other.
In a previous I advice you to check against the validity date of routing, I also suggest you to use FM CARO_ROUTING_READ.
Erwan -
After getting the bom ,find routing,workcenter,how to get component routing
hi experts.
the requirement is find the find the routing details of the given materials.
input is
material using select-options.
plant
out put
1.operator
2.material
3.material description
4.workcenter
5.vendor
6.operation description
7.uom
8.qty
9.uom
10.setuptime
11.processingtime
12.deliverytime
example.
materials t4595959----this materials bom is give below
3939393----
procurement type is f
3393939 -
procurement type is e
3939393------- procurement type is x
i explanied what i tried.
tables : marc,mapl,plpo,crhd,eord,eina,eine.
1. using cs_com_expl_mat_v2 to get the bom explosion
2. after got the materials with bom
<b>MARC </b> <b>MAPL</b> MATNR MATNR
WERKS 1 WERKS
BESKZ =======> E OR x PLNTY
PLNNR
2 3
<b>MAPL</b> =====> <b> PLPO</b> =====> CRHD
PLNTY OBJID
PLNNR ARBPL
VORNR
ARBID
LTXA1
VGE01
VGW01
VGW02
<b> 1 2 3
MARC</b> ==> <b>EORD</b> => <b>EINA</b> => EINE
BESKZ == 'F' MATNR MATNR INFNR
LIFNR LIFNR APLFZ
FLIFN = 'X' INFNR
followed this method to explode the bom and got the operation.
but its only fetch the header materials operation ,not component operaion
h we get the opeations of the component
thanks in advance
Regards
dshI,
Yes i checked the debugging mode ,its only fecthed the header materials
but not component materials,
i here give the query for ur review ,pl give me a solution
START-OF-SELECTION.
CLEAR ISTPO. REFRESH ISTPO.
LOOP AT ITAB.
CALL FUNCTION 'CS_BOM_EXPL_MAT_V2'
EXPORTING
CAPID = 'PP01'
MEHRS = 'X'
MMAPS = ' '
MDMPS = ' '
BREMS = 'X'
DISMM = ' '
LIFNR = ' '
WEBAZ = ' '
DATUV = SY-DATUM
MTNRV = ITAB-MATNR
WERKS = P_WERKS
EMENG = '1'
STKKZ = ' '
FBSTP = ' '
FTREL = ' '
IMPORTING
TOPMAT = W_TOPMAT
DSTST = DSTST
TABLES
STB = ISTPO
MATCAT = MATCAT
EXCEPTIONS
ALT_NOT_FOUND = 1
CALL_INVALID = 2
MATERIAL_NOT_FOUND = 3
MISSING_AUTHORIZATION = 4
NO_BOM_FOUND = 5
NO_PLANT_DATA = 6
NO_SUITABLE_BOM_FOUND = 7
OTHERS = 8.
WRITE: / W_TOPMAT-MATNR UNDER TEXT-H00 COLOR COL_HEADING,
W_TOPMAT-MAKTX UNDER TEXT-H01 COLOR COL_HEADING.
SELECT MATNR WERKS OBJID BESKZ FROM MARC INTO CORRESPONDING FIELDS OF TABLE IT_ITAB_IDEL
WHERE MATNR = ITAB-MATNR AND BESKZ = 'X' OR BESKZ = 'E' OR BESKZ = 'F'.
SELECT MATNR WERKS PLNTY PLNNR LIFNR FROM MAPL INTO CORRESPONDING FIELDS OF TABLE IT_MAPL_IDEL
WHERE MATNR = ITAB-MATNR AND
WERKS = 'IN01' .
SELECT PLNTY PLNNR ZAEHL VORNR ARBID OBJTY LTXA1 VGE01 VGW01 VGW02 PLIFZ FROM PLPO INTO CORRESPONDING FIELDS OF TABLE IT_PLPO_IDEL
FOR ALL ENTRIES IN IT_MAPL_IDEL
WHERE PLNTY = IT_MAPL_IDEL-PLNTY AND
PLNNR = IT_MAPL_IDEL-PLNNR AND
WERKS = 'IN01' AND ARBID <> 0.
SELECT OBJTY OBJID ARBPL FROM CRHD INTO CORRESPONDING FIELDS OF TABLE IT_CRHD_IDEL
FOR ALL ENTRIES IN IT_PLPO_IDEL
WHERE OBJID = IT_PLPO_IDEL-ARBID.
LOOP AT ISTPO.
IT_FINAL_IDEL-POSNR = ISTPO-POSNR.
IT_FINAL_IDEL-IDNRK = ISTPO-IDNRK.
IT_FINAL_IDEL-OJTXP = ISTPO-OJTXP.
IT_FINAL_IDEL-MENGE = ISTPO-MENGE.
IT_FINAL_IDEL-MEINS = ISTPO-MEINS.
LOOP AT IT_PLPO_IDEL.
IT_FINAL_IDEL-VORNR = IT_PLPO_IDEL-VORNR.
IT_FINAL_IDEL-ARBID = IT_PLPO_IDEL-ARBID.
IT_FINAL_IDEL-OBJTY = IT_PLPO_IDEL-OBJTY.
IT_FINAL_IDEL-LTXA1 = IT_PLPO_IDEL-LTXA1.
IT_FINAL_IDEL-VGE01 = IT_PLPO_IDEL-VGE01.
IT_FINAL_IDEL-VGW01 = IT_PLPO_IDEL-VGW01.
IT_FINAL_IDEL-VGW02 = IT_PLPO_IDEL-VGW02.
READ TABLE IT_CRHD_IDEL WITH KEY OBJID = IT_PLPO_IDEL-ARBID.
IT_FINAL_IDEL-ARBPL = IT_CRHD_IDEL-ARBPL.
APPEND IT_FINAL_IDEL.
CLEAR : IT_FINAL_IDEL,IT_PLPO_IDEL,IT_CRHD_IDEL,ISTPO.
ENDLOOP.
ENDLOOP. -
How to fetch the components operation and workcenter. pp report
Hi experts,
this report is for pp module ,routing details,in our program
only give the ouput of the header materials operation and workcenter
but not get into components.
before we clariy if the materilas is e or x -
check the plpo operation and crhd workcter
or else
if the material is f -
get the vendor details---- i ll not using this onle
before we need to adopt it only e or x only
TABLES : MAST,MARC,CRHD,PLPO.
TYPES : BEGIN OF IT_FINAL,
POSNR LIKE STPOX-POSNR,
IDNRK LIKE STPOX-IDNRK,
OJTXP LIKE STPOX-OJTXP,
MENGE LIKE STPOX-MENGE,
MEINS LIKE STPOX-MEINS,
VORNR LIKE PLPO-VORNR,
ARBID LIKE PLPO-ARBID,
OBJTY LIKE PLPO-OBJTY,
LTXA1 LIKE PLPO-LTXA1,
VGE01 LIKE PLPO-VGE01,
VGW01 LIKE PLPO-VGW01,
VGW02 LIKE PLPO-VGW02,
ARBPL LIKE CRHD-ARBPL,
LIFNR LIKE EINA-LIFNR,
INFNR LIKE EINA-INFNR,
END OF IT_FINAL.
DATA : BEGIN OF CRHD_IDEL OCCURS 1000,
OBJID LIKE CRHD-OBJID,
ARBPL LIKE CRHD-ARBPL,
END OF CRHD_IDEL.
DATA: BEGIN OF ISTPO OCCURS 1000.
INCLUDE STRUCTURE STPOX.
DATA: END OF ISTPO.
DATA: BEGIN OF MATCAT OCCURS 1000.
INCLUDE STRUCTURE CSCMAT.
DATA: END OF MATCAT.
DATA : BEGIN OF ITAB OCCURS 0,
MATNR LIKE MAST-MATNR,
WERKS LIKE MAST-WERKS,
END OF ITAB.
SELECT-OPTIONS : P_MATNR FOR MAST-MATNR.
PARAMETERS : P_WERKS TYPE MAST-WERKS.
DATA : IT_FINAL_IDEL TYPE STANDARD TABLE OF IT_FINAL
WITH HEADER LINE INITIAL SIZE 100 WITH DEFAULT KEY.
DATA : IT_CRHD_IDEL LIKE CRHD OCCURS 100 WITH HEADER LINE.
DATA: IT_STB LIKE ISTPO OCCURS 0 WITH HEADER LINE.
DATA : IT_MAPL_IDEL LIKE MAPL OCCURS 100 WITH HEADER LINE.
DATA :IT_ITAB_IDEL LIKE MARC OCCURS 100 WITH HEADER LINE.
DATA : IT_PLPO_IDEL LIKE PLPO OCCURS 100 WITH HEADER LINE.
SELECT MATNR WERKS FROM MAST INTO TABLE ITAB
WHERE MATNR IN P_MATNR AND WERKS = P_WERKS.
START-OF-SELECTION.
CLEAR ISTPO. REFRESH ISTPO.
LOOP AT ITAB.
CALL FUNCTION 'CS_BOM_EXPL_MAT_V2'
EXPORTING
CAPID = 'PP01'
MEHRS = 'X'
MMAPS = ' '
MDMPS = ' '
BREMS = 'X'
DISMM = ' '
LIFNR = ' '
WEBAZ = ' '
DATUV = SY-DATUM
MTNRV = ITAB-MATNR
WERKS = P_WERKS
EMENG = '1'
STKKZ = ' '
FBSTP = ' '
FTREL = ' '
IMPORTING
TOPMAT = W_TOPMAT
DSTST = DSTST
TABLES
STB = ISTPO
MATCAT = MATCAT
EXCEPTIONS
ALT_NOT_FOUND = 1
CALL_INVALID = 2
MATERIAL_NOT_FOUND = 3
MISSING_AUTHORIZATION = 4
NO_BOM_FOUND = 5
NO_PLANT_DATA = 6
NO_SUITABLE_BOM_FOUND = 7
OTHERS = 8.
WRITE: / W_TOPMAT-MATNR UNDER TEXT-H00 COLOR COL_HEADING,
W_TOPMAT-MAKTX UNDER TEXT-H01 COLOR COL_HEADING.
SELECT MATNR WERKS OBJID BESKZ FROM MARC INTO CORRESPONDING FIELDS OF TABLE IT_ITAB_IDEL
WHERE MATNR = ITAB-MATNR AND BESKZ = 'X' OR BESKZ = 'E' OR BESKZ = 'F'.
SELECT MATNR WERKS PLNTY PLNNR LIFNR FROM MAPL INTO CORRESPONDING FIELDS OF TABLE IT_MAPL_IDEL
WHERE MATNR = ITAB-MATNR AND
WERKS = 'IN01' .
SELECT PLNTY PLNNR VORNR ARBID OBJTY LTXA1 VGE01 VGW01 VGW02 PLIFZ FROM PLPO INTO CORRESPONDING FIELDS OF TABLE IT_PLPO_IDEL
FOR ALL ENTRIES IN IT_MAPL_IDEL
WHERE PLNTY = IT_MAPL_IDEL-PLNTY AND
PLNNR = IT_MAPL_IDEL-PLNNR AND
WERKS = 'IN01' AND ARBID <> 0.
LOOP AT ISTPO.
IT_FINAL_IDEL-POSNR = ISTPO-POSNR.
IT_FINAL_IDEL-IDNRK = ISTPO-IDNRK.
IT_FINAL_IDEL-OJTXP = ISTPO-OJTXP.
IT_FINAL_IDEL-MENGE = ISTPO-MENGE.
IT_FINAL_IDEL-MEINS = ISTPO-MEINS.
LOOP AT IT_PLPO_IDEL.
IT_FINAL_IDEL-VORNR = IT_PLPO_IDEL-VORNR.
IT_FINAL_IDEL-ARBID = IT_PLPO_IDEL-ARBID.
IT_FINAL_IDEL-OBJTY = IT_PLPO_IDEL-OBJTY.
IT_FINAL_IDEL-LTXA1 = IT_PLPO_IDEL-LTXA1.
IT_FINAL_IDEL-VGE01 = IT_PLPO_IDEL-VGE01.
IT_FINAL_IDEL-VGW01 = IT_PLPO_IDEL-VGW01.
IT_FINAL_IDEL-VGW02 = IT_PLPO_IDEL-VGW02.
ENDLOOP.
READ TABLE IT_CRHD_IDEL WITH KEY OBJID = IT_PLPO_IDEL-ARBID.
IT_FINAL_IDEL-ARBPL = IT_CRHD_IDEL-ARBPL.
APPEND IT_FINAL_IDEL.
CLEAR : IT_FINAL_IDEL,IT_PLPO_IDEL,IT_CRHD_IDEL,ISTPO.
ENDLOOP.
WRITE :/6 W_TOPMAT-MATNR, 25 W_TOPMAT-MAKTX.
LOOP AT IT_FINAL_IDEL.
WRITE :/ IT_FINAL_IDEL-POSNR,
IT_FINAL_IDEL-IDNRK,
IT_FINAL_IDEL-OJTXP,
IT_FINAL_IDEL-MENGE,
IT_FINAL_IDEL-MEINS,
IT_FINAL_IDEL-VORNR,
IT_FINAL_IDEL-ARBID,
IT_FINAL_IDEL-OBJTY,
IT_FINAL_IDEL-LTXA1,
IT_FINAL_IDEL-VGE01,
IT_FINAL_IDEL-VGW01,
IT_FINAL_IDEL-VGW02,
IT_FINAL_IDEL-ARBPL.
ENDLOOP.
REFRESH IT_FINAL_IDEL.
SKIP.
ENDLOOP.
regards
dsu have the plant and component from STPOX....using this goto MARC table and check BESKZ field...
-
IT performance report in workcenter logon getting failed
Hi All,
When i click on the IT performance report in workcenter log in getting failed
Steps:
Solman_workcenter tx -System monitoring ->System status -selected the system
When I click on IT performance report I am not able to login I am getting this below error when i give the username and password of SOlman system
SAP Web Application Server [SID]
username
password
Problem:
Logon failed
What has happened?
Call of URL http://<hostname>.wilns1002.accenturewilm.com:8000/sap/bw/BEx terminated due to error in logon data.
Note
Logon performed in system SID.
Logon performed for client ?sa, user sm_admin, and language EN.
What can I do?
Check that you have entered the client, user, and password correctly.
If you do not yet have a user ID, contact your system administrator.
Error Code: ICF-LE-http-c:?sa-l:E-T:231-C:3-U:54-P:4-L:4
HTTP 401 - Unauthorized
Your SAP Internet Communication Framework Team
Regards,
Nenihi,
this was already discussed,
workarround suggested this was due to single sign on.
chk the forum
[URL http://server:8000/SAP/BW/BEX is not accessible|URL http://server:8000/SAP/BW/BEX is not accessible]
[/message/5063236#5063236 [original link is broken]|/message/5063236#5063236 [original link is broken]]
Jansi -
Workcenter group link to call URL in new browser
Hi,
using the transaction launcher i configured a workcenter group link to call an URL in a new browser window.
This works.
The requirement is now that in the CRM L-shape the opened workcenter should stay.
At the moment to workcenter is gone at the moment i click this external URL link for the new browser window and i have to navigate back.
Any ideas on this?
Thanks a lot.
Kind regards
ManfredHi,
thank you - i know the stateful flag and used it.
But i want the current CRM workcenterpage to stay and not to change.
Thank you
Kind regards
Manfred -
"Reports" field in Incident Management workcenter
Hello All,
I have a silly question. Ther eis a Reports Tab in Incident management workcenter.
In overview tab, I can see there are 10 msg in confirmed status and 3 in proposed sol,etc..
But when I open the Reports Tab, I can see under" Messages for processing " it shows graph only for Confirmed.
Any idea about this ? Any Solution ?
Regards,
Shyam.Hi Shyam,
yes you are right I did not get your question clearly. Now it is better.
I tried it on my own. First I was not the processor of any message, just my team processed some messages. Result:
In the overview tab I saw all the messages my team is processing and my created messages. In the reports tab I see no message for processing on the left and my created messages on the right.
Afterwards I took one message in processing. Result:
In the overview tab I saw all the messages my team is processing, one message I have to process myself (displayed in a separate column) and my created messages. In the reports tab I now see exactly this one message for processing on the left and my created messages on the right.
So as my conclusion, in the reports tab you must see all the messages you process yourself, but not by your team. Try it on your own, if you have the same outcome.
BR André -
Report on Workcenter performance, capacity and requirement
Hi All,
Could any one tell me how to build a report on workcenter performance and workcenter requirement and Capacity.
Is there any standard cube available for this? I already checked 0PP_C03 and 0PP_C13. I'm not sure whether these will suffice or not?
To calculate that I need to know how to calculate -
Forecast work,
Dispatched work,
Undispatched work,
Backlog Recovery,
Short fall/Excess,
Internal Resource and
External ResourcePerformance(Overdue/Scheduled),
% of Activities which r in progress & with in schedule time and
% of Activities which r in progress & for which time is confirmed ( with respect to System status)
Does anyone already worked on this? Or could you please suggest me how to calculate the above.
This is an urgent requirement.Your help will be highly appreciated.
Thanks in advance,
ishaHi Sirisha,
I did work in PP functinal area sometime ago.
We had this kind of requirement,but achieved this through custom development.
Rightnow, the businesscontent is the good step to understand.
I suggest you to approach this as follows:
Take some PP orders, display some of them ..look at the the dates on the order..see if there are confirmations against orders and so on. look at operations and work centers..scrap percentage..so on
then go to RSA3 in R/3 side and give the PP extractor name, look at the key figure values and PP orders, thats how we can link what is in bus.content and our requirement.
If you have any questions, you may ask.
Anil
Maybe you are looking for
-
Advice on creating a central store
Hi, just after a bit of guidance. I want to make Office 2013 templates available to all administrators using GPMC. I have read about creating a central store for administrative templates. However some of the guides I have found say: " Every policy th
-
Hi everybody I want to create some text box on my form dependent on selected option from my combobox . what should i do ?
-
Hello! A have noticed some bad performance on database, Enterprise manager says the next query is top query. SELECT ID , MIME_TYPE , BLOB_CONTENT, FILENAME , FILE_CHARSET, FILE_TYPE , F
-
I have no need to encrypt first backup on macbook pro. Is it possible to stop in progress
Is OK to stop encryption in progress? I don't have any need, here at home, to encrypt & it's taking forever. Any response it appreciated.
-
BPS: Rescheduling lead to invalid values
Dear Experts: I've created an exit function that fills a variable that calculates the year (0fiscyear) according to a date in a Z table. The function works well. The problem is when I use it in a couple of layouts. The first layout shows annual value