Implemented BADI to add custom screen to VD02 - how to get data to fields?
hi..
i have implemented CUSTOMER_ADD_DATA and CUSTOMER_ADD_DATA_CS to add a new screen to Customer Master maintenance tcodes.
When I run VD02 (for example), I get my button and when I click it, my new screen with new fields show up.
I need to be able to select from a custom table based on the current KUNNR and populate those fields with data for the user.
I created the custom screen using a Module Pool program - so this does give me PBO/PAI but I don't have access at that point to my S_KNA1 & other structure info that is contained in the BADI which I need.
How do I pass data to those fields?
thanks in advance.
rp.
At the point you are clicking 'your' button you could export the structures containing the needed data to abap memory. once in your new screen pbo you may import from abap memory.
do make sure that your development is hit only for the document type and other usage parameters by putting enough filters before the screen call- else this can slow down quite a few things in SD.
Similar Messages
-
USER EXIT or BADI to add custom fields in QI06 Output
Hi Gurus,
I have tried to find out Suitable User Exit / BADI to add custom fields in QI06 ( Collective Maintenance Display) output. but in vain..
We found USer Exits -QLIB0001/QLIB0002 .
Badi- QB_PLAN_SELECTION_P, QB_Q_INFO_RECORD,QB_QM_SYSTEM_COMPARE,ALV_SWITCH_GRID_LIST
which are not useful.
So need your Suggestions / help in finding out suitable exit/ BADI.
Thanks in Advance,
Lalit.Hi,
You can use the function module SXV_GET_CLIF_BY_NAME to find more BADI. Set a break point and run QI06 until the end.
I hope this helps you
Regards
Eduardo -
How to get data for custom feilds for standard datasource
i have extracted CRM standard datasource 0CRM_OPPT_I.
In RSA6 i slected feilds which i want to trnasfer to B Iand i also added some custom feilds.
and then i went to RSA5 and i activated datasource.then i went to RSA3and i extracted.
In rSA3 selection screen all the custom feilds are selcted.
after extraction if i go to LIST,only some of the custom feilds data is displaying remaining feilds displayed as blank data
please tel me how to get data
Thanks in advance
HPHi Hari,
Sorry for late reply.
Once you have done the proper mapping by using the transaction BWA1
you need to write the BADI code which can be accesible from the following path:
Go to transaction SPRO
SAP Implementation guide ->Integration with other mySAP components ->Data transfer to the Business Information Warehouse->
Settings for the application specific datasources (CRM) ->
Settings for BW adapter->Execute Badi :BW adapter :Enhancement of datasources in messaging flow.
Select you the datasource enhancement implementation it will open the BADI Implementation..
go To interface tab and double click on the method..it takes you to the ABAP screen where you need to write the logic to populate the custom fields..
Please feel free to mail back if you have any quries.
All the Best..
Thanks
SK -
Hello, well the other day i bought Angry birds with an Add " mighty eagle", and i had to reset my iphone and when i re-install the app Angry birds i dont have the add and i dont know how to get it back some1 can help me!?
Se if this helps:
iTunes Store: About In-App Purchases
Do you have a backup to restore from that would have included that in-app purchase? -
Required BADI to add custom fields in the Basic Data screen in MM01
Hi,
I got a requirement like this. I have to add 3 custom fields and one button in the standard transaction i.e., MM01, MM02, MM03. There is one field like producu heirarchy in the Basic Data in that field i will enter some values i want to display the description of those values in the corresponding field for that i need to create 4 custom field. We can create this by breaking the Developer Access Key but instead of that can i get any BADI to add the our custom code to display those fields. I want to add those fields in Basic Data View in the transaction MM01, MM02, MM03. I serached in SPRO but i couldn't find the respective BADI.
Pls suggest if any BADI is there for this.
Thanks in advance.Hi,
The list of BADI's are as under
WRF_DISCONT_PARAMS_I BAdI: Parameters in Fashion Discontinuation
WRF_DISCONT_FACT_E BAdI: Follow-Up Actions in Discontinuation
WRF_DISCONT_CHECKS_I BAdI: Scope of Check in Material Reorganization
MG_MASS_NEWSEG User-Specific Fields & Segments in Mass Maintenance
MATGRP_SKU_UPD BAdI for Article Hierarchy Connection
CDT_CHECK_MATERIAL Checks for Existence of a Material in a CDT
BADI_MM_MATNR Modification-Free Archiving Enhancement of MM_MATNR
BADI_MAT_F_SPEC_SEL BAdI for Material Special Field Selection
BADI_MATNR_CHECK_PVS Check Material for Use in iPPE
BADI_MATERIAL_REF Addition of customer-defined default data for material
BADI_MATERIAL_OD Integration of New Objects in Material or Article Maste
BADI_MATERIAL_CHECK Enhanced Checks for Material Master Tables
BADI_GTIN_VARIANT User Exit for Customer-Specific GTIN Variant Check
BADI_EAN_SYSTEMATIC BAdI for Internal Control of EAN Logic
Regards,
Surinder -
Need BADI to add custom field fro transaction FV50
Hi all,
I need BADI to add a custome field at header level.
Is BADI FI_HEADER_1300_FS is right one? IF yes how can i add field in SCREEN.
If not please let me know the correct BADI.
Thanks and Regards
Sagar.Hi,
Check the BADI
FI_HEADER_SUB_1300 to get the data to Screen Field and to put the data into Field and hence to database
FI_TRANS_DATE_DERIVE Filter based BADI
FI_LIMIT_PROCESS
BADI_PRKNG_NO_UPDATE
AC_QUANTITY_GET
FMRE_BUS_PROCESS
EXIT_XFMPR1_001
Regards, -
How to get data from screen for custom field?
Hi,
I have added custiom field in header for MIGO_GI transaction using BADI MB_MIGO_BADI by using Method PBO_HEADER, How to get the data from that field into method PAI_HEADER, if any body knows,please let me know.
Thanks.hi
you need to apppend your custom field in the GOHEAD structure , then automatically you we will get field value in the method IF_EX_MB_MIGO_BADI~PAI_HEADER with internal table is_gohead.
Pls try once?
Tks .. venkat -
How to add a screen in CC02 & how to avoid displaying comment pop up
Hi Experts,
I have a requirement wherein I need to add a screen that will consist of a drop down so that user can select the approvers to approve the ECR in transaction CC02.
& at the same time I need to avoid displaying the pop up that is shown while putting digital signature for approving the ECR.
Could you please tell me which screen-exits to be used in this regard.
points will be rewarded for the answer.Hi,
you can use the enhancement PCCD0001.
Regards
Kiran sURE -
Custom row-fetch and how to get column values from specific row of report
Hi -- I have a case where a table's primary key has more than 3 columns. My report on the
table has links that send the user to a single-row DML form, but of course the automatic
fetch won't work because 1) I can't set more than 3 item values in the link and 2) the
auto fetch only handles 2 PK columns.
1)
I have written a custom fetch (not sure it's the most elegant, see second question) that is working
for 3 or few PK columns (it references the 1-3 item values set in the link), but when there are
more than 3, I don't know how to get the remaining PK column values for the specific row that was
selected in the report. How can I access that row's report column values? I'll be doing it from the
form page, not the report page. (I think... unless you have another suggestion.)
2)
My custom fetch... I just worked something out on my own, having no idea how this is typically
done. For each dependent item (database column) in the form, I have a source of PL/SQL
function that queries the table for the column in question, using the primary key values. It works
beautifully, though is just a touch slow on my prototype table, which has 21 columns. Is there
a way to manually construct the fetch statement once for the whole form, and have APEX be smart
about what items get what
return values, so that I don't have to write PL/SQL for every item? Because my query data sources
are sometimes in remote databases, I have to write manual fetch and dml anyway. Just would like
to streamline the process.
Thanks,
CarolHI Andy -- Well, I'd love it if this worked, but I'm unsure how to implement it.
It seems I can't put this process in the results page (the page w/ the link, that has multiple report rows), because the link for the row will completely bypass any after-submit processes, won't it? I've tried this in other conditions; I thought the link went directly to the linked-to page.
And, from the test of your suggestion that I've tried, it's not working in the form that allows a single row edit. I tried putting this manually-created fetch into a before header process, and it seems to do nothing (even with a hard-coded PK value, just to test it out). In addition, I'm not sure how, from this page, the process could identify the correct PK values from the report page, unless it can know something about the row that was selected by clicking on the link. It could work if all the PK columns in my edit form could be set by the report link, but sometimes I have up to 5 pk columns.
Maybe part of the problem is something to do with the source type I have for each of the form items. With my first manual fetch process, they were all pl/sql functions. Not sure what would be appropriate if I can somehow do this with a single (page level?) process.
Maybe I'm making this too hard?
Thanks,
Carol -
How to get the cursor field on custom cotrol area
Hi all,
I crated a custom contorol area on Dynpro screen.
I'd like to get the cursor when i set the cursor on custom control area.
I tried 'GET CURSOR FIELD w_xxx AREA w_yyy', but I can't get that.
I don't know how.
If you know that, please let me know.
Regards.
Rie.You have to use set_focus method of CL_GUI_CUSTOM_CONTAINER.
CALL METHOD me->txt_container->set_focus
EXPORTING
control = me->txt_editor. -
For custom tables should we use UTC for date/time fields
A general question.
Can anyone confirm that SAP does seem to be moving towards storing date/time in UTC format?
We're building custom tables and we're making it a standard to store date/time fields in UTC format.
Regards,
LavaughnHello Lavaughn,
I can not speak for SAP, but from my personal experience TimeStamps are the state of the art to store time date info in db tables. Even with date/Time fields a conversion to the local timezone is necessary. Of course you can reuse your db definition on dynpros. But since UI and business logic will be divided anyway this is also not really a valid point.
Best Regards
Klaus -
User exit or Badi to add custom fields in selection screen of tcode CATS_AP
Hi Guys,
I want to add a custom field to the selection screen of report RCATS_APPROVE_ACTIVITIES (tcode CATS_APPR_LITE).
I also want to display filtered by this custom fields. Please let me know the user-exit (prefebly) or BADI.
I will appreciate if somebody can share the steps.
Thanks,Hi,
Yes there is, the BADI name is CATS_REPORTING.
It can be views in transaction SE17.
thanks.
JB -
BAdI: ME_GUI_PO_CUST add customer field to item level
Hi Experts,
I want to add a customer field to PO item level, how to do that? the functional consultant told me to first implement the BAdI: ME_PROCESS_PO_CUST before I can use BAdI: ME_GUI_PO_CUST, can anyone show me the procedure on how to implement this? thanks in advance.
Kind regards
DawsonHi Dawson,
Those BADIs are having good documentation and sample code. Once gone through the documentation, you can refer below thread.
Re: ME_GUI_PO_CUST & ME_PROCESS_PO_CUST - ME21N/ME22N/ME23N
Reddy -
PS Transaction CJ20N BADI - how to get data?
Hello,
I need to make further checks to a project in CJ20N. If the user saves the data, that's where my code goes in.
I tried using the BADI interface IF_EX_WORKBREAKDOWN_UPDATE as suggested in several forums. At method AT_SAVE, I inserted a BREAK-POINT but if the activity is saved in CJ20N, the program does not stop here. I inserted a BREAK-POINT inside the BEFORE_UPDATE method of the badi implementation, and the program stops here. However, the parameters available for this method does not contain anything (IT_WBS_ELEMENT, and IT_WBS_HIERARCHY are both initial)
How can I get the some information from CJ20N? For example, the network number. This is CAUFVD-AUFNR on the screen but structure CAUFVD is not available in the method.
Please help.Dear Kyle,
I was working on your issue. While you're in CJ20N in any particular Project Definition, try changing any value on the screen (example: try changing the description of the Project Definition) and then click on Save.
The control should go to your break point in the at_save method of the BADI Implementation of standard BADI: PROJECTDEF_UPDATE. Thereafter the control also goes into at_save method of the BADI: WORKBREAKDOWN_UPDATE.
Make sure that you have created your BADI implementation and activated its methods.
Hope this was useful. Let me know if you face any issues.
Regards,
Aniruddha -
I have tried the forum suggestions for re-setting my home page, how to disable add-on extensions, and how to to remove from any MSN / BING from my add/ remove in the control panel, but it persisits.
I do have IE 8 also , but only use it on websites that only function with IE, but my home page on IE is of my choice (GOOGLE) and does not reset to MSN. So whatever the problem is, it does not affect IE only Firefox
Any help ?Seems that may have worked and that's great, thank you. But now I have another problem which seems to be as persistent as the search bar has been.
Now when I edit the bar and position of the buttons some of those buttons disappear when I click Ok in the customization, but reappear when I reopen the customization settings.
Why is that? When I put a space in between some of the buttons the buttons near the space will disappear and leave a blank space where it should be.
I'm beginning to be rather annoyed with this Firefox Beta to say the least and am considering returning to the version before it. Whatever I do now as far as customizing is concerned of the toolbar is reset every time I reopen Firefox. The buttons are no longer where I had set them up, the address bar is stretched to it's maximum, the Menu Bar is back the far left edge, buttons are missing that I had put there, and buttons I had removed are returned.
:| I know it may seem insignificant to some people but it annoys the crap out of me. I understand this is a beta and if there is no solution then I perhaps will use the earlier version for a while.
Thanks for your input by they way, it's much appreciated.
Maybe you are looking for
-
Sorry for long post... I have this scenario: - Issue is on PS3, PS2 works fine - I create a new object via "$myObj = New-Object PSObject" - I append a number of PSMembers to it via something similar to: "if (-not (Get-Member -InputObject $myObj -Name
-
Unable to install Firefox on Windows 7 as Admin
Hi.. I have uninstalled my Mozilla Firefox(as it was not able to update) and now trying to re-install it on my Windows 7 PC. When I ran the firefox installation file it is saying "You may have necessary permissions..Try to run as a diff user or as cu
-
I have a zv6000 an i cantr load an operating system it boots you can go to the bios an it recognize
this laptop boots an lets you change the settings in the bios and lets you change the boot order an the rom drive lights up an you can hear it spin but it wont continue on the boot it stops with the flashing line and wont start the install can any
-
Walmart Moneycard Sign In Issues
With the update to 8.1, I have not longer been able to log, or even access my Wal-Mart Money Card Account Only the top part of the page is shown. I am can use other operating systems, INCLUDING Windows 8 with zero issues, only when I updated to 8.1 i
-
Removing Splash Screen using button in Movieclip
Hi I have created a shooting game and I am struggling to create a splash screen at the beginning informing the user of the controls with a button to start the game, which removes the splash screen. I am trying to add the splash screen in the main tim