Function module to get PR00 price
I would like to get PR00 price(not manually changed value, but maintained in VK13, that means not the value in VBAP or KONV, but KONP I think) by inputting sales order number as import number(just like when I click analysis button as item condition view, the
price will show up by SAP standard program). which function module can be used?
I find a module RV_KONV_SELECT. There is one import parameter including so many fields. I just entered client and order number(I think it is enought, but i cannot get the result).Please could you give some clue or where i can find the help doc about it and if any other pricing module according to my requirement.
Many thanks.
Hi!
You can try BAPISDORDER_GETDETAILEDLIST and check return condition tables for info you need:
DATA:
wa_bapi_view TYPE order_view,
it_sales_documents TYPE STANDARD TABLE OF sales_key,
wa_sales_documents LIKE LINE OF it_sales_documents,
it_order_conditions_out TYPE STANDARD TABLE OF bapisdcond,
it_order_cond_head TYPE STANDARD TABLE OF bapicondhd,
it_order_cond_item TYPE STANDARD TABLE OF bapicondit,
it_order_cond_qty_scale TYPE STANDARD TABLE OF bapicondqs,
it_order_cond_val_scale TYPE STANDARD TABLE OF bapicondvs.
wa_bapi_view-sdcond = 'X'.
wa_bapi_view-sdcond_add = 'X'.
wa_sales_documents = 'SALES_ORDER_NUMBER'.
APPEND wa_sales_documents TO it_sales_documents.
CALL FUNCTION 'BAPISDORDER_GETDETAILEDLIST'
EXPORTING
i_bapi_view = wa_bapi_view
I_MEMORY_READ =
TABLES
sales_documents = it_sales_documents
ORDER_HEADERS_OUT =
ORDER_ITEMS_OUT =
ORDER_SCHEDULES_OUT =
ORDER_BUSINESS_OUT =
ORDER_PARTNERS_OUT =
ORDER_ADDRESS_OUT =
ORDER_STATUSHEADERS_OUT =
ORDER_STATUSITEMS_OUT =
order_conditions_out = it_order_conditions_out
order_cond_head = it_order_cond_head
order_cond_item = it_order_cond_item
order_cond_qty_scale = it_order_cond_qty_scale
order_cond_val_scale = it_order_cond_val_scale
ORDER_CONTRACTS_OUT =
ORDER_TEXTHEADERS_OUT =
ORDER_TEXTLINES_OUT =
ORDER_FLOWS_OUT =
ORDER_CFGS_CUREFS_OUT =
ORDER_CFGS_CUCFGS_OUT =
ORDER_CFGS_CUINS_OUT =
ORDER_CFGS_CUPRTS_OUT =
ORDER_CFGS_CUVALS_OUT =
ORDER_CFGS_CUBLBS_OUT =
ORDER_CFGS_CUVKS_OUT =
ORDER_BILLINGPLANS_OUT =
ORDER_BILLINGDATES_OUT =
ORDER_CREDITCARDS_OUT =
EXTENSIONOUT =
Regards,
Maxim.
Similar Messages
-
Function module to Calculate PO Price
hi,
can anybody tell me is there any function module to get PO Price for a corresponding POhi Muralidhar,
Check the field EKPO-BRTWR.
Or check the bapi: BAPI_PO_GETDETAIL
See the table parameter Field po_items-GROS_VALUE.
Hope this will help.
Regards,
Nitin. -
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 -
Function module to get the cost estimate
Hi all
while running the standard costing run the cost estimate is stored in the table keko and keph.can anyone tell me whether is there any function module to get that cost estimate of a material which is in released statusHi
Check the following
BAPI_COSTESTIMATE_RELEASING Release of Marked Standard Cost Estimates
BAPI_COSTESTIMATE_UPDATE_PRICE Update of Prices in Material Master
fun module
POST_COST_ESTIMATE
You can check in SE37 for other cost estimate related fun modules
Reward points for useful Answers
Regards
Anji -
Abap function module for material standard price.
Dear Team,
Can anyone tell me the abap function module for getting material standard price respective of date and material code as input.
I have observe table MBEW, where we will get standard price of a material for last change date. Not getting any table where price is coming out wrt of Date for a same material.
Thx in advance
Rgds
sp
kolkataHI.
FM MSR1_MD_MATPRICE_GETLIST should help.u.
Regd,
AS -
Function module for getting Vendor Address details
Hi,
Im new to this group,and new to ABAP
plz hep me out by solving ABAP Query...
i want to generate a report for getting Vendor Details
like Vendor address,Ph num and Email
input fields are Company code,country key and Account Group.
im Using Smart Forms for this..
but im not getting the Exact Function module to get All Required Details..
regards
Smithathanks for ur quick reply...
SELECT SINGLE LIFNR
FROM LFB1
INTO V_LIFNR
WHERE BUKRS EQ V_BUKRS.
CALL FUNCTION 'VENDOR_READ'
EXPORTING
i_bukrs = V_BUKRS
i_lifnr = V_LIFNR
EXCEPTIONS
NOT_FOUND = 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.
this is the code i have written...
but my problem is there no table in the Function module....
for Example...
CALL FUNCTION 'QPAX_PLMKB_READ_FROM_PLKO'
EXPORTING
i_plnty = 'Q'
i_plnnr = V_PLNNR
I_PLNAL = V_PLNAL
i_sttag = V_DATUV
TABLES
T_PLMKB_TAB = IT_TAB
i want the function modules with tables and proper input... -
Function module for getting the open qty
HI experts,
I have a PO quantity(EKPO_MENGE).against same PO and item item(EBELN and EBELP) if Goods receipt has happened (MSEG_ERFMG) then i need to calculate the open qty.and also by netting the open quantity if multiple GRs has done against the same PO and item.
Can you suggest any function module to get this open PO quantity.Hello,
Hope this link can help you.
[Po Open Quantity;
Thanks
Jayant -
ABAP - Function module to get the number of working days between 2 days
Hi gentlemen,
I have been asked to produce a report that gives the number of working days between 2 days, based on a calendar.
I didn't find anything...
Has any of you already written a function module to get this ?
A great thanks in advance.
Jacques LagrifHi ,
you can try this ,
when you require the number of working days between D1 and D2
Total No of Days will be
D2 - D1
No of holidays between D1 and D2 , use the FM HOLIDAY_GET
Pass the From date , to date , and the factory calendar to get the of Holidays
Total no of days - Number of Holidays will your Working days
Regards,
Sathya -
Function Module to get the Screen
Hello All,
Can anybody provide me a Function Module to get the Screen by giving Program Name and Screen Number.
Thanks,Hello
check FM RS_IMPORT_DYNPRO
CALL FUNCTION 'RS_IMPORT_DYNPRO'
EXPORTING
dylang = pmlang
dyname = programname
dynumb = screen
IMPORTING
header = header
TABLES
ftab = ifields
pltab = iflowlogic.
or you have to create join b/w table reposrc and tadir .
Thanks
Anirudh -
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 -
Function module to get pernt by passinf objid and otype
Hi,
Help me to find any function module to get pernr by using objid and otype.or table name from which we can get pernr by passing objid and otype.
thanks,
satish.You are talking about on the OM side and obtain the perner via object P?
You can through a few method. One is using evaluation path. There is a function module called HR_STRUC_GET which allow you to pass evaluation path to get the result.
Using that, you could create a simple evaluation path from position (object s) to person (object p). The object ID of object P is your pernr.
Unless you have central person functionality, that might no longer be the case. -
Function module to get table description
Is there any function module to get table description on passing table name
Hi,
We need to use : 'G_RW_TABLE_DESCRIPTION_GET' function module.
we pass the table name and the language.
call function 'G_RW_TABLE_DESCRIPTION_GET'
exporting
rw_table = p_table
langu = sy-langu
importing
tab_text = l_tabtext
exceptions
others = 1.
thanx. -
Table or Function module to get Internal order planning and Cost element pl
Dear All,
Table or Function module to get Internal order planning and Cost element planning.
Internal order planning from T-code KO13.
Thanks in advance.
Regards,
Ravi
Edited by: Ravi Chandra on Sep 13, 2011 8:08 AMBPEJ, BPEG, BPEP
-
Function Module to get pernr number based on first name and last name
Hi All,
What is the Function Module to get pernr number based on first name and last name.
Could you please help me.
T@R.
Vidyahi Vidya,
you can get perner from PA0002 based on firs name and last name.
use select query and get perner. -
Function module to get customer balances
Hello , is there a FM to get customer balances?
hi Sooness,
i am not sure but you can check with the BAPI:
BAPI_AR_ACC_ GETKEYDATEBALANC E
function module to get AR (customer balance).
and also have a look in the link below:
http://www.sapbapi.com/bapi-list/
http://www.erpgenie.com/abap/functions.htm
With luck,
Pritam.
Maybe you are looking for
-
following hard drive failure on iMac running Maverick I have recovered from TimeMachine backup but now app store does not connect. All other internet connections normal. Does anyone know of a fix? Also mail not loading. The error report suggests that
-
How do i turn the back up on for my photos on my icloud and computure is i can't see the screen but, it still works. the digitizer is damaged.
-
The Binding of Isaac is not available on your current platform.
Hello, I'm trying to play to the The Binding of Isaac, a game on steam. When I press on the "PLAY NOW" button I get the error "The Binding of Isaac is not available on your current platform.", although it is available on Linux (and my friends can pla
-
Strange flickering on MBP screen as folding shut
I'm hoping someone can explain this, or at least let me know if they have the same problem. I have noticed that as i am closing my macbook pro screen (not shutting down the mac but folding shut) that the screen does some funny stuff. When the screen
-
Finding files by searching folder location.
Can I find photos by searching folder location, using Photoshop Elements 10? I used to use that method frequently inversion 5, but don't see how to do it in version 10. I am using Windows 7.