Delimiting relationship in ABAP HR using standard program RHGRENZ4
Hello Experts,
I am using the standard program RHGRENZ4 for delimiting the relationship. I want to enter conditions for the delimitation. .
There is a tab called Set Structure Conditions... Is this tab useful? How to enter conditions using this tab...
Please help,
Thanks,
Praitbha
hi,
the tab Set Structure Conditions is useful if you need to filter the data, in order to give more conditions that the selected data have to proof.
Click on the button Set Structure Conditions and use the F1 help fro each section of the displayed pop-up. The system help will give you a lot of information.
Regards luiigi.
Similar Messages
-
How to use standard program RSCP_CONVERT_FILE?
Hi experts,
I got a requirement to convert the file format from non_unicode to unicode. For that I am using the standard program RSCP_CONVERT_FILE.
Its working fine for Local PC. But am getting problem while reading file on Application server.
In selection screen.....in "File with list of source files" what actually i should give?
Is there any online documentaion for RSCP_CONVERT_FILE.
Please help me.
Thanks,
ShriniHi sandra,
I did not get you. Could please elaborate?
Take your time - I'm in no rush...
Thanks,
Shree
Edited by: Rob Burbank on Sep 1, 2009 11:40 AM -
Multiple copies for Payment advice using standard program RFFOAVIS_FPAYM
Hi Experts,
I have one requirement, need to print the payment advice form twice (one for account section and other for vedor). According to the existing process it uses standard SAP print program RFFOAVIS_FPAYM OR RFFOUS_C (for cheque payment) to print the output.
When I tried to print the output by giving number of copies, it prints test pages but not the actual output. The actual payment advice note with proper values getting printed only once. I actually need to print this actual payment advice note twice.
Do you experts know how to achive this? is there any configuration available to get this requirement? OR how can i do this without chaning Standard SAP program?
Thanks in advace for your help..
Regards,
PrashantHi,
2 times printing can be done using Sap script.however, it would call for changes to your driver prog...
in function call CALL FUNCTION 'OPEN_FORM'....u need to add g_ITCPO-TDCOPIES = '2' and pass g_itcpo to OPTIONS structure of the FM.With this you can ahve 2 copied of ur output. I just test printed it.
So in your case as yours is a standard program, you could probably create a copy of the Standard program and add the above logic in your program.
hope this help
Cheers,
Varna -
Batch input session to FB01 using standard program RFBIBL00
Hi all,
I am creating a batch input session using the standard program RFBIBL00 to simulate transaction FB01.
My problem is when I process the "batch input session" (using transaction SM35), this finish ok, but in the log I am retrieving the following message:
"Field BSEG-DMBTR. does not exist in the screen SAPMF05A 0300"
This is a success message and the document is created ok,and the field DMBTR is informed ok.
Has somebody some idea?.
Thanks so much in advance for any answer.Hi gundam,
1. Or is there any method to wait here until the process is completed before further processing?
There is no such direct method to wait.
2. Immediately after submitting in background,
we cannot wait
neither can we LOOP and go on detecting
whether the b/g process has completed or not !
3. To over come such problems,
we have to use another technique.
4. we have to submit another
job which will get triggered
on event SAP_END_OF_JOB
ie. when the original job will finish,
our new job will AUTOMATICALLY get triggered,
5. This new job / program
will do the FURTHER actions !
regards,
amit m. -
ABAP Object Using standard BAPI
When running ABAP program to convert Accounts Payable conversion documents, the program results indicate the document in the load program were created and returns the relevant document numbers. However when validating the documents in BKPF, BSEG, or BSIK the documents are not in the table.
There are no SM13 update log data listing entries for the missing documents.
Example the conversion load file contained 50 documents, the program results indicated all 50 documents were created and provided 50 document numbers. When those document numbers are run in SE16/BKPF only 41 of the documents are returned on the query.
The program was run with a Basis trace active and there were no errors.
The program run successfully without losing documents in our DE, QE and one SE client, the problem occurs in the second of our SE client. There are no transport differences and no functional config differences between the two SE clients.
However, the SE cliient was created via a copy of PRD.you just forgot to give us information about this program (name if it's a standard one, and if it's a custom program you should investigate more because we can't help without having in-depth details)
-
ABAP Views using in Programming
Hi Experts,
I am going to create a report using <b>Views</b> concept.
I don't know about Views concept. How i have to create view. how can i use the same in program for more than one table.
Please send me a sample code.
I hope that i will get answer soon.
if u feel free send your answers to my id [email protected]
Thanks & Regards
PrabhakararaoHi prabhakara,
1. Views
U can create them thru se11.
2. In views, u can use
one table, or more than one table
and link them with common fields.
(Do not forget to take into consideration
MANDT field)
3. U can use them in abap sql
just like any other table name.
I hope it helps.
regards,
amit m. -
Problem converting XML back to ABAP Structure using XSLT program
Hi Experts,
I am currently trying to convert this xml file back to my ABAP structure but i have been unsuccessful so far. In XML file contain more than 1 reocrd. But my XSLT program is retriving only only first record. Try to help to get all the records.
Sample XML File:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">
<soapenv:Header/>
<soapenv:Body>
<m:matchResponse xmlns:m="http://www.openuri.org/">
<matchResult soapenc:arrayType="xs:string[1]">
<enc:String xmlns:enc="http://www.openuri.org/encodedTypes">
23417|finc|20060427 |BELMETALNERGO||||||X
X|ALL||||20060427|20880808
</enc:String>
</matchResult>
</m:matchResponse>
</soapenv:Body>
</soapenv:Envelope>
My XSLT Program:
<xsl:transform xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:sapxsl="http://www.sap.com/sapxsl" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:hp="http://www.openuri.org/" version="1.0">
<xsl:strip-space elements="*"/>
<xsl:template match="/">
<asx:abap xmlns:asx="http://www.sap.com/abapxml" version="1.0">
<asx:values>
<OUTTAB>
<xsl:for-each select="soapenv:Envelope/soapenv:Header/soapenv:Body/m:matchResponse/matchResult/enc:String">
<ZA2_RPL_DETAILS_S>
<FINAL_RESULTS>
<xsl:value-of select="."/>
</FINAL_RESULTS>
</ZA2_RPL_DETAILS_S>
</xsl:for-each>
</OUTTAB>
</asx:values>
</asx:abap>
</xsl:template>
</xsl:transform>
My Structure is : Structure Name is ZA2_RPL_DETAILS_S.
filed is: FINAL_RESULT CHAR553
My requirement is to store the complete value between <String> and </String>.
Currently it is giving the blank records
Thanks for your help in advance.
Regards,
RaoHi,
post here
expert forums -> sapnetweaver -> exchange infrastructure
Regards -
Standard programs to update infotypes
Please provide updates for this question:
What are the standard SAP programs to update infotypes ( Ex: 001 / 002 / 003 ) .
I will be uploading data from legacy system ( Excel / Text file ) and would like to use standard programs
before going ahead with BDC .
Thanks
RohanHi,
I checked out the program you stating.......
In that program itself if you check the documentation its given how to add in fields.......
You can use report RPUSTD00 to transfer master data from your old HR system.
The dataset to be transferred must be stored in a sequential file. The file is stored under the name specified in the "logical file name" field (for more information on logical file names, read the IMG section entitled Additional client-dependent file name maintenance).
The report reads this dataset and creates a batch input session for transaction PA30.
The data description of your old record is defined according to the structure HRDATASET. If this structure does not meet your requirements, create the structure CI_HRDATAS in the ABAP Dictionary. In this structure, you can store the infotype fields to which data should be transferred. Make the necessary changes in RPUSTD00.
Example
If the include CI_HRADATAS contains the field F1 which is to be assigned to the infotype nnnn, add the following ABAP statements to FORM Dnnnn:
CLEAR BDCDATA.
BDCDATA-FNAM = 'Pnnnn-F1'.
BDCDATA-FVAL = SATZ-F1.
APPEND BDCDATA.
If the FORM Dnnnn does not exist for your infotype nnnn, copy FORM D0008 to FORM Dnnnn. Replace the 0008 by your infotype number:
FORM Dnnnn.
CLEAR BDCDATA.
BDCDATA-PROGRAM = 'MPnnnn00'.
BDCDATA-DYNPRO = '2000'.
BDCDATA-DYNBEGIN = 'X'.
APPEND BDCDATA.
CLEAR BDCDATA.
BDCDATA-FNAM = 'Pnnnn-F1'
BDCDATA-FVAL = SATZ-F1
APPEND BDCDATA.
CLEAR BDCDATA.
BDCDATA-FNAM = 'BDC_OKCODE'.
BDCDATA-FVAL = '=UPD'.
APPEND BDCDATA.
ENDFORM.
The FORM Dnnnn is called directly after FORM D0008; see the ABAP statement indicated as "<------ INSERT in the following (starting at line 1730 in the standard system):
LOOP AT INFTAB.
CASE INFTAB.
Include all infotypes in your action *
WHEN '0002'. PERFORM D0002.
WHEN '0001'. PERFORM D0001.
WHEN '0006'. PERFORM D0006.
WHEN '0007'. PERFORM D0007.
WHEN '0008'. PERFORM D0008.
WHEN 'nnnn'. PERFORM Dnnnn. "<------ INSERT
WHEN OTHERS. WRITE: / 'Infotype not included:' (008), INFTAB.
STOP.
ENDCASE.
ENDLOOP.
Parameter DSLOGNAM
Logical file name
Parameter MAPNAME
Session name
Definition
Enter any name for the session to be created. -
Is it possible to download a comma delimited file from ABAP to a Portal
directory or Web Dev URL on the Portal?
We currently have a comma delimited file being emailed nightly using standard SAP FMs to a distribution list.
We want to move these files to the Portal instead.
Speaking with our Portal guys, they say the easiest way for them to receive the file is if I can download directly to a Web Dev URL.
Does SAP provide a way to communicate from our app server to the portal?
thanks alot,
rp.Is it possible to verify a signed jar-file from a
program
(using some API) likewise jarsigner does?Hi,
You would have to open the jarfile, read each jar entry and for each of them do a getCertificates() and then in turn verify each certificate with the public key of the enclosed certificates in the jar file.
An easier solution would be to use the verify flag of the JarFile or JarInputStream.
Hope it helps..
Cheers,
Vijay -
Hiding Fields in Standard Program : RFITEMAR ,LDB : DDF
Hi Experts,
Am using standard program : RFITEMAR ,as per my requirement i dont need
to display all the fields in the standard selection screen,i juss want to hide the fields which
i dont want to dispaly in the selection, as there are some dependencies i dont want keep that code in active state.
can anyone pls help me/suggest me with my logic/guidance would be helpful and very much appreciated.
Regards,
Ashok.Hi Marcin,
Thnaks for your response.
SHDO Tcode is used for Transcation Varient which is used to hide the fields
or display additioal fields in sales order.
According to my requirement i copied the standard program into a custom program
thats where am tryig to implement changes.am not sure wether that would fulfill my requirement.
do let me if know any solution /guidance would be helpful and appreciated.
Regards,
Ashok. -
How to pass standard program selection options to custom program?
Hi... i want to use standard program select-options in a custom program.. actually in a custom program i'm using one standard program and one custom program. standard program contains selection scren. i want to use that selection screen in custum program.
can anybody please provide solution for this.
looking forward for ur updatesfirst you must find where the selection screen logic is written in standard one.once you get this details than you may Include the same screen and include program in your zprogram.and here your work is not finished you may need to do some change apart from copy all this details.
Amit. -
Standard programs to upload / update infotypes
Please provide updates for this question:
What are the standard SAP programs to update infotypes ( Ex: 001 / 002 / 003 ) .
I will be uploading data from legacy system ( Excel / Text file ) and would like to use standard programs
before going ahead with BDC .
Thanks
RohanPlease provide updates for this question:
What are the standard SAP programs to update infotypes ( Ex: 001 / 002 / 003 ) .
I will be uploading data from legacy system ( Excel / Text file ) and would like to use standard programs
before going ahead with BDC .
Thanks
Rohan
Hi Rohan ,
you can update you infotype using 'HR_INFOTYPE_OPERATION' function module .
1) transfer all your excel data into internal table .
2) loop at internal table
3) fill all the required field of that infotype .
4) lock table
5) call that functuion module .
6) unlock table
for this fallow the below code...
DATA: it_p0169 TYPE STANDARD TABLE OF pa0169 WITH HEADER LINE. (make internal table according to your requirment)
DATA: wa_p0169 TYPE p0169.
LOOP AT it_file
v_eeamt = it_file-pct_gross.
*Pre-Tax Contribution Percentage
v_eepct = v_eeamt / 10.
v_begda = it_file-datchngd .
*Appending into header (these all are the required filed in my case )
it_p0169-eeamt = v_eeamt.
it_p0169-begda = v_begda.
it_p0169-eepct = v_eepct.
it_p0169-bplan = v_bplan .
CLEAR wa_p0169.
MOVE-CORRESPONDING it_p0169 TO wa_p0169.
wa_p0169-INFTY = '0169'. (not forget to pass infotype no in the header )
CONSTANTS: c_action_ins TYPE pspar-actio VALUE 'MOD', (it can be also COP for Copy , DEL for Delete , DIS for Display , MOD to Change , LIS9 to Delimit , INS to Create )
c_infty_0169 TYPE prelp-infty VALUE '0169'.
DATA: it_return TYPE bapireturn1. (as it is )
DATA: it_return TYPE bapireturn1.
CALL FUNCTION 'BAPI_EMPLOYEE_ENQUEUE'
EXPORTING
number = p_pernr
EXCEPTIONS
OTHERS = 1.
IF sy-subrc <> 0.
RAISE enqueue_FAILED.
ENDIF.
CALL FUNCTION 'HR_INFOTYPE_OPERATION'
EXPORTING
infty = c_infty_0169
number = p_wa_0169-pernr
SUBTYPE = '401K'
OBJECTID =
LOCKINDICATOR =
validityend = p_wa_0169-endda
validitybegin = v_begda1
RECORDNUMBER =
record = p_wa_0169
operation = c_action_ins
TCLAS = 'A'
DIALOG_MODE = '0'
NOCOMMIT =
VIEW_IDENTIFIER =
SECONDARY_RECORD =
IMPORTING
return = it_return.
if it_return-MESSAGE is not initial .
delete it_file .
endif.
commit work .
CALL FUNCTION 'BAPI_EMPLOYEE_DEQUEUE'
EXPORTING
number = p_pernr
EXCEPTIONS
OTHERS = 1.
IF sy-subrc <> 0.
RAISE DEQUEUE_FAILED.
ENDIF.
Enjoy
Priyank -
Standard program to display which tables are used by Webdynpro ABAP program
Hi Gurus,
I am working on a couple of enhancements in SAP Promotion Management for Retail (SAP PMR) which works on the principle of Floor Plan Management.
I was wondering if anyone would know of a standard program to display the tables used by Webdynpro ABAP?
(or)
Where can I get info of SAP Tables associated to SAP PMR?Hi,
I am not aware of any standard reports that displays the tables.
If I have to view the tables, I would go to se80, give the package and view all the tables in the package.
Regards,
Daz. -
How to use LDB PNP with ABAP objects in a program
Hello,
I am wondering if anybody has used the HR logical database(LDB) PNP with user defined ABAP objects in a program? I am using the FM- <b>LDB_PROCESS</b> but its not working. Also assigning PNP in the attributes section of the program -- so that I can use predefined fields from the LDB and then invoking the FM doesn't work -- throwing 'Logical database already active' error.
I suppose even with the ABAP objects and the new FM -- I should still be able to utilize the pre-defined fields of the PNP database -- and also the built in authorizations. I cannot use GET PERNR and REJECT as they give errors. I understand that the use of HR-macros (RP-PROVIDE-FROM-LAST and et al.) are not allowed as they use the table work area -- which is not allowed in ABAP-OOPS.
I would really appreciate if anyone could show me some insight regarding this. Thank you.
Kshitij R. DevreHi Kshitij
It would be really good if we could use both together. But as I know, it is not possible. "GET pernr." is an event-like loop statement and so cannot be used in OO context. And I guess, the same restriction holds for the "LDB_PROCESS" since it uses LDB-specific processing.
What I suggest you is to use standard and BAPI functions.
Sorry for giving bad news...
*--Serdar -
Use standard GUI status in customer GUI status without extra programming
Hi,everyone.
I have a problem in my development.
now, I'm developing my own dialog program. And I need use my own GUI status.
there are some buttons on application tool bar.when I click some buttons on the
application tool bar,the program will do something according to the function code.
But now, I also need the standard tool bar in the screen too.yeah,I know I can input function code
to the buttons of the standard tool bar and the buttons of standard tool bar will be bright and can
be clicked. But when I click the button on the standard tool bar like 'back', the program will not
return to the previous screen .
so, what I want to know is how can I make the buttons bright and achieve the functionality provided
by the standard tool bar without extra programming.HI,
you can use Tcode SE41 ( MENU PAINTER ) to copy the status of a standard program.
to go back to the screen from where you come from like the standard BACK button.
in PAI
module go_back.
in abap source code the module looks like this
module go_back.
case sy-ucomm.
when 'BACK'.
LEAVE TO SCREEN O.
endcase.
endmodule.
to by pass the screen validations the above code should be written in
MODULE MNAME AT EXIT-COMMAND.
in the PAI.
Thanks and regards
Ramchander Rao.Krishnamraju
Maybe you are looking for
-
How can I make the status bar always visible in safari?
How can I make the status bar always visible in safari? Even when I go to "View" and then select "show status bar," the status bar still disappears unless my cursor is hovering over it. I want to be able to see the time, battery life etc. while surfi
-
Hello All the contributors, plz to give me a right solution, Req_urjent. Query: with PO against Sales order ( indvidual purchase order_ sales process.) with ref PO- raised sales order, and also delivery with PGI, but when raised a sls order customer
-
Smart Groups possible in Address Book for PANTHER?
Can you tell me if "SMART GROUPS" is just something in TIGER's version of ADDRESS BOOK or do these exist in PANTHER as well? Actually, I'm not sure what they are, but someone mentioned that I should use them... Thanks very much! Regards, Steve
-
Adding DHCP options into bootpd.plist
Hello All, I'm having issues inserting DHCP options 66 and 67 into the /etc/bootpd.plist file. I'm a bit baffled by this task and it's not rocket science so I really don't understand why this is not working the way it should. Goal: I'm setting up a d
-
Installing on a secondary disk
Hello, I've buy a new computer with and SSD Disk for SO (Winwos 7 Ultimate) and a Secondary Disk. How is the best choise to install the CS4 Suite (Photoshop, Dreamweaver etc)? Installing on primary disk (SSD) or on secondary disk? Thank's much.