Function Module to read tax in FB60
Hi Gurus,
Is there a function module that reads the values in the folder "taxes" (tax amount) during the recording FB60?
I need something similar to function module FI_WT_GET_X_WITH_ITEM.
Thanks
Nik
Hi Nocola,
Try using this Function Module CALCULATE_TAX_FROM_NET_AMOUNT.
Thanks and Regards
Rinzy Deena Mathews
Similar Messages
-
Function Module to Read data from ESLH & ESLL
Hi All,
Presently i am working on the Service Purchase Order
I have to get the data from the Service Master tax conditions which is storing in ESLH & ESLL database tables.
So is there any Function Module to get the data.
regards:
Sridhar JHi David,
The normal procedure is using Function Module RSDRI_INFOPROV_READ. However, according to the documentation it only works for DSOs, InfoCubes and MultiProviders.
Could you access as a work-around a MultiProvider? Or use any logic to first determine which PartProvider of the SPO-based DSO or InfoCube is required and then use the Function Module to read the data?
Best regards,
Sander -
BAPI FUNCTIONAL MODULES FOR T codes FB50,FB60,KB31n,KP46
Hi friends
Can u suggest me BAPI function modules for T codes FB50,FB60,KB31n,KP46
Thanks in advanceUse BAPI_INCOMINGINVOICE_PARK
Import parameters HEADERDATA is mandatory in BAPI_INCOMINGINVOICE_PARK .
Also tables ITEMDATA and RETURN are mandatory.
Check the following sample code
LOOP AT i_ekbe INTO wa_ekbe.
CLEAR: wa_invoice_header,
i_invoice_item,
i_return,
v_inv_doc_no,
v_fisc_year,
wa_return.
REFRESH: i_invoice_item,
i_return.
Appending Invoice header Work Area
wa_invoice_header-invoice_ind = c_x.
wa_invoice_header-doc_date = sy-datum.
wa_invoice_header-pstng_date = wa_ekbe-budat.
wa_invoice_header-comp_code = c_100.
wa_invoice_header-gross_amount =
wa_invoice_header-currency = c_usd.
wa_invoice_header-calc_tax_ind = c_x.
Appending Invoice item data
i_invoice_item-invoice_doc_item = '0001'.
i_invoice_item-po_number = wa_ekbe-ebeln.
i_invoice_item-po_item = wa_ekbe-ebelp.
i_invoice_item-tax_code = ' '.
i_invoice_item-item_amount = '20.00'.
i_invoice_item-quantity = '10.000'.
i_invoice_item-ref_doc = '5600000634'.
i_invoice_item-ref_doc_year = '2006'.
i_invoice_item-ref_doc_it = '10'.
i_invoice_item-po_unit = 'EA'.
i_invoice_item-COND_TYPE = 'VPRS'.
APPEND i_invoice_item.
Calling module BAPI_INCOMINGINVOICE_PARK
CALL FUNCTION 'BAPI_INCOMINGINVOICE_PARK'
EXPORTING
headerdata = wa_invoice_header
ADDRESSDATA =
IMPORTING
invoicedocnumber = v_inv_doc_no
fiscalyear = v_fisc_year
TABLES
itemdata = i_invoice_item
NFMETALLITMS =
ACCOUNTINGDATA =
GLACCOUNTDATA = i_gla
MATERIALDATA = i_mat
TAXDATA =
WITHTAXDATA =
VENDORITEMSPLITDATA =
return = i_return.
READ TABLE i_return INTO wa_return
WITH KEY type = c_e.
IF sy-subrc EQ 0.
ENDIF.
ENDLOOP.
Reward if useful. -
Function modules to read ibase at runtime
Hi guru's,
Is there any function modules to read ibase at run time if yes please send those function modules its urgent please please.
regards
naveen kumaranswered
-
Any function module to read all the values in Tcode-PPQD?
Hi all
Is there any function module to read all the values in Tcode-PPQD (Display Qualifiaction Catalog).
and any idea what tables are involved to get these values like parent and child relationship?
Thanks in advance.
Murali.Murali,
you can use the following..
data: w_sobid type sobid, "Qualification ID
w_objid type objid. "Qualification Catalog
select objid into w_objid
up to 1 rows
from HRP1001
where otype = 'QK'
and plvar = '01'
and istat = 1
and risgn = 'B'
and relat = '030'
and endda ge sy-datum
and begda le sy-datum
and sclas = 'Q'
and sobid = w_sobid.
endselect.
if sy-subrc eq 0.
write: / w_objid,w_sobid.
endif.
Regards,
Suresh Datti -
Function module to read data form customer tabels
hi,
can anyone suggest function module to read data form customer tabels?
Please give me reply.
TKS,
Dharani.PHi,
this thread is hvaing your answer.
Is there a Function module to get customer hierarchy data?
Regards,
Pravin -
Function module to read 'Customer Material InfoRecords'?
Is there a function module to read customer material inforecords?
Transaction code VD53 is the display screen for Customer Material INforecords. I have a requirement to read this data in user exit.
Thanks
GovaI found one FM. RV_CUSTOMER_MATERIAL_READ
But it won't serve my purpose as I need to find customer material number for a given material number.
But, I found the table where this information is stored. KNMT. I'm going to create a custom FM to serve my purpose. -
Help required in creating function module which reads payroll clusters.
Hi ,
We have a requirement where in we need to create a function module for reading a sequence of tables from payroll clusters. This function module does two functions:
1.Read the payroll results from one system.
2.write the payroll results to other system.
please do the needful as soon as possible.
Thanks in advance.
Regards,
Durga.hi
Refer to the below thread
Programming with Clusters for HR-Payroll
Regards
Sameer -
Function module to read Comma Seperated File (CSV)
Hi,
Is there any Function module to read CSV file from presentation server or Application server?
Regards,
MadhuHi madhukeshwar,
1. Exactly for this purpose,
i have developed an independent FORM
where we give inputs
a) file name (eg. abcd.txt)
b) separator (eg , COMMA in your case)
c) internal table (eg. t001)
2. It will provide the data
in proper format
(no matter what the separator)
(it can work with any kind of separator)
3. just copy paste in new program.
REPORT abc.
change your table declaration and file name
DATA : t001 LIKE TABLE OF t001 WITH HEADER LINE.
PERFORM myupload TABLES t001 USING 'd:\t001.txt' ','.
BREAK-POINT.
in debug see t001
INDEPENDENT FORM
FORM myupload TABLES orgtab
USING filename separator.
Data
DATA : BEGIN OF itab OCCURS 0,
myline(1000) TYPE c,
END OF itab.
DATA : extension(5) TYPE c.
DATA : name(100) TYPE c.
DATA : newfilename TYPE string.
Step 1
CALL FUNCTION 'GUI_UPLOAD'
EXPORTING
filename = filename
TABLES
data_tab = itab.
Step 2
LOOP AT itab.
REPLACE ALL OCCURRENCES OF separator IN itab-myline WITH
cl_abap_char_utilities=>horizontal_tab.
MODIFY itab.
ENDLOOP.
Step 3
DATA : path LIKE pcfile-path.
path = filename.
CALL FUNCTION 'PC_SPLIT_COMPLETE_FILENAME'
EXPORTING
complete_filename = path
CHECK_DOS_FORMAT =
IMPORTING
DRIVE =
extension = extension
name = name
NAME_WITH_EXT =
PATH =
EXCEPTIONS
invalid_drive = 1
invalid_extension = 2
invalid_name = 3
invalid_path = 4
OTHERS = 5
Step 4
newfilename = filename.
REPLACE name IN newfilename WITH 'temp'.
CALL FUNCTION 'GUI_DOWNLOAD'
EXPORTING
BIN_FILESIZE =
filename = newfilename
TABLES
data_tab = itab
FIELDNAMES =
Step 5
CALL FUNCTION 'GUI_UPLOAD'
EXPORTING
filename = newfilename
has_field_separator = 'X'
TABLES
data_tab = orgtab.
ENDFORM. "myupload
3.
regards,
amit m. -
Function module for reading payroll results
HI,
I need a function module for reading payroll results RT table.
Import parameters are personal number, payroll area, and payroll period.
Export should be RT table.
Regards,
Wasim AhmedHai Wasim
Check the following Code
data: payroll_cluster like t500l-relid.
call function 'PYXX_READ_PAYROLL_RESULT'
exporting
clusterid = payroll_cluster
employeenumber = pernr-pernr
sequencenumber = payroll-evp-seqnr
READ_ONLY_BUFFER = ' '
READ_ONLY_INTERNATIONAL = ' '
CHECK_READ_AUTHORITY = 'X'
IMPORTING
VERSION_NUMBER_PAYVN =
VERSION_NUMBER_PCL2 =
changing
payroll_result = payroll_us
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
others = 8
if sy-subrc <> 0.
if sy-subrc <> 0.
write: / 'Fehler beim Laden des US Abrechnungsergebnisses'(003).
write: /'zu Personalnummer'(008), pernr-pernr,
'bei Sequence-Number'(012),
payroll-evp-seqnr.
write: / 'Fehlercode ='(004), sy-subrc.
endif.
endif.
Thanks & regards
Sreenivasulu P -
Function module for reading service line items of a po
function module for reading service line items of a po.............I want to read data from eslh and esll tables to getthe service line details.....
My requirement is if the item category is 9 I need to print the service line items. So I wan to read the data of service line items from a function module. I am not able to find a fm which fetches both elsh and esll data...Hi oskchaitanya ,
use bapi BAPI_PO_GETDETAIL1.
Regards
REA -
Is there any RFC function module to read domain fixed value
Hi,
Is there any RFC function module to read domain fixed value from remote system in basis layer?
As we cannot simply wrap DD_DOMVALUES_GET with a new RFC module,because remote system will not install our component, our wrap function module is not there.
We may need a RFC fm from basis layer.HI,
Try using Function Module:
DD_DOMA_GET , If it is RFC enabled it can be used for reading the domain,
Kindlly go through this link below:
How to get "Fixed Domain Values" from other system by RFC-Call?
Hope it helps,
Regards
Mansi -
Function module to read the expired useful life of asset
Hi,
Is there a function module to read the expired useful life of asset. We are using the depriciation start date to calculate the expired useful life of asset, but the fiscal year shift and matching the calendar year with fiscal is causing the logic to give a month difference between the calculated value and the value in the asset.
Please let me know if there is a Function module or BAPI for getting the values. Kindly provide example for the function module call too.
Regards,
Prabaharan.GHi,
Check the following function modules.
AISC_CALC_EXPIRED_USEFUL_LIFE.
Check the following link it might be of some help to you.
Re: asset useful life
Regards,
Ram. -
Function module to read data from a SPO
Hi guys,
Inside a transformation a have a rule, ABAP routine type, in wich I need to read data from a SPO (semantically partitioned object). Is there an ABAP function module or Class that allows to read data from a SPO?
The SPO from wich I need to read the data is DSO based.
Thanks in advance.
David.Hi David,
The normal procedure is using Function Module RSDRI_INFOPROV_READ. However, according to the documentation it only works for DSOs, InfoCubes and MultiProviders.
Could you access as a work-around a MultiProvider? Or use any logic to first determine which PartProvider of the SPO-based DSO or InfoCube is required and then use the Function Module to read the data?
Best regards,
Sander -
Function Modul for read field label
hi all
i search a function modul for read the field label from data element.
Example for data element matnr, i must have field label text material.
Thx abap_beginHi,
If you give input parameters type, field and table you get data element using
RP_PRINT_GET_DATA_ELEMENT
Try also
KL_TABLE_INFO_GET
But not sure if this futfill your requirement...
Maybe you are looking for
-
What's the level system and how does it work?
I've noticed that underneath users' nameplates and pictures, there are levels. I'm sorry if I posted this in the wrong forum, but could somebody please explain this to me?
-
I must have something set up wrong. I can't seem to be able to import a PDF file into InDesign that was saved by either AI or Acrobat and have the text parts import as text. Each time, the file shows up as a grouped graphic object that cannot be edit
-
Buying used GPIB/ENET100 card. What software must have with it. Have LABView 7
Buying used GPIB/ENET100 card. What software must have with it to configure and use. Have LABView 7
-
Photoshop Elements 9 - Organizer opens, but editor will not.
I have Windows 7. I don't believe I have any plug-ins loaded. Uninstall program (I have done this so many times. I'm sick of it.) Delete files Reboot Reinstall I AM STARTING TO HATE THIS PROGRAM. Open Organizer Open Editor SHUT DOWN - there's a prob
-
X-Fi I/O Drive SPDIF input stopped working - driver issue?
HI have an X-Fi Platinum card with the I/O Dri've module that I have been using for some time now to accept digital input via digital coaxial cable from my Alesis Multimix 6 music mixer to mix down and record MP3s from my hardware music synthesizers.