FI Report against to Production order
Dear all,
Is thr any report FI reports againest to Production order?
Thanks in advance
Regards
raj.
Hi
Also refer KKBC_ORD , KKBC_ HOE
Regards
Dev
Similar Messages
-
Report to delet production orders
Hi guys,
help needed!
Does anybody of you know a report to delete production orders completely?
Such on as the RMMMDE00, which deletes all material of the current client.
Hoping for an answer,
BarbaraHi,
I guess the below link will help you to some extent....
http://www.sap-img.com/production/how-to-delete-old-production-orders.htm -
How to use BAPI_GOODSMVT_CREATE against the Production Order
Hi Friends,
I need ur help very urgently,
I am using the BAPI_GOODSMVT_CREATE (movement code '03') for goods return against the production order (movement type '262').
everything working fine, ie it gets updated in IM/WM.
but when we check in the CO03 transaction for the production order, the qty withdrwan not gets updated in the component overview. still showing the old value. But when we used regular SAP transaction MB1A, it gets updated in CO03 (qty withdrwan in the component overview).
How to solve this issue using this BAPI.
I have attached the code, plese help me is there any other parameter to set for this BAPI.
Thanks in advance.
Shankar
Code:
*Header Structure
st_gm_code-gm_code = '03'. "
st_gm_header-pstng_date = st_gm_header-doc_date = sy-datum.
SORT itab BY aufnr matnr j_3asized.
LOOP AT itab.
itab_afs_gm_itemx-material = itab-matnr.
itab_afs_gm_itemx-plant = itab-werks.
itab_afs_gm_itemx-stge_loc = itab-lgort.
itab_afs_gm_itemx-batch = itab-new_charg .
itab_afs_gm_itemx-stock_cat = itab-j_4kscat.
itab_afs_gm_itemx-stck_type = 'F'.
itab_afs_gm_itemx-move_type = '262'.
itab_afs_gm_itemx-entry_qnt = itab-j_3aerfmg .
itab_afs_gm_itemx-grid_value = itab-j_3asized.
itab_afs_gm_itemx-orderid = itab-aufnr.
itab_afs_gm_itemx-move_reas = itab-move_reas.
APPEND itab_afs_gm_itemx .
SELECT SINGLE etenr
INTO etenr
FROM j_3abdsi WHERE aufnr = itab-aufnr
AND matnr = itab-matnr.
gr_afs-matdoc_itm = '0100'.
gr_afs-sched_line_sku = etenr.
gr_afs-stock_cat = itab-j_4kscat.
gr_afs-grid_value = itab-j_3asized.
APPEND gr_afs.
ENDLOOP.
CALL FUNCTION 'BAPI_GOODSMVT_CREATE'
EXPORTING
goodsmvt_header = st_gm_header
goodsmvt_code = st_gm_code
IMPORTING
goodsmvt_headret = st_gm_headret
materialdocument = mat_doc
matdocumentyear = doc_year
TABLES
goodsmvt_item = itab_afs_gm_itemx
return = bapi_return
afs_goodsmvt_sku = gr_afs.
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'Hi Friends,
I need ur help very urgently,
I am using the BAPI_GOODSMVT_CREATE (movement code '03') for goods return against the production order (movement type '262').
everything working fine, ie it gets updated in IM/WM.
but when we check in the CO03 transaction for the production order, the qty withdrwan not gets updated in the component overview. still showing the old value. But when we used regular SAP transaction MB1A, it gets updated in CO03 (qty withdrwan in the component overview).
How to solve this issue using this BAPI.
I have attached the code, plese help me is there any other parameter to set for this BAPI.
Thanks in advance.
Shankar
Code:
*Header Structure
st_gm_code-gm_code = '03'. "
st_gm_header-pstng_date = st_gm_header-doc_date = sy-datum.
SORT itab BY aufnr matnr j_3asized.
LOOP AT itab.
itab_afs_gm_itemx-material = itab-matnr.
itab_afs_gm_itemx-plant = itab-werks.
itab_afs_gm_itemx-stge_loc = itab-lgort.
itab_afs_gm_itemx-batch = itab-new_charg .
itab_afs_gm_itemx-stock_cat = itab-j_4kscat.
itab_afs_gm_itemx-stck_type = 'F'.
itab_afs_gm_itemx-move_type = '262'.
itab_afs_gm_itemx-entry_qnt = itab-j_3aerfmg .
itab_afs_gm_itemx-grid_value = itab-j_3asized.
itab_afs_gm_itemx-orderid = itab-aufnr.
itab_afs_gm_itemx-move_reas = itab-move_reas.
APPEND itab_afs_gm_itemx .
SELECT SINGLE etenr
INTO etenr
FROM j_3abdsi WHERE aufnr = itab-aufnr
AND matnr = itab-matnr.
gr_afs-matdoc_itm = '0100'.
gr_afs-sched_line_sku = etenr.
gr_afs-stock_cat = itab-j_4kscat.
gr_afs-grid_value = itab-j_3asized.
APPEND gr_afs.
ENDLOOP.
CALL FUNCTION 'BAPI_GOODSMVT_CREATE'
EXPORTING
goodsmvt_header = st_gm_header
goodsmvt_code = st_gm_code
IMPORTING
goodsmvt_headret = st_gm_headret
materialdocument = mat_doc
matdocumentyear = doc_year
TABLES
goodsmvt_item = itab_afs_gm_itemx
return = bapi_return
afs_goodsmvt_sku = gr_afs.
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT' -
Report for Settled production orders
Hi All,
Is there a report I can use to show that these production orders are settled and these production orders need settlement. any clue on this. and when I ran the settlement does it chnages the production order status to reflect that it is settled ?
Thanks
MKRHi MKR,
Please go to COOIS,
Give the plant and give the status of the order that u want to ge the list.
then execute.
System will give you all the production Orders which are having the particular status.
Hope this will answer your query
Best Regards
Surya -
CN41N and S_ALR_87013533 report not showing Production order planned cost
Hi Experts,
I am having issue to get total planned production order values in my CN41N or S_ALR_87013533 cost report. I am facing 2 issues :
1. CN41N repoet does not show individual material cost planned in BOM.
2. CN41N report and S_ALR87013533 report does not show total value but only picking fixed value.
Example :
1. CN41N report :
Above screenshot shows no values in Project plan cost & Order cost column but it shows total cost as a lumpsum on top for project. I need to know how can i get material cost populated here for Project Valuated stock material?
2. S_ALR_87013533
This report shows Total Cost of BOM as 1 line under Material Procurement activity similar to CN41N report. Also Order value is picking from Fixed cost from planned order and total cost is added on top. How can i get Total cost picked from production order?
Is there any Setting in PS config which allow me to pick the detail production order plan cost in both report under planned cost.
Thanks in advance.
AshishHi Ashish,
I doubt whether Item level reporting in S_ALR... (hierarchy report) is possible or not because I haven't seen item level cost in them only the lump-sum cost because they are summarized at cost object level itself. Navigation path are there which we use to go into details of cost.
Please check the following links:
https://scn.sap.com/thread/1743833
(In the above thread,focus on Mr. Mohamed Rafi comment.)
http://scn.sap.com/thread/3530080
http://scn.sap.com/thread/1311820
Order cost plan in report CN41N
Display of plan cost., CN41N | ABAP, SAP, benX AG, benXBrain,&…
Just an additional pointer ,have a look on your costing variant and variation variant settings for material section.
Regards
Saurabh -
Report to view Production order wise atcual cost when PO is assigned to PCC
Hi All,
Can anyone help me to get the report for production order wise actual cost incurred when that Production order is assigned to PCC (Product cost collector).
Is it possible through Summarization hierarchy or Product drilldown?
If yes, can u explain the steps.
Regards,
Durga.Hi Bhaskar
You are in Alaska and you wanna eat vegetarian food
You cant get values at Prod order level if you have chosen PCC as cost object.... You will only get Qty at Prod order level
To get a bird's eye view of costs incurred in PCC, execute report MCRY with PCC as the input... MCRX shows only Qty info for components
br, Ajay M -
XL Reporter - Prompting for Production Order Number - How to?
I have watched the FlashBook's for creating reprots, and following the directions. When I go to create a new Paramater, the Document Number is not an available Dimension.
Can anyone point me in the right direction in setting up an XL Reporter report that prompts for Production Order number / Document ID? How do you create prompts for record ID's?
Thanks.
Mike
Edited by: Mike White on Jun 16, 2008 11:11 PMThank you for the help. This gets me closer then I was before.
To test, I am list listing the Production Order Document Number and the Due Date. Looking to list only the Production Order and Due Date from a prompted Production Order.
I tried both Cell Expansion and Row Expansion using the parameter you suggested. Cell Expansion returns all documents, but with a document number of 0. Row expansion gives me an error.
I have captured all the screen shots and posted them to the web. If you wouldnt mind taking a quick look. I am sure something I am doing is off, but feel I am close with your help.
http://www.level8systems.com/xlerror.jpg
Thank you.
Mike -
A question about report completion in production order
Hi,
Rightnow, i am trying to develop some application about production order and play with the production order in SAP. I found a issue which I don't understand. Let's say I have a production order with some components issued for the BOM and these components are managered by serial number. Natually, when I issue components into this production order SAP asks me to select serial number. But when I report completion for some products, SAP doesn't ask me to select component's serial number. Also when I try to return left components from production order to warehouse, SAP ask me to select the component's serial but the serial # list is the complete list which doesn't make sense. Because I have already report some products completed, how comes it ask me to select serial # from all of them? So seems that SAP doesn't manager the serial number properly in production oder, something wrong either I miss some steps in SAP or SAP missing something to manager the serial # for production order.
Any idea?
Thanks,
Lan
Edited by: ZHANGLAN on Jan 13, 2012 8:56 PMHi Gordon,
Thanks for your reply. If so, I think we have to use add-on with UDF or UDO to find a solution.
BTW, I will ask another question in a new thread.
Thanks,
Lan -
How to call a Smartform in Report to print Production Order
Hi all,
Can any one tell me how to develop a smartforms when the user selects the print button in ALV report.
i.e, The requirement is when the user presses the print button in ALV report, at that time it has call the smartform and it has to print the Report.
Can any one shed some light on this.
Regards
YathishHi Yathish
do it this way.
in the ALV function call
give in
exporting
I_CALLBACK_USER_COMMAND = 'user_command '
write a subroutine
FORM user_command USING whatcomm TYPE sy-ucomm whatrow TYPE
slis_selfield.
case whatcomm.
when 'print'.
call 2 function modules here
CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
EXPORTING FORMNAME = P_FORM "Your form name
variant = ' '
direct_call = ' '
IMPORTING FM_NAME = FM_NAME
EXCEPTIONS NO_FORM = 1
NO_FUNCTION_MODULE = 2
OTHERS = 3.
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
EXIT.
ENDIF.
calling the generated function module
CALL FUNCTION FM_NAME
EXPORTING
ARCHIVE_INDEX =
ARCHIVE_INDEX_TAB =
ARCHIVE_PARAMETERS =
CONTROL_PARAMETERS = CPARAM
OUTPUT_OPTIONS = OUTOP
USER_SETTINGS = SPACE
MAIL_APPL_OBJ =
MAIL_RECIPIENT =
MAIL_SENDER =
IMPORTING
JOB_OUTPUT_INFO = TAB_OTF_DATA
DOCUMENT_OUTPUT_INFO =
JOB_OUTPUT_OPTIONS =
EXCEPTIONS
FORMATTING_ERROR = 1
INTERNAL_ERROR = 2
SEND_ERROR = 3
USER_CANCELED = 4
OTHERS = 5
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
endcase.
endform.
This is an example in the function gereated call give you own importing and exporting parameters.
Kindly reward points if helpful.
Regards
Zarina -
Report on Cumulating Consumptions of Production Orders
Dear Experts
We have around 300 products and all products are having BOM. BOM main components are more or less similar in all production orders / BOM and only difference is quantities. we normally make each product production orders on daily basis based on capacity planning
Now at the end month i want to know for a particular product (say i made production orders 20 in a month with different quantities GI) how much quantity of BOM quantity consumed.
Is there anyway i can get this report
Thanks in advance
VedsaidutDear
The most user friendly report for your requirement will be COOIS/COHV
COOIS --Select Documents Goods Movement-Select Standrad Profile -Provide Order Type and Plant Code -Excute -it will pop up with all the material list consumed against the Production Order .If you select the PO and hit decending button on the top , it will give you date wise order list with their consumption .You can play around with other fields as required from Change Lay out options on the top header ( coulrful cheker box) and drag the field to dddisplay column .
Beside that you have other reqports like
MCP5 - Material
MCRE - Material Consumption
CO20 - Orders by Numbers
CO21 - Orders by Material
Hope this helps
regards
JH -
Posting goods against production order
Hello everyone,
I have an issue in PP.
Now against a production order I have posted some fixed amount of material to the Production order as per BOM. Now there are 2 issues:
1. If I have not consumed all the material against the production order, I want to post material back against the prodution order. This means actual material consumed is lesser than BOM quantity. How can I do this? Is there any report which can also help me on this?
2. If I need excess material against the same production order, System should allow me to post excess material to the same production order.how do i map the same?
I dont think under delivery and over delivery tolerances help in this case.
Any help in this would be highly appreciated.
Sincerely,
Aji
Edited by: Aji Kurian Mani on Jun 17, 2009 3:25 PMDear Mani,
1. To return material drawn for order go to MB1A> mov type 262, SLoc and reason 0003, then click on new item push button--> here enter all details and save. This works good for selected items of the BOM
2. If you are returning all items of the BOM instead of clicking on new item click to order push button....> give all data and click adopt details...> here change the qty you are rversing and save.
3. If you want to issue excess material to order in MB1A with mov type 261 click on new item and issue.
all these details you can see in order display/change mode for the perticular order with the code CO02/CO03 and COR2/COR3 and click on components, here u can see each component with drawn with respect to that order also you can use COOIS for prod order and COOISPI for process order
sree -
Report to check open reservations for production orders where GI not posted
Hi experts,
Can we get reservation details from any report/ table for production order where material has not been issued, report should also display the value of the reserved material.
I could not find desired details in RESB (it has price but not value) and MB25.
Thanks in advance, useful ansers will be rewarded.
Thnx
AnandHello Anand,
there is no report but you may use the production order info system with list "components" and create a layout contaning the issued quantity and/or the final issue indicator. With a correct sorting, the list should show all orders with non-issued components at the top.
Regards, Andreas -
Creation of production order report
Dear,
Gurus !!!!!
I am working on production order report.
Could you give me some idea how to create a production order ,stock overview report and
work center reports.
How I see it .
Regards,
NitinDear Nitin,
use std report availble
1. production order COOIS
2. Stock overview MMBE, RWBE, MB5B, MB52
3. For work center use CR05/06/07/08/10/15/60/80
sree -
No Planning file entry when materials received against production order
Hi,
Planning file entry is not getting created when I receive material from a Purchase order where account assignment category is 'F' - Order. In other words, the material is received against a Production Order.
We run MRP automatically through MD01 and it will not run for the material as there are no planning file entries.
MRP List MD06 shows the purchase requisition and the production order even though the production order requirement has been met.
Please help me out with this issue. I really appreciate the help the community members have given me earlier regarding my questions related with the planning file.
Sincerely,
KetanHi Dhaval,
1st Scenario
When I receive material through a Purchase order and receive it into stock, then MRP is able to run because planning file entries are created when I receive the material and clear out the MRP list as the requirements have been met.
2nd Scenario
When I receive material through a Purchase order and directly against a Production order (Direct Procurement) , then MRP is not able to run as planning file entries have not been created even if the requirements have been met.
How can I prevent the 2nd scenario in future where production order and purchase requisition exist in the MRP List but since the material has been received against a production order therefore MRP will not run and clear out the MRP List?
Sincerely,
Ketan -
BOM report on Production order
Dear All,
I need to make BOM report as per production order.
Very helpfull for me if any FM for that?
I need also the table where I can get the relation of that.
Can anybody help me?
Thanks in advance.hi
hope it will help you.
Pls reward if help.
REPORT ZMULTIBOM NO STANDARD PAGE HEADING LINE-SIZE 195
LINE-COUNT 60(2) MESSAGE-ID Z1.
TABLES: MBEW, "Material Valuation
MSLB, "Special stocks with vendor
MARA, "Material Master
MAKT, "Material Descriptions
MARD, "Material Master: Storage Location/Batch Segment
MAST, "BOM Header
STKO, "BOM Detail
STPO, "Bom Components
STAS. "BOM Alternative
Text Elements
Plant
SELECT-OPTIONS: S_WERKS FOR MAST-WERKS DEFAULT 'CA',
Material
S_MATNR FOR MAST-MATNR,
Material Type
S_MTART FOR MARA-MTART.
Base Quantity
PARAMETERS: S_BASE TYPE I DEFAULT '1'.
Display up to Level
PARAMETERS: S_LVL TYPE I DEFAULT '99'.
SELECTION-SCREEN SKIP.
Include Vendor Stock
PARAMETERS: X_MSLB AS CHECKBOX.
DATA: W_MATNR LIKE MAPL-MATNR.
DATA: PARENT-MATNR LIKE MAST-MATNR,
CHILD-MATNR LIKE STPO-IDNRK,
CHILD-WERKS LIKE MAST-WERKS,
CHILD-STLAL LIKE MAST-STLAL,
W_MAKTX LIKE MAKT-MAKTX,
W_STD TYPE P DECIMALS 5,
W_MAV TYPE P DECIMALS 5,
W_MENGE TYPE P DECIMALS 3,
W_LEVEL TYPE I,
W_DOT(1),
W_LVL(12),
W_LVL1(12),
W_LVL2(2),
W_COL TYPE I,
W_LFLAG,
W_TTL LIKE MARD-LABST.
DATA: BEGIN OF INT1 OCCURS 50,
LGORT(6),
LABST LIKE MARD-LABST,
END OF INT1.
IF S_BASE EQ 0.
S_BASE = 1.
ENDIF.
append multi level routing
SELECT * FROM MAST WHERE WERKS IN S_WERKS AND
MATNR IN S_MATNR.
SELECT SINGLE * FROM MARA WHERE MATNR = MAST-MATNR AND
MTART IN S_MTART.
IF SY-SUBRC NE 0.
CONTINUE.
ENDIF.
IF MARA-LVORM <> 'X'.
PARENT-MATNR = MAST-MATNR.
CHILD-MATNR = MAST-MATNR.
CHILD-WERKS = MAST-WERKS.
CHILD-STLAL = MAST-STLAL.
SELECT SINGLE * FROM MAKT WHERE MATNR = MAST-MATNR AND
SPRAS = 'E'.
W_MAKTX = MAKT-MAKTX.
REFRESH INT1.
SELECT * FROM MARD WHERE MATNR = MAST-MATNR AND
WERKS = MAST-WERKS AND
LABST NE 0.
MOVE MARD-LGORT TO INT1-LGORT.
MOVE MARD-LABST TO INT1-LABST.
APPEND INT1.
ENDSELECT.
IF X_MSLB EQ 'X'.
SELECT * FROM MSLB WHERE MATNR EQ MAST-MATNR AND
WERKS EQ MAST-WERKS AND
LBLAB NE 0.
MOVE MSLB-LIFNR TO INT1-LGORT.
MOVE MSLB-LBLAB TO INT1-LABST.
APPEND INT1.
ENDSELECT.
ENDIF.
W_LEVEL = 1.
NEW-PAGE.
PERFORM GETCHILD.
ENDIF.
ENDSELECT.
get child parts
FORM GETCHILD.
SELECT * FROM STPO WHERE STLNR = MAST-STLNR
ORDER BY POSNR.
SELECT SINGLE * FROM STKO WHERE STLNR = STPO-STLNR
AND STLAL = MAST-STLAL.
SELECT SINGLE * FROM STAS WHERE STLNR = STPO-STLNR AND
STLKN = STPO-STLKN AND
STLAL = MAST-STLAL.
IF SY-SUBRC EQ 0.
CLEAR: W_DOT, W_LVL, W_LVL1.
PERFORM WRT_DTL.
CHILD-MATNR = STPO-IDNRK.
W_LEVEL = W_LEVEL + 1.
IF W_LEVEL <= S_LVL.
PERFORM SUBCHILD.
ENDIF.
W_LEVEL = W_LEVEL - 1.
ENDIF.
ENDSELECT.
ENDFORM.
get grand children parts
FORM SUBCHILD.
SELECT SINGLE * FROM MAST WHERE MATNR = CHILD-MATNR
AND WERKS = CHILD-WERKS.
IF SY-SUBRC NE 0.
EXIT.
ENDIF.
SELECT * FROM STPO WHERE STLNR = MAST-STLNR
ORDER BY POSNR.
SELECT SINGLE * FROM STKO WHERE STLNR = STPO-STLNR AND
STLAL = MAST-STLAL.
SELECT SINGLE * FROM STAS WHERE STLNR = STPO-STLNR AND
STLKN = STPO-STLKN AND
STLAL = STKO-STLAL.
IF SY-SUBRC EQ 0.
W_DOT = '.'.
PERFORM WRT_DTL.
CHILD-MATNR = STPO-IDNRK.
W_LEVEL = W_LEVEL + 1.
IF W_LEVEL <= S_LVL.
PERFORM SUBCHILD.
ENDIF.
W_LEVEL = W_LEVEL - 1.
SHIFT W_LVL.
ENDIF.
ENDSELECT.
ENDFORM.
TOP-OF-PAGE.
WRITE:/ SY-DATUM,SY-UZEIT,
85 'ABC PTE LTD',
182 'Page', SY-PAGNO.
WRITE: / SY-REPID,
75 'BOM STRUCTURE (WITH LOCATION BALANCES)',
182 SY-UNAME.
SKIP.
CLEAR W_LFLAG.
WRITE:/ 'Material No.:', PARENT-MATNR,
60 'Plant :', MAST-WERKS.
W_COL = 90.
CLEAR W_TTL.
LOOP AT INT1.
IF W_COL > 195.
IF W_LFLAG IS INITIAL.
WRITE:/ 'Description :', W_MAKTX,
60 'Base Qty :', S_BASE LEFT-JUSTIFIED.
W_LFLAG = 'X'.
W_COL = 90.
ELSE.
W_COL = 90.
SKIP.
ENDIF.
ENDIF.
WRITE AT W_COL 'Loc :'.
W_COL = W_COL + 6.
WRITE AT W_COL INT1-LGORT.
W_COL = W_COL + 7.
WRITE AT W_COL(12) INT1-LABST LEFT-JUSTIFIED.
W_COL = W_COL + 16.
W_TTL = W_TTL + INT1-LABST.
ENDLOOP.
IF W_LFLAG IS INITIAL.
WRITE:/ 'Description :', W_MAKTX,
60 'Base Qty :', S_BASE LEFT-JUSTIFIED,
90 'Total :', W_TTL LEFT-JUSTIFIED.
ELSE.
WRITE AT W_COL 'Total :'.
W_COL = W_COL + 8.
WRITE AT W_COL W_TTL LEFT-JUSTIFIED.
ENDIF.
SKIP.
ULINE.
WRITE: /001 'Level',
011 'Item',
017 'Component',
037 'Description',
079 ' Per',
089 'UOM',
094 ' Std Price',
106 'Moving Avg',
119 'Location',
128 ' Balance',
139 'Location',
148 ' Balance',
159 'Location',
168 ' Balance',
179 'Total Quantity'.
ULINE.
FORM WRT_DTL.
CLEAR: MAKT-MAKTX, W_MAV, W_STD.
SELECT SINGLE * FROM MAKT WHERE MATNR = STPO-IDNRK AND
SPRAS = 'E'.
SELECT SINGLE * FROM MBEW WHERE MATNR = STPO-IDNRK AND
BWKEY = MAST-WERKS.
IF SY-SUBRC = 0.
W_MAV = MBEW-VERPR / MBEW-PEINH.
W_STD = MBEW-STPRS / MBEW-PEINH.
ENDIF.
W_MENGE = ( STPO-MENGE / STKO-BMENG ) * S_BASE.
W_LVL2 = W_LEVEL.
CONCATENATE W_DOT W_LVL INTO W_LVL.
CONCATENATE W_LVL W_LVL2 INTO W_LVL1.
WRITE: /001 W_LVL1,
011 STPO-POSNR,
017 STPO-IDNRK,
037 MAKT-MAKTX,
079(8) W_MENGE,
089 STPO-MEINS,
094(10) W_STD,
106(10) W_MAV.
W_COL = 119.
CLEAR W_TTL.
SELECT * FROM MARD WHERE MATNR = STPO-IDNRK AND
WERKS = MAST-WERKS AND
LABST NE 0.
IF W_COL > 166.
W_COL = 119.
WRITE AT /W_COL ' '.
ENDIF.
WRITE AT W_COL MARD-LGORT.
W_COL = W_COL + 5.
WRITE AT W_COL(13) MARD-LABST.
W_COL = W_COL + 15.
W_TTL = W_TTL + MARD-LABST.
ENDSELECT.
IF X_MSLB EQ 'X'.
SELECT * FROM MSLB WHERE MATNR = STPO-IDNRK AND
WERKS = MAST-WERKS AND
LBLAB NE 0.
IF W_COL > 166.
W_COL = 119.
WRITE AT /W_COL ' '.
ENDIF.
WRITE AT W_COL(6) MSLB-LIFNR.
W_COL = W_COL + 6.
WRITE AT W_COL(12) MSLB-LBLAB.
W_COL = W_COL + 14.
W_TTL = W_TTL + MSLB-LBLAB.
ENDSELECT.
ENDIF.
WRITE AT 179(15) W_TTL.
ENDFORM.
Maybe you are looking for
-
Komp does not have a component "SERVICE_PARAM2"- Runtime error in VA01
When Creating a Sales order(Standard order typeu201D ORu201D and standard pricing procedure u201C) using VA01, System is giving following dump. "The current ABAP Program "SAPFV45P" had to be terminated because it has come across a statement that unfo
-
Cannot connect to a local user in pdborcl
Hi all, I created a local user named "dwh" in the pdborcl (a pdb)...Impossible to connect using sqlplus...(On windows 7) So .. SELECT v.name, v.open_mode, NVL(v.restricted, 'n/a') "RESTRICTED", d.status FROM v$pdbs v, dba_pdbs d WHERE v.guid = d.guid
-
On the Damien Rice album "O", there is a song called "Silent Night" on track 10 that starts (after a long silence) after 14 minutes and 8 seconds; how can I only save this last, small portion of the song in my iTunes library?
-
I have a doubt with the use of sub-queries. I am using a query like as below & it is giving me expected result:- SELECT ISS.item_type_id,count(1) + (select sum(invoiced_qty) from ppbs_invoice_detail where trunc(created_date) between '01-jul-05' and '
-
If I have an empty dataprovider which an XML how can I create another XML with a structure that would match the dataprovider? Thanks