OVS_USAGE on Custom field don't keep value
Hi Guru's,
I'm not expert on WD4a, i've this problem.
I've implemented an OVS search help on Custom Field, on SRM 7.0 Webdynpro (/SAPSRM/WDC_DODC_SC_I_BD), everything work fine, but if i change the tab (Split to another web dynpro) and then come back to my WEB DYNPRO, the value on custom field are Blank.
Have some indication?
Thank you
Roberto
Edited by: Roberto Della Frera on Dec 1, 2011 6:18 PM
Can you check one thig - In the OVS related methods, can you check for this property. Are you clearing the node anywhere.
Check in the IF_WD_OVS methods to have the value in place. Can you also check the OVS instance. Is that instantied again. where have you written the code..Try to instantiate it once, store it in the view's attributes as global and use that for further processing.
Edited by: Lekha on Dec 5, 2011 3:36 PM
Similar Messages
-
Task custom field and formula custom field don't correspond Project Server 2013
Hi people, I have an interesting case in Project Server 2013 SP1 CU Apr:
I have a custom task number field called AM. This field get's filled by a PSI action with actual material costs from an external system.
I also have a custom task cost formula field that is called AM*. This field is a formula field that has the formula [AM]. And summary tasks use the formula field as well.
As soon as I create a project, assign costs in the external system and let PSI fill the values within AM I get correct values in AM. But nothing is calculated on AM*. If I edit the project in the browser and publish, check in and revisit the project
AM* still isn't filled.
If I open the project in MS Project Pro the calculation comes through nicely, however I do not want to use MS project Pro to see correct data in browser.
Some tests I have already done:
I have noticed that when I create a new calculated task field AM2*, this get's calculated correctly on the already existing task.
I have also noticed that opening the custom field in server settings and just saving the field creates correct values on AM*.
What is going on? I don't want to save the custom formula field every day... There are 11 custom formula fields in the environment at the moment.Hi Gary,
Thank you for the quick response. Please note that the fieldnames are [AM] and [AM*]. There is a difference in field name due to the astrix. However I did think about the situation and changing one of the field names all together didn't do anything for the
situation at hand.
It looks like some kind of refresh thing, because without changing anything in the custom field just saving the field in server settings will turn op good values. However, values already turned up good in Project Professional 2013. And that suggest
that there is a calculation error on the PWA side wouldn't you say?
Anyway, thank you for taking time to look into this matter.
Erik -
Custom field F4 help - selected value/index
Hi experts,
We have an F4 help for a custom field in an assignment block and the values are populated using a standard structure currency field (CRMST_PRICINGSET_BTIL-CURRENCY) in the GET_V method.
We have also defined an event handler to capture the selection of the value from F4. But in this event handler, how can we get the value /index of the row selected in the F4 help?
Since it is an F4 help and not a pop-up of type IF_BSP_WD_POPUP, we can't use the get_fired_outbound_plug( ) concept here.
Regards,
NishaHi NishaNC,
If field is already in the structure, just use a check table like field CURRENCY in structure CRMST_PRICINGSET_BTIL.
If not, please check component BT131QI_SLSQ, view Details, context node BTPRICINGSET, field NETPRICE_CURR.
Create the methods and do the same way as methods for field NETPRICE_CURR.
Of course, you need have a CURRENCY field in you structure first(same as structure CRMST_PRICINGSET_BTIL).
For your issue, I think you already have a field in the structure, so just add a check table is OK.
Regards,
Meng
Edited by: Lingxing Meng on Dec 2, 2010 3:27 PM -
CUP 5.3 SP8 - Custom Fields - Default Value?
Hello,
Can I set a Default Value for a Custom Field? For example, we have the Custom Field for requets called "Country." Can I default this so when a user logs in to create a request, it defaults to "North America." ?
I'm looking through the Config Guide and not seeing anything on this. Custom Fields don't show up in End User Personalization either...
Thanks!
Jes BehrensJes,
Harleen is correct. This is no available in AC (CUP) right now. Hopefully, SAP fixes this soon. Can you open a message with SAP and see if they are going to fix this or not?
Regards,
Alpesh -
How to make a custom field as text as well as value fied in ad hoc query
hi,
i have created a custom infotype 9004 in which the custom field contain the code values, and the text of this code values are maintained in another ztable.
when i am viewing this infotype in Ad hoc query i am able to see this fields as only value fields and hence i am unable to get text for this field i.e when we right click on this field only the value option is enabled and the text option is disabled, both these options are enabled in some other standard fields like pernr(personnel no), persg(employee group),persk(employee subgroup).
can anybody suggest me how to enable both these options for custom fields.Assign you table of text as a table text to the data element/domain of your custom field or thru external key on your infotype.
Query is able to analyse these links.
Regards. -
Updating custom fields to MSEG through MIGO
Hi,
I got a requirement to add a tab with custom fields in MIGO transaction, which I did using BADI MB_MIGO_BADI
and requirement also says to extend table MSEG with custom fields and store the values in MSEG.
I have gone through example implimentation and updated MSEG in similar way. IS it a good approach to extend MSEG table? I read one thread says we can't extend MSEG table with custom fields. is it true?
Goods receipt will be done only through MIGO to restrict inconsistensies in material documents.
One more question.
How to restrict the additional custom screen to be displayed for particular action in MIGO?
ThanksHi,
Yes you can do it, i did it with the same BADI method to update to custom fields in MSEG table through MIGO transaction.
Here is the steps you need to follow :-
1. Create a append structure or you can use the CI include to add fields in MSEG table. I did it though append structure only.
2. Create a implementaion of MB_MIGO_BADI through SE18 or SE19 transaction.
3. Inplement the interface IF_EX_MB_MIGO_BADI methods, the details of interface implementaions are described below:-
Attribute
GV_VEND_LOT Instance Attribute Public Type CHAR1 'X' : Purchase order Type NB (Standard PO) found
GIT_MSEG Instance Attribute Public Type TY_T_MSEG Table MSEG
GV_BSART Instance Attribute Public Type ESART Purchasing Document Type
GV_GRMODE Instance Attribute Public Type CHAR1 X: Document is of Type GR with PO and Y : Document with Mat.
GWA_MSEG Instance Attribute Public Type MSEG Document Segment: Material
GC_CLASS_ID Constant Private Type MIGO_CLASS_ID Class ID for MIGO Components (External Detail Screen) 'ZIMP_MB_MIGO_BADI'
GV_LINE_ID Instance Attribute Private Type GOITEM-GLOBAL_COUNTER LINE_ID of Line Displayed in Detail
GIT_LINE_ID Instance Attribute Private Type /KYK/TRG_NUMC6 Range Table: NUMC6
GWA_LINE_ID Instance Attribute Private Type /KYK/SRG_NUMC6 Range Structure: NUMC6
GC_X Constant Private Type CHAR1 'X' : Select 'X'
GC_BSART Constant Private Type ESART Purchasing Document Type 'NB'
IF_EX_MB_MIGO_BADI~INIT
METHOD if_ex_mb_migo_badi~init.
IF gv_grmode = gc_x.
Regristration of BAdI-Implementation:
Append class attribute GF_CLASS_ID (='ZIMP_MB_MIGO_BADI') to
regristration table.
APPEND gc_class_id TO ct_init.
ENDIF.
ENDMETHOD.
IF_EX_MB_MIGO_BADI~PBO_DETAIL
METHOD if_ex_mb_migo_badi~pbo_detail.
Lines added to do display Vendor lot tab in the item level
Only for Purchase order type NB (Standard PO)
Local constants
DATA : lc_cprog TYPE sycprog VALUE 'ZMMM_MIGO_VENDOR_COO',
lc_dynnr TYPE sydynnr VALUE '0100'.
lc_heading TYPE migo_badi_heading VALUE 'Vendor Lot Number'.
Read Line item from buffer table
if sy-subrc =0 then only display vendor lot tab
READ TABLE git_line_id WITH KEY low = i_line_id
BINARY SEARCH TRANSPORTING NO FIELDS.
IF sy-subrc EQ 0 AND ( gv_grmode IS NOT INITIAL
AND gv_vend_lot = gc_x ).
e_cprog = lc_cprog. " Program name
e_dynnr = lc_dynnr. " Screen number
e_heading = text-001. " Tab Heading
gv_line_id = i_line_id. " line Item
ENDIF.
ENDMETHOD.
IF_EX_MB_MIGO_BADI~PAI_DETAIL
METHOD if_ex_mb_migo_badi~pai_detail.
IF gv_grmode IS NOT INITIAL AND gv_vend_lot = gc_x.
'X': The Method LINE_MODIFY Is Processed
e_force_change = gc_x.
Reset the Flag for next line item selection
CLEAR gv_vend_lot.
ENDIF.
ENDMETHOD.
IF_EX_MB_MIGO_BADI~LINE_MODIFY
METHOD if_ex_mb_migo_badi~line_modify.
IF cs_goitem-ebeln IS NOT INITIAL.
Look for Purchase order number from EKKO and get the Order Type.
If the Order type is NB (Standard PO) then set the flag GV_VEND_LOT.
SELECT SINGLE bsart FROM ekko INTO gv_bsart
WHERE ebeln = cs_goitem-ebeln.
IF sy-subrc EQ 0 AND gv_bsart = gc_bsart.
gv_vend_lot = gc_x.
IF NOT i_line_id IS INITIAL.
gwa_line_id-low = i_line_id.
ENDIF.
IF git_line_id IS NOT INITIAL.
SORT git_line_id BY low.
ENDIF.
READ TABLE git_line_id WITH KEY
low = i_line_id BINARY SEARCH
TRANSPORTING NO FIELDS.
IF sy-subrc <> 0 AND gwa_line_id IS NOT INITIAL.
APPEND gwa_line_id TO git_line_id.
ENDIF.
ELSE.
CLEAR gv_vend_lot.
ENDIF.
CLEAR : gv_bsart,
gwa_line_id.
ENDIF.
*************Buffer MSEG table with custom fields **********************
*Item is Adopted in Document
IF NOT cs_goitem-take_it IS INITIAL.
CLEAR gwa_mseg.
MOVE-CORRESPONDING cs_goitem TO gwa_mseg.
APPEND gwa_mseg TO git_mseg.
ENDIF.
ENDMETHOD.
METHOD if_ex_mb_migo_badi~post_document.
Delete duplicate line item if avail in GIT_MSEG table
SORT git_mseg BY zeile.
DELETE ADJACENT DUPLICATES FROM git_mseg COMPARING zeile.
To access these valu in Ennhancement Spot ZENHIMPL_MM_MB_MIGO_BADI_MB
EXPORT : git_mseg FROM git_mseg TO MEMORY ID 'GIT_MSEG',
gv_grmode FROM gv_grmode TO MEMORY ID 'GV_GRMODE'.
Refresh all class content
CLEAR : gv_vend_lot,
gv_bsart,
gv_grmode,
gwa_mseg,
gv_line_id,
gwa_line_id.
REFRESH : git_mseg,
git_line_id.
ENDMETHOD.
METHOD if_ex_mb_migo_badi~mode_set.
Local Constants
DATA : lc_a01 TYPE goaction VALUE 'A01', " Goods Receipt
lc_r01 TYPE refdoc VALUE 'R01', " Purchase order
lc_a04 TYPE goaction VALUE 'A04', " Display
lc_r02 TYPE refdoc VALUE 'R02', " Material Document
lc_y TYPE char1 VALUE 'Y'. " Indicator for Display material document
Set mode variable for Good Receipt with Purchase order
IF i_action = lc_a01 AND i_refdoc = lc_r01.
gv_grmode = gc_x.
ELSEIF i_action = lc_a04 AND i_refdoc = lc_r02.
Set mode variable for Good Receipt with Purchase order
gv_grmode = lc_y.
ELSE.
CLEAR gv_grmode.
ENDIF.
ENDMETHOD.
METHOD if_ex_mb_migo_badi~publish_material_item.
IF ls_goitem-ebeln IS NOT INITIAL.
Look for Purchase order number from EKKO and get the Order Type.
If the Order type is NB (Standard PO) then set the flag GV_VEND_LOT.
This method is used to material document display
SELECT SINGLE bsart FROM ekko INTO gv_bsart
WHERE ebeln = ls_goitem-ebeln.
IF sy-subrc EQ 0 AND gv_bsart = gc_bsart.
gv_vend_lot = gc_x.
IF NOT ls_goitem-zeile IS INITIAL.
gwa_line_id-low = ls_goitem-zeile.
ENDIF.
IF git_line_id IS NOT INITIAL.
SORT git_line_id BY low.
ENDIF.
READ TABLE git_line_id WITH KEY
low = ls_goitem-zeile BINARY SEARCH
TRANSPORTING NO FIELDS.
IF sy-subrc <> 0 AND gwa_line_id IS NOT INITIAL.
APPEND gwa_line_id TO git_line_id.
ENDIF.
ELSE.
CLEAR gv_vend_lot.
ENDIF.
CLEAR : gv_bsart,
gwa_line_id.
ENDIF.
ENDMETHOD.
METHOD modify_mseg.
DATA : lwa_mseg TYPE mseg.
Check if buffer MSEG table is not initial
and mode is GR with PO then only update XMSEG from GIT_MSEG
IMPORT : git_mseg TO git_mseg FROM MEMORY ID 'GIT_MSEG',
gv_grmode TO gv_grmode FROM MEMORY ID 'GV_GRMODE'.
IF git_mseg IS NOT INITIAL
AND gv_grmode = gc_x.
SORT git_mseg BY zeile.
LOOP AT xy_mseg INTO lwa_mseg.
Identify the record and update XMSEG
CLEAR gwa_mseg.
READ TABLE git_mseg
INTO gwa_mseg
WITH KEY zeile = lwa_mseg-zeile BINARY SEARCH.
IF sy-subrc EQ 0.
MODIFY xy_mseg FROM gwa_mseg
TRANSPORTING zvendlot zcoo WHERE zeile = gwa_mseg-zeile.
ENDIF.
CLEAR lwa_mseg.
ENDLOOP.
Reset buffer table and mode
REFRESH git_mseg.
CLEAR gv_grmode.
ENDIF.
Free memory ids
FREE MEMORY ID : 'GIT_MSEG',
'GV_GRMODE'.
ENDMETHOD.
4. Now go to the function module MB_POST_GOODS_MOVEMENT andcall the method modify_msegfrom the implemented class ZCL_IM__MB_MIGO_BADI.
ENHANCEMENT 110 ZENHIMPL_MM_MB_MIGO_BADI_MB. "active version
Data declaration for badi method
Data : lo_ZCL_IM__MB_MIGO_BADI TYPE REF TO ZCL_IM__MB_MIGO_BADI.
CREATE OBJECT lo_ZCL_IM__MB_MIGO_BADI.
if sy-subrc eq 0 and xmseg[] is NOT INITIAL.
CALL METHOD lo_zcl_im__mb_migo_badi->modify_mseg
CHANGING
xy_mseg = xmseg[].
endif.
ENDENHANCEMENT.
Regards,
Dhirendra Pandit -
Data entered in the custom field in the SRM portal not getting saved..
Hi Experts,
I have added a custom field in Contract Screen of the SRM portal by adding the field as an append structutre in structure INCL_EEW_PD_HEADER_CSF_CTR.
The custom field now appears in the header (basic data ) of the 'Process contract' screen.
NOw It allows me to enter data in the custom field .
The problem is ..
When I 'CHECK' or "RELEASE' the contract, the value entered in the custom field disappears..
How do i capture the data entered in the custom field ...please HElp!!!
Thanks in Advance.
VidyaHi Pradeep,
Thanks for the reply!!
We have upgraded our SRM system from 3.0 to 5.5
I have added the custom field in structures INCL_EEW_PD_HEADER_CSF_CTR and
INCL_EEW_PD_HEADER_CSF as the field has to appear in the basic data tab of 'Process Contract'.
Regarding debugging:
1. I tried to debug in BBP_DOC_CHECK_BADI by calling the FM BBP_PD_CTR_GETDETAIL. inside the badi and the parameter e_header of the function module contained the custom field but had no value...!!
2. I tried to debug the badi BBP_CUF_BADI_2 method MODIFY_INPUT..
The import variable iv_fieldname contains the field name amd the variable iv_value has the value entered in the custom field .........but another import structure ls_header also contains the custom field but no value....
Method MODIFY_INPUT has only one export parameter ev_value,,,,,,,,,,,,,,,,!!!!!!!!!!!!
Edited by: vidya vidya on Apr 24, 2009 6:06 PM -
How to set a default date for a custom field of Date type in project server 2010.
hi,
can somebody help me.
How Can i set the default date for a custom field of date type in project server 2010 ?Dear Rohan,
You can set default value to custom field thru Lookup table. Assign lookup table to custom field and set default value to some lookup value (Note: check the “Choose a value to use as a default when adding new item” checkbox).
Regards,
Avinash kumar | Blog:http://avigr8.wordpress.com | If you found this post helpful, please “Vote as Helpful”. If it answered your question, please “Mark as Answer”. -
Want to add Custom field in IW22 transaction
Hi All,
I have requirement to add a custom field (Zfield) work class in IW22 transaction in Start/End Dates section.
The custom field has some constant values. When I choose the work class, the Priority field value should automatically populated according to value of work class. Plaese guide me step step procedure.
Regards,
sanjib.Hi,
Use this Exit QQMA0001:
Create a subscreen in SAPLXQQM Screen No: 0113(Mention the custom screen as per your FD)
I Hope we can achive this by customizations in SPRO.
SPRO>Quality Management>Quality Notification-->Overview of notification
Select the Notification Type-->click on Nofication --> Detail
In this screen enter the screen number which we created at module pool with reference to
custom screen 091 and save the entries.
I hope this may helpfull.
Thanks,
AMS -
New custom field in MM01 - don't save value
Hello,
I create a custom append structure in mara ZBAR with the custom field ZBARCODE.
I followed the gudelines:
Implement screen exit for MM01/MM02/MM03 HOT
By Vijayanand Poreddy
Now the field is visible but it isn't saved in MARA when I save the value in MM01; I don't like the solution of ID SAP to save the value in the exit indicated in the guide, because the field is in MARA not in a custom table.
How I can save the value?? I tried also to update the view v_130F with the new field but the value isn't saved...
Any suggestion?resolved myself:
PROCESS BEFORE OUTPUT.
* Verarbeitung vor der Ausgabe
*MS17092009 Non eliminare modules standard.
MODULE set_propriety.
MODULE INIT_SUB.
MODULE GET_DATEN_SUB.
PROCESS AFTER INPUT.
* Verarbeitung nach der Eingabe
MODULE GET_DATEN_SUB.
CHAIN.
FIELD MARA-ZBARCODE.
ENDCHAIN.
MODULE SET_DATEN_SUB.
FIELD MARA-ZBARCODE MODULE BARCODE_0001 ON INPUT. -
Where it is possible to change the value separator in Custom Field?
Hello,
This is a question around the "Custom Fields" and "Lookup Table"
I linked a "Custom Field" to a "Lookup Table".
I select the option "Allow multiple values to be selected from lookup table"
When I used this "Custom Field" in a view, the selected values are separated by a comma ",".
Where it is possible to change this value?
I saw another project server where the character is a semi-column ";" and I would like to test with ";".
Thank you in advance
Pascal JeanHi,
This will be triggered by your regional settings.
Hope this helps,
Guillaume Rouyre, MBA, MVP, P-Seller |
Hello,
Thank you for the answer.
Do you mean the "local regional settings"?
Because, depending on the PWA site I'm connected to I don't have the same values. I'm obviously using the same workstation.
Regards -
Default value in custom field in webdynpro screen
Hi.
We have added a custom field in the Item level for Shopping Cart (SRM 7.1).
I however want a default value to show up or get populated in that custom field all the time. What is the best way to achieve this?
Thanks.
Anuradha.depends upon how you have added it.
if its just though the structures and not added in the WD then you need to do it with doc-change badi.. and this is a preferred option.
if you have done it though WD then you can default the values using the post exits in the INIT method.
you can check if the value is blank then populate this default value (so that it does not overwrite the edited values).
moreover, do you want it as a non editable field or just a default value which user can change on the screen as well? -
Missing values of Enterprise Custom Field in Project Professional and Project Web Access
Hi all,
In Project Server 2010 SP2 we created a custom field called Iteration Path (without a lookup table).
We're in an environment where Project Server task data gets synched from TFS and we've mapped the Iteration Path from TFS to the Enterprise Custom Field in Project Server.
We've triggered synch of all synchronized work items from TFS to Project Server
Then, in the database we can see the Iteration Path values coming across
When I open these projects in Project Profssional, the entire column of Iteration Path is empty.
When I open these projects in Project Web App (from Project Center), the entire column of Iteration Path is empty.
When I open the master project which contains all these projects, no values are shown.
Any ideas what can be wrong?
I did already clear my cache, global.mpt, but nothing changed. We don't have this issue with other Enterprise Custom Fields that are mapped to TFS fields.
Cheers,
Bram
www.projectexpert.nuHi Bram,
In the 4th item, when you say "database", which one are you talking about? Project Server DB? Draft or reporting DB?
If the value are not showing up in Project Pro, it is no need to clean your cache, since the value are obviously not stored in the Project Server Draft DB. The issue is more likely to come from the TFS sync for this particular field. Do you have any logs
for the sync process? If your field in anyway different from the others, containing specific characters?
Hope this helps.
Guillaume Rouyre - MBA, MCP, MCTS -
How to assign a value(populate) a custom field in a PCUI page ?
Hi
I am working in SAP CRM on its web interface PCUI.
I have created a custom field "ZZ_NEWFIELD" through EEWB in Business Partner. It is visible in accounts transaction header (crmm_account).
Now if I create an opportunity for this business partner, I want to fetch the value of "ZZ_NEWFIELD" from BP Master and display it in opportunity(header) transaction.
Can someone tell me how to go about it ? I am novice to BSP applications.
Regards
VishalThanks Francisco for your reply.
I have already posted it in the CRM forum as well but thought to place it here also.
As for the weblog you menioned, it just details the method of extending the field and placing it in the IView. I have done it already.
The problem I am facing is to how to populate this field ? I know the source field from where it has to get the data but I dont know the method/code to enable the value in new field placed in the Opportunity header. -
Value for customized fields didn't get copied to back end system
Hi,
We are in SRM 4.0 and using extended classic scenario.
We have defined two customized fields in account assignment tab in shopping cart and SRM Po and also in back end PO.
SRM POs are having values for the field but while transferring the Po details to back end system, for some of the line items of the Po the entries are missing in back end system.
Problem is only with few line items of the PO.
Have tried with FM like BBP_PD_PO_TRANSFER_EXEC and BBP_PD_SC_RESUBMIT, but it is not transfering the values to back end.
Is there any other way to push the missing values to back end system.
Please advise.
Thanks.Sk,
Table adjustment has to be done accordingly. Get in touch with your Basis team.
Thanks.
Maybe you are looking for
-
Hello. Two questions. Can I re-install software from my previous Windows 8 installation onto Windows 10 Preview? All the files needed are in Windows.old. I have some software that was registered to me, and getting another copy will be kinda hard. Als
-
HT1386 My phone can not activete to the server after updating it with ios 6.1.3 update
Am using an apple 3g after updating it with ios 6.1.3 update it is failling to activete th the server.What should i do to have it work?
-
Hi All, Does anyone know how you analyse authorisation errors that arise within the SRM system, within normal R/3 systems we would use transaction SU53 to analyse errors. We are currently in the process of implementing SRM and we are experiencing nu
-
2 wireless networks, suddenly one doesn't work!
I have an odd problem that cropped up yesterday (Tues). I have a wireless network at home using a D-Link 624, an iMac G5, and a Powerbook G4 (aluminum). Works great!!!! At school/work (I'm a teacher), we have a wireless network in my classroom, where
-
Ik heb flash player al gedeinstalleerd en er terug op gezet. Ik krijg steeds : "an error occured. Please try again later".