FM for List of Material Documents
Hello,
Is there an FM for getting the list of Material Documents (like MB51)?
Thanks.
In SAP standard program RM07DOCS(MB51), there is no standard FM to fetch it, but you can check in these subroutines: DATA_SELECTION, DATA_SELECTION, DATA_SELECTION_VIA_MATNR, DATA_SELECTION_VIA_BUDAT.
These 3 subroutines fetch the data from MKPF(Mat. doc header) and MSEG (Mat. doc item).
To read the mat. doc from the archive, check out the subroutine SHORTDOCUMENT_READ. The table is MARI.
You might be interested to check FM MB_MATDOC_ARRAY_READ as well.
Thanks & best regards,
Hadiman
Similar Messages
-
Report For list of material Master with PO text
Hi all,
I need a report whether it is available in Standard SAP or a customized, for List of Material Master with their PO text.
If any one can help, please reply to this theard.
Regards,
Kapil KulkarniTo get the material number combined with the PO text you will need the help of an ABAP programmer. The programmer can create a report for you using the function module READ_TEXT in the function group STXD. The tables to use are:
STXH - STXD SAPscript text file header
STXL - STXD SAPscript text file lines
The selection screen should have at least the following:
OBJECT - STXH-TDOBJECT
NAME - STXH-TDNAME
LANGUAGE - STXH-TDSPRAS
TEXTID - STXH-TDID
You find the information for these fields by going to the PO text entry screen and displaying the header information under Goto -> Header. For materials, the object is MATERIAL, the name is "material number", the language is "EN", and the text ID is BEST. You can use this program to get long text in lots of places like information records, purchase order texts, etc.
Hope this helps. -
Table name and field name for accounting and material document in MM
Hi
Table name and field name for accounting and material document in MM
how can we diffreentiate the accounting document in MIGO and MIRO ?Hi,
For Goods reciept documents you can search from the tables MKPF-Header: Material Document and MSEG-Document Segment: Material,
and for Invoice documents you can search in tables BKPF-Accounting Document Header and BSEG-Accounting Document Segment.
For differentiating the Accounting documents in MIRO and MIGO based on posting key and document types for GRN -document key is -WE and for MIRO document is -RE.......
Hope this may help you..................... -
Transistion in SAP to know The Stock For List Of Material
Dear Sir,
Is there any transistion in SAP.
To know the stock for list of material.
For Ex=
I want to know the stock for below material in one shot
1) A
2) B
3) C
4) D
Pls solve my problem soon
Thanks & Regards
Ajay PareekHi Ajay,
Following are the some of Useful T.Codes for the stock Report.
LT51 Maintain Preallocated Stock
LVASE Exit stock from Work Center
LX02 Stock list
LX23 Stock comparison IM - WM
LX27 Stock levels by shelf life exp.date
MB52 List of Warehouse Stocks on Hand
MB53 Display Plant Stock Availability
MB54 Consignment Stocks
MB5B Stocks for Posting Date
MB5K Stock Consistency Check
MB5L List of Stock Values: Balances
MB5OA Display Valuated GR Blocked Stock
MB5T Stock in transit CC
MB5TD Stock in Transit on Key Date
MB5W List of Stock Values
MBBS Display valuated special stock
MBLB Stocks at Subcontractor
MBSF Release Blocked Stock via Mat. Doc.
MBW1 Special stocks via WWW
MC.1 INVCO: Plant Anal. Selection: Stock
MC.5 INVCO: SLoc Anal. Selection, Stock
MC.9 INVCO: Material Anal.Selection,Stock
MC.D INVCO: MRP Cntrllr.Anal.Sel. Stock
MC.H INVCO: Business Area Anal.Sel. Stock
MC.L INVCO: Mat.Group Analysis Sel. Stock
MC.P INVCO: Division Analysis Sel. Stock
MC.T INVCO: Mat.Type Anal.Selection Stock
MC48 INVCO: Anal. of Current Stock Values
MC49 INVCO: Mean Stock Values
MC50 INVCO: Analysis of Dead Stock
MC8M Read Opening Stocks
MCB) INVCO: Long-Term Stock Selection
MCC4 Set Up INVCO Info Structs.from Stock
MCH: RIS: STRPS/Mvmts + Stock - Selection
MCKJ Selection version tree: Stock
MCKR User-spec. sel. vers. tree: Stock
MCNB BW: Initialize Stock Balances
MCSK Call Standard Analyses of Stocks
MD04 Display Stock/Requirements Situation
ME27 Create Stock Transport Order
ME2O SC Stock Monitoring (Vendor)
MF65 Stock Transfer for Reservation
MI35 Batch Input: Post Zero Stock Balance
MILL_ Cutting Stock Transfer
MIQ1 Batch Input: PhInvDoc. Project Stock
MM73 Special Stocks: Preparation
MM74 Archive Special Stocks
MM75 Display Archive of Special Stocks
MMBE Stock Overview
MMBE_ Stock Overview
MMCL Stock Overview by Characteristic
Or you can refer the thread [stock overview;, search there are several threads already available regarding this.
Regards,
Shyamal -
How to find condition type for a particular material document no.
hiiiiii
How to find condition type for a particular material document no.Hi
Condition types are maintained at PO level
Take the EKKO-KNUMV and pass to
KONV-KNUMV field and take the different condition types values from KONV
Take the Material Document No (MBLNR) and pass to MSEG table and take the EBELN field and from EKKO table take EKKO-KNUMV field and pass to KONV
see the table T685 for different condition types.
<b>Reward points for useful Answers</b>
Regards
Anji -
Find condition type (kschl) for a particular material document no (mblnr)
hiiiiii
How to find condition type (kschl) for a particular material document no (mblnr).Hello,
<b>Check the table A017 and KONV.</b>
Vasanth -
New document type for Physical and material documents
All SAP Gurus,
I have created new document type in OBF4.
How to view that Document type in OMBT (number range for for Physical and material documents)
Regards,Hi,
on the menu bar of trxn click "number range object" in that go into overview you will get number range object overview of every documment type or else do shift F7.
Regards,
Archit -
BAPI for creation of material documents/movements
Hi Everebody:
I need some help regarding to bapis for the creation of mateial documents and/or movements. I have been trying to implement bapi BAPI_GOODSMVT_CREATE, but this bapi does not have (import) the posting time in document, which is very important for my porpuse.
So, I would appretiate a lot any information anybody could give about any bapi I could use to create material documents or material movements but incluidng the posting time in document (field MKPF-OIB_BLTIME).
RegardsYou can check MB_CREATE_GOODS_MOVEMENT which has mkpf as inporting parameter.
-
FM/BAPI for creation of Material Document (similar to Transaction MB1C)
Hi Gurus,
Good day.
Are you guys aware of FMs / BAPIs that can produce Material Documents (similar to the Function of Transaction MB1C)?
Thank you very much!
Best regards.
Brandohi
in addition to BAPI_GOODSMVT_CREATE ,you can try user exits as well like
MBCF0005 Material document item for goods receipt/issue slip
MBCF0002 Customer function exit: Segment text in material document item
MB_CF001 Customer Function Exit in the Case of Updating a Mat. Doc
hope this helps
regards
Aakash Banga -
More than one invoice for a single material document
Dear all,
If a material document contains 10 items,while creating invoice in J1IS with reference to that material document.The system is generating one invoice for the first 8 items in the material doc.& one more invoice for the balance items.
Is it possible to get all the 10items in a single invoice in J1IS.
Kindly help us.
Regards
M.SarathiCheck the setting for max no of items allowed in the excise setting for excise transactions.
-
Multiple Excise Invoice No for same Return Material Document
Dear All,
While generating excise invoice throu J1IS for Return Material document (Mov Type 122 - Return of Quality rejected material to vendor), it is observed that multiple excise invoice nos are getting generated for the same Return mat doc no.
System is not preventing in doing so.
Pl. advise how to restrict such excise invoice generation.
With Thanks & Regards
RatnaHi,
Use: J1I7 , In selection range you can give Excise Group, Excise Transaction Type as GRPO , Vendor Number, Material Document , Material or Purchasing Document , select Part 1 and part 2 Posted , Off.No is Excise Invoice No entered at the time of Excise Capturing.
Regards,
Vikas -
Change "Reason for Movement" on Material Document
I've posted a Material Document. I now need to change the Reason for Movement. I've tried this via MB02 but only the Goods Recipient and Text appear to be updatable. Is it possible to change the Reason for Movement after the Material Document has been posted? If so, how?
Hello David,
Except "text field" & "unloading Point", you can not modify any other field in Material document change mode (MB02 t-code)
Hope this helps.
Regards,
Arif Mansuri
Reward if answer is helpful. -
Search for a reversed material document
Hi all,
how can I find if a material document is reversed?
thank you
Gino BonfiglioliThrough movement type you can find a material document is reversed.
For example :
102 GR with reference to p.o reversal for movement type 101,
562 intial stock reversal for movement type 561.
202 Good issue against cost centre reversal for movment type 201
In purchase order history,you can find reversed material document.
Using MBSM,You can find canceled material document for orginal material document.
From table MKPF for material doc. cancelled through t.code MBST. -
Std report for List of Billing documents
We want to display all billing documents for multiple customers.
VF05 is for single customer.
Is there any standard report available for this.
Thanks & RegardsHi Sagar,
You can go to transaction SQVI and here create table join for tables VBRK & VBRP.
Select the relevant fields as your input and list fields.
Give the input field as billing date range.
So for eg, now if you enter say 01.01.2008 - 31.01.2008, you can see all the billing documents created between these two dates irrespective of whoever your customer is.
Hope this helps.
Reward points if helpful.
Regards
Ravi -
BAPI for material documents by production order
I'm looking for a BAPI that will provide the list of material documents for a given production order. This is similiar to the functionality provided by the COOIS transaction using: "Documented Goods Movements" as the list type. I've looked at BAPI_GOODSMVT_GETITEMS. However this BAPI does not contain a method to select by production order.
Message was edited by:
Glenn DohertyHI
Check this link it wuld be helpful to you
'BAPI_ALM_ORDER_MAINTAIN' for change in service order.
Maybe you are looking for
-
How to restrict the entry of same material twice on the order
HI, How to restrict the entry of same material twice on the order before saving the Order ? I do not want my users to enter the same material as two different line items in the order. Any inputs wud b appreciated
-
Problem with Live View on MKIII
Today, I was shooting in manual mode and using live view to focus when it suddenly stopped working. It sounded right, but nothing on the LCD. After I finished my shoot, I played around with the camera and it would work in aperture priority but not M.
-
Lenovo u410 - change AHCI to RAID
Hi Everyone, Does anybody have solution for changing Chipset SATA Mode from AHCI to RAID? From yesterday I'm trying to find appropriate solution for this issue. I have already checked: 1) Changing regiser's key as above/; HKEY_LOCAL_MACHINE\System\Cu
-
Start EM service in window services
dear friends I installed Oracle10g on win2003, My hostname was student and my domain name was exam.com and I could work with http://student.exam.com:5500/em, but I change my domain and rename it to test.com (IP address change), now I can't start Orac
-
MI 7.1: Link header with child
Hi, i have a GETDETAIL with a structure T_010... I create the DO, appear the data object with the Node Structure: E_TOP and child: T_010, but when i load the data, no fill the T_010, only appear one row... I see that the SyncKey in T_010 not appear..