CAA1 BDT
hello,
i've enhanced contract account transactions caa1 caa2 caa3 (FI-CAX version 605) using BDT (added additional tabstrip/screen with custom logic, objects and so on). Everything works fine except value assignment to "Reference number" field (FKKVKP-EXVKO) : field group 105, view VKK122, section VKK110. The screen field is visible and input enabled, but when i try to save contract or change active tabstrip (from standard to custom and vice versa) - system clears reference field immediately. i didn't find any note, created reference between screen field and db table via casb tcode, debugged standard PBO (VKK_FICA_PBO_MKK122) and PAI (VKK_FICA_PAI_MKK122) FM's , but no success. i've created custom view (copied SAPLFKKC 265 screens layout) with custom pbo and pai function modules which set's and get's screen values. it works, but i do not like this solution could you provide another one.
Thank you,
dez_
To read the memory from the screen use VKK_FICA_FKKVKP_GET function module.
To update the values in fkkvkp table use VKK_FICA_FKKVKP_COLLECT FM.
Go to the t-code CAS7
Event : DSAVB.
create a Z function module with the name "Z_FMname_DSAVB" and attach in DSAVB event. call get and collect function modules to update the data in database.
Regards,
Siva
Similar Messages
-
Adding new fields in CAA1/2/3 through BDT
Hi,
My reqirement is to add some custom fields on the contract account screen ( CAA1/2/3 ).
I am new to BDT... please help me out
Edited by: abapdevelopersap on Nov 1, 2010 9:07 AM
Moderator Message: Please search for available information before psoting.
Edited by: kishan P on Nov 1, 2010 1:52 PMHI Pawan,
You need to add the fields manually.
If you have any doubt, please refer to the discussion below:
how to add a field in Info Source
Regards,
Ashvin -
BDT For CAA1 (Contract Account )
hi Experts,
I add a new tabstrip at Tcode CAA1 through BDT. Now i want to save that field value in Database table.
which FM i have to use at PBO and PAI for save the value of new filed in Database Table FKKVKP .
can any one send me code in detail.
Pls Reply ASAP.
ThanxTo read the memory from the screen use VKK_FICA_FKKVKP_GET function module.
To update the values in fkkvkp table use VKK_FICA_FKKVKP_COLLECT FM.
Go to the t-code CAS7
Event : DSAVB.
create a Z function module with the name "Z_FMname_DSAVB" and attach in DSAVB event. call get and collect function modules to update the data in database.
Regards,
Siva -
Contract Account Screen Enhancement - CAA1/2/3
Hi all,
I am in need to Enhance the contract account screen for the well known transactions CAA1/2/3. Now the requirement is to add a new tab named "Add.Info" along with the existing tabs for the main screen. The new tab once defined will have some custom fields on different field groups. Hope if anyone has worked earlier on this type of requirement may throw some inputs.
Appreciate your timely response.
Regards,
Jagath.HI,
You need to use BDT(bussiness data toolset) to add the filds to this CAA1,
1) TCode: CAS2
Creat the Field group 123 where the field have been added
Double click in Menu path:
Field Groups ->Fields
2) TCode: SE51
Created the layout set with the new field Name
3) TCode: CAS3
· Created the view XXX where we have to assigned following things---
a) Application-VKK
b) Standard Program name -SAPLZKKC
c) Screen Number-0700
b) Two FM Z_TEST_PBO and Z_TEST_PAI
In PBO passing the value from screen to program using Field symbols
In PAI passing the value from program to database, where the database gets updated using the FM VKK_FICA_FKKVK_COLLECT
· Assign Field Group to View XXXX
4)Double click in Menu path:
View àField Groups
Next Using New Entries provided in application toolbar assign the Field Group XXX.
5) TCode: CAS4
Created the Section and assigned the View ZKK510 to it.
Double click in Menu path:
SectionàView
Next Using New Entries provided in application toolbar assign the View ZKK510.
6) Tcode: CAS5
Created the screen ZKAT1 and entered the details as:
Double click in menu path:
Screenà Section
Next Using New Entries provided in application toolbar assign the Section ZKK510 and VKK100.
7) Tcode: CAS6
Assigned Screen ZKAT1 for the standard screen sequence VKK1
Double click in Menu Path:
Screen Sequence à Screen
Next Using New Entries provided in application toolbar assign the screen ZKAT1.
8) Tcode: CAS7
Standard event DSAVE can be used to save the database (if we dont use field symbols to update the database) under this event we copy the standard function module VKK_FICA_EVENT_DSAVE for the application VKK to ZZ_VKK_EVENT_DSAVE and modify this FM which can be done as
In this FM we will use the standard FM VKK_FICA_FKKVK_COLLECT to update the database table FKKVK
Code is written as :
CALL FUNCTION VKK_FICA_FKKVK_CO
EXPORTING
I_SUBNAME = CI_FKKVKI'
I_FKKVK = FKKVK.
DATA: IT_FKKVK LIKE FKKVK.
IT_FKKVK-ZZCOLECT1 = CI_FKKVK- ZZCOLECT1
IT_FKKVK-ZZPOR_CTR1 = CI_FKKVK- ZZPOR_CTR1
CALL FUNCTION VKK_FICA_FKKVK_CO
EXPORTING
I_SUBNAME = CI_FKKVKI'
I_FKKVK = IT_ FKKVK.
Hope you understand the code,
Thanks
Sudheer -
Any BADI or Exit for Tcode CAA1?
Hi,
I would like to know is there any exit or BADI for transaction - CAA1 ?
I need to check whether contract Account category and Business partner type are matching (from custom table) when we create contract account in CAA1 transaction.
Please let me know if any one has idea..
I tried using SMOD and some other procedure.. but I could not find any exit for this transaction.
Thanks for ur time.
Chris.Tons of BADIS:
BUPA_DELETION Exit for Archiving/Deleting Business Partners
BUPA_DO_NOT_CALL BP: Exit for Not Setting the FLG_NOUSE Flags in ADR2
BUPA_FURTHER_CHECKS Business Partner: Additional Checks
BUPA_GENERAL_EXPORT SAP BP: BAdI for Export of General Data for BP
BUPA_GENERAL_IMPORT BUPA_GENERAL_IMPORT
BUPA_GENERAL_UPDATE Business Partner General Data
BUPA_IDENT_UPDATE SAP BP: Identification Numbers
BUPA_INDSEC_EXPORT SAP BP: Exports Industry Data
BUPA_INDSEC_IMPORT SAP BP: Imports Industry Data
BUPA_INDSEC_UPDATE SAP BP: Industry Code Data
BUPA_INTCOMP_EXPORT SAP BP:Exports Detailed Data for Rel.Type Investment in Firm
BUPA_INTCOMP_IMPORT SAP BP:Imports Detailed Data for Rel.Type Investment in Firm
BUPA_RELATSHP_UPDATE Business Partner Relationships
BUPA_RELSHP_EXPORT SAP BP: Export of Managment Table of the BP Relationships
BUPA_RELSHP_IMPORT SAP BP: Import of Relationship Data - Management Table
BUPA_ROLES_UPDATE Business Partner Roles
BUPA_ROLE_EXPORT SAP BP: Exports Role Data
BUPA_ROLE_IMPORT SAP BP: BAdI for Import of Role Data
BUPA_STATUS Business Partner: Exits for Status Management
BUPR_FILTER_RELSHP When Reading,Filter Rel'ships using BUB_BUPR_BUT050_LM_READ
BUPR_FILTER_RELTYP Filter Relationship Types
PARTNER_UPDATE Business Partner
BUPA_DA_PREPARE Business Partner: Selection of Data to Be Deleted
BUPA_SAVE_CONTROL Establishing the Save Event for the BAPIs
BDT_XCHNG_CREATE_SET Affects XCHNG Indicator When Creating
BUPA_MASK_LIST_ITEM Masking the de-personalized fields of the protected BP
BUPA_SHLP_CONTROL BADI for F4 Help Event SELONE
BUPA_SHLP_AUTH_CHECK SAP BP - Exit for authorisation check
BUPA_ADDR_EXPORT SAP BP: Exports Address References (BUT020) and Usages
BUPA_ADDR_IMPORT SAP BP: Imports Address References (BUT020) and Usages
BUPA_ADDR_UPDATE Business Partner Addresses
BUPA_ADRREL_EXPORT SAP BP: Exports Address References for Relationships
BUPA_ADRREL_IMPORT SAP BP: Imports Address References for Relationships
BUPA_APPLI_CHECK BDT: BAdI for Changing Activity Status of the Applications
BUPA_APPL_MNT_IMPORT SAP BP: Import Indicator for Exchange of Business Hours
BUPA_AUGRP SAP GP: Exit for Authorization Check > B_BUPA_GRP
BUPA_BANK_EXPORT SAP BP: BAdI for Export of Checked Bank Data for BP
BUPA_BANK_IMPORT SAP BP: Import of Bank Data
BUPA_BANK_UPDATE Business Partner Bank Data
BUPA_CARDS_UPDATE Business Partner: Payment Cards
BUPA_CCARD_EXPORT SAP BP: BAdI for Export of Payment Card Data
BUPA_CCARD_IMPORT SAP BP: BAdI for Import of Payment Card Data for BP
BUPA_CENTR_CI_CHECK SAP BP: Check Data of the BUT000 CI Include
BUPA_CONTPREL_EXPORT SAP BP: Exports Detailed Data for Contact Person Rel.
BUPA_CONTPREL_IMPORT SAP BP:Imports Detailed Data for Contact Person Relationship
Rob -
SAP Fields not getting displayed on the BDT screen
Hello Gurus,
I am trying to add 2 custom fields on to the claims management screen. The following steps were followed to add 2 fields on to the claims Management subclaim screen.
1. Create a field group Zxxxxx1 with the two fields attached to it as input enabled.
2. Create a View Zxxxxx2 attach the created field group Zxxxxx1, then create a subscreen screen add two fields to the screen and make them as input enabled. Then attached the subscreen to the View.
3. Create a PBO and PAI function modules for the screen and attach it to the View Zxxxxx2.
4. Create a section Zxxxxx3 and attach the view Zxxxxx2 to the section.
5. Attach the section to the Subclaim Overview Screen.
6. Inspite of doing all the above steps the screen is not getting displayed or the Function module PAI / PBO / FMOD is not being called.
Since I am attaching the section to a standard screen sequence I am not doing any modification to the screen sequence and screen sequence catagory.
Kindly let me know the steps I am missing in the configration of 2 new fields via BDT.
Reagrds,
ShivaHi Shiva,
did you create your own Z BDT application? Is it set to be active?
I have no access to any claims management system: Does the claim object support divisibility? If so, have you assigned the correct data set in your view?
Also, if you have your own Z BDT application and the claim object does support divisibility, did you assign the Z application to the divisibility view?
Regards,
Frank
Message was edited by: Frank Vieregge -
Dear Experts,
I have a screen and there is a tab which I would like to hide on the screen. I found out which view it isin BDT.
But now I would like to hide the view, Can you please let me know how should I hide it so that it is not visible on the screen.
As we hide the fields, what must must be done to hide the whole view in BDT.
Many thanks in advance.
Regards,
Afroz
Moderator message - Cross post locked
Edited by: Rob Burbank on Mar 24, 2010 2:11 PMhi,
loop at screen.
if screen-name = your fieldname.
screen-active = 0.(screen-invisible = 1)
modify screen.
endif.
endloop.
Edited by: subas Bose on Mar 24, 2010 5:21 PM -
How do I find out a BDT view that is linked to a particular field in BP
Hi,
In the BP screen, if say I want to find which BDT view is linked to the screen field, how can I do so?
Regards
PriyankaHi Satyendra,
Thats fair enough. I have been able to trace the field in this way but I am facing a problem which forces me to think that I might be concentrating on an all together wrong view.
See the field I need to work on is Grouping(this appears on the top right corner when you try creating a new BP). The texts for grouping come from table TB002-TXT40. Now this is in field group 2, which is in view BUP020.
I need to set a default value for this field. For this I have modified the PBC linked to this view's screen. But the change does not come into effect.
Any idea???
Regards
Priyanka -
Hiding a field in Address tab of Business Partner Using BDT
Hi,
I want to Hide the title field in the Business Partner transaction, which exists in the Address Tab using BDT.
Could you please let me know whether i need to create a custom screen for this or is there any other way where we can modify the predefined screen directly?
Kindly help me regarding.
Thanks and Regards,
Gopi.Hi Gopinath,
Please go through this link..,
http://help.sap.com/erp2005_ehp_03/helpdata/EN/35/696d360856e808e10000009b38f839/frameset.htm
This is the introduction regarding BDT ( Business Data Toolset)
Here you will find some information, I think it may help you.
Cheers,
Swamy Kunche -
Short Dump while making a fields as required in BDT object screens
Hi,
I'm making a field as "required" by checking the required button on that field in the BDT screen.
But am getting a short dump when I'm trying to use that screen.
It seems like some data is getting converted to bad format due to this (am not fully sure about it.)
Any idea on this.
Thanks & Regards,
Vipul.Hi Pinaki,
The entire functionality is working absolutely perfect if I dont check that field as "Required" .
I'm not sure if I'm missing some customising or is it a problem with BDT.
Thanks & Regards,
Vipul. -
How to find out the best settings for BDT
Hi there.
I am trying to predict a movie rating. I downloaded datasets from IMDb, prepared them. A tried all of the regression algorithms, but the best result is giving Boosted Decision Tree. Now I am dealing with the best settings in this algorithm.
With default, running time was 69 seconds and the mean absolute error was 0.4844, which is quite much I think. So I tried to improve it by changing parameters of the BDT module. I tried to set Leaves per tree to 150 and than experimentaly find
remaining parameters. I've come to Samples per leaf=12, Learning rate=0.04 and
Number of trees=700. Running time was 78 seconds and mean absolute error was 0.4596.
Input of the algorithm is joined matrix with 14 columns (11 features) and 67672 rows splitted into 70:30 (training:testing).
Is there any way how to find out the best setting of Boosted Decision Tree?Yordan's suggestion is correct, though the documentation is a bit outdated.
You can use the single parameter + sweeper mode or define your own custom ranges in the BDT module with the Parameter Range setting
Regards,
aK -
How to default the values in BP screen with BDT?
Hi all,
I am working in BDT enhancement for BP for Grants mangement. Therefore there are some screen fields in BP transaction should directly get saved in GMSPONSOR table. I mean to say user would give some values in BP screen(One can get it at the runtime by calling the FM BUP_BUPA_BUT000_GET) and the relevant values will autometically goes to GMSPONSOR table if the BP is saved.
As per my knowlwdge there are many events under BUPT transaction and there also I found the entry of GMSPONSOR table. Can anyone tell me in which event I have to default these screen values and redirect these to GMSPONSOR table?
Thnaks & Regards
Dibyendu.Dear Smita,
Thanks for your reply. The fact is that if I could default it in the screen text box then it would autometically goes to the corresponding table at save event.
So could you help me to identify the event by which one can keep default values in screen.
May be ISDAT or ISSTA event to default the valuesfor BP.
I have done to some extent for the fields belonging to BUT000 with the help of FM BUP_BUPA_FIELDVALUES_SET. I have placed a Z FM in ISDAT event. But the problem lies with the fields belonging to other tables.
Waiting for your update. -
I'm using BDT to extend BP to have a table control that is mapped to a Z-table. Couple of problems that I'm facing are:
1. In the function module for the DSAVC event, I'm calling the function 'CHANGEDOCUMENT_PREPARE_TABLES'. Is there any other setting required to display changes to values in the new table?
2. I need to hide the new table control based on partner role. I tried transaction BUCG to set diaplay properties of the table but results are inconsistent. Example, I need the table to display only for Contact persons. After making the BUCG change, when I pull up BP for a sold-to, the table is hidden. But when I switch to a contact person using the relationships button, the table does not become visible. If I start BP with a contact person, then the table is visible.
Any assistance will be appreciated.Hi,
we have the same problem. We are using SRM and ROS in one client. If we transfer the preselected supplier from ROS to SRM using OPI we get an error message. The message is processed, if we try to save/create the new supplier as business partner in SRM. If we clear the BP number which comes from ROS everything works fine. But this cannot be the correct solution.
Any ideas?
Regards,
Sven -
BP - default and check classification data at CREATE/SAVE using BDT + BADI
Hi,
I do have several requirements around Business Partners and BDT.
1. When a BP is created, I want to default certain fields depending on what BP role is maintained, specifically I am looking at fields on the classification tab (BDT application CRMD).
--> I do not want to use transaction variants.
--> I want to use the BDT or implement a BADI (which I dont think does exist)
2. When a BP is saved, I want to check whether certain fields have certain values depending on the BP role.
--> Field selection is not sufficient.
--> I tried using the BDT calling own function modules at different events without success. When I call function module CRM_BUPA_FRG0040_GET_DETAIL to get current classification data at DCHCK, structure ls_frg0040 is not updated yet.
At a later event I can not stop the save.
Is there a way to force an update of memory, so that function module CRM_BUPA_FRG0040_GET_DETAIL returns current values.
--> I also tried BADI BUPA_FURTHER_CHECKS, but it is not called at all.
Any help is highly appreciated.
Can anyone send me the BDT cookbook at [email protected]?
Thanks in advance,
JuergenHi Juergen,
From the BADI stand-point (and assuming dialog usage).
1/ You have:
BUPA_INITIAL_SCREEN "Initial Screen for BP creation"
You should even be able to set a particular tab to which you want to navigate and then fill in the relevant fields, prior to having the screen completely painted.
2/ You have badi's"
A - PARTNER_UPDATE "Business Partner"
and
B - BUPA_GENERAL_UPDATE "Business Partner General Data"
when performing updates to the partner.
Looking at the call stack (reading bottom-up) these BADIs are called a the points shown, both with the change-before-update method:
--> B
10 GENERAL_BADI_CALL
9 BUP_BUPA_EVENT_DSAVE
8 EVENT_DSAVE
7 BDT_DATA_SAVE
6 SAVE_GLOBAL_MEMORY
5 SAVE_GLOBAL_MEMORY
--> A
4 COMMIT_MAINTENANCES
3 TAKE_OVER_AND_SAVE
2 TAKE_OVER_AND_SAVE_AND_RELOAD
1 ON_SAVE
Brad -
Enhancement of Business Partner (Relationships) using BDT -Bus Data Toolset
Dear Experts,
I have a requirement from my customer enhancing the Business Partner Relationships using BDT.
I should add 2 fields namely salary, employer start date in the Business partner Relationships, it must be added in the characteristics of relationships as one employee can have multiple employers and vice versa.
If I would like to add the fields in Business Relationships using BDT, are the steps same as adding fields in business partner? or do we need to perform any other steps? Did someone already did this type of modification, please provide your suggestions.
After adding the fields is it possible to cusomize the fields for history of the changes? e.g. if salary field has been newly added and after creating a BP after some days I want to change the salary and for the changed salary I want to have a history.
I would appreciate if you can help me with your suggestions.
Many thanks and best regards,
AfrozSolved the problem Using EEWB.
Maybe you are looking for
-
Adapter Specific Identifiers of a business system
I created a business system and a sender RFC adapter under that. RFC destination is working fine now from the R/3 system now. When I go to the business system Adapter specific identifiers the R/3 system ID and Client are coming blank ; tried to compa
-
What's unit of CPU_TIME & ELAPSED_TIME columns in v$sqlarea
Hi, Oracle 9.2.0.4 on Solaris 9. What is the time unit of CPU_TIME & ELAPSED_TIME columns in v$sqlarea? The Database Reference says it is in microseconds (1/1000 seconds?). My java code would get the query result even before the database engine finis
-
Application quit unexpectedly/spinning beach ball
In recent weeks I am encountering problems never encountered before---frequent "application quit unexpectedly" and the spinning beach ball. Can anyone suggest why this might be happening now and offer some possible remedies. Thanks
-
Express document "updated was terminated" received from author
while go to change mode of va02 express document "updated was terminated" received from author this error showing and its not saving in table vbak
-
How to Purchase Additional Licences
I own a copy of adobe photoshop elements 10 which I have loaded on a third PC (Mac) but has quite properly stopped working after 30 days (because too many loads on PCs). I am happy to purchase another licence but cannot discover how to do this. Can