Adding an asterix(*) in the standard field in the shopping cart screen.
Hi all,
In the Delivery address of the shopping cart screen, I need to add (*) in a field text, saying that it is mandatory field.
So, I need information that can help me change the standard field text, to add(*) in prefix. can you please help me find the information to add the same.
Regards,
Abhinay.
Hi Abhinay,
if you are in SRM 7.0 , then you can do it through the below configuration else you will have to modify the relevant HTML template.
SPRO->IMG->SAP Supplier relationship managemnet->SRM Server->Cross Application basic setings->extension and Field control(personalization)-> configure field control->configure control of field of substructure->Metadata for Fields of Substructures and Table-Like Enhancements
In your case if this is delivery address field , then choose Bus. object set type as 07 , Business object as BUS2121 , set level as Item , set subtype as 00000027.
you have to finnd the field name and select that and make the option as Field Visisble, Fiels enable 'Field required' tick.
As far as i know it will make a red asterick in the screen but you will have to write that check in DOC_CHECK_BADI to throw error message.
Thanks
Iftekhar Alam
Similar Messages
-
Field control in shopping cart screen
Hi All,
My requirement is that approvers or delegates should not be able to delete attachments from shopping cart. I did take a look at BBP_UI_CONTROL_BADI
but then that doesn't show any thing about field control in shopping cart (BUS 2121).
The other solution i was thinking about is to change the HTML templates to suppress that delete icon in approver screen. can anybody throw light on this issue
Points for sure!!
Rgds
HarshikaHi
As Yann suggested, we can go for the Authorization object.
Or <u>Else, you can also try out implementing the Business - AddIns using SE18 Transaction</u>
<b>BBP_ATT_CHECK</b>
Attachments
<b>BBP_AUTHORITY_CHECK</b>
Further Authorization Checks f. Documents in EBP
<u>Sample code for <b>BBP_ATT_CHECK</b> BADI Implementation -></u>
METHOD if_ex_bbp_att_check~check.
DATA:
lv_prof TYPE vscan_profile,
lo_vsi TYPE REF TO cl_vsi,
lv_xstring TYPE xstring,
lv_scanrc TYPE vscan_scanrc,
lt_bapiret TYPE vscan_bapiret2_t,
lv_bapiret TYPE bapiret2,
lv_size TYPE i,
lv_dummy TYPE bbp_control_value.
* transform the content table to a xstring
lv_size = attachment-phio_fsize.
CALL FUNCTION 'BBP_OUTPUT_X_TABLESIZE_CHG'
EXPORTING
iv_size = lv_size
IMPORTING
ev_xstring = lv_xstring
TABLES
it_data = attachment-phio_content[]
EXCEPTIONS
noentries = 1
OTHERS = 2.
IF sy-subrc = 0 AND NOT lv_xstring IS INITIAL.
* the default profile is used (see transaction SPRO)
CALL METHOD cl_vsi=>get_instance
EXPORTING
if_profile = lv_prof
IMPORTING
eo_instance = lo_vsi
EXCEPTIONS
configuration_error = 1
profile_not_active = 2
internal_error = 3
OTHERS = 4.
IF sy-subrc <> 0.
RETURN.
ENDIF.
* scan binary
CALL METHOD lo_vsi->scan_bytes
EXPORTING
if_data = lv_xstring
IMPORTING
ef_scanrc = lv_scanrc
et_bapiret = lt_bapiret
EXCEPTIONS
not_available = 1
configuration_error = 2
internal_error = 3
OTHERS = 4.
IF sy-subrc <> 0.
* error in call of scan engine
MESSAGE e013(bbp_att) INTO lv_dummy.
CALL FUNCTION 'BBP_PD_MSG_ADD'
EXPORTING
i_msgty = 'W'
i_msgid = sy-msgid
i_msgno = sy-msgno
EXCEPTIONS
log_not_found = 1
OTHERS = 2.
IF sy-subrc <> 0.
CALL FUNCTION 'BBP_PD_ABORT'.
ENDIF.
ENDIF.
IF lv_scanrc <> 0.
* scan got results that indicate infection
MESSAGE e014(bbp_att) WITH attachment-description INTO lv_dummy.
CALL FUNCTION 'BBP_PD_MSG_ADD'
EXPORTING
i_msgty = 'E'
i_msgid = sy-msgid
i_msgno = sy-msgno
i_msgv1 = sy-msgv1
EXCEPTIONS
log_not_found = 1
OTHERS = 2.
IF sy-subrc <> 0.
CALL FUNCTION 'BBP_PD_ABORT'.
ENDIF.
ENDIF.
LOOP AT lt_bapiret INTO lv_bapiret.
* apply scanmessages to our messagelog
MESSAGE ID lv_bapiret-id TYPE lv_bapiret-type NUMBER lv_bapiret-number
WITH lv_bapiret-message_v1
lv_bapiret-message_v2
lv_bapiret-message_v3
lv_bapiret-message_v4
INTO lv_dummy.
CALL FUNCTION 'BBP_PD_MSG_ADD'
EXPORTING
i_msgty = sy-msgty
i_msgid = sy-msgid
i_msgno = sy-msgno
i_msgv1 = sy-msgv1
i_msgv2 = sy-msgv2
i_msgv3 = sy-msgv3
i_msgv4 = sy-msgv4
EXCEPTIONS
log_not_found = 1
OTHERS = 2.
IF sy-subrc <> 0.
CALL FUNCTION 'BBP_PD_ABORT'.
ENDIF.
ENDLOOP.
ENDIF.
ENDMETHOD.
Hope this will help.
Please reward suitable points, incase it suits your requirements.
Regards
- Atul -
How to change the value of the Selection field in the ROOSFIELD table for o
Hi there
I have a standard data source 0CRM_SALES_ACT_1 for which one of the standard field has the status A(Hidden).
In the field selection filed of the table ROOSFIELD and I want to change it to P(Visible) for one of the field in the Data source.
How it can be done. Any suggestion will be greatly appreciated.
kind regards
SarahHi,
Keerthi
Good Question..Even am also new to this issue.
But let me try to find the solution.
Before lookinto this issue. i need clarification on this.
1. You want to see the value in the text box as a color one or you want to change the disable from true to false?
If that is the case, then following one is my suggestion.
In proceesRequest method
1. get the handle for the messageTextInput Bean and based on that set the disable property to false
for example:
OAMessageTextInputBean t1 = (OAMessageTextInputBean )webBean.findChildRecurrsive("ItemId");
t1.setDiabled(false);
In ProcessFormRequest method
1. get the handle for the messageTextInput Bean and based on that set the style class or css property to "OraFieldText"
for example:
OAMessageTextInputBean t1 = (OAMessageTextInputBean )webBean.findChildRecurrsive("ItemId");
t1.setCss(OraFieldText);
(Or)
If it will not work then directly set the cssClass Property to OraFieldText.
I hope it will work....am not sure about this.
Regards
Santhosh kumar.k -
How to add a standard field to the Product search criteria ?
Hello all,
despite my searches on google and sdn, i'm still confused on how to add a standard field in the search criteria of the Product seach screens (component/view PRD01QR/Search for example) , I mean a standard Product field that is not included in the available fields list in the UI configuration tool.
I found some explanations for adding a specific Z-Field, this is ok , but I'd like to add a standard field as a search criterion, namely the item category group.
Could someone give me the needed detailed steps for this?
thanks
LudovicHi
Chk ths link out :
http://wiki.sdn.sap.com/wiki/display/CRM/Howtoaddanexistingfieldtoasearchpageofadifferent+component
Rgds,
Swati -
Table for checking the appended fields in the standard extractor
Hello,
Please let me know the table name for checking the appended fields in the standard extractor.
Thanks in advanceHello,
From Rsa6 , goto your extractor from there you may get the name of your strucutre
Go to DD03L and enter this name
And you get to see all the fields there..
waiting for your feedback.
Regards
Nitin Bhatia -
Problem in populating the new field from the extract structure. Kindly help
my requirement a new text field is added on R/3 side and I have to populate
the same field into BW.
In the R/3 a new customization table 'AAA' is created which will have
code - char 3 and
text - char 30.
The code field is added to a table BBB.
The SAP standard generic data source exracts data from the table BBB where in the new code field have been added.
Now I can the see the code field in the extract structure and not in the data source as the filed has selection value 'A' when checked in the ROOSFIELD table.
To populate the value in BW, I will be creating a Generic Master Data text wherein I fetch the values from the table 'AAA' which the fields code and text and replicate the same in BW.
In the reporting level, the code InfoObject will be selected as display both KEY and TeXT, by doing I can populate the values of TEXT in the reporting.
But to achieve the same I need to add the field code in the ODS but cannot do the same because I am not able to see the field code in the data source.
Kindly let me know how to achieve the same.
Also let me know if there is any alternate solution to populate the text field in BW.
Any Inputs will be appreciated.
Thanks> You should get the userdatasources bound to the
> columns and assign the values of the recordset to
> each one and after that use "setLineData" to write in
> the matrix.
>
> hope it helps
Hi all,
i have created tables (non BO Tables) directly on the SQL-server and want to use recordset to populate a user form matrix.
Is there any workaround to achieve this using non BO tables?
Please provide some sample code since it is a very urgent matter.
regards
Daniel -
Adding new field in Monitor Shopping Cart
Helll All,
I have a requirement where I need to add a new field in the Search Criteria screen for Monitor Shopping Cart (item data).
The new field needs to have a property so as to be able to add more than 1 value for it. It is just like Purchasing Group criteria present in the standard Shopping Cart Monitor screen.
I have the structure BBPS_MON_SC_ITEM where there is a field PURCHASE_GROUP, which is like a range. I need to add one more field here with the same range structure so as to get values of my new screen field into it.
Coming to my question........In which structure should I append this new field so as to get it in BBPS_MON_SC_ITEM? I have read the note 672960 and tried appending for Table Type fields but no success.
I am working in SRM Version 5.
Kindly help.
Thank you.
Johnson
Message was edited by:
Johnson IttyerahHi
<u>See related links -></u>
Re: Adding CUF fields in Monitor Shopping Cart Selection Screen
Re: Error while viewing the SC via BBP_MON_SC
Adding fields in shopping cart
Do let me know.
Regards
- Atul -
Add the country field in the main details tab of the CRMD_BUS2000126
Hi Experts,
I have the following business scenario : Need to display the country field in the Details tab of the PCUI activity application which normally appears under the Location tab of the application.
This is what I have done uptil now:
1) Added the country field in the screenstructure CRMT_BSP_ACT_DETAILS
2) Added the field in the field group ACT_OVERVIEW
3) Regenerated the field group
Problem is that the field still does not show under the details tab.
For your information :
1) All the tabs including the Location tab ( only excluding the Details tab ) have been hidden from display.
2) In the debug mode , I could see that the READ method of the class CL_CRM_BSP_IL gets the screenstructure CRMT_BSP_ACT_DETAILS with the country field added correctly , so I guess this is not a interaction layer / application issue. But after that the field gets lost in the framework layer.
Any expert suggesion for the steps as well as the likely solution is appreciated.
Thanks,
SudiptaHi Sudipa,
As you said that in Devbug you can see that filed is added to your structure perfectly bit its not visible on your screen !!! Correct !!!!
For this 1st check for standard screen varint is set for that screen or not.
and try to tick ur new filed as visible in STD screen varints for that screen..
i am sure that it will get done after using varint.
Regards,
Amol Tambe
SAP CRM Technical Consultant. -
Storing the Timestamp field in the Table
Hi
I have a Z program and we need to store the timestamp field in the Z table . I have created the table with the dataelement
TIMESTAMP . Is there any system field that can be used to store the timestamp field from your program
say for example we have declared a work area of the structure of the Z table and Appended through the Internal Table and Modified that Z table.
My intention is store the Timestamp field in the Z table.
NadeshHi,
you can add as below..
types : begin of st_output.
include structure ztaxinvoice.
FKIMG1 TYPE VBRP-FKIMG,
FKIMG2 TYPE VBRP-FKIMG,
types : end of st_output.
or you can add this field to your structure 'ztaxinvoice' as below
'FKIMG1 TYPE FKIMG'
'FKIMG2 TYPE FKIMG'
Then you can declare internal table and work area as mentioned below..
data: it_output type standard table of ztaxinvoice,
wa_output type ztaxinvoice.
here in this case no need of types declaration also you can pass the same type (wa_output type ztaxinvoice) in smartform.
hope this will help you,
Regards,
Renuka S. -
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 -
Query Alert for a change in value of the Quantity field of the sales order
Hi Experts,
A query alert has been set up to alert the warehouse employee when a new sales order is created by a sales employee. Our client wants the warehouse employee alerted when the sales employee edits the quantity field of an already added sales order.
Kindly assist in designing a query to notify of this change in the Quantity field of the sales order.
DavidTry this one:
SELECT T0.DocNum, T0.CardCode, T1.ItemCode, T3.Quantity 'Old Qty', T0.Quantity 'New Qty', MAX(T2.LogInstanc) 'Times Changed'
FROM dbo.ORDR T0
INNER JOIN dbo.RDR1 T1 ON T1.DocEntry = T0.DocEntry
INNER JOIN dbo.ADOC T2 ON T2.DocNum = T0.DocNum AND T2.ObjType = '17'
INNER JOIN dbo.ADO1 T3 ON T3.DocEntry = T2.DocEntry AND T3.ItemCode = T1.ItemCode
WHERE T0.DocStatus = 'O' and T0.DocType = 'I' AND T1.Quantity != T3.Quantity
GROUP BY T0.DocNum, T0.CardCode, T1.ItemCode, T1.Quantity, T3.quantity -
Change the position of the text field in the report region
Hi,
I am having a report region in whch there are 2 buttons which are in the Region Template position #Create# and a
text field. I added a text field in the same region. I tried to change the position of the text field near the buttons. I
tried to change "label-Horizontal/vertical alignment" and "Element horizontal vertical alignment". But the postion of the
text field is not changing. Plz help,
Thanks,
TJHi Andy,
Sorry to ask this questions.
1.Where exactly i need to change the HTML code(By uisng the view source?)
2.My taskname part html code when viewing the source is given below
tabindex="999"><img src="/i/e.gif" alt="Edit" class="eLink" />
</a><tr></td><td nowrap align="left">
<label for="P1_TASK_NAME" tabindex="999">
<a class="t16OptionalLabelwithHelp" href="javascript:popupFieldHelp('5853137628393530415','676839962625525')"
tabindex="999">Task Name</a></label></td>
<td colspan="1" rowspan="1" align="left" valign="top"><input type="hidden" name="p_arg_names"
value="5853137628393530415" /><input type="text" name="p_t06" size="10" maxlength="20" value=""
id="P1_TASK_NAME" /><a class="eLink" title="Edit" href="javascript:popupURL('f?
p=4000:371:676839962625525::::P371_ID,FB_FLOW_ID,FB_FLOW_PAGE_ID:5853137628393530415,107,1');"
tabindex="999"><img src="/i/e.gif" alt="Edit" class="eLink" /></a></td></table>
<table summary="" cellspacing="0" cellpadding="0" border="0" width="100%"><tr><td align="right"><table
cellpadding="0" cellspacing="0" border="0" summary="" class="t16Button">please suggest what changes i need in this code to change the alignment of the task_name text field,
Thanks,
TJ -
How to make SAP standard field as mondatory in a screen
hi all,
i need to make SAP standard field as mondatory in a screens EG31, EG34,EG71
TO DO THAT I HAVE TO USE : EXIT_SAPLE30D_002
so can anybody tell me how thatYou can use standard program RSMODPRF.
Execute this standard program without giving any input
and select the data element whatever you want to make mandatory and click on Assign prog/screen button click OK and come back.
now give required data element and execute the program again
and write the code to make that datea element mondatory.
hope it helps... -
Activating F4 help/Validating for a field added to SRM shopping cart screen
I have added Profit Center as an additional field on the Shopping Cart Screen. This should be displayed only when the user selects Cost Center as value for another input field. Also I need F4 help for this profit center.
Can someone please guide me with the steps to do the same.
Thanks and Regards,
VanessaHi Vanessa,
Validation can be done in doc change and doc check BADIs.
For attaching F4 help you can create a search help in ABAP Dictionary and attach that serach help to your cutom field .
Hope that helps,
Anubhav -
How to add the date field in the dso and info cube
Hi all.
I am new to bi 7. in the earlier version v hav to button to add the date field. but in the bi 7 der is no option so can any body tell me how to add the date field in the data targets
Thanks & Regard
KKmy prob is solved
KK
Maybe you are looking for
-
Forwarding port for Counter-strike: Source is not working
With my linksys router (Model WRT54G)I tried forwarding my port for a Counter-Strike: Source server. My friends tried it after I tried forwarding the ports and it did not work. It looks like this: |Application|Start|End--|Protocol|Ip-Adress------|Ena
-
After i updated my iPhone i realized i do not have my camera anymore how to get it back? I also using a new notebook so I do not have a back up to transfer it from. Please help
-
Apple Digital Camera Raw Compatibility - 3.1
This update extends RAW image compatibility for Aperture 3 and iPhoto 09 for the following cameras: Hasselblad H3DII-50 Leica M9 Leica X1 Olympus E-P1 Olympus E-P2 Panasonic Lumix DMC-GF1 Pentax K-7 Pentax K-x Sony Alpha DSLR-A500 Sony Alpha DSLR-A55
-
Test -Driven Development with the help of Open Script
Hi Folks, I work on a web application that is based on java and other framework, which is more of an extension of java again. In order to have my test scripts code to be more aligned with developers' code, I want to import the jar file for source cod
-
Useful list of the Freeview channels as of 1st OCt
A useful list of the Freeview channels as of 1st OCt is at http://www.freeview.co.uk/wp-content/uploads/2014/10/Freeview-Channel-Guide_1-Oct.pdf Of course it gets quickly outdated ... eg when ITV Be starts on channel 26 on 8th OCt. However it does l