Function module for getting ekko ekpo ekbe, eket data for material & plant
Hi experts,
I need to get data for me31l transactional data......for that i need ekbe purchasing document and
material documents based on given material and plant and posting date or crop.....
Please reply as soon as possible..
Thanks in advance
M Prasanna
Hi ,
Try this FM
ISIDE_PDI_PDOC_INFO_READ
Its get you all the purchase doc's info for creating outline agreement for the vendor..
check and let me know...
Similar Messages
-
In BDCP table I am not getting any entries for EKKO,EKPO,EKBE,EKET,EBAN
In BDCP table I am not getting any entries for EKKO,EKPO,EKBE,EKET,EBAN tables.
But there are entries for many other tables.
I have got objects for EKKO,EKPO,EKBE,EKET,EBAN tables from TCDOB tables.Hi Avishek,
Let me explain the meaning of Change pointers.
If you have entry in BDCP table for MARA, that means everytime a material is created in MARA table in one system, a corresponding Material is created in another system which is connected to the current system VIA ALE. and whenever you change that material in your source system, then the change is propagated to the target system also(If you have done the change pointer set up).
The you do not have entries for other tables becuase the configuration for change pointers is not done for those Objects(In your case the change pointers are not defined for Purchase Orders and hence no entries in BDCP table).
Regards,
Ravi kanth Talagana -
Function module to get holiday class from work schedule for current day
I need to determine what the public holiday class value is for the current day in a user exit. Is there an SAP function module that can return me this data? This would be the information that is displayed when pressing the work schedule button from infotype 0007
Function module HOLIDAY_CHECK_AND_GET_INFO is closer to what I need. This function module returns an X if the day is a holiday. I will create a Z program and instead of returning an X for a holiday I will return the THOL-KLASS (holiday class) value.
-
Function Module to get days by putting input dates
Hi All,
could anybody tell me which Function Module can be used to get the number of days by giving two dates.
for ex: suppose if i will substract 04.01.2008 - 03.01.2008 = 1 day.
Please reply ASAP.
Thanks,
MadhuHello,
Check this sample:
DATA: G_F_DIFF TYPE I.
CLEAR G_F_DIFF.
CALL FUNCTION 'DAYS_BETWEEN_TWO_DATES'
EXPORTING
I_DATUM_BIS = ENDATE
I_DATUM_VON = STARTDATE
IMPORTING
E_TAGE = G_F_DIFF
EXCEPTIONS
DAYS_METHOD_NOT_DEFINED = 1
OTHERS = 2.
Cheers,
Vasanth
Edited by: Vasanth M on Jan 25, 2008 10:41 PM -
Function Module to get planned Quantity from posting date
hi,
i need one function module which takes plant and posting date date as an input parameter and get the Planned quantity for that range of that ...i dont want to fetch it from material since the report is run for the whole plant(werks).so it has got a lot of data entries so i need a function for that...
is there any function module which will fetch this data ...
Edited by: sonal musale on Jun 23, 2008 3:53 PMHi,
I have also the same problem. Any solution you have for this one?
Thanks,
Raymond -
Is there any function module to get vc characteristics and its value using material number?
Hi Experts,
I am using BAPI_CLASS_GET_CHARACTERISTICS, BAPI_OBJCL_GETCLASSES to get characteristics description and its values.
Is there any other Function module to pull this values using material number?
Thanks in Advance.
RamkumarHave you tried this BAPI_OBJCL_GETDETAIL
Import parameters
MATNR value in the OBJECTKEY
MARA in OBJECTTABLE
Class name in CLASSNUM
'001' in CLASSTYPE
You will get the Class Characteristics data into these tables:
ALLOCVALUESNUM
ALLOCVALUESCHAR
Jogeswara Rao K -
Function Module to get Active Serial Numbers of Material Stock
Hi Experts,
Do we have any function module to get all the active serial numbers of Material Stock? Or any suggestions on how to get these through SQL Queries?
Thanks a lot for your help!GET_SERNOS_OF_DOCUMENT
-
Function module to get the difference of dates ..
Hi ,
Can somebody pls help me with the function module to get the difference between two dates?
I need to find the difference value and delete records if >1.
Thanks in advance.
Regds,
Leeza.Leeza,
When I tested the FM in my Program, it is <b>working</b>!!!!!
Note that the Two Input Dates are to be in the format of <b>DATS</b> type (Eg: <b>vimimv-dmibeg</b>).
U can want the Day which u have specified in the parameter I_DATUM_BIS (eg: 20050101) to be included for
the calculation , then put X in the parameter I_KZ_INCL_BIS.
Sample Code :
report zkam01.
data:
<b>sav_nlaufz like rf60v-nlaufz,
date1 type vimimv-dmibeg,
date2 type vimimv-dmiend.</b>
date1 = '20050101'.
date2 = '20051001'.
call function 'MONTHS_BETWEEN_TWO_DATES'
exporting
i_datum_von = date1
i_datum_bis = date2
i_kz_incl_bis = 'X'
importing
e_monate = sav_nlaufz.
write:
date1,
/ date2,
/ sav_nlaufz.
Please allot points if the problem is solved.
Thanks
Kam
Message was edited by: Kam -
Buffered Function Modules for EKKO, EKPO, EKBE, EKES etc
Hi,
Could you please let me know of some buffered function modules for reading data from EKKO EKPO EKBE EKES EKET?
Regards,
SurajTry BAPI_PO_GETDETAIL , BAPI_PO_GETITEMS , BAPI_PO_GET_LIST
-
Datasource for the table EKKO,EKPO, EKBE, BKPF, BSEG
Hello Gurus,
I am having a requirement wher i need to create report for the fields coming from the above tables.
pls let me know if der is any such data source from which i can get data for all the tables EKKO,EKPO,EKBE,BKPF,BSEG.
If der is no single data source then how i have to approach for the same using the standard datasource.
and what should be the link info objects between them if iam going with the separate one.
RegardsThanks for ur responses,
Is the Belnr in the EKBE table is same as the BELNR in BKPF table of Data source (0FI_GL_4) ???
When i cross verifed i found multible record in BKPF w.r.t EKBE belnr.
Whats the reason for this ? If i created a infoset by mapping the BELNR AND GJAHR of EKBE and BKPF. Do i get the correct record or i have to handle it by some exception.
Also pls let me know how the MM and FI flow related , I means once the MIRO ie billing document is created what happen in the FI side ??
pls update with ur suggestions.
regards -
Function module to get actual salary paid for a particular period
Hi All,
I have a requirement to build a report on the monthly superannuation contributions the company makes to the employee [Australian Payroll], along with a few other information. We are on a weekly payroll and make super contributions once a month.
Is there any Function module or table that stores the pay results for a period [from which I can calculate the superannuation amount] or superannuation pay ?
Or is there an alternative way of approaching to get the information ?
Thank you,
SatishI used table hrpy_rgdir to get sequence number for the given pernr, payroll area and dates.
Using the sequence number, I am calling Function PYXX_READ_PAYROLL_RESULT to extract the payroll results.
SELECT * INTO CORRESPONDING FIELDS OF TABLE it_hrpy_rgdir
FROM hrpy_rgdir
WHERE srtza = 'A'
AND paydt IN sopaydt
AND abkrs IN soabkrs
AND pernr IN sopernr.
LOOP AT it_hrpy_rgdir.
PERFORM get_rt USING it_hrpy_rgdir-pernr it_hrpy_rgdir-seqnr.
ENDLOOP.
*& Form get_rt
* text
* -->PERNR text
* -->SEQNR text
FORM get_rt USING pernr seqnr.
CLEAR: it_payroll_result.
CALL FUNCTION 'PYXX_READ_PAYROLL_RESULT'
EXPORTING
clusterid = 'RQ'
employeenumber = pernr
sequencenumber = seqnr
CHANGING
payroll_result = it_payroll_result
EXCEPTIONS
illegal_isocode_or_clusterid = 1
error_generating_import = 2
import_mismatch_error = 3
subpool_dir_full = 4
no_read_authority = 5
no_record_found = 6
versions_do_not_match = 7
error_reading_archive = 8
error_reading_relid = 9
OTHERS = 10.
ENDFORM.
For any period, the function module just returns sy-subrc = 6 [no_record_found].
We are on Australian Payroll. Could you please let me know what I might be missing or is there an alternative way of getting the information ?
Thank you -
Function module to get PRT for the operation in Maintenance Order
Hi,
Please tell me the function module to get PRT document for the all operation in Maintenance Order? and also tell me the FM to get all details of those PRT Docs so that I can Print those documents.
Thanks.Hi,
Please tell me the function module to get PRT document for the all operation in Maintenance Order in TCode IW31/32/33? and also tell me the Function Module to get all details of those PRT Documents so that I can take Print out of those documents.
Thanks,
Jay. -
Function module to get the BOM details for a material-plant combination
hi
Is there any function module to get the BOM details such as
BOM Usage -STLAN
Alternative BOM -STLAL
Items -POSNR
Required Quantity-EMENG
Resulting Quantity-MENGE
Unit of measure -BMEIN
Base unit of measure-MEINS
for a given material-plant combination
if so please suggest me some FMs.................
Awaiting for ur reply..............try the below fm it may be useful for you
DATA : BEGIN OF I_BOM OCCURS 0.
INCLUDE STRUCTURE STPOX.
DATA : END OF I_BOM.
CALL FUNCTION 'CS_BOM_EXPL_MAT_V2'
EXPORTING
CAPID = 'PP01'
DATUV = SY-DATUM
MEHRS = 'X'
MTNRV = P_MATNR
WERKS = P_WERKS
TABLES
STB = I_BOM
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
CONVERSION_ERROR = 8
OTHERS = 9.
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
just befor use it check your application area.for my case it is PP01. you can find it in CS12 when you are exploding the bom the value you are giving in BOM application that is the value for CAPID.
Just go to se37 and checkout the fm it has lot of options here I am using the minimum things.
regards
shiba dutta -
Table or Function Module to get Condition Values of Quotation
Hi MM Gurus
I created RFQ. Then I maintained Quotation for few Vendors. In the Quotation, I used tax code relevant to taxes in India (TAXINN procedure). I am asked to develop a Z report with the help of ABAPer to compare the quotations with Gross price, discounts, freight along with taxes like Excise Duty, VAT etc. When I had put this Quotation number in EKKO table, I am not getting the condition document number KNUMV. For other purchasing documents, this field is getting generated. Without this field, I can not get Condition values using KONV table as we need to link EKKO-KNUMV with KONV-KNUMV. Do you have any idea how we get the condition values of taxes for Quotation? Is there any function module to get it?
I really appreciate the quick answer.
Thanks
RaviHi
Try ME_GET_PRICE_CONDITION
Regards
Antony -
Any Function Module to get Service Conditions in Service Contracts???
Hi All,
I have created a function module inside which I have written BDC code for changing Service Contracts (ME32K).
I have used Item_condition and item_cond_validity structures in Table parameters.
For changing the conditions related to services, I need to know first which ones of those conditions were already there in the database for the contract and which ones are newly put in item_condition structure.
Similar reqmnt I had for Services also, for which I got the FM - MS_FETCH_SPEC_FOR_LIST, wherein I am giving Package number from Ekpo and getting the services related to item. I need something similar for Conditions also.
Is there any Function module wherein by giving the item and service info, I can get the conditions related to that particular Service? Or else any way using SAP std tables, I can get this info.
Please respond if anyone has this info.
Thanks a lot!
NavitaHi Mukesh,
Step 1. Use FM SO_USER_READ_API1 to get the folder details of the user
Step 2. Use FM SO_FOLDER_READ_API1 of the respective folder. You can read the Inbox, Workflow Inbox depending on what folder you read. The function modules are documented well as well with examples.
Hope this will help u,
Thanks & Regards
Kiran
Maybe you are looking for
-
Hi, I want to know if I can change some of the payload content with the container variable in ccBPM? I know reverse is possible to populate the container variable based on the incoming message payload. But I was not able to figure out how to change t
-
Managing bit flags in an array of bytes
In my program, I have a large array of bytes. Some arbitrarily long groups of bytes in this array act as groups of bit flags. I need to be able to retrieve and manipulate these bit flags. I read that the best way to do this is with bitwise operations
-
How to view and print pdf files
how to view and print pdf files
-
I'm using a Windows 7 icore7 machine. The file I'm working on is composed of six layers: 1) a masked Levels layer; 2) a masked Noise layer; 3) a masked Hipass layer; 4) a convert to BW layer; 5) a copy of the background layer; 6) the background layer
-
Iphoto will not save photo in most recent folder
I have having trouble with the new iPhoto 9.3 When I import a photo, it will not go to my most recent folder. It only goes to the library section. I have called Apple support twice and have gone through the lengthy steps of dumping iPhoto files