Function module for getting stock details for a given period or date range
Hi experts,
Any function module available for getting stock details batch, plant, storage location, and period wise. <<removed_by_moderator>>
Thanks in advance
M Prasanna
Edited by: Vijay Babu Dudla on Apr 28, 2009 7:23 AM
Hi,
Try with this FM:
BAPI_MATERIAL_AVAILABILITY .
Go through this link for more details:
ABAP Development
by
Prasad gvk.
Similar Messages
-
Function Module to get PO details based on Plant and PO date
Hi
1. Is there any Function Module to get PO details based on Plant and PO date?
2. Is there any Function Module to get Material document details based on PO number?
Thanks
Narendrahi,
check these standard reports.
ME2L - By vendor
ME2M - By material
MSRV3 - By service
ME2K - By account assignment
ME2C - By material group
ME2B - By tracking number
ME2N - By PO number
ME2W - By supplying plant
also chck this func module.
REPL_LIST_PURCHASE_ORDER_READ
reward if hlpful. -
Need a function module to get IT0001 details for a pre-selected set of empl
Dear All
We are faced with a requirement of getting infotype 0001 record details for a pre-selected set of employees, based on a date selection (BEGDA and ENDDA). The existing function module HR_READ_INFOTYPE provides this functionality on per employee number basis. This will lead to performance issues in the context in which we have this requirement. Therefore, would appreciate any input on alternate function modules which can act like HR_READ_INFOTYPE with multiple employee numbers selection (like the facility available in function module HR_PERSON_READ_WORK_SCHEDULE).
Kind Regards,
KarthikHi Santhosh,
Thanks a ton for the reply,your reply actually helped me,but I also checked the FM HRCM_EMPLOYEE_INFO_TABLE_GET
which was simple and fits to the requirement.
Regards,
Karthik -
Function module to get invoice details ...
Hi friends ...
I need function module to get sales invoice details including items ....
Thanks & Regards ..
AshishHi Ashish,
Try LB_BIL_INV_OUTP_READ_PRTDATA function module, this will help you..
Regards,
S. Sudagar -
Function module to get the details (WTGBTR) from table COEP
Hi all,
I have to select the data from COEP table based on OBJNR, KSTAR and KOKRS.I want WTGBTR from COEP Table.
Right now Iam using select query.But i want to use function module.
Can any one please tell me is there any function module to get WTGBTR from COEP table.
Thanks.This'll work:
SELECT objnr bukrs wtgbtr
INTO CORRESPONDING FIELDS OF TABLE gt_coep
FROM coep
WHERE lednr = '00' "<========
and kokrs = '1000'
AND kstar IN ('0000810001' , '0000830001')
AND objnr IN s_objnr
AND bukrs IN s_bukrs.
Rob -
BAPI function module to get process orders for certain material
Dear experts ,
kindly , I need my vb application to get all CRD , but not DLV Process orders for Material X.
Into SAP , I use the COIO , then set material to X , then display flag CRTD included , and Exclude DLV.
Question now , What is the function module that does this. what is the table name , and how to set search parameters.
my code will be like this
theFunc = functionCtrl.Add("BAPI_PO_GETDETAIL") ' get po data
theFunc.exports("purchaseorder") = t.Text
returnFunc = theFunc.call
returnParam = theFunc.imports("po_header")
retTab = theFunc.tables("po_items")
For Each rr In retTab.Rows
tt1.Text &= (rr("MATERIAL")) & vbTab
next
Thanks
WaleedHi,
Check if the below helps:
1. BAPI_SALESORDER_GETLIST for VA05
2. BAPI_QUOTATION_GETDETAILBOS for VA25.
Regards,
Vivek -
Function module to get month lists for entered date
Hi Experts,
Is there any function module which gives me output as mentioned below.
Eg Input : 01.10.2010 - 01.02.2011
OUTPUT : OCT 2010
NOV 2010
DEC 2010
JAN 2011
FEB 2011
Please suggest.
Regards,
Kaustubh.Moderator message - Please see How to post code in SCN, and some things NOT to do... before posting - post locked
Please do not ask basic date questions
Rob -
Any function module to get Stock and value of material on a given date?
Hi Friends
Is there any function module available to get Stock/and value of material on a given date?
Thanks
HarishSorry I didn't elaborate the requirement.
I am asked to develop a custom report for inventory management. For range of materials it is required to display stock and value on particular date and GRs GIs for the range.
I need function module to use in Zreport.
Thanks
Harish -
Function Module to get hierarchy details from a customer account
Hi Experts,
There is certain hierarchy maintained among Business partners. We can see that in transaction BPH.
Now What I require is a function module which takes BP number as input and gives output the
BP number of child nodes of it . Is there a standard function module for it ?
Please help me move ahead.
Thanks in advanceHi ram.mahaseth ,
There are several tables:
BUT_HIER_NODE
BUT_HIER_NODE_BP
BUT_HIER_NODE_D
BUT_HIER_STRUCT
BUT_HIER_TREE_D
BUT_HIER_TREE
Hope this helps.
Regards, Kostya Khveshchenik -
Function Module to get Campaign Details
Hi,
Can anyone tell me any FM or BAPI or a DB table to get the campaign details.
Thanks
LokeshHi,
Apart from that two tables you can get the campaign Hierarchys from the Table
CGPL_HIERARCHY. Function module CONVERSION_EXIT_CGPLP_INPUT helps to get GUID of campaign, Than give this guid as a input in table CRM_JCDS it provides the total details of the campign statuses.But basic details we are getting from CGPL_PROJECT Table.
Hope it helps you
Thanks
Naren.. -
Function Module to get permissions details against RFx
Hi Team,
I have requirement to get the permission details against the RFx in SRM, can any one guide me how to get this.
Please let me know if any table relationship also.
Thanks & Regards,
Srinivasan R.Following are the tables for permissions tab details as below
/SAPPSSRM/PRDC - pass BBP_PDHSS-PS_PERM_GUID from RFX header Permission GUID in to /SAPPSSRM/PRDC-PHDR_GUID, fetch PERMSN_GUID,
/SAPPSSRM/PRMP - enter the above PERMSN_GUID with STAT_IND "N" in to this table to see the different roles assigned in permission tab from portal
Raghu -
Functional module to get the File from a given Directory
Hi all,
I am using a FM name 'subst_get_file_list' to get the file from a given directory but it is accepting only 40 Character length file only my requirement is to accept file name other than 40 char,
give me good sugestion
regards
paulHi Paul,
Check the Function Module Gayathri has given. ie. 'SO_SPLIT_FILE_AND_PATH'.
In the exporting parameter FULL_NAME , give the path name and in the importing parameter stripped_name , you will get the filename.
Check this code.
REPORT ZSHAIL_SPLITFILE.
data: it_tab type filetable with header line,
gd_subrc type i.
tables: rlgrap.
data: path type string,
file_name type string.
parameters file_nam type rlgrap-filename .
data: user_act type i.
at selection-screen on value-request for file_nam.
CALL METHOD cl_gui_frontend_services=>file_open_dialog
EXPORTING
WINDOW_TITLE = 'select a file'
DEFAULT_EXTENSION = '*.txt
DEFAULT_FILENAME = ''
FILE_FILTER = '*.txt'
INITIAL_DIRECTORY = ''
MULTISELECTION = abap_false
WITH_ENCODING =
CHANGING
file_table = it_tab[]
rc = gd_subrc
USER_ACTION = user_act
FILE_ENCODING =
EXCEPTIONS
FILE_OPEN_DIALOG_FAILED = 1
CNTL_ERROR = 2
ERROR_NO_GUI = 3
NOT_SUPPORTED_BY_GUI = 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.
if user_act = '0'.
loop at it_tab.
file_nam = it_tab-filename.
endloop.
endif.
path = file_nam.
CALL FUNCTION 'SO_SPLIT_FILE_AND_PATH'
EXPORTING
full_name = path
IMPORTING
STRIPPED_NAME = file_name
FILE_PATH =
EXCEPTIONS
X_ERROR = 1
OTHERS = 2
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
at selection-screen.
message i001(zmess) with file_name.
Regards,
SP. -
Function module to get the details from table COEP
hi all,
I have to select the data from COEP table based on OBJNR.i don't have any other key information.so i have to select the data based on OBJNR only.
can any one please tell me is there any function to get the data from this table.
Thanks.Hi
Try the fun module
K_CO_OBJECT_BALANCE_GET
see the sample select statement for COEP
clear cobrb_tab.
refresh cobrb_tab.
select objnr " Object No
rec_objnr1 " Ref Object No
bureg " Dostribution Rule
lfdnr " Sequence No
perbz " Settlement Rule
konty " Acct Assign Category
bukrs " Company Code
kostl " Cost Center
into table cobrb_tab
from cobrb
where kostl in rn_kostl.
sort cobrb_tab by objnr rec_objnr1.
delete adjacent duplicates from cobrb_tab comparing objnr.
Get the Settlement Costs from COEP Table
clear it_set_tab.
refresh it_set_tab.
if not cobrb_tab[] is initial.
select kokrs " Controlling Area
belnr " Acc Document
buzei " Line Item
perio " Period Block
wkgbtr " Value in CO Curr
lednr " Ledger No
objnr " Object No
gjahr " Fiscal Year
wrttp " Actuals
versn " Version
kstar " Cost Element
beknz " Dr/Cr Indicator
parob1 " Partner Object
into table it_set_tab
from coep
for all entries in cobrb_tab
where lednr = c_lednr and
wrttp = c_wrttp2 and
versn = c_versn and
gjahr = p_gjahr and
objnr = cobrb_tab-objnr and
parob1 = cobrb_tab-rec_objnr1 and
beknz in (c_o, c_a).
endif.
Reward points for useful Answers
Regards
Anji -
Plant Stock details for a given date
At present we are using MB52 for latest stock position of a plant. Is there any code for getting stock details for earlier date.
As we are facing lot of problems while audits....Hi
Please check the following link
Re: No stock showing in Inventory on date stock report
Cheers
Chandra -
BAPI or Function Module to get MSEG table data based on PO Number (EBELN)
Hi
1. Is there any BAPI / Function Module to get PO details based on Plant and PO date?
2. Is there any BAPI / Function Module to get Material document details(MSEG data) based on PO number?
Thanks
NarendraHi,
check the Bapis Givem below
BAPI_PO_GETITEMS
http://abap.wikiprog.com/wiki/BAPI_PO_GETDETAIL1
you will get the detail.
Regards
Maybe you are looking for
-
Forgotten username and password for G4 notebook help
Hi there i have forgotten my username and password for a G4, also I do not have a disk. Any ideas Steve
-
SRM 7.0 - Service Request item add Service Provider (empty list)
Hello, Up on creating an Service Request item in a SHC (operational purchaser) an error message is shown: 'Enter at least one source of supply' The tab 'Supplier / Service Agents' tell me: Here you see all available suppliers for the selected product
-
Controlling the Filename on an Export
When I export multiple artboards, is there a way to control the filename at all? I don't want spaces in my filenames, I want underscores.
-
Hi everyone I am still not 100% clear on the formats used by LR. I import my Nikon Raw files & convert to DNG. In LR I can do capture sharpening & most processing needed to most files. Using DNG format LR stores any data with the DNG & no sidecar fil
-
Problems with 10.5.4 and older video games
I have a new MacBook running OS X 10.5.4 and I have a copy of an older video game (Diablo II) that installs fine when the OS X installer is used, but the game always fails to launch. I always get the "this application quit unexpectedly" screen when I