on 05-03-2013 11:08 AM
Hi Experts
I am trying to add a new field on SC overview screen. I have followed the exact steps mentioned in the note 672960.
First, I added the field in SC header structures. I also ran the report BBP_DYNPROS_GENERATE. in the second step after inputting SAPLBBP_PDH_CUF, I dont see the option BBP_PDS_HCF. I only get BBP_PDS_ICF.
After this, I added the filed in item level structures and ran the report BBP_DYNPROS_GENERATE for BBP_PDS_ICF. Which means, field should be visible at Basic Data section. But it is not getting displayed.
Is there anything that I have missed?
Thanks
Dhananjay
PS : We are on SRM 4.0
hi Stephan
Yes, I coudl add it by changing the HTML template for BBPSC01.
but now the problem is, data is not getting passed to the BADI.
what I have done:
`if (gt_scr_itmovr_i-zzrequired[j].visible)`
`TD(align="right", nowrap="x", class="tdcellclass")`
<!--<input type="checkbox" name="gt_scr_itmovr_i-zzrequired[`j`]" value="`gt_scr_itmovr_i-zzrequired[j]`" maxlength="10" size="3"> -->
<!-- `gt_scr_itmovr_i-zzrequired[j]` -->
`if(GT_SCR_ITMOVR_I-ZZREQUIRED[j] == "X")`
`BBPCheckbox(GT_SCR_ITMOVR_I-ZZREQUIRED[j].name,"X","X")`
`else`
`BBPCheckbox(GT_SCR_ITMOVR_I-ZZREQUIRED[j].name,"","X")`
`end`
`end`
field name in the screen 120 of FG BBP_SC_UI_ITS is same as above - GT_SCR_ITMOVR_I-ZZREQUIRED
My question is, is this code correct to pass the data from theportal screen to FG structure? Or do I have to write something else to pass data between HTML template and the program?
Thank you
Dhananjay
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Dhananjay,
customer field does already exist, right?
Please check in transaction BBPSC01 if customer field is filled correctly and you can see it here. (Simply hard code it in change badi for testing purpose).
If that was successful, check if it is passed to HTML put some java script alerts into HTML Code so you can check if GT_SCR_ITMOVR_I-ZZREQUIRED is filled r not.
Regards
Stephan
Hi Sebastian and Stephan
Thank you both for your valuable suggestions. I did do some enhancements on HTML template of BBPSC01. While I was doing it I also found 5 dummy CUST fields on screen 120 of BBP_SC_UI_ITS . Regarding this I have posted a separate queston.
Please take a look at it and share your thoughts regarding that.
Thank you again
Dhananjay
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Sebastian is right. In SC overview no customer fields are shown only in Basic Data Details.
As Sebastian said you can modify SC Dynpros for that, or if you have experiences in HTML an BHTML you can add it by add some code in HTML Template. I did that successfully for a customer but it is not that easy as it sounds,...
Regards Stephan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi Dhananjay,
Configuration in SPRO itself is not enough to see a custom field in webdynpro. We need to enhance the the webdynpro and bind that field to the field created in SPRO. This can be added in context from Dictionary Structures.
Thanks.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Dhananjay,
Do need a field on header or item level or both?
How ever, go through note 672960 it says you have to maintain the field
for header in INCL_EEW_PD_HEADER_CSF and INCL_EEW_PD_HEADER_CSF_SC
for SC item in INCL_EEW_PD_ITEM_CSF_SC and INCL_EEW_PD_ITEM_CST.
Check if you have any active implementation of BBP_CUF_BADI_2.
Regards
Stephan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Stephan
As I have already mentioned I followed the steps as per the note 672960. And yes, I have added the fields in all thes structures.
But, yes, BBP_CUF_BADI_2 has an active implementation, earlier someone else had added on field and it had worked fine. though that field was added in SC search result screen.
do you think this active implementation is casuing the problem?
thanks for your response
BR
Dhananjay
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.