Notes - Standard Function Modules long text functionality
Hi All
Need standard Function Modules for Notes (long text) functionality. I need to create a notes tab in dialog program, this notes tab has all formatting icons to enable create/upload/modify the text entered and passed to SAP standard text objects.
Edited by: sharmalvn on Jun 29, 2009 4:34 PM
Take a look at function modules:
- SAVE_TEXT (saves text to an existing object)
- READ_TEXT (read text from an existing object)
- CREATE_TEXT (writes text to a new object)
Hope that helps,
Michael
Similar Messages
-
Functionality in long text -- include -- characters-- SAP Icons
Can any one please tell me the functionality in long text -->include >characters>SAP Icons. Is it possible to include any icon in longtext.
regards
RavikumarHi,
The standard icons should be available. If not, see note [1067936|https://service.sap.com/sap/support/notes/1067936] that explains how they can be made available.
-Paul -
Number of characters in long text functionality
Can anyone please help me as to how many characters are there in long text functionality in Standard SAP. If we create a document under FB01 , there is a long text field how many characters we can enter in that text field.
Also can we have any number of characters in custom field or is there any restriction to it.Hi Isha,
Please refer the solution for your problem on this link :
Here i have explained in detail how you can go about with providing Custom Controls on the screen.
[Re: long text in custom screen]
Hope this helps.
Regards,
Samreen. -
Reading function module exception text
Hi Experts,
I would like to read the function module exception text programatically. i.e., If sy-subrc value of a FM is 2, then I would like to
take the exception and associated exception text and I would like to display the exception text to the end user. Exceptions are
stored in FUPARAREF table. Which table stores exception text. Is there any FM to read it?
Thanks and regards,
Venkat.Hello
Table FUNCT will help you. -
Option to mass migrate function modules in a function group to new SAP box
Hi All,
We have a requirement wherein we have to move all the existing function modules to a new SAP box.
I heard that there is an option to download all function modules in a function group to text files and upload them to a new system at once without much progamming.
Please let me know if anyone knows how to do this.
Thank you,
VasuHi Vasu,
why don't you just use CTS?
Create a transport that contains the objects you want to move. Then. assuming the target system is not in the same CTS landscape, move the files to the transport directory of the target system. Then in STSM goto the Import Queue and select Extras->Other Requests-Add to add your transport to the queue. Then import it as normal.
Cheers
Graham Robbo -
What is the difference between the normal function module and bapi function
hi,
what is the difference between the normal function module and bapi function module.Hi
BAPI stands for Business API(Application Program Interface).
A BAPI is remotely enabled function module ie it can be invoked from remote programs like standalone JAVA programs, web interface etc..
You can make your function module remotely enabled in attributes of Function module but
A BAPI are standard SAP function modules provided by SAP for remote access. Also they are part of Businees Objest Repository(BOR).
BAPI are RFC enabled function modules. the difference between RFc and BAPI are business objects. You create business objects and those are then registered in your BOR (Business Object Repository) which can be accessed outside the SAP system by using some other applications (Non-SAP) such as VB or JAVA. in this case u only specify the business object and its method from external system in BAPI there is no direct system call. while RFC are direct system call Some BAPIs provide basic functions and can be used for most SAP business object types. These BAPIs should be implemented the same for all business object types. Standardized BAPIs are easier to use and prevent users having to deal with a number of different BAPIs. Whenever possible, a standardized BAPI must be used in preference to an individual BAPI.
Regards
Anji -
We installed a new system and imported the syncbo definitions to this new system.
After the import and generation of all T01 SyncBOs we get an error. E.g. for MAM25_016:
Function modules from the function pool Z_MEREP_GEN_T01_MAM25_016 contain syntax errors
Message no. MEREP_00530
After investigation the following syntax error is shown:
Source code LZ_MEREP_GEN_T01_MAM25_016U04 Line 641
The FORM "MAM25_016_CONV_NAME" does not exist, but there is a FORM with the similar name "MAM25_016_I_CONVERSION".
"MAM25_016_I_CONVERSION".
We are already using three systems D -> Q -> P. The export/import of files between these systems work okay. But not with the new system. All are on NW04 SPS 18. In the other systems the form is available.
Does someone have an idea how to solve this?
Thanks in advance,
Benjamin de RijkeHello Rahul / Karthick,
Thanks for the tip, I already reimported these with no effect. Next to this I deleted the function modules for a Z-syncbo (our own developed one). But this didn't help as well. The MAM-SyncBO function group can not be deleted because the system is not a developement system. We are not allowed to develop things in this environment.
I have the feeling that it has something to do with the initial setup of this system. All the others were first on SPS15 were we developed the SyncBOs. At a certain time we updated the systems to SPS18 and developed further. No issues so far regarding the import / export of the files from D to Q and P.
Now we initial installed a new system on SPS18 and on this one the generation failes with the mentioned syntax error.
Kind regards,
Benjamin -
Function modules in a function group
Hi
hoe many function modules can a function group contain and can we create a function module with out import parameters.1. There isn't any limit.
But whenever you use a FM in your program, system will allocate memory for all the data definition maintained in the TOP include. So, put only relevent FM's in the FG and create another FG, if it has a different purpose.
2. Yes we can create
Regards,
Naimesh Patel -
Can a function module call another function module
Can a function module call another function module:-
within the same function group
(ii) within different function groupsHi,
We can call function from another function. If there is a function which is like a calculator and all the operations are from different functions then we have to call the functions from the calculator function for different functions.
If all the function are from same function group, Then the data is globally available to all the functions with in the group.
Otherwise we have to declare the data definitions for each of the functions if they are in different function groups.
Yes it is possible to call a function module from another function module:-
within the same function group
(ii) within different function groups
Reward. -
Copy Standard Function modules to Z Function modules
Hello,
I have a requirement like , I need have a typical requirement where i need to copy few function modules in the same function group , in this regard i copied 4 function module and calling performs with the program name , but i am unable to achive the requirement , Function module is getting Dump,
Can any one explain the standarded function modules and place it in Z function group. or is it possible to include standard function group in to Z function group ?
How to get reslove ? please guide ...
Thanks In Advance.
With Best Regards
Naganjaneyulu.P.VHi Naganjaneyulu,
If you copy it will be similar to Standard. But you can modify those FMs as you like which will not be possible in standard. Also if you solely copy the FM, If that FM consists or depends on the screens or Includes which are present in the Function Group then there will be syntax errors and shortdumps. The Reason for your short dump might be this.
If you are still not happy with this approach, Kindly paste the standard FM that you are trying to clone and the short dump that you are encountering.
Thanks,
Sai -
Function Modules for Text determination
Hello,
Could someone please point me to Function Modules for the following:
1) Given a transaction type (say '0000'), I need the text Det. procedure for that transaction type.
2) Now, given the Text Det. Procedure, I need the set of all Valid Text Types (For eg: A0002, A0001, etc..).
Thanks and Regards,
NishaHi all,
any idea about this topic? -
How to make a normal Function Module remote able function module
Hi guys,
i am a beginner in abap programming. I have made a programm in Se80 which shows all the nodes of the active hierarchies (5 stk.)
in a ALV grid. Therefore i am getting the active hierarchies from table "rshiedir" and use the normal function module "RSSH_HIERARCHY_READ" to display the nodes of the hierarchie. The problem is the hierarchies do have a different techical name in the systems (development-acceptance-productive) but the descriptive nbame is the same in all systems. Because of the difference of the technical names I can use this programm in just one system. But the hierarchy content should be comparable and be displayed in all three systems. Therefore i would like to create a remoteable function module which covers the normal one. Can i do this and how can i create a remoteable function module and use it?
If not do you know any remotable functgion module which gives back all the nodes from an active hierarchy in table "RShiedir".
Thanks and kind regards,
MuratHello,
Simple, create a wrapper RFC (similar to 'RSSH_HIERARCHY_READ' ) & call the normal FM 'RSSH_HIERARCHY_READ' inside the wrapper.
Something like this:
FUNCTION z_rssh_hierarchy_read.
*"*"Global Interface:
*" IMPORTING
*" VALUE(I_RSHIEDIRKEY) TYPE RSHI_S_RSHIEDIRKEY OPTIONAL
*" VALUE(I_RSHIEDIRLOG) TYPE RSHI_S_RSHIEDIRLOG OPTIONAL
*" VALUE(I_DATE) TYPE RSHI_DATE DEFAULT SY-DATUM
*" EXPORTING
*" REFERENCE(E_RSHIEDIR) TYPE RSHI_S_HIEDIR
*" REFERENCE(E_T_RSNODES) TYPE RSHI_T_HIENODE
*" REFERENCE(E_TH_RSINTERVAL) TYPE RSHI_TH_INTERVAL
*" REFERENCE(E_DUPLICATE_LEAFS) TYPE RS_BOOL
*" REFERENCE(E_T_RSNODES_LNK) TYPE RSHI_T_HIENODE
*" EXCEPTIONS
*" INVALID_HIERARCHY
*" NAME_ERROR
*" IOBJ_NOT_FOUND
" Don't forget to add TYPE-POOLS rshi to the FuGr. TOP include
CALL FUNCTION 'RSSH_HIERARCHY_READ'
EXPORTING
i_rshiedirkey = i_rshiedirkey
i_rshiedirlog = i_rshiedirlog
i_date = i_date
IMPORTING
e_rshiedir = e_rshiedir
e_t_rsnodes = e_t_rsnodes
e_th_rsinterval = e_th_rsinterval
e_duplicate_leafs = e_duplicate_leafs
e_t_rsnodes_lnk = e_t_rsnodes_lnk
EXCEPTIONS
invalid_hierarchy = 1
name_error = 2
iobj_not_found = 3
OTHERS = 4.
IF sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
Here Z_RSSH_HIERARCHY_READ is the wrapper RFC. Hope you get the point.
BR,
Suhas -
Function Module for Superior Function Location
Hi Experts,
I want to Assign / Change / Delete a Superior Function Location to a Existing Function Location .
Is there any Standard Function Module / BAPI available ?
Regards,
Velhi.
FUNCTION ZCHANGE_SUPFUNLOC.
""Local Interface:
*" IMPORTING
*" VALUE(I_FUNLOC) TYPE IFLOT-TPLNR
*" VALUE(I_SUPFUNLOC) TYPE IFLOT-TPLMA
DATA: DATA_GENERAL LIKE BAPI_ITOB,
DATA_GENERALX LIKE BAPI_ITOBX,
DATA_SPECIFIC LIKE BAPI_ITOB_FL_ONLY,
DATA_SPECIFICX LIKE BAPI_ITOB_FL_ONLYX.
CALL FUNCTION 'BAPI_FUNCLOC_GETDETAIL'
EXPORTING
FUNCTLOCATION = I_FUNLOC
IMPORTING
DATA_GENERAL_EXP = DATA_GENERAL
DATA_SPECIFIC_EXP = DATA_SPECIFIC.
DATA_SPECIFIC-SUPFLOC = I_SUPFUNLOC.
DATA_SPECIFICX-SUPFLOC = 'X'.
CALL FUNCTION 'BAPI_FUNCLOC_CHANGE'
EXPORTING
FUNCTLOCATION = I_FUNLOC
DATA_GENERAL = DATA_GENERAL
DATA_GENERALX = DATA_GENERALX
DATA_SPECIFIC = DATA_SPECIFIC
DATA_SPECIFICX = DATA_SPECIFICX.
COMMIT WORK AND WAIT .
ENDFUNCTION.
Regards,
Sivaprasath -
Standard Purchase Order Long Text In ALV Report
Hi Gurus,
I am able to get the charecter space for long text in the ALV report but i could not able to get the text in that space out put.
I have used ekko and ekpo tables.
Please provide me the code are solution to display the Text in that particular space.
Thanks,
SRHi all,
I am able to see the PO text, But when i moved it to production system i find
1) it is taking too much time to execute. 2) I find the first PO text in the purchase document is getting repeated for all other purchase documents in the run where their is no Po text .
Please help me how to restrict the repeated Text.
And also to improve the performance
regards,
dileep -
Not able to read long text in MCI10001
Hi gurus,
I am using MCI10001 for IW21 tcode where I have to read long texts of maintenance line items under Maintenance Tasks tab.
Long text is not getting created for line items at this exit. Please suggest me if any exits/BADIs available where I can read the same.
Thanks in advance.
AneesHello,
You need to set FM ‘SAVE_TEXT’.or 'CREATE_TEXT'
tdformat = '>X' <-- this format you can not set directly in editor
CONCATENATE '*' tdline
INTO tdline
SEPARATED BY space.
this will make text to be non editable.
Thank you...
Maybe you are looking for
-
File name structure for picking up X12/EDIFACT documents from an FTP Server
According to some documents, and posts in this forum, the file name for a document retreived from an FTP server by B2B has to be in the following format: %TPName%_%X12 Doc Type%_%X12 Version_1_12345.dat Why is this format required? Is it possible to
-
Time Capsule with a different DNS?
Hi there. First time on the community. I've seen this question has been asked, but the posts are very old now. I'd like to present a scenario to you and to hear if this is possible or not. I would like to have my internet modem/fiberbox connected to
-
Block database access using toad or other tools
We have a forms application running on oracle database 10g release 2, with the users created in the application the database can be accessed using the same id's through sql plus or any other tool. We have already restricted sql plus access by product
-
How Come My Flicker Filter Is Needed For Transitions To Take Out Black Bar?
I have a Sony EX1 footage shot in 1920 108024p and when I made the sequence settings to same it still made me change the sequence settings to video when I dragged the clip onto timeline. Thats not the problem, its for everytime I have a transition I
-
Unable to do normal boot on Z580
I have a Lenovo Z580, and I can't get it to boot properly. After powering up I see the F2 prompt and then a window offering 3 boot choices: CD, hard drive, and network. If I choose the hard drive, it just cycles back to the same window. That's the