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 don’t 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,
Juergen

Hi 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

Similar Messages

  • My iMessage for my Macbook Air is not working. It says no delivered with a red ! next to it. I have tried serval different options on trying to get it to work to include logging out of iCloud and checking my date and time. I have done about everythin

    My iMessage for my Macbook Air is not working. I have updated everything. My system is running on OS X Yosemite Version 10.10. When I go to send a message, it says no delivered with a next to it. I have tried serval different options on trying to get it to work to include logging out of iCloud and checking my date and time and updating FlashPlayer. I have done about everything I can think of. Any help would be greatly appreciate!

    Why start a new and very similar thread to your other one which you have not responded to (have you read the replies?)
    I suggest that no response is made to this duplicate thread. 

  • HT1338 when I try to print, I get this error message "Communications Failure: The computer is no longer able to communicate with your printer. " followed by intruictions to turn off the printer and check connections etc. I am using an HP Officejet 6500 70

    when I try to print, I get this error message "Communications Failure: The computer is no longer able to communicate with your printer. " followed by intruictions to turn off the printer and check connections etc. I am using an HP Officejet 6500 709e, connecter wirelessly

    I'm using a mac (OS X - snow leopord) and am printing over the network (wirelessly).
    HP Photosmart Premium Fax All in One - C410a
    I was only able to print one page and then both my printer and my computer would display an error message about the printer's inability to print.  Since then I've been able to resolve my specific problem.
    I
    1. uninstalled HP from my computer (checked to ensure that my printer was no longer visible in my printers and the HP Utility software was nowhere to be found), 
    2. grabbed the software/driver update from Aug, 2010,
    3. installed the Aug, 2010 update, and my problems seem to have been fixed.
    This is where I got my 2010 update from (obviously you should get the driver/software applicable to your OS and specific printer):
    http://h10025.www1.hp.com/ewfrf/wc/softwareDownloadIndex?softwareitem=mp-85379-1&cc=us&dlc=en&lc=en&...

  • Classification data not creating in MM01

    I am having a strange problem.
    While creating a material using MM01, I select the views Basic Data1 & 2, purchasing, classification & accounting 1.
    In the classification view, for class type 023 I enter a class, say ZCLASS.
    After I hit enter, characterstics assigned to this class are displayed. I select the values for the characterstics & proceed with creating other views & save it. I select the batch managed check box in purchasing view as well before saving.
    Now, when I go to MM02 or MM03 & display the classification data, theres nothing in there.
    No class, no characterstics.
    But if I enter the class ZCLASS again in MM02 for the material & save it and then display it, I can see the classification data.
    I am wondering what is happening with the transaction MM01.
    I have tried this with class type 001 as well but it didn't help.
    Do I have to always go to MM02 after MM01 to have the purpose solved or can it be done directly the first time.
    Would appreciate your help.

    Mohan,
    The first time you enter MM02 or MM03, you will typically have to choose which of the available Classes you wish to display (since there are many, and the system has no idea what you want to see).  Once you have selected this, the system will usually remember which one you looked at the last time, and will default to this for the next material that you change/display.  This behavior is standard.  Each time you log onto SAP, you will usually have to make this choice for the first MM02/MM03 you do each day.
    I believe you are properly creating and saving your ZCLASS data during the MM01 session.  I believe that nothing is wrong.
    The test is to immediately go from MM01 to MM03 and display the Classification view of the Material you just entered.  Enter the class.  If the data you just entered appears, then you are good to go.
    Regards,
    DB49

  • To change the classification data for a material using BDC

    I have to update clssification data for material in MM02 using BDC so when i record the transaction MM02 using SHDB i am not able to see the value assignment window which i a able to see when i am changing using MM02 transaction directly. So can anyone have an idea regarding this ?
         I have even tried updating classification data using a BAPI BAPI_OBJCL_CHANGE but i am not getting desired results....can anyone suggest me what are the parameters need to be passed to the BAPI. Thanks in advance for your help....

    Hi Nagarjuna,
                       <b>BAPI_OBJCL_CHANGE</b>  :  This BAPI changes an existing classification, or creates the classification if it does not yet exist. The classification is defined by the required entry fields for the object key (ObjectKey), object table (ObjectTable), class name (AllocDetail-Class_Num), and class type (AllocDetail-Class_Type). The default value for the optional date field (KeyDate) is the system date, on which all classifications become valid. The new characteristics and/or values are transferred to different tables according to data type. Numeric, time, and date characteristics are transferred to table AllocValuesNumNew, character and boolean characteristics are transferred to table AllocValuesCharNew, and currency characteristics are transferred to AllocValuesCurrNew.
    The object key (OBJECTKEY) must be transferred in internal format. This means before conversion exits. For example, a material number must be transferred with leading zeros.
    If the BAPI runs without errors, table Return contains no messages of type "E".
    Assignment created:  message CL735
    Assignment changed:  message CL737
    Assignment not changed:  message CL738
    This BAPI only changes the parameters of an existing assignment (or creates a whole new assignment), but it does not delete the assignment to a class and replace it with an assignment to another class. If you want to reassign an object, the old assignments must be read with BAPI_OBJCL_GETCLASSES and deleted with BAPI_OBJCL_DELETE, then the new assignments must be created with BAPI_OBJCL_CREATE.
    The information transferred by this BAPI replaces all old information. An empty field means "delete entry!", not "no change".
    This BAPI does not change the database. To change the database, call BAPI BapiService.TransactionCommit afterwards.
    You can only use this BAPI for objects that are not classes!
    This BAPI only processes assigned values for classification - not for configuration.
    Reward points if helpful.
    Regards,
    Hemant

  • Data is not saving using BDT

    Hi All,
    I have enhanced BP screen using BDT  .
    I have created fields in already exisitng role and tab and the data is not getting saved in ztable .
    there is one tcode called BUS7 where I need to give FM for dsave  and few other events. I have defined all the events and Executed but unfortunately none of the events are getting called.  I have put a break-point no use no event is getting called,
    Kindly let me know any one got the same kind of issue.
    Thanks & Regards
    Sas

    Hello ,
    y dont you use existing BADI  to capture these details into Z table .im  not sure y its not triggering your events,but using BADI you can  save data into Ztable .
    i have done same thing , if user didnt goto my customer Tab..then my Customer Events and FM to capture data , so i have coded in both BADI and FMs .
    useful Tcodes : BUPT
    regards
    Prabhu

  • Copy files over network and preserve original date modified/created

    This problem originally cropped up when importing photos into iphoto. I copied all my pics across the network and stored them locally then imported them into iPhoto. Problem was, any pics that did not have EXIF data were sorted by iPhoto, by date created...which was the date they were copied to the Mac.
    I got around that by trashing the iPhoto Library, then importing the photos over the network. The dates on the pics were correct on the Windows machine till the copy process changed them.
    is there a way to copy across the network and keep all the file attributes as they are on the original..An archive type feature.
    I had thought of RsyncX, but have not used that yet from within the Mac.
    Is there a way from within Finder to copy and keep attributes? or a third party app?
    Neil

    zip the folder with your pictures (control-click on it and choose "compress folder"), copy the zip files to the remote computer and unzip it there. this will preserve the modified and created dates.

  • How can I open a file and get the data inside  file when using  WebStart

    When I use ClassLoader,
    Which methold can I use the read the information inside that file?
    Thanks
    Ryan

    Assuming you are trying to read the jar file.
    http://forum.java.sun.com/thread.jspa?forumID=22&threadID=572955
    rykk

  • How to read and write a data from extrenal file

    Hi..
    How to read and write a data from extrenal file using Pl/sql?
    Is it possible from Dyanamic Sql or any other way?
    Reagards
    Raju

    utl_file
    Re: How to Create text(dat) file.
    Message was edited by:
    jeneesh

  • Creating Repositories using MS SQL Server DataBase in Data Service Reposito

    HI All,
    I installed BODS and I am trying to create repository using Data Service Repository Manager but I am getting the following error message :
    Cannot open connection to the repository.  The error message from the underlying DBMS is <ODBC call <SQLDriverConnect> for data source <localhost> failed: <[Microsoft][ODBC SQL Server Driver][DBNETLIB]SQL Server does not exist or access denied.>. Notify Customer Support.>. (BODI-20006)
    An error occurred during creation of the local repository. (BODI-300054)
    While installing BODS i used the option to create DB .... Before that even I had Microsoft SQL server installed for MDM which was working fine (Able to Log on and so on)...
    Do I need to install Oracle in order to create repositories? How to proceed further please suggest.
    many Thanks
    Rajeev.

    Hi!
    What version of SQL Server are you using for the repositories? Maybe the error is because DS can not create repositories in SQL Server 2008. You can read and write data with SQL2008, but you need to create the repositories in SQL2005 or another RDBMS. I'm not sure when DS is going to be able to create them in SQL2008.
    I hope this could help you. Greetings!
    See you
    LCGC

  • Check cube data

    I have web query that i want to run. It's asking for certain variables eg : date.
    How can i check cube data to see what valid dates have been posted in the cube?
    so then I can put this in for the variable date ?
    thanks

    Hello MaGic,
    How r u ?
    Manage the Cube and check 0CALDAY (date) and then give the parameters.
    Best Regards....
    Sankar Kumar
    +91 98403 47141

  • Syndicate Classification data

    Hi Guru's
    How do we syndicate Vendor master Classification data?CREMAS IDOC doesnot show me any segments for this ..So does this need to be customised ..
    Any clues??
    Regards
    Vikrant M Kelkar

    Hi Vikrant
    How do we syndicate Vendor master Classification data?CREMAS IDOC doesnot show me any segments for this ..So does this need to be customised ..
    For syndicating Classification data we need to use CLFMAS IDoc as it is not part of CREMAS.
    Either we can use a custom xsd containing both structures CREMAS and CLFMAS or separate xsd for them.
    If you use a single xsd combining both the schemas in PI we need to split the IDOcs and sequence them for posting in ECC. There should be some time delay between posting of CLFMAS and CREMAS.
    best regards
    Ravi

  • How to integrate cProjects with R/3 to get the Material Classification Data

    Hi all,
       We are installing the cProjects and we have to integrate it with R/3 to get the Material Classification data.
      Is any one has developed the object link, which links cProject and Material Classification data in R/3?
      Thanks in advance.
    Regards.

    Hi Venkat,
    Refer SAP cProjects Guide for Implementing an Object Link. This Guide also includes User Defined Object Links.
    You should be able to find it on SAP Service Marketplace. In case you cannot, pl send me your email ID, I will mail the same to you.
    Regards,
    Reema.
    Pl award points to all useful answers.

  • Saved text fields and check-boxes empty when 3D window activates

    I've created Text Fields and Check-boxes in a pdf template, using LiveCycle Designer.
    I create the 3D work in Reviewer, and use the pdf template during Export to 3D pdf.
    Using 'Extend Features in Adobe Reader' the user can fill in the text fields, and click the check-boxes then save them with the pdf  - just using Reader.
    So far this is great!
    The problem comes when the pdf is opened again and the 3D window (A3DR_3DFrame) activated.
    All the completed fields empty!
    This is not great at all!
    I've did some tests and found that the filelds only clear if I include the Configs selection list box with the special name 'A3DR_Configs' in the template pdf. (A3DR_Configs lists the Configs stored in the 3D Reviewer file and the user can select the config from that list).
    This is unfortunate, as the A3DR_Configs window is useful since it indicates to the user which 3D config is currently being viewed (ie the name of the current config stays highlighted).
    Is this a bug that can be fixed or is there a workaround?
    thanks,
    Ian

    Would you mind to post your commenton the the approriated Adobe forum page ?
    This one is dedicated to Acrobat 3D
    The correct forum page for Designer is:
    http://forums.adobe.com/community/livecycle/livecycle_es/livecycle_designer_es
    Thanks in advance
    William

  • Difference between "Database Variant To Data" and "Variant To Data"

    Can anyone tell me the differnce between the 2 VI's "Database Variant To Data" and "Variant To Data"?
    I am using the database connectivity toolset and making a query.
    I have tried using both, but the give me the same result.
    Attachments:
    Variant to Data.JPG ‏45 KB

    You won't see a difference between these two functions with just a string or other simple data types.  Where you'll see a difference is with clusters and more complex data types that come from the database.  The variants returned by databases can be slightly different than the standard variant.  That is where the Database Variant To Data is needed.  Otherwise, if you are just reading string information, either function will work fine.
    Crystal

