How to Access Maintenance View from a program
Hi Experts,
I have created a maintenance view for a table. i want to insert data's into the table through the maintenance view. I don't know how to access the view, how to insert data into the Maintenance view. Please suggest me how to access the view from the program.
with regards,
James...
Valuable answers will be rewarded...
Hi,
What is the need to search for a program.
Use transaction SM30 or SE16 to create or maintain entries in the table.
e.g. if the Maintenance view is created on table A, then Goto transaction SM30 or SE16 and give the table name as A and proceed. This will automatically take u to the maintenance view on tha table A.
Regards,
Himanshu
Similar Messages
-
How to call a maintenance view from a program
Hello Abapers,
Can anybody explain with some examples. How to call a mainetenance view from a program.
Thanks
Ranjith.Use FM 'VIEW_MAINTENANCE_CALL'.
REPORT zmaintaintest.
VARIABLES / CONSTANTS
CONSTANTS:
c_action(1) TYPE c VALUE 'U', "Update
c_viewname TYPE tabname value 'ZEMP_EXAMPLE', "View Name
c_field(6) TYPE c VALUE 'EMPNO'. "Field Name
INTERNAL TABLES
DATA: itab_rangetab TYPE STANDARD TABLE OF vimsellist,
v_empno TYPE zempno,
wa_rangetab TYPE vimsellist.
SELECTION SCREEN
PARAMETERS: p_empno TYPE zempno OBLIGATORY. "Emplyee ID
AT SELECTION-SCREEN
AT SELECTION-SCREEN.
Chcking the existence of the user in EMPLOYEE table
PERFORM validate_employee.
START_OF_SELECTION
START-OF-SELECTION.
This will restrict the user view so that user can only view/change
Table data corresponding to his/her Employee ID
PERFORM define_limited_data_area.
Displaying table maintenance view for a particular employee ID
PERFORM call_view_maintenance.
*& Form validate_employee
Validate plant entered in the selection screen
FORM validate_employee.
SELECT SINGLE empno u201CEmployee ID
FROM zemp_example u201CEmployee Table
INTO v_empno
WHERE empno = p_empno.
IF sy-subrc <> 0.
MESSAGE 'Not an Valid User' TYPE 'I'.
ENDIF.
ENDFORM. "validate_employee
*& Form DEFINE_LIMITED_DATA_AREA
To restrict the user view so that user can see/change table data
corresponding to his employee ID. Here one internal table is
getting populated with field name as u201CEMPNOu201D (Key field of the table)
And value as given by user in Selection Screen and this is passed as
Parameter in function module 'VIEW_MAINTENANCE_CALL'
FORM define_limited_data_area.
CLEAR wa_rangetab.
wa_rangetab-viewfield = c_field.
wa_rangetab-operator = 'EQ'.
wa_rangetab-value = p_empno.
APPEND wa_rangetab TO itab_rangetab.
ENDFORM. "define_limited_data_area
*& Form CALL_VIEW_MAINTENANCE.
Displaying table maintenance view for a particular employee ID
FORM call_view_maintenance.
CALL FUNCTION 'VIEW_MAINTENANCE_CALL'
EXPORTING
action = c_action
view_name = c_viewname
TABLES
dba_sellist = itab_rangetab.
ENDFORM. "call_view_maintenance
Regards,
Joy. -
DTR API, how to access DTR server from own program?
Hello Expert,
we have a requirement to download some source code from the DTR server using our own program (not the SAP standard DTR Client integrated in NWDS). My question is: does SAP provide some kind of API for accessing DTR server?
I know there is a command line DTR client, but what we need is to send the command to DTR server from our own program to download some source code, after download our program will then process the source code.
Anyone has idea how that would work? The best is that SAP provides API to access DTR server. Not sure if we can call the command line DTR client from our program (technical should be fine, but this is not the best way).
Appreciate any input.
Thanks
JaysonHi Jayson,
If your program language of your own program supports opening files with an URL name and saving those files locally, you can use the WebDAV protocol to access the DTR.
But beware of developing your own DTR client implementation: all the handling of activities - propagation lists - inactive/active workspaces - (blob) metadata - versions - integrations of activities, etc. sounds to me very tricky.
If your programming language of your own program supports executing OS-commands, try executing the DTR tool located in the tools directory of NWDS. It supports executing a list of DTR commands listed in a script file. Perhaps this satifies your needs.
Hope this helps your decision making.
Regards,
Alain. -
How to access a variable from one program to another (independent)
Hi,
My requirement is to use a variable(value) from one program(prog1) to another (prog2). how is it possible.
Regards
Arani BhaskarGo for memory id .
passing on values from one program to another program
Program1
EXPORT (variable) TO MEMORY ID 'LOC'.
Program2
IMPORT (variable) FROM MEMORY ID 'LOC'.
LOC is the address , for more press f1 on export in abap editor. -
How to Access the view from another Component
Hi,
Seek your advice on this following requirement.
1. Would like to add the view OVWindow of Component BTCATEGORIES in an assignment block of
CRMCMP_CMG similar to the assignment block exists in the BT116H_SRVO component.
2. Please provide the step by step procedure to implement this requirement.
Regards,
ArifHi,
I am having view1 and view2.
in view1 i am using roadmap. S1 is one of the step of road map.
in view1 i used this code to get the reference of this view in componentcontroller attribute
Data: lo_api TYPE REF TO if_wd_view_controller.
If first_time = 'X'.
lo_api = wd_this->wd_get_api( ).
wd_Comp_Controller->my_VIEW = lo_api.
endif.
in my view2 i want to access the roadmap step
i dono how to access that.. i used this code.......
wd_comp_controller->my_view->get_element( 'S1' ).
is this correct.. If not what is the code to get that id..
Can any one tell me clearly... -
How to access system calls from java program?
i am having a doubt regarding accessing system calls from a Java program like accessing unix system calls from a c program.
Runtime.getRuntime().exec("line command here");
example:
Runtime.getRuntime().exec("ls -la"); -
How to Access v$ views from inside PL/SQL?
I cannot grant select on these v$'s for users. Could someone recommned a solution for something like:
function conn_cnt(v_name in varchar2, v_stat varchar2) return number
is
p_val number := 0;
begin
EXECUTE IMMEDIATE
'SELECT COUNT(*) FROM V$SESSION WHERE ' ||
'USERNAME = :1 AND STATUS <> :2 ' ||
'AND SID NOT IN (SELECT SID FROM V$MYSTAT WHERE ROWNUM < 2)'
INTO p_val USING v_name, v_stat;
return p_val;
exception
when others then
raise_application_error(-20011, sqlerrm);
end;
Thanks.Thanks John,
but:
SQL> conn sys as sysdba
Enter password:
Connected.
SQL> grant select on v$session to <id>;
grant select on v$session to <id>
ERROR at line 1:
ORA-02030: can only select from fixed tables/views
- Zack -
How to access design view in DW CC?
I am new to DW and am working in fluid grid. tutorial references design view (maybe with a toggle switch) - cannot find how to access 'design view'. any help would be appreciated.
If you use CC 2014.1 (October release) or 2014.1.1 (February release) you can't get to Design View b/c it was removed from FGLayouts.
New Features in CC 2014.1 October Release
http://helpx.adobe.com/dreamweaver/using/whats-new.html
New Features in CC 2014.1.1 February Release
https://helpx.adobe.com/dreamweaver/using/whats-new.html#Enhancements%20to%20Live%20View%2 0editing
Nancy O. -
How to raise an event from a program
Hi,
I am creating a workflow for HR, the person will request a basic pay change than, this will start the workflow. For this i am making a screen from where i need to triger the event for the workflow.
Does anybody has any idea? of how to raise an event from a program. or has anybody worked on a scenario like this
Khusro HabibYou can also use the FM SAP_WAPI_CREATE_EVENT which is a little newer I think. (I don't have access to a system today so that may not be the exact name of the FM but if you search SE37 under SAPWAPIEVENT* you should find it.
the parameters will be the event name, and the object key. The object key will be the key field of the workflow object you are using.
For example if you were using the saled document object then the object key would be the sales document number. Carefull how you enter the object key, it can be a little tricky on whether or not you need the leading zeros in the input parameter.
Hope this helps.
Brent -
Access SAP Tables from Java Program
Hi All,
We have a requirement to integrate attendance portal(which is done in java) with SAP.
Our problem is how to access SAP tables from a Java program?
Database is Sybase.
Please suggest us a good solution.
Thanks in advance...Did you go through Sap Help?
Calling BAPIs from Java - BAPI User Guide CA-BFA) - SAP Library
Regards,
Philip. -
My java application is delopyed on neo.ondemand.com and use the hana database on cloud also, we use eclipselink
the jpa persistence configuration:
<property name="eclipselink.target-database" value="com.sap.persistence.platform.database.HDBPlatform"/>
here i do not specify any user or password to access the database, i think hana JDBC somehow hide the user information when java application and hana database both are on the cloud.
for the tables created by JPA itself, access if fine.
now i have created a view via Hana studio, though database tunnel using account dXXXXXXsapdev
i have an JPA entity, and i am trying to access the view from java application, it reports error:
Exception [EclipseLink-4002] (Eclipse Persistence Services - 2.3.2.v20111125-r10461): org.eclipse.persistence.exceptions.DatabaseException Internal Exception: com.sap.db.jdbc.exceptions.JDBCDriverException: SAP DBTech JDBC: [258]: insufficient privilege:
I do not know which database user is used by JPA to access the view, how can i grant the database rights on the view so that "native java application on cloud" can
access the database schema (or view created though database tunnel )
any comment is welcomed.Hi,
Please post this issue under SAP HANA Cloud Platform space. The platform experts should be able to help with that.
Regards,
Ifat. -
How to access the cloud from my pc?
how to access the cloud from my pc?
Go to Verizonwireless.com, log in to your account (or register your phone number if you haven't done so). Once logged in, Go to My Verizon, My Device, Backup my contacts. That should bring you to your Cloud "dashboard" - where you can view Contacts, Photos, Videos, Music,Documents, and anything else you've sent to Verizon Cloud.
If this doesn't work for you, then where does it break down? Do you get any error messages? -
How to access Cyrillic glyphs from Trajan Pro 3 Regular?
I can download Trajan Pro3 regular in greek and latin glyphs but not in Cyrillic. Using Mac OS 10.7.5, Font Agent Pro 6.010.
No EULA Licence Agreement in russian, but Adobe told me I bought the right font (with cyrillic glyphs).Thank you a lot.
The first downloading was not correct. I loaded again, and now it is ok.
Best regards
Catherine Anderegg
Anderegg Graphic
Le 23 févr. 2015 à 21:10, MiguelSousa a écrit :
How to access Cyrillic glyphs from Trajan Pro 3 Regular?
created by MiguelSousa in Adobe Type - View the full discussion
Yes, the Trajan Pro 3 fonts have Cyrillic glyphs in them. You need to use Unicode-encoded text to get to them.
Википедия
Cyrillic script in Unicode
If the reply above answers your question, please take a moment to mark this answer as correct by visiting: https://forums.adobe.com/message/7222734#7222734 and clicking ‘Correct’ below the answer
Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page:
Please note that the Adobe Forums do not accept email attachments. If you want to embed an image in your message please visit the thread in the forum and click the camera icon: https://forums.adobe.com/message/7222734#7222734
To unsubscribe from this thread, please visit the message page at , click "Following" at the top right, & "Stop Following"
Start a new discussion in Adobe Type by email or at Adobe Community
For more information about maintaining your forum email notifications please go to https://forums.adobe.com/thread/1516624. -
How to call a view from Interface view
Folks,
How to call a view from interface view (onPlugDefault method) . I was trying to set context of controller but it is not working . What is the work around.
ManishHi Manish,
An interface view is created for each window that you have, which in-turn has views embedded, one of which is default. If you want to pass data which you have in your interface view, do the following
- Add your component controller in your interface view properties
- In the onPlugDefault method(I assume this is where you have the data available through URL parameters),set the component controller context variables like
wdThis.wdGetComContr.wdGetContext().currentContextElement().setName("John");
-Access these context variables in your view as well by adding the component controller as the required controller
Your default view will appear automatically when you call the application.
Regards,
LM -
How to refer one view from another view?
Hi,
I have 2 views in my Adobe Flash Builder mobile app. I need to refer the first view in my second view.
How to refer one view from another view? Or how to create a reference to a view wherever needed?I don't need any data from my first view. In a certain flow, I need to make my first view to be invisible.
for eg., My First view is in portrait mode. I change the device to Landscape. In the landscape mode, I want to show a completely different view (second view).
In this case, what happens is, I see my first view in Landscape mode for a second. Then the second view appears. When I change to Landscape mode, only the second view should be seen. I need to make my first view to be completely invisible in the OnOrientationChanging event of
StageOrientationEvent
As stage object and StageOrientationEvent works at application level, I need to know how to refer my first view object in the application level.
private function onOrientationChanging(soe:StageOrientationEvent):void
MyFirstView.Visible = False; ====> don't know how to refer MyFirstView here
Is my question clear now?
Maybe you are looking for
-
Hi we installed OBIA 11.1.1.7.1 and we are performing configuraiton for HRMS / HCM. In configuration manager when we try to map "Domain member mappings for domain map Source Workforce Event Reason Combination → Workforce Event Detail" we get error "J
-
Got Error While Compiling Packages with TOAD (URGENT)
Dear Experts, Please help me to resolve this erroe this is very criticla. ORA-20000: You have insufficient privileges for an objects in this schema ORA-06512: at "SYS.DBMS.UTILITY" LINE 422 ORA-06512: Line 1
-
How can I get spotlight in OSX Yosemite to search Firefox bookmarks?
Spotlight searches Safari but not Firefox bookmarks. I can export to Safari but not a great work around. Thanks, DRE
-
Read and tried it all and still no luck...error message is:
One shuffle registered and synched. One nano registered and synched. This second 3rd gen nano will not register; this is the message I have been getting for 7.5 hours: "itunes cannot read the contents of the ipod "ipod". Go tothe summary tab in ipod
-
Help converting old Freehand files
I have several old Freehand files, to be honest I don't remember the versions, but they were definitely before 9. I'm on a PowerMac running Freehand MX and Illustrator CS3 and do not have the Classic 9 operating system still on this machine. Am I com