FM field dataelement changed
HI,
I imported FM in NWDS.Now in the FM one filed data element is changed in backend.
Is reimport model and restart J2EE server need to update the changes in my application?
Regards,
PortalAD
Hi,
You should reimport the model. After this, Instead of restarting the server, you can just invalidate and refresh the RFC metadata cache as explained here:
Step 1: Goto https://<your company domain>/webdynpro/welcome/Welcome.jsp
Step 2. Go to web dynpro console. Choose u2018Invalidation of ARFC Metadata Cacheu2019.
Step 3. Select the JCo destinations that you want to clear the cache.
Step 4. Click button u2018Get Dictionaries for selected JCo destinationu2019 and then choose the dictionaries, click button u2018Invalidate Selected Dictionary Cacheu2019.
[Refresh the RFC Metadata Cache|http://www.sapgeek.net/2009/09/web-dynpro-refresh-the-rfc-metadata-cache/]
Regards,
Shyam.
Similar Messages
-
Serv. Desk: Action: send an email only when a value in a field has changed
Hello,
In Soution Manager 4.0, Sevice Desk, I would like to create an action which creates an email only when a value of a certain field has changed.
- only in change mode relevant
- only when a value of one field has changed (e.g. Message Processort has changed from Buss. Partner 4 to 5. Than a mail should be sent to BP 5).
- it should only send this kind of email when the field value has changed in change mode. In other words: it should not sent the email e.g. when the status has changed.
I tried all kinds of things but I do not know on how to define the COnditions for an Action, so I can compare e.g.
if <old value> <> <new value>
Any ideas or experience on how to implement this without major modifications ?
Thanks
ChristianHi Christian,
check out my question on SDN.
Email on Status Change
it has details on how to send an email when the status changes. I believe you are going to have to do something like this for each of the fields you want to create an Action Starting Condition for.
regards,
Jason -
PDF form text fields' options change when opened in READER on a MAC.
I created a PDF form using Adobe X PRO. All fields are UNCHECKED for Property/Options/ "scroll long text". I save and distribute the form as a "reader extended pdf/enable additional features" so it can be saved and returned using READER.
When a Mac user opens the extended form in Adobe READER, ALL the text fields change to scroll. When he returns the completed form to me, every text field, even signature and date fields, are changed to scroll text.
What is happening in the transition from PC to MAC?Preview is the default PDF viewer on the Mac. It should never be used with PDF forms. Just let them know that they should use Adobe Reader. Provide a link or URL where it can be downloaded and let them know that it's free.
There are things you can do so that it doesn't work in Preview, but it involves some scripting. If interested in this approach, post again. -
Update Field On Change For A SQL Query (updateable report)
Hi,
I'd like to request help from anyone with ideas on how to solve this.
We are using APEX 4.2, 10GR2, RedHat5.
I have a report that comes from SQL Query (updateable report).
I'm using the apex_item.text and apex_item.hidden on fields.
I'm using a button to submit and after submit process to add some logic that I need.
There could be 1 - 10 records in the report.
There is only 1 field that is needed to enter a value, but the value of this field determines the value of another field.
I think that I can do this with a submit button and an after submit process where I loop through all the records. I think I have this handled.
This is the question
When the value of that field is changed then the value of another field in the same row changes immediately.
Is this possible?
All the examples I've seen so far are for a single record and that doesn't work for us.
I guess this is a MRU process but I haven't seen an example where a dynamic action is possible on a Multi Row Update.
Could anyone direct me to where I can see an example or help me get directions?
I appreciate all your help an comments and I thank you in advance.Yes why not...what you looking for is a ajax call
See {message:id=10390979}
Please note:-you can also do this as a dynamic action as shown below
Event: Change
Selection type: jQuery Selector
jQuery Selector: input[name="f01"]
True action with Execute JavaScript Code and put all code inside the test funtion, you may need to amend the code to use this.triggeringElemnt in place of this -
Posting Key Field Status changes - unable to generate Transport request
Dear All,
I did posting key field status change from suppress to optional ( P.Key 24).
However I am unable to generate a transport request.
Please share your inputs
Thanks
SanjaiHiii sanjai Babu... your client would have set automatic recording of changes in scc4... or the request would be created and yo woulnt have left the page after saving soo it might have been saved... hope it helps...
Regards
Abhay -
Suppress Non Changed Fields in change pointer triggered IDOC
I have a requirement to clone message type MATMAS as ZMATMAS. This ZMATMAS is the message type I used to create change pointer triggering outbound idoc for change/create of materials.
When i change a material, all fields are sent instead of the fields only changed(of course key fields should be sent as well). Is there a way via configuration that I can suppress fields which are not changed? Or do i need to clone FM MASTERIDOC_CREATE_SMD_MATMAS and suppress the fields via program
Thanks in Advance!i'll clarify the requirement again.
Let say i changed a field BRGEW in the material master.
Currently, all the segements which contains BRGEW is sent, but these segements contains other data which are not changed in the material master.
How do i suppress it?
Thanks, -
Problems Validating User Fields in Change Lease-Out
Good Morning,
I've defined two Date Fields in Change Lease Out (transaction FOV2).
I need that when the first date field is empty the system returns a error message stating that the first data field should have data.
The second fill can be with or without data.
The problem is that, right now, the system returns the error message in every case except if both fields are filled.
Here is the code done by the developer:
FUNCTION field_exit_usrdate_1.
*"*"Local interface:
*" IMPORTING
*" REFERENCE(INPUT)
*" EXPORTING
*" REFERENCE(OUTPUT)
DATA dt_usr08 TYPE vzsort-usr08.
IF input IS INITIAL.
MESSAGE e005(z3_re).
ENDIF.
SET PARAMETER ID 'DT_USR08' FIELD dt_usr08.
ENDFUNCTION.
Why the system always return the error message except if both the data fields are filled? Any clue?
Best Regards,
Pedro GasparSolved Myself
-
Adding Custom Fields for Change Request in EHS
Hi,
I need to add custom fields in Change request screen, where I am not able to identify for BO and node to do same.
Its Configuration name /MOC/F_ISS_ROOT_OBJECT_INFO.
I tried with /IAM/ISSUE and /IAM/ACTIVITY BO.. but it is not working.
Not able to identify the correct table for adding fields.Pls help me on the same.
Regards,
Reny RichardReny,
Why don't you check for the ST05, so that you can grasp some of the table names. Should be useful to you
http://scn.sap.com/community/abap/testing-and-troubleshooting/blog/2007/09/05/the-sql-trace-st05-quick-and-easy
BR,
RAM. -
Want to modify GR/GI SLIP Field into change mode.new to badi
Hi,
I want to modify GR/GI SLIP Field into change mode , so my customer can change data whenever he wants.. This field exist in vl02n transaction.
Right now it is in disabled mode .I am new to badi , so please guide me .
Regards,
Ranu.
Edited by: ranu sharma on Nov 4, 2009 8:16 AMHi,
Please note this is the client requirement to have the field editable, so please do not convey the edit entires in table to users, this is basically for our reference only,
In this case, you'll have to use the user exits to make the field editable in SAP for users, kindly check the below user exits, and take help of delveloper on the same.
Exit name Description
SDVFX001 User exit header line in delivery to accounting
V50Q0001 Delivery Monitor: User Exits for Filling Display Fields
V50S0001 User Exits for Delivery Processing
V56TDLIF Filter Delivery Items for Shipment
Thanks & Regards,
Rahul Verulkar -
Highlight fields that changed its value
Hi all,
I'm working on a form that goes from one user to another. It's a fairly large and complex form (about 7 pages) with calls to multiple web services.
After the form is opened and some information is populated into the fields, a user will be able to change the values of some fields, and then will submit the form. The next user in the process will get the form and open it up from his/her To-Do queue. The fields with the changed values (changed by the previous user) would need to be visually identified to this next user. When that user finishes working on the form and submits it, it is opened by the next user in line. and the changed information STILL needs to be visually identified. We have found it is easy to highlight a changed field while a user is working on the form (using the change event) but it is more difficult to make that highlight stay visible all the way through the process as different people get the form. I thought about making a hidden field for every field in the form and compare the values in the validation event. but this would effectively double the size of the form and all those hidden values would need to be included in the XML schema (doubling the size of the XML schema).
We would appreciate ANY assistance on a proper approach.That does make things clearer. You will have to save the change information in the XML. I realize that you don't want to save an xml node for every field, but there is a better way. You can use scripting to add data nodes to the XML data in the form. I'm thinking of the following:
Include an empty container node in your XML schema: <HighlightedFields></HighlightedFields>
When a field is changed, in the field's change event call a common script: HighlightChangedField, passing in the object. The script will highlight the field (set the border a certain color or whatever). It will also add node underneath the HighlightedFields data node with the SOM expression of the field. The SOM expression is the "path" of the object in the form heirarchy, sort of like an xpath. So if you have a subform named Subform1 and you change the Name and Address textfields, you might end up with something like:
<HighlightedFields>
<HighlightedField>
<SOMExpression>xfa[0].form[0].myform[0].Subform1[0].Name[0]</SOMExpression>
</HighlightedField>
<HighlightedField>
<SOMExpression>xfa[0].form[0].myform[0].Subform1[0].Address[0]</SOMExpression>
</HighlightedField>
</HighlighedFields>
The upside of this is that you only store XML nodes for what is changed instead of needing a specific XML node for each field. The downside is that you will need a call to the common script in every field's change event: HighlightChangedField(this);
Now, to make this work when a form is loaded the next time, in the initialize event at the topmost subform in the hierarchy you add a script that walks the HighlightedFields data node, and for each HighlighedField entry you highlight the contained object. You can get a reference to an object using its SOM expression, so just take the SOM expression from each entry and do an xfa.resolveNode(SOMExpression) to get the object, then set whatever attributes you want to highlight the field.
The big issue I see with this would be if you have dynamically added objects on your form. In that case you would probably need to store the instance index along with the SOM expression for each changed object, then use that instance number when highlighting on form load.
I don't know how much you know about scripting, so I hope the above makes sense. If you need more help I can try to mock something up.
Regards,
Kevin -
Field lables changes in ESS iView not reflected on portal
Hi All,
I am trying to customize the SAP ESS Address DC (webdynpro Java) for South Africa region as per the SAP OSS note (No: 1428933).
In order to incorporate the changes I have imported the ess/za/addr DC into NWDS. I have changed the label text as per the OSS note and deployed the DC but changes are not reflecting in the portal
I did some more test on Label text;
1. Removed the Label text property value from DC and deployed the application, when I run the application during runtime screen is not showing any label text message for the label since I made it to empty.
1. I added my custom text message to label text value instead of standard label text value and deployed the application, when I run the application during run time screen is automaticaly showing the standard label text value not my custom label text value.
I'm trying to figure out from where these field labels value are coming from? Theoretically it should reflect field lables whats given in webdynpro but thats not the case here.
From where Label field value is coming?. Help me out in this. Thanks,
Regards, Suresh KBIf you are just changing the field label the recommended approach is to do it through Web Dynpro UI personalisation. DO NOT user NWDI to change the source code just for field label change. The way you change through UI personalisation is locate the iView in portal content, and select preview of iView then use CTRL+RIGHT click mouse button on the field that you want to change the text, you will see properties of selected field in a popup window where you can change the default text. Once you change it, and apply the changes you will be able to verify you changes in the iView properties (additional properties will be automatically created for the change you made). Now check the personal data service under ESS role you should see the change.
Hope this helps
Siva -
I am new to Acrobat XI Pro. I am creating a fillable form. I have all my fields in place i.e. text, check box, etc. and in the process of cleaning up the form by resizing and shifting some of the fields. When I make a change in size or position of one field, it changes all the other fields at the same time, which messes up the whole form. Is there a setting I am not "unchecking" or a way to prevent this from altering the rest of the form?
Are you saying that it changes the sizes of the other fields when you change one, or is something else being changed?
-
CALL FUNCTION 'SX_OBJECT_CONVERT_ALI_RAW' fields have changed since 46C
We are implementing upgrade to mysap 700 from 46C
PROGRAMS USING function call to 'SX_OBJECT_CONVERT_ALI_RAW' fields have changed
we used to send tables directly and now we are sendin fields to be changed
i have tried to send the data but continue to have errors
700 version has this function with these paramaters
CALL FUNCTION 'SX_OBJECT_CONVERT_ALI_RAW'
EXPORTING
FORMAT_SRC = SOURCE_NAME
FORMAT_DST = OUT_NAME
ADDR_TYPE = 'FAX' " int or fax
DEVTYPE = DEVTYPE
FUNCPARA = 255
CHANGING
TRANSFER_BIN = LISTOBJECT
CONTENT_TXT = content_txt
CONTENT_BIN = content_bin
OBJHEAD =
LEN = OUTLEN
EXCEPTIONS
ERR_CONV_FAILED = 1
OTHERS = 2
changing
TRANSFER_BIN TYPE SX_BOOLEAN
CONTENT_TXT TYPE SOLI_TAB
CONTENT_BIN TYPE SOLIX_TAB
OBJHEAD TYPE SOLI_TAB O
LEN TYPE SO_OBJ_LEN
when ran we get an abap dump content_bin
Error analysis
An exception occurred that is explained in detail below.
The exception, which is assigned to class 'CX_SY_DYN_CALL_ILLEGAL_TYPE', was
not caught in
procedure "GET_MEMORY_LIST" "(FORM)", nor was it propagated by a RAISING
clause.
Since the caller of the procedure could not have anticipated that the
exception would occur, the current program is terminated.
The reason for the exception is:
The call to the function module "SX_OBJECT_CONVERT_ALI_RAW" is incorrect:
The function module interface allows you to specify only
fields of a particular type under "CONTENT_BIN".
The field "CONTENT_BIN" specified here is a different
field type
it looks like i need to set <fs> pointer to the field but i am akwardly at this any help please will do well.
this is how we used to use the function
CALL FUNCTION 'SX_OBJECT_CONVERT_ALI_RAW '
EXPORTING
FORMAT_SRC = SOURCE_NAME
FORMAT_DST = OUT_NAME
DEVTYPE = DEVTYPE
FUNCPARA = FUNCP
LEN_IN = INLEN
IMPORTING
LEN_OUT = OUTLEN
TABLES
CONTENT_IN = LISTOBJECT
CONTENT_OUT = OBJTXT
EXCEPTIONS
ERR_CONV_FAILED = 1
OTHERS = 2.
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.ok i solved my own problem.... i new i could. here is the results
first i had to dig into the bapi to find the proper definition to declare in my program i will present the code
and let you exame the example.
FORM GET_MEMORY_LIST TABLES P_MYSECOND STRUCTURE ZLIPOV.
DATA: LSIND LIKE SY-LSIND,
LISTTAB LIKE ABAPLIST OCCURS 1 WITH HEADER LINE,
OBJTXT LIKE SOLISTI1 OCCURS 10 WITH HEADER LINE,
SOURCE_NAME LIKE SXCONVERT-FORMAT_SRC,
OUT_NAME LIKE SXCONVERT-FORMAT_DST,
DEVTYPE LIKE SXSERV-DEVTYPE,
FUNCP LIKE SXFUNCPARA,
INLEN LIKE SOOD-OBJLEN,
OUTLEN LIKE SOOD-OBJLEN,
UPDFLG TYPE I VALUE 0,
LNCNT TYPE I VALUE 0,
LABLNCNT TYPE I VALUE 0,
PRVLN TYPE I VALUE 0.
this is the added structures for the new fields
used for SX_OBJECT_CONVERT_ALI_RAW and the rest of the SX_OBJECT_CONVERT family
data:
TRANSFER_BIN TYPE SX_BOOLEAN, " SHOULD BE SET TO X
OBJHEAD like SOLI occurs 0,
content_txt LIKE soli OCCURS 0,
content_bin LIKE solix OCCURS 0.
CLEAR LISTOBJECT[].
CLEAR OBJHEAD.
CLEAR CONTENT_TXT[].
CLEAR CONTENT_BIN[].
CALL FUNCTION 'LIST_FROM_MEMORY'
TABLES
LISTOBJECT = LISTTAB
EXCEPTIONS
NOT_FOUND = 1
OTHERS = 2
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
CALL FUNCTION 'TABLE_COMPRESS'
IMPORTING
COMPRESSED_SIZE =
TABLES
IN = LISTTAB
OUT = CONTENT_BIN " this will receive the data
EXCEPTIONS
COMPRESS_ERROR = 1
OTHERS = 2
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
SOURCE_NAME = 'ALI' .
OUT_NAME = 'RAW'.
DEVTYPE = 'POSTSCPT'.
TRANSFER_BIN ='X'. " set to x our program will fail to convert stupid but needed
describe table listtab lines inlen.
DESCRIBE TABLE LISTOBJECT LINES INLEN.
SX_OBJECT_CONVERT_ALI_RAW
SX_OBJECT_CONVERT_ALI_PRT
SX_OBJECT_CONVERT_OTF_RAW
SX_OBJECT_CONVERT_OTF_PRT
SX_OBJECT_CONVERT_INT_RAW
DESCRIBE TABLE content_bin LINES INLEN.
CALL FUNCTION 'SX_OBJECT_CONVERT_ALI_RAW'
EXPORTING
FORMAT_SRC = SOURCE_NAME
FORMAT_DST = OUT_NAME
ADDR_TYPE = 'FAX' " int or fax
DEVTYPE = DEVTYPE
FUNCPARA = 255 " this is used to prevent wrapping if beyond 132 characters
CHANGING
TRANSFER_BIN = TRANSFER_BIN
CONTENT_TXT = content_txt " returns the data we want to address and work with
CONTENT_BIN = content_bin" data is conpressed and in binnary format
OBJHEAD = OBJHEAD
LEN = OUTLEN
EXCEPTIONS
ERR_CONV_FAILED = 1
OTHERS = 2
move content_txt[] to OBJTXT[]. " in my case the program origianly used OBJTXT
" so i chose to compy the data back here -
ALE: mapping IDoc fields to change document fields - TBD22 for ADRMAS iDoc
Hi,
I am currently try to find a table or way to extract the information of the TBD22 table (ALE: mapping IDoc fields to change document fields) for the iDocs/ Message Types:
ADRMAS
INTERNAL_ORDER
PROJECT
I am looking for a table that shows me to which SAP R/3 tables and fields the segments and fields of the above mentioned messages will be mapped to.
When I add one of the above mentioned message types to the table TBD22 selection criteria I always receive the notification: "No table entries found for specific key".
Could anybody determine Which table I have to use or why I cannot extract this information?
Thanks in advance!
Best regardsHi,
Since we can not map the target IDOC when any of the field changes using nodefunctions , you can write UDF and check the same i.e if field1 changes or field2 changes or field3 changes then trigger new IDoc. This is one of the options that you can try...please try it once.
Regards
Priyanka -
To Restrict fields when change posted SC
Hello,
Is there any way to restrict fields when change posted SC ? currently if SC already approved by 3 manager and waiting for the last manager for approval then the requestor change any fields in the SC, the approval flow will be reset from the beginning.
Is there any way to restrict some fields so whatever changes on these field will not reset existing approval ?
Fyi, we're using SRM 4.0
Thank's & Regards,
SastraHi,
To disable changing the SC by the requester durng any level of approval,you can set the value for the parameter "BBP_WFL_SECURITY" in SU01(under personalization tab) for the requester user.
Also based on the value of this paramtere you can also define whether the workflow for approval should be restarted in case of any chnage in the SC.
See the foll link for more details:
http://help.sap.com/saphelp_srm50/helpdata/en/f7/a6a3415e34b05fe10000000a1550b0/frameset.htm
BR,
Disha.
Do reward points for useful answers.
Maybe you are looking for
-
How to install and use endnote?
I have a problem using endnote in pages in order ti insert bibliografic references. I purchased pages from the app store and in the resources web page i was able to notice that i had to download and install it, so i did but it didnt work furthermore
-
Query using Union All and CTEs is slow
TypePatient [ednum] int NOT NULL, PK [BackgroundID] int NOT NULL, FK [Patient_No] varchar(50) NULL, FK [Last_Name] varchar(30) NULL, [First_Name] varchar(30) NULL, [ADateTime] datetime NULL, Treat [ID] int NOT NULL, PK [Ednum] numeric(10, 0) NOT NUL
-
Calculating Year to go and Full year
Hi Experts, I have a scenario to calculate year to go YTG and full year FY on BEx query designer. What I currently have is Month to date MTD MTD = YTD8 - YTD7 Im assuming YTG8 = FY - YTD8 what will the formula be for FY = ? Thanks Godfrey
-
Installing Eclipse on Windows XP
Hi all I have been trying to install Crystal Reports Eclipse. I am new to this development environment. Please forgive me if I am asking questions that may have been answered. I do not know where to get the dk1.42.1 file. At the top of this forum it
-
Call the CALL METHOD and CREATE OBJECT
Hi Friends, How to call the CALL METHOD and CALL OBJECT in the se38 edit program.For example for calling the FUNCTION MODULE we can use the pattern in that using the call function we can get the function module in the se38 edit.but in METHOD hoe