Custom abap report on payload
Hi
I want to develop a custom abap report in XI on the basis of payload.
Any clues??????????
Regards
Vijay
Hi
sales orders are sent from RFC to JDBC scenario . now the requirement a report is required to read a particular Interface and its payload. with its start time and finish time
Let say
Sales order No
Item
Qty
Processing start time
Finish time
Status
Regards
Vijay
Similar Messages
-
BW authorizations objects in Custom abap report
Hi,
we develop a BW custom abap report which we have to roll out to certain end users.
We would like use our BW authorization design, and need therefore to incorperate these auth. objects into the abap.
What is the best way to this? Can we use function modules?
Any help welcome?
Regards,
HansHello Hans,
please check out the following
http://help.sap.com/bp_biv235/BI_EN/documentation/Authorization_BW_Proj.pdf
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/39f29890-0201-0010-1197-f0ed3a0d279f
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/e1cba990-0201-0010-43ae-af579aee7a73
Hope it helps..
thanks, -
Dynamic selection screen for custom ABAP report
Hi,
His it possible to create a custom ABAP report with a dynamic selection screen. The report doesnot use a logical database. If possible sample code will be appreciated.
Regards,
Chandra Kumarhi
use this link
Dynamic selection screen
Cheers
Snehi -
Any Best Practices for developing custom ABAP reports for Portal?
Hello,
The developers on our project are debating the best way to develop custom reports and make them available on the portal. Of these options that we can think of, can you give any pros & cons, or experiences, or other options?
- Web-enabled Abap report programs
- WebDynpro for Abap
- WebDynpro for Abap using ALV
- Adobe forms
Does a "Best Practices" document or blog exist on this topic?
Thanks,
ColleenRe: Using p_trace=YES
-
F-43 CUSTOM ABAP REPORT ON INVOICE
Hi All,
I need a Custom report which generates the invoice line items including tax % and tax amount when an input of Company code , document number and fiscal year are given. Could any one help in this issue...please
regards
PSNG
Edited by: PSNG on Apr 22, 2008 6:17 PM
Edited by: PSNG on Apr 22, 2008 6:26 PMHi
sales orders are sent from RFC to JDBC scenario . now the requirement a report is required to read a particular Interface and its payload. with its start time and finish time
Let say
Sales order No
Item
Qty
Processing start time
Finish time
Status
Regards
Vijay -
Need details on how to make custom ABAP report archive enabled
Hi All,
We are working in our project to make custom reports as archive enabled so that they can read archived data.
Need some information on the below queries.
1.Is there any function module to read selected data from archive file? For example i don't want to read the whole BKPF table data from archive file instead want to get belnr and bukrs only.
2. What are the perfromance measure which can be taken while making an existing program archive enabled
3. Important archiving tables which can help for the above.
4. When i use the function module "Archive_open_for_read' then system displays a pop up to select the archive files based on the archive object.
Considering that all the reports are run in background how do i make sure that in background run all the archive files are selected and processed.
Thanks in advance for your valuable suggestions...
Regards/AjayHi Ajay,
1. You have to create a separate field catelogus and AIS according to your requirement with the required fields you want . Because the standard structures and field catelogues contains many fields from all tables. So before doing the read operation you have to deactivate the standard AIS and activate your newly created AIS .
2. Can you give some more details for this question to be answered.
3. The important archiving tables used are ARCH_IDX,ARCH_RPRG,ARCH_DEF.
4. While scheduling the Read process in batch mode , it will give you three criterias to be entered.
. Spool Parameters
(ii). Start date
(iii). Archive selection of files.
Unless you enter values for any one of these options , You cannot execute the batch job.
Hope this would help you.
Regards - Swarna. -
ABAP report using /BIC/ tables
Hi Friends,
Have anybody created ABAP reports in BI system using /BIC/ reports & What is the requirement?
Please let me know.
Thanks in advance,
BeenaHi kvbeena,
it is not clear to me what do you mean by "creation of ABAP reports in BI system using /BIC/ reports"?
In BW routines it is pretty common to read DSO objects by SELECT statements as described in forum referred above.
Also you can use DDIC elements in your custom ABAP reports while creating data objects.
Kindly specify your question in more detail.
BR
m./ -
Abap reports: Detecting who uses and how often
Our company has been live with R/3 since 1996, and has accumulated a lot of custom ABAP reports. When we next upgrade or apply support packs, I'd like to be able to retire the unused reports, and find out who used the rarely-used ones.
Ideally, SAP 4.6c already has a tool which detects starts via 'submit', SE38, SA38, or transaction code.
Does anyone know of such a tool?
(We have a product called Luminate, but didn't buy the ad-hoc reporting part I need. I also looked at SAP's RBE, but it's currently unavailable.)Hi Eric,
You can write your own code which will give you are the information from the STAT file.
You can also run STAT - System Statistics to get the info. We have written a simple code which does 3 steps mentioned below. We read the info from the STAT file and store in the z table.
NOTE: you can use this code only if your system has been enabled for collecting STAT info.
PERFORM startofsel_open_stat_file.
PERFORM startofsel_read_data_from_stat.
PERFORM startofsel_close_stat_file.
FORM startofsel_open_stat_file .
CALL FUNCTION 'PF_FLUSH_BUFFER'.
CALL FUNCTION 'PF_OPEN_STAT_FILE'.
ENDFORM. " startofsel_open_stat_file
FORM startofsel_read_data_from_stat.
CLEAR: it_pgrmstats_1,
it_newstats.
REFRESH: it_pgrmstats_1,
it_newstats.
CALL FUNCTION 'PF_READ_STAT_REC'
EXPORTING
file = w_local_fname
target_rec_no = 0 "READ FIRST REC
IMPORTING
diarec = w_diarec
btcrec = w_btcrec
rfccdrec = w_rfccdrec
rfcsdrec = w_rfcsdrec
rectype = w_rectype
recno = w_recno
EXCEPTIONS
pf_end_of_file = 1
pf_internal_error = 2
OTHERS = 3.
CHECK sy-subrc = 0.
SELECT *
FROM zgbsstats
INTO TABLE it_pgrmstats_1.
* WHERE PGRMNAME IN S_PROG .
* AND DEVCLASS IN S_DEVCLS
* AND edate IN s_date
* AND USERID IN S_USER.
IF sy-subrc EQ 0.
SORT it_pgrmstats_1 BY pgrmname.
ENDIF.
PERFORM process_stat_record.
DO.
CALL FUNCTION 'PF_READ_STAT_REC'
EXPORTING
file = w_local_fname
IMPORTING
diarec = w_diarec
btcrec = w_btcrec
rfccdrec = w_rfccdrec
rfcsdrec = w_rfcsdrec
rectype = w_rectype
recno = w_recno
EXCEPTIONS
pf_end_of_file = 1
pf_internal_error = 2
OTHERS = 3.
IF sy-subrc = 0.
PERFORM process_stat_record.
ELSE.
EXIT.
ENDIF.
ENDDO.
ENDFORM. "startofsel_read_data_from_stat
FORM startofsel_close_stat_file .
CALL FUNCTION 'PF_CLOSE_STAT_FILE'.
ENDFORM. " startofsel_close_stat_file
FORM process_stat_record.
CLEAR: it_newstats.
CASE w_rectype.
WHEN '00'. "On-line programs
CHECK NOT w_diarec-cuafunc = 'BACK'.
MOVE w_diarec-report TO it_newstats-pgrmname.
MOVE w_diarec-tcode TO it_newstats-tcode.
MOVE w_diarec-account TO it_newstats-userid.
MOVE w_diarec-date TO it_newstats-edate.
WHEN '01'. "Batch Jobs
MOVE w_btcrec-report TO it_newstats-pgrmname.
MOVE w_btcrec-jobname TO it_newstats-jobname.
MOVE w_btcrec-account TO it_newstats-userid.
MOVE w_btcrec-date TO it_newstats-edate.
WHEN '05'. "RFC
MOVE w_rfccdrec-progname TO it_newstats-pgrmname.
MOVE w_rfccdrec-funcname TO it_newstats-functname.
MOVE w_rfccdrec-userid TO it_newstats-userid.
MOVE w_rfccdrec-rfcstart(8) TO it_newstats-edate.
WHEN '06'.
MOVE w_rfcsdrec-progname TO it_newstats-pgrmname.
MOVE w_rfcsdrec-funcname TO it_newstats-functname.
MOVE w_rfcsdrec-userid TO it_newstats-userid.
MOVE w_rfcsdrec-rfcstart(8) TO it_newstats-edate.
ENDCASE.
IF NOT it_newstats IS INITIAL
AND it_newstats-edate IN s_date
AND it_newstats-pgrmname IN s_prog
AND it_newstats-userid IN s_user.
APPEND it_newstats.
ENDIF.
ENDFORM. "process_stat_record
Cheers
VJ
If it helps dont forget to mark points. -
Abap Report Authorization Checks
Hi. I have some question on customized abap report to be based on user role organizational level.
May I know how to program the abap report such that the report will show only data based on user role organizational level (Plant, Company, SalesOrg etc)?
For instance, if userA role organizational level for plant is plantA, the abap report will only show data for plantA. If userB role organizational level for plant is plantB, the abap report will show data for plantB.
May i know how to program the abap report?
Appreciate any guidelines.Hi,
Assign the Users with predefined roles.
Attach the Orn Units(Plants/St locn, CC/etc) in the roles .
create a Tcode for the report and attach that Tcode in that role.
So now the user can execute that report with that siplant to which he is authorised.
Hope this helps.
Regards,
Anji
Message was edited by:
Anji Reddy Vangala -
How to get list of custom objects used in abap report program?
Hi friends,
I have a requirement in which I have to scan the entire abap report and retrieve list of custom objects used in it for example custom tables, data elements, structures, table types etc,. Is there any provision in SAP like fuction modules to do this functionality? As of now I am coding everything manually where so many possibilities are there for all kinds of objects. Provide your answers and suggestions...
Thanks,
NasteraHi,
The best way to do this is environment analysis. Follow the steps:
1. Open se38, type in the program name (don't click on on display/change or create button, stay on first screen only)
2. Click on environment analysis button (hot key SHIFT+F4)
3. It will throw a pop-up, which will ask for type of object you want to see, which are linked /used by this program. select all (or may be if you are only interested in Tables, then select table only)
4. Hit 'Enter'
You will get the full list of all objects used in this report program. Just note down the one which starts with Z or Y and that's it.
Cheers,
Anid -
Can Solution Manager do an analysis of Abap Reports of the customer ??
Good evening !!!
The question is: Can Solution Manager do an analysis of Abap reports of the customer ?? This is, solution manager can give me a report with all the Z reports of the customer with their last date of use, utilization level, etc.... ???
Thanks.
Albertyou can do this through your satellite system with ST03N
-
Calling custom Infotype method from ABAP report
Hi Experts,
I am working on an application where i need to call a method of a custom defined infotype.
I have done this -->
1. Create a custom infotype 9111
2. SAP creates a class of that infotype ZCL_HRPA_INFOTYPE_9111
3. Inside this method there are few inherited method which provide me functionality of insert , update , delete
i want to call methods IF_HRPA_INFTY_BL~MODIFY,
IF_HRPA_INFTY_BL~INSERT
However when i call these method from abap report this method does not work.
where as when i try to insert an entry using PA30 transaction it works.
Does anyone know why does this happen and what is the solution?
Regards,
Ashish ShahHi,
This is the code we are using. Just calling the read and modify methods of the check class. Very simple actually .. we just want once update/insert to work but it does not.
<CODE>
REPORT ZTESTRAD_WD.
FIELD-SYMBOLS <p9106> TYPE p9106.
DATA : infty_container_tab TYPE hrpad_infty_container_tab ,
message_list TYPE REF TO cl_hrpa_message_list,
w_ok type boole_d ,
ref_class TYPE REF TO ZCL_HRPA_INFOTYPE_9106,
container TYPE REF TO if_hrpa_infty_container,
it9106_container TYPE REF TO cl_hrpa_infotype_container,
p9106_ref TYPE REF TO data,
busilog type ref to if_hrpa_masterdata_bl.
CREATE OBJECT message_list.
TRY.
CREATE OBJECT ref_class
EXPORTING
tclas = 'A'
infty = '9106'.
CATCH cx_hrpa_violated_assertion .
write :/ 'Error during initialization'.
ENDTRY.
call method cl_hrpa_masterdata_bl=>get_instance
importing
masterdata_bl = busilog.
TRY.
CALL METHOD ref_class->IF_HRPA_INFTY_BL~read
EXPORTING
tclas = 'A'
pernr = 'XXXXXXXX'
infty = '9106'
begda = sy-datum
endda = sy-datum
no_auth_check = abap_true
message_handler = message_list
IMPORTING
container_tab = infty_container_tab
is_ok = w_ok.
CATCH cx_hrpa_violated_assertion .
WRITE :/ 'Infotype could not be read'.
ENDTRY.
*" Fill the local structure with container data:
loop at infty_container_tab into container.
it9106_container ?= container.
TRY.
CALL METHOD it9106_container->primary_record_ref
IMPORTING
pnnnn_ref = p9106_ref.
CATCH cx_hrpa_violated_assertion .
ENDTRY.
ASSIGN p9106_ref->* to <p9106>.
write :/ <p9106> .
endloop.
*" Just change some field values of the record
<p9106>-C1name2 = 'Test name'.
<p9106>-C2name2 = 'Test name 2 3 4'.
data : return TYPE BAPIRETURN1,
return1 TYPE BAPIRETURN1.
*CALL FUNCTION 'BAPI_EMPLOYEE_ENQUEUE'
EXPORTING
number = <p9106>-pernr
IMPORTING
RETURN = return1
*PERFORM do_nothing(sapfp50p).
The container itself is modified
container ?= it9106_container->modify_primary_record( <p9106> ).
CREATE OBJECT message_list.
the invocation - errors are always fatal !!!
DATA : lx_exception TYPE REF TO cx_root,
update_mode type HRPAD_UPDATE_MODE,
massn type massn,
massg type massg.
TRY.
CALL METHOD ref_class->IF_HRPA_INFTY_BL~MODIFY(
EXPORTING
old_container = it9106_container
massn = massn
massg = massg
update_mode = update_mode
no_auth_check = 'X'
message_handler = message_list
IMPORTING
is_ok = w_ok
CHANGING
container = container
CATCH cx_hrpa_violated_assertion INTO lx_exception.
RAISE EXCEPTION TYPE cx_wd_no_handler
EXPORTING previous = lx_exception.
ENDTRY.
</CODE>
I have also tried by instantiating the cl_hrpa_masterdata_bl and then calling the methods on that object...... makes no difference.
I used this link to proceed with the modifications:
http://help.sap.com/saphelp_erp2005/helpdata/en/43/21d2254bba2bebe10000000a1553f7/frameset.htm
The funny thing is that the WHOLE logic executes without any error messages or dumps or anything. I have now debugged almost every line of code that these methods call. PA30 works just fine. HR_INFOTYPE_OPERATION does not .. that's a whole differnt story. -
Custom BI Reports Vs. ABAP for Payroll
Hi,
Can anyone tell the pros and cons of developing Custom Payroll Reports using BI or Custom ABAP. There are 51K employees.
Thanks,
MohanHi,
The present thinking is not to preclude one set of reports and choose the other. Operational reporting should come from R/3 or ECC and strategic or analytic reports should come from BI.
That is where Portal can play an important role. The portal can be a single point of access for both operational and analytic reports, without the user knowing where the output is coming from.
BR/
Mathew. -
Customer Balance Report throught Abap
Hi,
I want to develop a report Customer Balance Report in which along with details i have to display the closing and opening balance of it. As per search through SDN i come to know that BSAD,BSID tables to be used so that data can reterived and for cross checking the out put Standard Report named S_ALR_87012172 and the Tcode FBL5N ..
I want to know is this data is sufficient to start this report and the data for displaying the closing and the opening balance of the customer?Hi ,
To derive an opening balance, you need to decide on key date. The date one which you want to see an opening balance.
Suppose that date is wf_keydt . Then your logic for calculating opening balance should be as folloes :
SELECT kunnr bukrs belnr gjahr buzei blart shkzg dmbtr
INTO TABLE it_data
FROM bsid
WHERE bukrs = p_bukrs
AND kunnr IN s_kunnr
AND budat <= wf_keydt
AND hkont = p_hkont
AND gsber = p_gsber
AND bstat = space
AND umskz = space.
SELECT kunnr bukrs belnr gjahr buzei blart shkzg dmbtr
APPENDING TABLE it_data
FROM bsad
WHERE bukrs = p_bukrs
AND kunnr IN s_kunnr
AND budat <= wf_keydt
AND augdt > wf_keydt
AND hkont = p_hkont
AND gsber = p_gsber
AND bstat = space
AND umskz = space.
LOOP AT it_data INTO wa_data.
CLEAR wa_tab.
wa_tab-kunnr = wa_data-kunnr.
wa_tab-dmbtr = wa_data-dmbtr. "+nvj15102007 security deposit added in output
IF wa_data-shkzg = 'S'.
wa_tab-opbal = wa_data-dmbtr.
ELSE.
wa_tab-opbal = wa_data-dmbtr * -1.
ENDIF.
COLLECT wa_tab INTO it_tab.
ENDLOOP.
REFRESH it_data.
Hope this helps to you.
Btw I am leaving for the day now. Any thing else do reply to me. I will revert to you tomorrow.
Regards,
Nikhil -
How to upload images in to custom table and display them in normal ABAP report?
Hi Experts,
Can anyone suggest me ,how to upload images into customised table and display thoes images in normal abap report.
Thanks in Advance,
Rgds,
AnushaHi Experts,
Can anyone suggest me ,how to upload images into customised table and display thoes images in normal abap report.
Thanks in Advance,
Rgds,
Anusha
Maybe you are looking for
-
How Can I run a form complied on 9ids on 10g AS
I have installed oracle 10g AS release 2 ( 10.1.2) and 9ids release 2. when I run a form on Application server it will show me an error, i.e. The form was created by an older version.. What I can do now . Please let me know ASAP. Regards, Malay
-
Replication of Customer from ECC to CRM --- Multiple A/c Groups
Hi Experts, I am trying to replicate customer master data from ECC6.0 to CRM7.0 and vice versa. Replication is up and running right now for only one Account Group (GEN-Z created for business) in ECC.This A/C Group (GEN) is mapped to BP Classification
-
Hi All, I want to capture the text on the image file? So is there any API available in java which can read the text on a scanned image? Thanks
-
Trying to put my Itunes Library on Time Capsule
I read this can be done to free up some room. I made a copy of my music folder in time capsule, pointed to it with itunes, but the file paths in itunes do not change. I made sure my time capsule was mounted, held option, launched itunes, selected the
-
How do i retrieve purchases?
how do i retrieve purchases i bought off my iphone that did not back up on my itunes?