Upload / download gui-status/dynpro when function group
Hi All,
I'm coding a program where I can download and upload reports and module pools but I tried to do the same with function groups and I found It is different to upload dynpro and gui staus when the objet to generate is a function group.
Could anyone help me a little in order to complete and finish this issue?
Below is shown the routines I coding in order to achive that:
For gui-status uploading I use:
CALL FUNCTION 'RS_CUA_INTERNAL_WRITE'
EXPORTING
program = prog
language = sy-langu
tr_key = tr_key
adm = adm4
TABLES
sta = sta4
fun = fun4
men = men4
mtx = mtx4
act = act4
but = but4
pfk = pfk4
set = set4
doc = doc4
tit = tit4
biv = biv46c
EXCEPTIONS
not_found = 1
OTHERS = 2.
For screen uploading I use:
GENERATE DYNPRO gs_d020s gt_d021s gt_d022s gt_d023s ID dynp_id
MESSAGE mess LINE line WORD word.
IF sy-subrc = 0.
EXPORT DYNPRO gs_d020s gt_d021s gt_d022s gt_d023s ID dynp_id.
ENDIF.
But both options don't work when uploading function groups
Regards...
Edited by: Rob Burbank on Jun 1, 2011 11:58 AM
Edited by: Kenneth Castañeda on Jun 2, 2011 7:31 PM
Edited by: Kenneth Castañeda on Jun 2, 2011 7:34 PM
Hi Kenneth,
sorry, it is really not obvious that [there is a link behind zsaplink|http://code.google.com/p/saplink/].
From the link:
"SAPlink is an open source project that aims to make it easier to share ABAP developments between programmers. It provides the ability to easily distribute and package custom objects."
This software allows you to up- and download all kinds of SAP objects. It is distributed under the GNU General Public License.
I think this is exactly what you are looking for - or I did not understand your question.
Regards,
Clemens
Similar Messages
-
Upload/Download GUI STATUS
Hi SAP Experts,
Is there any way to download GUI STATUS from Z program to local PC and after that upload that GUI STATUS from the local PC to another 'Z' program.Both the Z programs are in different versions.
Please help.
Mukesh KumarHi Mukesh,
Check these threads...
How to GUI status from one system to another
download Programs
cheers,
Prashanth
P.S Please mark helpful answers -
How to download GUI status and then upload to another system?
Hi,
I have a requirement to copy a module pool program to another system (different system, it cannot be transported to that system)
We have options to download/upload programs/screens in SE38 and SE51. But, I couldn't see any such option in SE41.
Is there any other way to download GUI status from SE41 and then use that file to upload in other system?
Thanks in advance.
Regards,
Arun MohanHello Arun,
If the object's transport order has been released, you can ask your basis person to download and import that request files(Co file + Data file) from the current system to the new system.
This is the easiest possible way to achieve your requirement.
Regards,
Karthik D -
Urgent : program to copy or download GUI status
Hi Experts,
I have to copy Screens and GUI status, GUI titles from one SAP sysytem to another SAP system. Do anyone have the solution for it.
Or any program that could download to local system and then to upload the GUI Status and Screens to another syatem....
Thanks,
GovindHi Govind,
You can download the entire code one by one in simple flat file and can upload the same in the target system. It will reduce a lot of effort on your part. But as for the screens I think you need to put the data elements again. But you can check it as I have never tried.
The process to upload and Download the entire code is given below:
To download
SE80->Utilities->More Utilities->Upload/Download->Download. ( use this to download in a simple flat file.)
To Upload
SE80->Utilities->More Utilities->Upload/Download->Upload. ( now upload the simple file in the target system in the same way.)
Thanks and Regards,
Samantak.
Rewards points for useful answers. -
Hi All,
Any idea? how to download/upload GUI Status...
Thanks in advance,
Vinodh.hi,
go to SE41 ,open ur PF status open all the bars than go to >>>>
system > list > save > local file > name of ur file (unconverted)
by u can seen ur PF status image , u can not uploaded but can make by seeing this,
hope it will help u
make the points if yes
with regards
chetan vishnoi -
File upload & download through web Dynpro
Hai All,
Now i am working in webDynpro 2.0.9. For file upload
and download through webdynpro "resource" is used.But in my webdynpro version 2.0.9. "resource" is not possible.so tell me how to upload & download by using this version & what is the alternative way for this.
Thanks in advance.
Kindly Regards,
s.v.selva balaHI,
Try out this code :
FileInputStream is = new FileInputStream(file);
long length = file.length();
byte[] bytes = new byte[(int)length];
long bytesRead = is.read(bytes);
if (bytesRead < length)
throw new IOException("Could not completely read file "+file.getName());
is.close();
element.setDocumentContent(bytes);
Create a context attribute of binary type and assign the read data to it and bind the dataSource property of your File Upload and Download properties to this context Attribute.
Regards
Sid -
Upload / download PF Status
Hi,
I am trying to download programs from SAP. I have set PF-Status in my program. Now when i try to download / uplaod program how can i get my PF Status details?
When i upload my program into SAP the pf-status is not available...i need to create it again. Can i download / upload PF-Status of the program?
can anyone give me idea of how to solve my issue.
regards
padmaYou can use these code in your report program to display the PF status
START-OF-SELECTION.
SET PF-STATUS 'BASIC'.
In the module pool program you can use
DATA fcode TYPE TABLE OF sy-ucomm.
MODULE status_0100 OUTPUT.
APPEND 'CHANGE' TO fcode.
APPEND 'SAVE' TO fcode.
SET PF-STATUS 'STATUS_0100' EXCLUDING fcode.
ENDMODULE.
When you finish the uploading the code you have to activate all the programming objects. -
Hi
I am creating gui status in a function group from se80
I created same menu in two different gui statuses.
I want different fields in the menu.
I have 'goto' menu in first and second gui status.
I want different fields in the 'goto' menu in both gui statuses
when i change the fields of the menu in one gui status it automatically changes in the second guistatus
kindly help me,
thanksHi,
Try this..
Delete the second gui status...
Then create the second gui status by not copying...
add the menu and function codes one by one...and then when you enter the same menu..it will ask whether do you want to copy the existing menu or create new menu....here say create new menu....It should work..
Thanks
Naren -
Gui status standard - new button
Hi gurus,
I have added a new button to a standard gui status: 0101 of function group CEI0. Everything seems ok, but when I start the transaction (CU50) I can't see the new button. Should I do some other operation to see the modification I have done?
Thanks a lot
GuidoHi
It should be a gui for a popup, I don't believe It can deactive your new functions at runtime, but try to check what's happens as soon as that gui is set in PBO.
Max -
Gui status - upload / download
Hello All,
Is there any way where I can download GUI status from one system and upload it to another system ?
Thanks in advance,
Senthil GHi Senthil,
Gui status is tied directly to programs, so that said, you want have to tie this gui status to a program, then transport the program. So if you have a gui status that you want to use that is tied to standard program, create a "Z" program, then you can copy the gui status from the standard program to the "Z" program. Now you can transport the "Z" program to this other system, then you can copy the gui status from the "Z" program to where ever you need it in the other system. Make sense. I'm assuming that this other system is outside of the DEV->TST->PRD heiracrchy.
You can copy the gui status using SE41. Click User Interface, Copy, Status.
Regards,
Nitin. -
Regarding uploading the function group
Hi All,
I have a requirement like this....
I have a selection screen which consists of function group name...and two options upload and download...
If i click on download option and supply the function group name..then it will download all the function group related stuff like function modules, includes,etc..
this download option is working fine...
Now my problem is in upload option...
how can i upload all the files and it forms a function group...
I created a function group zfgroup and downloaded all the files related to this like function modules and include files...and deleted that function group...
now using these files i have to create the function group when i click on the upload option.
hope you guys got this question...
thanks and regards
raghuHi,
Check the solution you are look in for inthis link.
<a href="/people/alvaro.tejadagalindo/blog/2006/03/18/taking-good-care-of-z-function-modules utility</a>
Hope this helps.
Cheers
VJ
Message was edited by: Vijayendra Rao -
Upload - Download of ABAP Development Objects
Hi all,
Is it possible to download my development objects( Report, Function Group, Dynpro...) of System 1 to the PC and then upload again in System B? If yes, how is it done?
Regards,
SükrüYes, you might want to try SAPlink
http://groups.google.com/group/saplink
http://code.google.com/p/saplink/
Regards,
Rich Heilman -
DISABLE button(FCODE) from the GUI-Status
Hi people,
Can anyone help me out with this... I need to manipulate the PF-STATUS and 'DISABLE' some of the buttons. I am already using the
'SET PF-STATUS 'STATUS_100' EXCLUDING lt_off_commands.' but instead of hiding the buttons I would rather diable them so that they are visible on the toolbar but could not be used.
TIA,
ZAMHello ZAM,
There's a standard way to do that. When you Create / Edit a GUI status in the Menu Painter, you can choose whether you want the disabled function codes to be hidden or to be displayed as grayed out.
Follow the menu path <i><b>Goto>Attributes>Pushbutton Assignment</b></i>. You will get a pop-up with three options. The default option is <i><b>Hide all</b></i>. Just choose <i><b>Display all</b></i> on this pop-up and activate the GUI status. Your functionality is achieved.
If this helps, please reward the points and close the thread. Otherwise, please get back with the problem you might be facing in doing so.
Regards,
Anand Mandalika. -
How to download PF-STATUS of a Report to a Text File
Hi Friends,
Please guide me on this,
I want to download PF-STATUS of a Report into a text file,
Problem is how to get/capture the PF-STATUS.
Regards,
SowjanyaHi,
Please follow the following link
Upload / download PF Status
Regards,
Shailaja -
Download/Upload Function group???
Hi,
How to download function group from one system and upload it to another system.
Here transporting the request is not possible. Hence it requires to be downloded first on to one system and uploaded to another system.
How it can be done??
Thanks and Regards
Rahul.Hi,
GOTO transaction SE80, Choose Function Group in the List Box and Provide your FG and Press Enter. Now goto utilities->more utilities->Upload and DOwnload.
Hope this should have helped you.
Thanks,
Prashanth
Maybe you are looking for
-
Hey everybody! I want to get my brother an iPad 2 for Christmas but he wants a MacBook Pro. What he is going to be doing with either is light web browsing, recording music with GarageBand (guitar with Apogee Jam), playing games, listening to music, w
-
When adding an Invoice with a 'total' discount, the resulting GL journal does not post an amount to the 'Discount Allowed' account. Instead the value of the discount is subtracted from the Sales element of the journal. Customer would like the optio
-
How to make use EP advanced concepts
hi friends, I have a few doubts in EP? My client is already implemented EP for their business. Now my client is trying to implement SOA.. In this point of view... How we can show that the new advntages of EP. like VC.. CAF Guided procedures..
-
Checking the size of Oracle XE Database
Hi, I installed oracle 10g express edition on a Linux machine couple of weeks ago. Installation was successful oracle is running fine. Now I am concious about the limitation of 4 GB data size in XE. DBConsole is not running, i am working on it. But w
-
Hi there Sometimes I think iPhoto can be a little 'too organised' I have created a folder in iphoto of my artwork and jewellery. I have burned these onto a CD for a gallery and when you open it (on a mac or a PC),there are a milion folders organised