Abap-hr object
how to read the psp-personal work schedule of each employee
Edited by: mahipal reddy on Apr 8, 2008 2:03 AM
Hi,
It's so simple to read employee psp-pws. You can use FM: HR_PERSON_READ_WORK_SCHEDULE.
Check this sample code:
DATA: l_enddate TYPE d,
l_startdate TYPE d,
lt_pdpnr TYPE STANDARD TABLE OF pdpnr,
lt_daypsp TYPE STANDARD TABLE OF pdsppsp,
lt_psp TYPE STANDARD TABLE OF PDPSP,
ls_pdpnr TYPE pdpnr,
ls_psp LIKE LINE OF lt_psp.
ls_pdpnr-pernr = 1006669.
INSERT ls_pdpnr INTO lt_pdpnr INDEX 1.
l_startdate = '20080401'.
l_enddate = '20080430'.
CALL FUNCTION 'HR_PERSON_READ_WORK_SCHEDULE'
EXPORTING
begin_date = l_startdate
end_date = l_enddate
read_from_database = 'X'
TABLES
pernr_tab = lt_pdpnr
psp = lt_psp
day_psp = lt_daypsp
EXCEPTIONS
error_in_build_psp = 1
OTHERS = 2.
lt_pdpnr is table for your PERNR list.
lt_psp is table for psp-personal work schedule.
Regards,
Similar Messages
-
Error while activating ABAP proxy object
Hello,
I can see all the interfaces of PI7.0 in my ECC6.0 system.
I am able to create abap proxy object of a interface.
But when I try to activate that I am getting error as
"RFC system error for destination GTADIR_SERVER".
Pl can you suggest. appreciate quick help in this.
thanks in advance,
SharadaHi,
For more details take a look at note: [1063482 - Creating Dictionary objects - RFC error GTADIR_SERVER|https://service.sap.com/sap/support/notes/1063482]
It is written that: Message SGSUB 104 is not an error message, but is merely irrelevant information for customers. You can continue to create objects nevertheless.
To get rid of this annoying error you have to implement the corresponding support package.
Regards,
Jakub -
ABAP proxy object and JAVA proxy objects
can anyone explain whether ABAP proxy object and JAVA proxy objects can communicate with each others?
if yes then how???JCO connectors would be able to do the trick here i guess
regards
krishna -
Hi experts,
is it possible to hide abap workbench objects so that they are not visible through SE80 or other transactions?
I know the possibility to hide ABAP source code but what I mean is to hide whole TADIR objects?
Example given, a Function Group is hidden so that it cannot be found through se80 or other objects like BW transformations etc.?
Best regards,Hello colleagues,
This is a valid question and deserves serious answer.
It can have two possible answers: Yes its posible or no its not.
I personally don´t want to hide any repository object. If its possible to hide abap source code, it might be possible to hide Repository objects too?Intention might be to hide programs that could lead to data leaks etc.
Best regards, -
Transporting ABAP proxy objects from one environment to another
Hi
I have ABAP client proxy objects ( classes in ECC 5.0 and the corresponding XI message interfaces on the XI server ) - in my development environment.
I need to move the ABAP proxy objects to the Qa environment. Two ways of doing this come to my mind.
1) Move the proxy classes within the ECC 5.0 Dev --> QA using normal transport organizer in ABAP workbench. Parallely , move the XI SCVs - from dev to QA ( export/import ). After both are done, go to QA environment, setup basic ECC5.0 <-> XI connection and check whether my ABAP proxies work.
2) As an alternate approach to no.1, move only the XI based SCVs from Dev -->QA , go to ECC 5.0 QA environment
and regenerate the ABAP proxies there using SPROXY - perhaps this will not be allowed in the QA environment - since the client will not be setup for any object changes/creation.
Any thoughts/links/weblogs on the above is appreciated.
Thanks in advance for your time.Hi Kartik,
We recently moved our outbound proxies from dev to QA and we followed the first approach and we did not face any issues with the approach.
Also SAP suugests the same approach...
"You create proxy objects in the development system by using the proxy generation functions. They are transported and shipped by using the tools in the development system. There are separate tools in the Integration Repository (see also: Software Logistics for XI Objects)."
http://help.sap.com/saphelp_nw04/helpdata/en/86/58cd3b11571962e10000000a11402f/content.htm
Regards
Anand
Message was edited by: Anand Torgal -
Do ABAP WebDynpro objects need to be added to auth.object S_SERVICE in ECC6
do ABAP WebDynpro objects need to be added to authorization objects in PFCG in ECC6.0?
(Same as we add Java WebDynpro object names to S_SERVICE authorization object in PFCG)
Thanks,
TiberiuI found authorization object S_ICF where I can add the ABAP WedDynpro applications.....unless someone else has a different opinion, I plan to close this thread....
Tiberiu -
Invoking Openoffice calc through ABAP OLE Object
I want to show the output of my ABAP process through openoffice calc worksheet.
I tried to invoke calc using ABAP OLE object.
But even a blank calc sheet is not getting opened with the following statements.
Type-pools: OLE2.
TYPES:
service_manager type OLE2_OBJECT,
DESKTOP type OLE2_OBJECT,
DOCUMENT type OLE2_OBJECT.
CREATE OBJECT service_manager 'com.sun.star.ServiceManager'.
CALL METHOD OF SERVICE_MANAGER 'createInstance' = DESKTOP
EXPORTING #1 = 'com.sun.star.frame.Desktop'.
CALL METHOD OF DESKTOP 'loadComponentFromURL' = DOCUMENT
EXPORTING #1 = 'private:factory/scalc'
#2 = '_blank'
#3 = 0
#4 = '' .
What is wrong with this code?. Is there any other setting required at the system/OS/ABAP/BASIS
level to invoke openoffice applications?.
I have registered the classid for openservice manager in the transaction SOLE. Still it is not working.
Iam able to invoke openoffice applications with Visual Basic/Power builder lanaguages.
Please respond.
Thanks in advance
LijuI don't think it's possible.
4th parameter of loadComponentFromURL method is an array ( http://api.openoffice.org/docs/common/ref/com/sun/star/frame/XComponentLoader.html )
Arrays are not supported as parameters in ABAP OLE Automation. (see note [633105|https://service.sap.com/sap/support/notes/633105] - OLE automation: ABAP type for OLE array parameters ) -
ABAP Shared Objects - External Reference
Hi,
I am using ABAP SHared Objects (SHMA and SHMM) as data persistence between 2 BSP Applications
I want to create a generic Root class with one attribute that is TYPE REF TO OBJECT. The idea is to store any class instance in this attribute of the Root class so as to AVOID creating a seperate Shared AREA for each Class...
WHen I try to put this generic Root Class in the shared area via detach_commit(), it gives a exception that there are External references in the Shared area which should be closed first
Does this mean u cannot have a instance variable as an attribute in your ROOT Class.
Thanks
SAP UserHi,
Go through the below code, it's working fine....
*& Report Z13708_ABAPOBJECTS_INHER
REPORT Z13708_ABAPOBJECTS_INHER.
CLASS C1 DEFINITION
CLASS C1 DEFINITION.
PUBLIC SECTION.
data: var1 type ref to object.
METHODS: METH1.
ENDCLASS. "C1 DEFINITION
CLASS C1 IMPLEMENTATION
CLASS C1 IMPLEMENTATION.
METHOD METH1.
WRITE: / 'This is a method one'.
ENDMETHOD. "METH1
ENDCLASS. "C1 IMPLEMENTATION
CLASS C2 DEFINITION
CLASS C2 DEFINITION.
PUBLIC SECTION.
METHODS: METH2.
ENDCLASS. "C2 DEFINITION
CLASS C2 IMPLEMENTATION
CLASS C2 IMPLEMENTATION.
METHOD METH2.
WRITE: / 'This is a method two'.
ENDMETHOD. "METH2
ENDCLASS. "C2 IMPLEMENTATION
START-OF-SELECTION.
DATA REF1 TYPE REF TO C1.
DATA REF2 TYPE REF TO C2.
CREATE OBJECT REF2.
ref1->var1 ?= ref2.
Regards,
Azaz Ali. -
Hi SDNers,
I want to implement Guided procedure for our bisness process.
I want Guided procedure to call ABAP callable objects.So Is it possible ?
If yes can you provide me with any document regarding the same I.e. GP calling ABAP callable objects.
Points will be given for Genuine answeres.
Thanks and Regards,
Neethu JoyHi Neetu,
I think there is no GP Callable object specifically for ABAP. But I did find some related documents. See if they are of any help:
[Creating a Callable Object in Group - Web Dynpro ABAP Application|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/9cbabed1-0c01-0010-dba5-bdddbadfe586]
[Exposing an RFC as a Callable Object|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/7743cbb8-0701-0010-bc94-ba528c794f3a]
[Consuming RFC Function Module Using Guided Procedures|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/2043985f-014c-2a10-a0ba-d081e09e9f8f]
[Creating a Callable Object - Business Server Page|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/c71c90ea-0c01-0010-68ab-c4f00fdcd76d]
[Creating a Callable Object - SAP Transactions|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/c48691d1-0c01-0010-9380-f98819c3ccc7]
Bye
Ankur -
UME security vs ABAP security object level
We installed Virsa Compliance Calibrator & Access Enforcer and trying to configure security in UME to control user access so that besides action level security, we need further restriction on for example, Functional Area, cost center & department access. Does UME have lower level authorization restriction capabilities similar to that of ABAP authorization object level security? If not, how can we utilize ABAP Virsa security objects to control JAVA front end access?
Your advice is much appreciated.
Thanks,I'm not aware of a way to limit requestor access (you can request anything visible); however, you can provide direction by populating an attribute field (i.e. company) with valid company values for each role. When a requestor searches for a role, if they filter by the appropriate company, they will only see valid roles for the request. I did, however, point the request authentification towards a 'fake LDAP'. This prevents individuals without specific UME credentials from submitting a request.
However, you can restrict approvers using a custom approver/determinator. In my case, I wanted to use a combination of "role" and "usergroup" to determine approver, rather than use one approver set for all requests. I have implemented and confirmed this works. The unfortunate side affect, is that you have to maintain a seperate file for this custom A/D (which you have to refer to /append for any request for role approver information). -
Package in ABAP Business Object
Hi,
whenever we create a ABAP business object, we assign it to any package even if it is used in our local system.
Will anybody please tell me the reason?
Regards,
anirbanThis forum is dedicated to Busines Objects, a BI company recently acquired by SAP. Please re-post your message in the ABAP forum.
Cheers,
Fritz -
hi friends,
i've completed my hr-abab and i'm searching for some real time objects , so regarding that if u have any object means plz send me yar.i gone through many sites but i'm not geeting any objects reg hr-abap. so plz help me to get some objects???
thanks in advance.
regards,
priya.SHI
HR:
HR deals with the INFOTYPES which are similar to Tables in General ABAP.
There are different ways of fetching data from these infotypes.
There are different areas in HR LIKE Personal Admn, Orgn Management, Benefits, Time amangement, Event Management, Payroll etc
Infotypes for these areas are different from one another area.
storing of records data in each type of area is different
LDBS like PNP are used in HR programing.
Instead of Select.. we use some ROUTINES and PROVIDE..ENDPROVIDE.. etc
and in the case of Pay roll we use Clusters and we Import and Export them for data fetching.
On the whole Normal ABAP is different from HR abap.
For Personal Admn the Infotypes start with PA0000 to PA1999
Time Related Infotypes start with PA2000 to PA2999.
Orgn related Infotypes start with HRP1000 to HRP1999.
All custom developed infotypes stsrat with PA9000 onwards.
In payroll processing we use Clusters like PCL1,2,3 and 4.
Instead of Select query we use PROVIDE and ENDPROVIDE..
You have to assign a Logical Database in the attributes PNP.
Go through the SAp doc for HR programming and start doing.
http://www.sapdevelopment.co.uk/hr/hrhome.htm
See:
http://help.sap.com/saphelp_46c/helpdata/en/4f/d5268a575e11d189270000e8322f96/content.htm
sites regarding hr-abap:
http://www.sapdevelopment.co.uk/hr/hrhome.htm
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/PAPA/PAPA.pdf
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/PAPD/PAPD.pdf
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/PYINT/PYINT_BASICS.pdf
http://www.atomhr.com/training/Technical_Topics_in_HR.htm
http://www.planetsap.com/hr_abap_main_page.htm
You can see some Standard Program examples in this one ...
http://www.sapdevelopment.co.uk/programs/programshr.htm
http://searchsap.techtarget.com/originalContent/0,289142,sid21_gci1030179,00.html?Offer=SAlgwn12604#Certification
http://www.erpgenie.com/faq/hr.htm.
http://www.planetsap.com/hr_abap_main_page.htm
http://www.sapbrain.com/TUTORIALS/FUNCTIONAL/HR_tutorial.html
These are the FAQ's that might helps you as well.
http://www.sap-img.com/human/hr-faq.htm
http://www.sapgenie.com/faq/hr.htm
http://www.planetsap.com/hr_abap_main_page.htm
http://www.atomhr.com/library_full.htm
HR Long texts Upload
Look at the below link
BDC - hr maintain text
HR
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/PAPA/PAPA.pdf
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/PAPD/PAPD.pdf
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/PYINT/PYINT_BASICS.pdf
http://www.atomhr.com/training/Technical_Topics_in_HR.htm
http://www.planetsap.com/hr_abap_main_page.htm
you can see some Standard Program examples in this one..
http://www.sapdevelopment.co.uk/programs/programshr.htm
http://searchsap.techtarget.com/originalContent/0,289142,sid21_gci1030179,00.html?Offer=SAlgwn12604#Certification
These are the FAQ's that might helps you
http://www.sap-img.com/human/hr-faq.htm
http://www.sapgenie.com/faq/hr.htm
http://www.erpgenie.com/faq/hr.htm.
www.sap-img.com
http://www.planetsap.com/hr_abap_main_page.htm
http://www.sapbrain.com/TUTORIALS/FUNCTIONAL/HR_tutorial.html
http://www.sapfans.com/forums/viewtopic.php?p=498530&sid=d7ec5866e3fb26880da129de45ce79de
http://www.sapcookbook.com/preview_hr_questions.htm
http://www.atomhr.com/library_full.htm
http://www.sapdevelopment.co.uk/hr/hrhome.htm
http://www.planetsap.com/hr_abap_main_page.htm
http://expertanswercenter.techtarget.com/eac/knowledgebaseAnswer/0,295199,sid63_gci983590,00.html
http://www.allsaplinks.com/HRmaterial.html
http://www.allsaplinks.com/timemanagement.html
http://www.allsaplinks.com/payrollcompletefunctional.html
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/HRINF/HRINF.pdf
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/PYXXFORM/PYINT_FORMBUILDER.pdf
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCBMTWFMPA/BCBMTWFMPA.pdfhttp://help.sap.com/printdocu/core/Print46c/en/data/pdf/MYSAP/SR_HR.pdf
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/PAPA/PAPA.pdf
Re: New to ABAP HR Programming
http://www.planetsap.com/hr_abap_main_page.htm
Regards
Anji -
Show attached material picture in ABAP screen object
Hello,
I'm attaching material pictures with the GOS create attachment option. Here I could attach all kind of documents including the files "*.gif, *.tif, etc." These pictures are stored on our document server. Another possibility I use is to create a url to the direct link of the picture on the vendors site.
The materials are our own stock materials. These stock materials could be ordered by the reservation system. For that we have created our own reservation screen. In one of the fields they could enter a part of a material description to search for a particular material. If more material is valid these materials are shown in a selection list. To make is easier to pick the right material I want to show the material picture in a ABAP object on the selection screen.
I'm already able to show, in the list, if there is a material picture available with the function "BAPI_REL_GETRELATIONS"
If this function returns a table I know there is a (picture) document attached.
If the clicks on the hotspot in the list I want to show the picture in the ABAP object on the screen.
Here is a part to see if there is a material picture?
CLEAR OBJECTID.
OBJECTID-OBJKEY = makt-matnr. " Long number incl. zero's
OBJECTID-OBJTYPE = 'BUS1001006'.
N_lines = 0.
clear LISTOFRELATIONS.
CALL FUNCTION 'BAPI_REL_GETRELATIONS'
EXPORTING
OBJECTID = OBJECTID
ROLE =
RELATION =
RECURSIONLEVEL = 1
IMPORTING
RETURN = B_RETURN2
TABLES
LISTOFRELATIONS = LISTOFRELATIONS
describe table LISTOFRELATIONS lines N_lines.
IF N_lines > 0.
WRITE ICON_TIF AS ICON to artikelen-pic.
ELSE.
artikelen-pic = ' '.
ENDIF.
I'm able to show a picture in the ABAP object with the following code:
IF P_CONTAINER IS INITIAL.
CREATE OBJECT: P_CONTAINER EXPORTING container_name = 'MAT_PIC',
MM_PIC1 EXPORTING parent = P_CONTAINER.
l_alignment = cl_gui_control=>align_at_left +
cl_gui_control=>align_at_right +
cl_gui_control=>align_at_top +
cl_gui_control=>align_at_bottom.
CALL METHOD mm_pic1->set_alignment
EXPORTING
alignment = l_alignment.
CALL METHOD mm_pic1->set_3d_border
EXPORTING
border = 1.
CALL METHOD mm_pic1->set_display_mode
EXPORTING
display_mode = mm_pic1->display_mode_stretch
EXCEPTIONS
error = 1.
ENDIF.
IMPORT pict_tab = pict_tab FROM DATABASE abtree(pi) ID 'ENJOY'.
CALL FUNCTION 'DP_CREATE_URL'
EXPORTING
TYPE = 'IMAGE'
SUBTYPE = 'GIF'
SIZE =
DATE =
TIME =
DESCRIPTION =
LIFETIME =
CACHEABLE =
SEND_DATA_AS_STRING =
TABLES
DATA = pict_tab
FIELDS =
PROPERTIES =
CHANGING
URL = url
EXCEPTIONS
DP_INVALID_PARAMETER = 1
DP_ERROR_PUT_TABLE = 2
DP_ERROR_GENERAL = 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.
CALL METHOD mm_pic1->load_picture_from_url
EXPORTING
url = url
EXCEPTIONS
others = 4.
Could any one help me further to show the picture in the ABAP object 'MAT_PIC'?
I'm using SAP release 4.7 on a Oracle database.
The document server is the SAP DMS server on a SAP-DB database.
Kind regards,
Richard MeijnRefer the following:
REPORT ZTEST12.
* Type declarations.....................
TYPES pict_line(256) TYPE c.
* data declarations......................
DATA :init,
container TYPE REF TO cl_gui_custom_container,
editor TYPE REF TO cl_gui_textedit,
picture TYPE REF TO cl_gui_picture,
pict_tab TYPE TABLE OF pict_line,
url(255) TYPE c.
CALL SCREEN 100.
* Dialog modules......................................
MODULE status_0100 OUTPUT.
SET PF-STATUS 'SCREEN100'.
IF init is initial.
init = 'X'.
CREATE OBJECT:
container EXPORTING container_name = 'PICTURE_CONTAINER',
picture EXPORTING parent = container.
ENDIF.
IMPORT pict_tab = pict_tab FROM DATABASE abtree(pi) ID 'ENJOY'.
CALL FUNCTION 'DP_CREATE_URL'
EXPORTING
type = 'IMAGE'
subtype = 'GIF'
TABLES
data = pict_tab
CHANGING
url = url.
CALL METHOD picture->load_picture_from_url EXPORTING url = url.
CALL METHOD picture->set_display_mode
EXPORTING display_mode = picture->display_mode_fit_center.
ENDMODULE.
MODULE cancel INPUT.
LEAVE TO SCREEN 0.
ENDMODULE. -
hi friends,
could u plz send me some objects for abap-hr, ie, infotypes, reports,dynamic action, interfaces, etc....
my mail id : [email protected]
thanks in advance.
regards,
priyaHi this will be of some help 4 u:
Few notes are below:
InfoSets in the HR Application
You can use SAP Query in HR to report on HR data. Queries are maintained as described in Creating Queries. The special features of queries created for HR are described in Maintaining Queries in the Human Resources Application. The maintenance procedure for HR InfoSets differs from the described procedure inasmuch as HR data fields are grouped together in infotypes.
InfoSet management in SAP Query is also used for InfoSet Query. For further information, see Functions for Managing InfoSets.
If you want to create InfoSets for HR, you can use logical databases PNP, PNPCE, PAP, and PCH (see HR Logical Databases). The database you must use to create your InfoSet depends on the component in which the data you want to report on is stored.
The reports you can execute using InfoSets based on logical databases PNP (or PNPCE) or PCH are similar, but differ in that they can select different objects. The following table describes the connection between the logical database, and the infotypes you can include in an InfoSet. It also provides you with one or two examples of reports that you can execute using the appropriate InfoSets.
Logical database PNP/PNPCE* PCH PAP
Selection of Persons Objects from Personnel Planning Applicants
Infotypes that can be included in the InfoSet Infotypes for· Personnel Administration (0000-0999) · Time Management (2000-2999) · Payroll infotypes · Infotypes for Personnel Planning objects that can be related to persons If the object type is specified:· Infotypes for the object type · Infotypes for objects that can be related to the specified object typeIf the object type is not specified:· All infotypes · Infotypes for Recruitment (4000-4999)· Some infotypes for Personnel Administration (such as 0001 and 0002)
· Customer infotypes
Reporting examples · Selection of all persons who participated in a specific business event, output of prices for reserved business events · Selection of all persons assigned to a specific personnel area, output of qualifications held by these persons · Selection of all business events held in London in March, output of all persons who participated in these business events · Selection of all positions assigned to a specific organizational unit, output of all persons assigned to the positions · Selection of all applicants hired last year to work on special projects, output of addresses for the applicants selected
Logical database PNPCE (PNP Concurrent Employment) functions just like logical database PNP. The procedure for creating InfoSets is also the same. It only becomes significant if you work with Concurrent Employment.
Creating InfoSets
The maintenance procedure for HR InfoSets differs from the procedure described so far in this section inasmuch as HR data fields are grouped together in infotypes. To set up an InfoSet for the HR application, proceed as follows:
1. On the initial screen for maintaining InfoSets, enter a name for the InfoSet and choose Create.
2. On the next screen, enter a name for the InfoSet and select one of the HR logical databases in accordance with your reporting requirements.
Customer infotypes can be created on all HR logical databases. In each individual case, therefore, you must decide which database to select so that you can report on customer infotypes.
This screen enables you to enter an authorization group. All of the queries that are subsequently created using this InfoSet can only be executed by persons who have this authorization group.
3. Choose .
This takes you to the Infotype Selection for InfoSet create'
4. Choose as business object 'PREL' and as document type 'HRICOLFOTO'
5. Push the create button
6. Fill in the appropriate personnel number
Steps for uploading Logo to an Z progrAM :-:
1. Goto the transaction OAER
2. Enter the class name as 'PICTURES'
3. Enter the class type as 'OT'
4. Enter the object key as the name of the logo you wish to give
5. Execute
6. Then in the new screen select Standard doc. types in bottom window
Click on the Screen icon
Now, it will ask for the file path where you have to upload the logo
7. Now you can use this logo in REUSE_ALV_COMMENTARY_WRITE
Here you go !!
*& Form TOP_OF_PAGE
text
FORM F_TOP_OF_PAGE.
CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
EXPORTING
IT_LIST_COMMENTARY = IT_LISTHEADER
i_logo = Logo name
I_END_OF_LIST_GRID = .
ENDFORM. "TOP_OF_PAGE
Also forms:
HR FORMS
http://help.sap.com/saphelp_erp2004/helpdata/en/3d/a458c7a4ab2a4382c5b6bfe988edcd/frameset.htm
Go through these pdf docs....
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/PAXX/PYINT_FORMS.pdf
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/PYXXFORM/PYINT_FORMBUILDER.pdf
with regards,
Hema Sundara.
pls reward points if u find it helpful. -
hi friends,
could u plz send me some links where we get the objects related to ABAP-HR?
ie.infotype objects, report objects, etc.
otherwise if u have any objects means plz send me ????
its very urgent........
thanks in advance.
regards,
priyaHi,
refer these linnks..
http://www.sap-img.com/
http://www.sapdevelopment.co.uk/
With Rgds,
S.Barani -
HTTP post from ABAP using Object Oriented method
Hi ,
I want to call HTTP from ABAP. I came to know that using classes & objects is the best way to fulfill it.
Interface:
xml_document type ref to cl_xml_document
method post_xml_document.
data: client type ref to if_http_client,
xml_response type ref to cl_xml_document.
data: xml_string type string,
xml_xstring type xstring.
data: zsubrc type sy-subrc.
cl_http_client=>create_by_url( exporting url = 'http://www.example.com/post-url.xml' importing client = client exceptions others = 1 ).
client->request->set_header_field( exporting name = '~request_method' value = 'POST' ).
client->request->set_header_field( exporting name = '~server_protocol' value = 'HTTP/1.1' ).
client->request->set_header_field( exporting name = 'Content-Type' value = 'text/xml' ).
xml_document->render_2_string( exporting pretty_print = 'X' importing stream = xml_string ).
client->request->set_cdata( exporting data = xml_string offset = 0 ).
client->authenticate( exporting proxy_authentication = space username = 'username' password = 'password' ).
client->send( exceptions http_communication_failure = 1 http_invalid_state = 2 ).
client->receive( exceptions http_communication_failure = 1 http_invalid_state = 2 http_processing_failed = 3 ).
xml_xstring = client->response->get_data( ).
zsubrc = xml_response->parse_xstring( stream = xml_xstring ).
endmethod.
Above code can be used to do my work.
Apart from the code in ABAP, what are the configurational setting that we need to do ?
Thanks,
Shivaa..>
mohammad afzal wrote:
> apart from usin the code u should have configured the RFC destination
Thats nonsense, create_by_url does not need an rfc connection. TA SICF is correct.
Maybe you are looking for
-
HP/Nvidia Quadro 600 graphics card hangs w/ blue hp startp screen after installation into HPE h8-1220t. Error: After installation and startup, just it sounds a 'beep' and after a minute, it beeps again. No further progess w/ HP blue screen. Notes: C
-
Automator crashes in OS 10.6.8
Running OS 10.6.8 on my late 2006, 13 in macbook2,1. Last few weeks have had multiple applications crash unexpectedly. Have verified and repaired disk permissions numerous times, verified hard drive a few times too. Took macbook to Genius Bar where t
-
I used to have notes with ical and contacts, but somehow it's gone. I can see that I have notes in mail, but this doesn't sync with the notes that I have on my iphone. How can I sync my notes on my iphone on to my mac? Help please
-
TS3274 iPad has a vertical line on the screen ?
Monitor has a constant vertical line and does go go away
-
New computer - not seeing speakers for airtunes
Wasn't sure if this should go in the Airport section or iTunes section. My setup worked with old Vista machine - playing airtunes on surround sound. Built a new Win7 64 machine, running latest iTunes (10.5.x I believe). I hooked up the Airport Expres