Bus.transaction field in BKPF Table
Hello SAP Gurus!
I would like to get some info on Bus.transaction field in BKPF Table.
How does this field gets populated?
What does it signify and its functionality?
Is there any config in SAP to control this field?
Thanks for your reply in advance,
Senthil
Hi
Refer to this link
http://www.sap-img.com
pushkaraj
Similar Messages
-
How we can use XREF1_HD field of BKPF table.
Hi,
How we can use XREF1_HD field of BKPF table.
Ritu VermaHello,
Sadashivan is absolutely right.
You can update this field while posting with using standart substitution or using Business transaction event 00001120.
If you use BAPI_ACC_DOCUMENT_POST and want to fill this fields, you can use RWBAPI01 business transaction event also.
Regards,
Burak -
FI substitutions for custom fields in BKPF table
Hi,
We are having trouble making the substitution work for the custom header fields in table BKPF.
We have tried straight substitutions, exits and populating the fields on the interface table ACCHD.
Nothing works. But the substitution for the custom fields in BSEG works.
We did activated these substitution rules.
Do we need to have blank instead of "X" in the GB01 table for the field BEXCLUDE ?
Did we miss any thing here or we cannot use substitutions for header custom fields ?
Thanks
SteveHi Dave,
Currently, In BKPF table we have entries as follows:
For BOOCLASS "008" we have BEXCLUDE as blank
where as for "015" we have BEXCLUDE as "X" .
Do we need to change this "X" to blank as well ? Also I do not see the custom fields in GB01 table, but I see them in BKPF table though.
We have already regenerated the rules by running RGUGBR00 program.
Thanks
Steve -
Very Urgent : Reterival of AWKEY field from BKPF table
Hi,
I am making a report in which i have to make relation of 2 fields BKPF-AWKEY and MKPF-MBLNR . but the problem is i am not to reterive data from it as i have to make inner join among these fields so data can be reterived fmo these tables.
plz provide me some guidelines as it is really urgent to me and help will be deinfately rewarded.First and foremost, i would advice you not to use words like VERY URGENT in your subject. You might want to go through the following link to understand the basic rules of the forum:
[Rules of Engagement|https://wiki.sdn.sap.com/wiki/display/HOME/RulesofEngagement]
For your requirement, below code might help you understand the logic in determining the link between BKPF and MKPF.
TYPES: BEGIN OF t_bkpf,
bukrs type bukrs,
belnr type belnr_d,
gjahr TYPE gjahr,
awtyp type awtyp,
awkey type awkey,
end of t_bkpf.
types: begin of t_mkpf,
mblnr type mblnr,
mjahr type mjahr,
end of t_mkpf.
data: i_bkpf type STANDARD TABLE OF t_bkpf,
i_mkpf type STANDARD TABLE OF t_mkpf.
data: wa_bkpf type t_bkpf,
wa_mkpf type t_mkpf.
PARAMETERS: p_bukrs type bukrs OBLIGATORY,
p_gjahr TYPE gjahr OBLIGATORY.
START-OF-SELECTION.
SELECT bukrs belnr gjahr awtyp awkey
into table i_bkpf
from bkpf
UP TO 20 ROWS
where bukrs = p_bukrs
and gjahr = p_gjahr
and awtyp = 'MKPF'.
IF NOT i_bkpf[] is INITIAL.
select mblnr mjahr from mkpf into table i_mkpf
for ALL ENTRIES IN i_bkpf
where mblnr = i_bkpf-awkey(10).
* and mjahr = i_bkpf-awkey+10(4).
ENDIF.
LOOP AT i_bkpf into wa_bkpf.
READ TABLE i_mkpf into wa_mkpf
with key mblnr = wa_bkpf-awkey(10)
mjahr = wa_bkpf-awkey+10(4).
IF sy-subrc eq 0.
write:/ 'Accounting Document:', 23 wa_bkpf-belnr,
35 'Material Document:', 55 wa_mkpf-mblnr.
ENDIF.
ENDLOOP. -
Adding Custom Fields to BSEG and BKPF Tables
Hi All,
My customer would like to add around 5 fields to BKPF table and 6-7 fields to BSEG table. Can you all suggest me whether it would be a good idea to add any custom field to these tables ? I would like to mention that standard fields available in these tables will not be used for the requirements of the customer and he is insisting on adding custom fields. I need your expert advice on this matter.
Regards,
RohitHi Friend,
Please do not add any custom fields in those tables.
These two tables are pillar of accounting entries in SAP, if you want to push them then it is OK, otherwise find some other way.
Regards
Krishnendu -
RBKP and BKPF table update from MIRO
Hi All,
I am using the BADI BADI_FDCB_SUBBAS01 to add a custom field in MIRO transaction. The added custom field is getting updated in RBKP transaction.
I also want to update the custom field data in BKPF table, but i dont know when the BKPF table gets updated in MIRO transaction.
Can you help me where the BKPF table will get updated. Is there any BADI for updating the custom fields in table BKPF via MIRO?
Thanks and Regards,
VijayHi Baskar,
I have done this thing from MIRO transaction to update BKPF table. Please check the below code.
METHOD if_ex_badi_fdcb_subbas01~put_data_to_screen_object.
CONSTANTS:
c_bkpf_xref1(25) TYPE c VALUE '(SAPLFDCB)BKPF-XREF1_HD'.
FIELD-SYMBOLS: <fs_bkpf_xref1> TYPE ANY.
fill interface attributes from importing paramters
me->if_ex_badi_fdcb_subbas01~invfo = im_invfo.
ASSIGN (c_bkpf_xref1) TO <fs_bkpf_xref1>.
IF sy-subrc = 0.
<fs_bkpf_xref1> = me->if_ex_badi_fdcb_subbas01~invfo-zlet_number.
ENDIF.
ENDMETHOD.
METHOD if_ex_badi_fdcb_subbas01~get_data_from_screen_object.
CONSTANTS:
c_bkpf_xref1(25) TYPE c VALUE '(SAPLFDCB)BKPF-XREF1_HD'.
FIELD-SYMBOLS: <fs_bkpf_xref1> TYPE ANY.
fill export parameters from interface attributes
ex_invfo = me->if_ex_badi_fdcb_subbas01~invfo.
ASSIGN (c_bkpf_xref1) TO <fs_bkpf_xref1>.
if sy-subrc = 0.
<fs_bkpf_xref1> = ex_invfo-zlet_number.
endif.
ENDMETHOD.
After passing the data through field symbols, then you need to update the BKPF table using the BADI AC_DOCUMENT. Refer the below code.
METHOD if_ex_ac_document~change_after_check.
variable declaration
DATA: lv_let_number TYPE zisr_let_number,
lv_field TYPE char18 VALUE '(SAPLMRMP)xaccit[]',
lv_let_field TYPE char27 VALUE '(SAPLMR1M)RBKPV-ZLET_NUMBER'.
Field symbol declaration
FIELD-SYMBOLS : <ft_accit> TYPE accit_t,
<fs_accit> TYPE accit,
<fv_let_number> TYPE ANY.
Constant declaration
CONSTANTS : lc_miro TYPE sytcode VALUE 'MIRO'.
Check for transaction code MIRO
IF sy-tcode EQ lc_miro.
ASSIGN (lv_field) TO <ft_accit>.
CHECK sy-subrc EQ 0.
ASSIGN (lv_let_field) TO <fv_let_number>.
CHECK sy-subrc EQ 0.
Assign the letter number to BKPF table field XREF1_HD
LOOP AT <ft_accit> ASSIGNING <fs_accit>.
lv_let_number = <fv_let_number>.
<fs_accit>-xref1_hd = lv_let_number.
ENDLOOP.
ENDIF.
ENDMETHOD. -
Get FI Documet number from BKPF table using CO document number in COVP tabl
Hi,
In datasource 0CO_OM_CCA_9 , we have written a code in CMOD to get the FI Document Number from CO document Number.
The flow of code is:
1) From the CO document number, get reference document number (REFBNfield) from, COVP table
2) Pass this REFBN in AWKEY(10) field of BKPF table.
3) We have created new field in datasource named 'ZBELRE' which gets populated with BELNR field obtained from BKPF table.
This ZBELNR is the FI Document number.
But somehow wrong FI Document number is getting populated.
After analyzing code, we found that the AWKEY which we passed in BKPF table is incomplete and the full AWKEY is
COVP-REFBN+COVP-AWORG
Is this condition always remains true in all the cases? Also, is the selection criterion which we have used to find the FI document number from BKPF table is sufficient?
Our CO Consultant says that we should also pass AWTYP along with AWKEY in BKPF table.
Please suggest a solution.
Following is the code :
***********Datasource Modification for0CO_OM_CCA_9*******************
WHEN '0CO_OM_CCA_9'." Data Source
TYPES:BEGIN OF ty_bkpf,
belnr TYPE bkpf-belnr,
xblnr TYPE bkpf-xblnr,
bktxt TYPE bkpf-bktxt,
awkey TYPE bkpf-awkey,
bukrs TYPE bkpf-bukrs,
gjahr TYPE bkpf-gjahr,
END OF ty_bkpf.
TYPES : BEGIN OF ty_bseg1,
lifnr TYPE bseg-lifnr,
belnr TYPE bseg-belnr,
bukrs TYPE bseg-bukrs,
gjahr TYPE bseg-gjahr,
END OF ty_bseg1.
DATA: it_bkpf TYPE STANDARD TABLE OF ty_bkpf,
wa_bkpf TYPE ty_bkpf,
it_bseg1 TYPE STANDARD TABLE OF ty_bseg1,
wa_bseg1 TYPE ty_bseg1,
l_s_icctrcsta1 TYPE icctrcsta1.
"Extract structure for Datasoure 0co_om_cca_9.
DATA: l_awkey TYPE bkpf-awkey.
DATA: l_gjahr1 TYPE gjahr.
DATA: len TYPE i,
l_cnt TYPE i.
l_cnt = 10.
SELECT lifnr
belnr
bukrs
gjahr
FROM bseg
INTO TABLE it_bseg1.
DELETE ADJACENT DUPLICATES FROM it_bseg1 COMPARING belnr gjahr .
SELECT belnr
xblnr
bktxt
awkey
bukrs
gjahr
FROM bkpf
INTO TABLE it_bkpf.
IF sy-subrc EQ 0.
CLEAR: l_s_icctrcsta1,
wa_bkpf,
l_awkey,
wa_bseg1.
LOOP AT c_t_data INTO l_s_icctrcsta1.
MOVE l_s_icctrcsta1-fiscper(4) TO l_gjahr1.
READ TABLE it_bkpf INTO wa_bkpf WITH KEY awkey(10) =
l_s_icctrcsta1-refbn
gjahr = l_gjahr1.
IF sy-subrc EQ 0.
MOVE wa_bkpf-belnr TO l_s_icctrcsta1-zzbelnr.
MOVE wa_bkpf-xblnr TO l_s_icctrcsta1-zzxblnr.
MOVE wa_bkpf-bktxt TO l_s_icctrcsta1-zzbktxt.
MODIFY c_t_data FROM l_s_icctrcsta1.
READ TABLE it_bseg1 INTO wa_bseg1
WITH KEY
belnr = wa_bkpf-belnr
bukrs = wa_bkpf-bukrs
gjahr = wa_bkpf-gjahr.
IF sy-subrc EQ 0.
MOVE wa_bseg1-lifnr TO l_s_icctrcsta1-lifnr.
MODIFY c_t_data FROM l_s_icctrcsta1.
CLEAR: l_s_icctrcsta1,
wa_bseg1,
l_gjahr1.
ENDIF.
ENDIF.
CLEAR: l_s_icctrcsta1.
ENDLOOP.
ENDIF.
***End of Datasource Modification for 0CO_OM_CCA_9*******************Hi,
this forum is for the SAP BusinessObjects BI Solution Architecture. Please post your question into the corresponding product forum for SPA BW
regards
Ingo Hilgefort -
Function module to read bkpf table
Hello everybody ,
i want to read BKPF table but their is lot's of record in table BKPF .
i used select query , now report is taking time .
i want to reduce performance time .
is their anyway to read BKPF table so that report will take less time ?
or is their any function module available ?Hi,
There are function modules (FAGL_GET_BKPF) to read values from BKPF.. but they can read single values at a time....
According to me Make the SELECT statement with conditions to match all the key fields of BKPF table (BUKRS, BELNR, GJAHR.)
And maintain the order of fields according to database. this will greatly reduce time...
and also do not use INTO CORRESPONDING FIELDS OF.. -
How to add new fields to a table control in a standard transaction JHA3X
Hi All,
We have a requirement where we have to add two new fields to a table control
in a standard transaction JHA3X .
We don't want any changes into our standard code and also we don't have any USER EXIT for that
screen.
Please provide with some solutions for the same .
Thanks in advance .You will need add this to the /var/clientlibs/libs/cq/security/widgets.js and add the field under the 'CQ.security.UserProperties'. For example, if you wanted to add a field to show the 'Middle Name' under the 'First Name' field, you can try adding the following:
"items":[{
"xtype":"textfield",
"fieldLabel":CQ.I18n.getMessage("Login"),
"anchor":"100%",
"disabled":true,
"allowBlank":false,
"name":"rep:userId"
"xtype":"textfield",
"fieldLabel":CQ.I18n.getMessage("First Name"),
"anchor":"100%",
"name":"givenName"
"xtype":"textfield",
"fieldLabel":CQ.I18n.getMessage("Middle Name"),
"anchor":"100%",
"name":"middleName",
"xtype":"textfield",
"fieldLabel":CQ.I18n.getMessage("Last Name"),
"anchor":"100%",
"name":"familyName",
"allowBlank":false
Hope this helps.
-Ron -
From which tables the data is coming in to transaction fields, how to find?
Hi abapers,
I am new to abap,
I have some data in one transaction.
I want to know that one particular record in a field from which table the data is coming, how do i know?
How to find that for the transaction is haveing header and item tables?
How to find that what are tables used for that transaction?
by presseing f1 on a field we can find table name or structure name along with field name of that particular field?
If structrure means how to find that field from which table it is coming?
I found table name for some of the fields like this by pressing f1,double clicking on structure name?
but some fields in another transaction does not showing the table names only structure it is showing?
Moderator Message: Basic Question. Please search.
Edited by: kishan P on Nov 13, 2010 3:20 PMhi ,
you can do that by Transation st05
where you have to 1) activate trace ,
2) execute transaction
3) deactivate trace after transaction complete
4) display trace
there you can find all step by step flow from where data has been retirved and tables also .
if you dont no take help from Basis People .
Regards
Deepak. -
Short dump during ME23N transaction due to missing field in KOMP table
Hi All,
We have just upgraded to Business Suite 7.0 and are experiencing the following error:
Short dump during processing of transaction ME23N - error is in program SAPLV61A when the system calls the following field: KOMP_SERVICE_PARAM2 (this does not exist in KOMP). We need to get this resolved as soon as possible, It appears that SAP have removed this field from the table KOMP but the standard programme is still looking for this field. Can anyone provide an oss note number or insight into how to resolve this issue please.
Many Thanks
AmandaDear,
This problem is caused by a missing initialization of the structure KOMP in the program SAPLV61A.
The problem may also occur during , when the "Create PO automatically" indicator (TVAP-ALEKZ) is set for the relevant item category in the item category Customizing (transaction VOV7). In this case, the data of the purchase order item that was previously processed is used for the back update of the sales order from the purchase order in KOMP.
Add the following import parameter to the function module RV_KONV_SELECT:
Parameter name COMM_ITEM_I
Typing LIKE
Associated type KOMP
Optional X
Pass Value X
Please refer the OSS note 1261566.
Regards,
R.Brahmankar -
Hello Gurus,
I have a bad performance in IDCP transaction, i read the sap note 511819 and this recommend create an index in BKPF table with fields:
'MANDT'
'BUKRS'
'XBLNR'
But i see in the system the table have an index with fields:
MANDT
BUKRS
BSTAT
XBLNR
Is necessary the index creation if already exists one index with this fields?
The table have 150 million rows and 9 indexes.
What is your suggestion?
Best regards,
Ernesto Castro.HI,
If you have already index 001 with MANDT BUKRS BSTAT XBLNR
fields than it's not necessary to create another index with MANDT BUKRS XBLNR fields.
you need to create index 001 on following table only as described in note.
table : VBRK fields : MANDT XBLNR
table : LIKP fields: MANDT XBLNR
also activate this index only during the least critical time ( when maximum free resources available )
regards,
kaushal -
Need help in Populating a Z-field in the table "MARD"
Hi Group,
I have a requirement like as under:
1)
Need to add a field in the transaction MM01/02/03 screen in the view u2018Plant data / stor. 1u2019. And this field should go into the table u2018MARDu2019 table, by appending the structure and adding this field details in it.
2)
Once I post a value into this field thru the transactions (MM01/MM02/MM03) , I need the value in the screen to be populated into the table u2018MARDu2019 in the Appended Structure field.
Could you please help me out by getting a proper User Exit or BADI which fulfills the requirement?
in Summary, please let me know a User Exit or BADI which will update the Z-field of the table 'MARD'.
Thanks for the help in advance.
Regards,
Vishnu.please check , it might help you.
How to add fields to MM01 Transaction
How to add a new field in MM01 with CONCEPT as a field?
How to add a new field in MM01, with say contaminent as a field?
HI ALL, How can i add new field in mm01 basicdata1 screen
Add button in MM01 Transaction
i want to add the one field in mm01 application how can i add the field?
If you dont get the answer still , please search the forum you will get many links for your requirement
Regards
Satish Boguda -
Currency BAM is not in Table TCURR transaction were moved to table PTRV_CCC
Hi Team,
we have problem , still we are maintaining currency BAM not in TCURR table but when we upload the data credit card details
system shows error message " Currency BAM is not in Table TCURR transaction were moved to table PTRV_CCC for correctionot
we are maininting Exchaqnge rate like below
GBP to BAM
can any one guide me where is the Mistake ,
thanks
RanamkaHi,
To resolve this error, you will need the exchange rate defined in the TCURR table (ob08). Once defined, sap will just validate that it exists in teh system. The real exchange rate will be what Diner provides so the employees will see the correct GBP amount and the exchange rate from Diner (not from what you define in TCURR) and so the reimbursement in CAD will match what Diner is billing the employee.
Depending on your config, the exchange rate field should be grayed out for credit card charges so that employees cannot change it and so the amounts will always match the billed amount.
Hope this helps.
Sal -
Hi,
How are the fields in SIS tables (like S800, S601 etc..) being poultaed. Where are these fields coming from...Hi...
The fields in SIS tables are populated automatically when sales order/Shipping / Invoice Documents are created in transactions VA01/02, VL01/02 and . For details of updation rules please check transaction code MC26.
Please confirm if this answers your question.
Regards,
MS
Maybe you are looking for
-
Hi everyone, Just as my title says, I have a query which I've written in a query window and it works perfectly. But when I try to add the query code into the view designer, it throws a Syntax error. Error in ON clause near '('.Unable to parse query t
-
MBP late 2007 what just happened?
I have a 2.66 late 2007 early 2008 model. I was burning a bunch of home videos on to dvd and it just shut off. Not two weeks ago I did an erase and install of 10.6.2 and all was great. Now When I turn it on after this incident I get the chime and the
-
I'm trying to load and play an FLV from a ByteArray in AS3. Let me try to explain better. I have a local FLV that is encrypted. I can load it using an loader and decrypt it but i don't find any way to pass the bytearray to anywhere that plays it. I h
-
I have the 1st gen iPad which don't have the new iOS 6 software and my kindle app will not open because of the new iOS 6 update. How do I get this app to open because 1st iPad is on version iOS 5 software?
-
Having two copies of the same report on the same page.
buddy.....I've tried urs suggestion,but now it is showing two quotations(easily adjustible in 2 pages) on 3 pages. I've tried Page Protect to set to No for all the repeating frames and fixed the horizontal & vertical length of all repeating frames. p