Material doc. list and purchasing process
Hi Gurus,
Can anyone please tell me how can Material Document List can be used to support the purchasing process (what decision(s) would this information support, and/or how could it improve the efficiency or effectiveness of the process
Hi Priya,
Material Document list are basically used for reporting in Inventory Management.
To simplify your day-to-day work with the Inventory Management component, there are a range of functions and reports that provide extensive information on all materials and their stock data.
This section provides an overview of the reporting function in Inventory Management. For more information, see the documentation on each function or the relevant report documentation.
Features
Environment Menu
List displays
This provides reports for documents posted in Inventory Management. Example: Material document list (MB51).
Stock
This provides information on a materialu2019s stocks. Example: Current stock/requirements list (MD04).
The Stock Overview (MMBE) provides an overview of all stocks of a material over all organizational levels (see also Stocks, Plant and Storage Location).
Information
This allows you to display data (master data, transaction/movement data) from other applications. Example: Displaying a purchase order.
Balance display
This provides reports on the GR/IR clearing account (MB5S).
Consignment
You can use this to display all information on consignment stocks. Example: Displaying vendor consignment stocks (MB54).
Batch where-used list
This provides all the functions on the Batch Where-Used List.
Batch search strategy
You use this to define the strategies for Batch Determination.
Inventory Controlling
You can also analyze and evaluate material stocks using Inventory Controlling. For more information, refer to the LO u2013 Logistics Information System component.
Periodic Processing Menu
List of stock values (MB5L)
This report is used to display the total stock quantity and the total stock value for a material at plant and storage location level.
Consistency check (MB5K)
You can use this to check the consistency of your stocks at company code level, valuation area level, and material level.
Managing held data (MBPM)
When you enter a goods receipt, this function allows you to display and delete data that you have held for further processing but not yet posted.
Analysis of rounding differences (MB5U)
This function allows you to analyze rounding differences that resulted from conversion between units of entry and base units. This applies when you work with a material with metric and non-metric units of measurement, for example.
Activities
For the reports that work with the SAP List Viewer, you can configure the output list as you require, to display and evaluate further data. To extend the current layout (basic list) or select another existing layout, choose Settings ® Layout. You can also create your own layouts and choose them on the initial screen. For more information on the SAP List Viewer, see the SAP List Viewer component.
To recognize any data inconsistencies in your system early on, we recommend you run the following reports regularly, for example, monthly or at year-end closing:
List of stock values: Balance display (MB5L)
See also Carrying Out Year-End Closing.
Consistency check (MB5K)
Check Under Help.sap.com "Reporting in Inventory Management "
Similar Messages
-
Hello Everyone,
I would like to have a discussion on the issues, which I am facing at the time of Exporting the Sales Price List and Purchase Price List for the Materials from
SAP Business ByDesign (SAP Cloud).
(1). Sales Price List :
We have maintained Customer Group Specific Sales Price List for the Materials in the following Location.
Location : Product and Service Portfolio Work Center > Pricing > Price Lists > Customer Group Specific Price List (Type of Price List)
Target : We want to export the entire records in some reports or excel sheet.
Records : Number of Materials in the Customer Group Specific Price List is more than 2,00,000
Issues :
(A). In the SAP Business ByDesign Screen we can filter by number of records but we can export till 50,000 records.
And if we are trying to export records more than that limit, then it throws "HTTP 500 Internal Server Error".
(B). We could not find any SAP standard reports in Product and Service Portfolio and/or Business Analytics Work Center
for getting the entire record set of the Sales Price List, so that we can have the entire set of records together.
Searching For :
(A). Is there any SAP reports or data source available for getting the entire Sales Price List records?
(B). Can we have any other filter conditions for exporting the Sales Price List records in a single shot or module wise?
(2). Purchase Price List :
We have maintained the Purchase Price List for the Materials in the following Location.
Location : Product Portfolio Work Center > List Prices > Active List Prices (Type of Price List)
Target : We want to export the entire records in some reports or excel sheet.
Records : Number of Materials in the Purchase Price List is more than 4,00,000.
Issues :
(A). In the SAP Business ByDesign Screen we can not see more than 10,000 records and the actual number of
records are more than 4,00,000. We could able to download the records till 10,000 but that is not sufficient.
We want to export the entire records in an excel sheet.
(B). We could not find any SAP standard reports in Product Portfolio and/or Business Analytics Work Center for
getting the entire record set of the Purchase Price List, so that we can have the entire set of records together.
Searching For :
(A). Is there any SAP reports or data source available for getting the entire Purchase Price List records?
(B). Can we have any other filter conditions for exporting the Purchase Price List records in a single shot or module wise?
Please go through the attached screen shots for the references and more clarity on the issues.
I am waiting for the valuable responses.
Thanks and regards,
Susanta Dey Sarkar
Bangalore, India
19th March, 2015Dear Michael,
The number of records :
2 Million (Approximately) is for the Sales Price List Material Price Data
4 Million (Approximately) is for the Purchase Price List Material Price Data.
Regards,
Susanta Dey Sarkar -
Billing doc list and cleared doc
Dear all,
Do any know how to display the billing doc list for a special period and how to check the billing docs which are already cleared in FI.
Thanks
ChrisHi
Use the T.code: VF05 - to view list of billing document. and in the same t.code you see whether it is post to finance or not.
Reward if it helps
Regards
Prasanna R -
Table for combination of Purchase requestition doc type and Purchase order doc type
Hi,
scenario:
Purchase requestion has document type of Direct purchase which has allowable item category "Standard, consignment, subcontracting, third party and stock transfer".
Purchase order has document type of indirect purchase which has allowable item category "standard and services".
Now i saw in Define Document type OMEC, 'Doc type-Direct purchase' of purchase requestion is being linked to 'Doc type-Indirect purchase' of purchase order.
Question:
Can you please let me know how to pull of data for combination of 'Doc type-Direct purchase' of purchase requestion and 'Doc type-Indirect purchase' of purchase order from SE16N? (assuming that we dont know what PR is converted to PO for the above combination)
Note: Please don't delete this threadYou did the hardest part: finding the custo in SPRO.
Once you there, just click "table view" :
and then on "print"
Once you click, you see the table name you are looking for:
Hope it helps,
Génia. -
How to download material sales text and purchase order text information
Here is situation:
goto MM03 transaction,
Take any material -- and select below views
1. sales text
2. purchase order text
i have to write the download program with the sales text and purchasing text information of all the materials.
could you pls tell me in which table I will get all the above sales text and purchase order text infrmation.
I think it will store in standard text. I checked STXH table also for getting information text object, text id, text name, language, etc.
If anybody knows .. please share.
Thanks in advance.
Regards
RaghuDeclare internal tables as follows: - An example
TYPES: BEGIN OF TY_PO_LINES,
INCLUDE STRUCTURE TLINE.
END OF TY_PO_LINES,
TY_PO_LINES_T TYPE STANDARD TABLE OF TY_PO_LINES.
TYPES: BEGIN OF TY_PO_TEXT,
TDOBJECT TYPE TDOBJECT
TDNAME TYPE TDOBNAME,
TDID TYPE TDID,
SPRAS TYPE SPRAS,
TDLINES TYPE TY_PO_LINES OCCURS 0,
END OF TY_PO_TEXT,
PO_TEXT_T TYPE STANDARD TABLE OF TY_PO_TEXT.
DATA: PO_TEXT TYPE TY_PO_TEXT_T
PO text:
Looping at your internal table which consists of PO number,
SELECT TDID TDSPRAS FROM STXH INTO A INTERNAL TABLE say PO_TEXT
TDOBJECT = EKKO "PO Header Text
TDNAME = PO NUMBER
SELECT TDID TDSPRAS FROM STXH INTO A INTERNAL TABLE say PO_TEXT
TDOBJECT = EKPO "PO line item text
TDNAME = PO NUMBER
ENDLOOP
Looping at PO_TEXT
CALL FUNCTION 'READ_TEXT'
EXPORTING
ID = PO_TEXT-TDID
LANGUAGE = PO_TEXT-TDSPRAS
NAME = PO_TEXT-TDNAME
OBJECT = PO_TEXT-TDOBJECT
TABLES
LINES = PO_TEXT-TDLINES
ENDLOOP
Follow the same above logic for material with suitable TDID you need to extract
Hope this helps,
SKJ -
Dear all
Is there any standard T.codes (other than MB51) where i can get all the material doc. which cenvat credit availed for a particular month? (in CIN?)
Thanks in advance
RegardsHello,
Use T.code J1I7
Give the excise group.
Then select the transaction type GRPO/CAPE/DIEX/EWPO (for incoming excise invoices)
Also give the invoice selection date range.
Then select the 'Both part1 and part2 posted' option.
Execute.
Regards -
Zero value in MB51 material doc list??
Good day,
In MB51, for the same item, in one mat. doc., value gets triggered and in another doc. value shows zero.
what could be the reason??
thanks
v balajeeboth are 101 movement, GR valuated, RM boughtout,
More so, when I backwork to GR/PO/PO history, IV is done and value is populating.
solicit solution
thanks
v balajee -
MB51 & MB59 Material doc list diff.
Hi
Plz let me know wat is the diff. between MB51 & MB59 report??
Thnx
NileshHi Sanjay
Thnx for ur reply..
But as per my knowledge there must be some diff. otherwise SAP will not provide these two diff. report.
And if u r confident that it is the same can u plz write to SAP to delete one of it.
Thnx
Nilesh -
About material listing and exclusion?
Hi,
I set material Listing and Exclusion procedure to a order type, the exclusion procedure is work well, but the listing procedure do nothing, actually I really don't know what the listing means. is it possible to limit only a group customers can create this kind of sales order ?
Thanks,
Lancehi,
basically there are two things will be maintained by the organisation.
1. listing and
2.exclusion.
listing means where the items/materials are listed- represents the material available in the company.
exclusion- where the items/materials removed from the company's list.- material is not available in the organisation.
but in standard SAP, if u r maintained the same material for listing and as well as the exclusion, it considers only exclusion. in that case, u have to go to VB02, and remove the material/items from the exclusion list, so that it item will determines in the sales order while u r creating.
plz. assign those listing/exclusion procedure to ur standard document types. and maintain the condition record thru VB01.
i hope the concept of listing/exclusion will make you understand after u read this above information.
reward points if it is useful.
regards
KR -
Currently running process name list and local port list display using java
HI
I have for truble to display Process name list and that process running local port number...
like this output from java
process localport
======= ========
ccApp 1096
orbd 1050
postmaster 5432
skype 443
MSTask 1051
can help any one with sample code Explain sample code wtih , this thread or . if you found sample code please send me [email protected]
Best Regards
P.SASIKUMARIf it's possible for C++ ,. can you give me the best sample and how to interact to java todisplay this result....
-
MB51 Material Document List Unit of Measure
Can/How is this list displayed with the unit of measure converted to one unit?
Example Material movements for liquid with units in gallons and pounds.
Want to list all in pounds.
Conversion is entered in material unit of measure tables.you can see this in MMBE but not MB51 because this is the material document list and which will shows the Gr unit ( you can display the base unit but not conversion)
convesion can only be displayed in MMBE -
Label printing should be only once for a material doc number
Hi,
we have a tcode in which if we provide a material doc no. and number of prints..but once we print the labels,
then again if we have to print for the same material doc no..it should not print..instead it should ask for permission to print that number again..is there any option available in scripts to do like this?try to maintain ztable
ztable fields document no , printed...
such that to identify the docu no has been printed previously r not...
select single printed from ztable into printed where docu no = p_document.
if printed = X
if it is printed then try to pop up a screen such thst to approve it ....
else.
print it strightly..... -
Diff. between business process masterlist and business process procedurelis
hello gurus,
pls tell me the main difference between business process master list and business process procedure list
so please help me in this matter.
regards,
muralidhar.thi,
Business process procdures ( normally called as BPP) are one which explain users how to perform a transaction or a series of transaction for carry out a business acitvity ( Like creating a PR, converting PR and releasing it).
Business procedure Master list ( called BPML ) is done in the begining of the project to define the scope and cover all the processes that the project will be covering . You will track all the deliverables on the project based on the BPML ( It will contain process and sub process descriptions )
Example : Order to cash --> Book order, Acknowledge order, Amend order, Ship , Bill, returns etc..)
Hope this should give you an idea. For details refer to implementation methodlogies ( like ASAP) .
cheers
Rav -
Report on list of purchase requisitions and related POs..
Hi,
I have a requirement to generate a simple abap report to display a list of purchase requisitions and its related POs. If my understanding is correct, for a single purchase requisition, multiple POs can exist, right ? Can someone help me with the select query for this ? also can you let me know typically what can be the basic fields displayd in such a report ?
I need to understand the relationship between the tables involved for pur req and Pur orders.
thanksHi check this code... to get PO and PR related to SO..
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 avbeln aposnr apstyv amatnr
FROM vbap AS a
JOIN vbak AS b
ON avbeln = bvbeln
JOIN vbpa AS c
ON bvbeln = cvbeln
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 aaufnr aposnr akdauf akdpos awepos aelikz
b~objnr
FROM afpo AS a
JOIN aufk AS b
ON aaufnr = baufnr
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 aebeln aprocstat a~lifnr
FROM ekko AS a
JOIN ekpo AS b
ON aebeln = bebeln
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 -
Std Report to see Material doc. and FI doc.
Hi all,
I want a SAP standard report where i can see both the Material doc. as well as the FI doc. created against that in a single report.
Please help.
Thanks & Regards,
Rajeev Kumarhi
go to MB51 then excecute then u will see the report just go to
system >list>save>local file click and choose spreadsheet
allthe report can be convert to excel format using this
regards
kunal
award if helpful
Maybe you are looking for
-
WRT610N V1 will not allow port forwarding via HP Mediasmart Server
I have the WRT620N router and an HP MediaSmart server connected to it. My source is a cable modem. WHen I try to set up the server for remote access, the router is not found. I am continually getting "Port Forwarding failed" errors from the server
-
Pages keeps crashing as it syncs to i cloud, how can you fix?
When i open pages my i pad has to re-load all pages documents which takes forever and keeps leading to it crashing. how do you store documents back on iPad rather than the cloud?
-
Can AIA 2.0 and AIA 2.5 coexist?
We have a prior dump from AIA 2.0 over Linux . We intend to now have a new installation of AIA 2.5 over Linux Can these two versions coexist? is there anything that i need to do?
-
Cannot connect to VPN through firefox after installing 10.9.3?
VPN through firefox for mac worked fine until the 10.9.3 install. I've reinstalled the required java and have the latest update along with the latest firefox update, any ideas?
-
When publishing site at the sync up form stage of the process.