Maybe you are looking for

  • Pdf's file size expansion in OSX

    New problem for me.  A colleague sends me a PDF from a Windows based machine.  It leaves his laptop as a 4 MB file.  I receive it on my Mac and save it; it's now a 7.6 MB file.  I write a one line email and attach the PDF; it's now showing up as a 9.

  • HOW TO STOP A SCHEDULING A PROCESS CHAIN IN SAP BPC

    Hello Expert, Can Any 1 tell me  how to stop a scheduling of a process chain in sap bpc ??

  • Thread Safe Pro*C++

    I want to have pro*C++ object that is thread safe. In a method of the object, I give the following code & get a pre-comipler error. xsaLaOracle::connect() /* declare the runtime context */ sql_context ctx; /* enable threads */ EXEC SQL ENABLE THREADS

  • Why do I have two Bookmarks tabs, one in the Menu Bar one in the Bookmarks Toolbar?

    I recently upgraded to FireFox 9.01 on my MacBook running 10.6.8. I now have two Bookmark tabs. One in the menu bar where it has always been and a new one in the Bookmarks Toolbar. The one in the toolbar has all of the custom icons for the sites that

  • Clearing history (cookies, etc..) locks up firefox 4 and 5 in Win 7 64 bit

    I have 4 completely different PCs running Windows 7 64 bit. Every time I manually clear the history/cookies/etc.. firefox locks up and crashes. This has been happening since firefox 4 and still exists in firefox 5. Also, closing firefox (4 or 5) does