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 PM
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, -
Hi
I want to develop a custom abap report in XI on the basis of payload.
Any clues??????????
Regards
VijayHi
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 -
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
-
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. -
Customer rebate report - retrieve Invoice numbers
Hi,
When I use Vbo3 t-code and enter a rebate number and drill down to Sales volume of rebate management and hit SCOPE button and emty the content
I get a list with Invoice numbers.
I looked in KONA table it is header and how do we retriev data of these invoices?
I lokked in to KONP and did not not find it usesful.
Any ideas?
Rgds
PraveenHi,
Do one thing...
Go to ST05...
Switch on the SQL trace..
Go to another session..execute the transaction VBO3 till you get the invoice numbers..
Switch off the SQL trace..
Use list trace..
There you can see the list of tables accessed...
Check those tables..
Thanks,
Naren -
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 -
Customer payment report against sales invoice
Dear Experts.
My client has requirement to track customer payment against sales invoice. Actually client sometimes do partial payment also. I know we can get from bsid(open item) & bsad(cleared item) table. I unable to find actual required data.
regards
sanjay vermaDear Sanjay,
Apart form the FBL5N, Please check the below path for more standard reports which helps you to fulfill your requirement. Hope its helpful.
In SAP Easy Access screen
Regards,
Inthiyaz -
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 -
Customer Aging Report Query (without invoices offset by incoming payment)
Hi All Experts,
May I know is there any field from JDT1 mention which invoices is already offset by the Incoming payment or AR Credit note? Because I do not want those invoices that already offset by incoming payment appear at the Customer Aging Report. Meaning, the data appear in the Customer Aging Report is only show those invoices that yet to pay by the customer. Kindly give some advise on it. Thanks a lot.
Thanks and regards,
Angie NgHi David,
Thanks for your suggestion. I have try it, but all of my JDT1.IntrnMatch is in 0 value. Meaning in my situation it is none of any reconcilliation making. But from my SBO window, i manage to see that actually this incoming payment is pay for which invoices. Problem is it is difficult for me to do the possiblity logic that might be happen in my Customer Aging Report Query. Please give some advise that how to show only those invoices yet to pay? The current query will show all the data no matter the invoices or credit memo has been offset.
select OCRD.cardcode 'Supplier Code',OCRD.cardname 'Name',sysdeb 'Debit GBP',syscred 'Credit GBP',
case JDT1.transtype
when '13' then 'INV'
when '14' then 'AR CN'
when '24' then 'INCOMING'
else 'Other'
end 'Type',
Ref1,
fccurrency 'BP Currency',
CONVERT(VARCHAR(10), refdate, 103)'Posting Date' ,
CONVERT(VARCHAR(10), duedate, 103) 'Due Date',
CONVERT(VARCHAR(10), taxdate, 103) 'Doc Date' ,
CASE
when (DATEDIFF(dd,refdate,current_timestamp))+1 < 31
then
case
when syscred <> 0 then syscred * - 1
else sysdeb
end
end "0-30 days",
case when ((datediff(dd,refdate,current_timestamp))+1 > 30
and (datediff(dd,refdate,current_timestamp))+1< 61)
then
case
when syscred <> 0 then syscred * - 1
else sysdeb
end
end "31 to 60 days",
case when ((datediff(dd,refdate,current_timestamp))+1 > 60
and (datediff(dd,refdate,current_timestamp))+1< 91)
then
case
when syscred <> 0 then syscred * - 1
else sysdeb
end
end "61 to 90 days",
CASE
when (DATEDIFF(dd,refdate,current_timestamp))+1 > 90
then
case
when syscred= 0 then sysdeb
when sysdeb= 0 then syscred * - 1
end
end "90 + days"
from JDT1,OCRD where JDT1.shortname = OCRD.cardcode and cardtype = 'c' and intrnmatch = '0'
ORDER BY OCRD.CARDCODE, taxdate -
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.
Maybe you are looking for
-
I have been using mail for quite a while and no issue. Before xmas for some strange reason my computer asked me for my keychain password. I couldnt remember and hence lost control of my mail boxes. I deleted the keychain and then started putting in t
-
Problem of Teststand3.1 database and microsoft SQL Server 2000 personal edition
I have a problem when using teststand database function with Microsoft sql server 2000. the error(seen in attached screenshot3.jpg) is: "An error occurred calling 'LogResults' in 'ITSDBLog' of 'DBLog 1.0 Type Library' An error occurred executing a st
-
How can I set new tabs to automatically show my homepage? (My homepage is Google)
Whenever I open a new tab, it has a "New Browser tab" page with a search bar powered by ask. I would like to be able to set any new tabs I open using the "add tab" tab, to Google.com I can set my homepage to google, but cannot set any new tab to goog
-
I am unable to restore my iPhone 4 from recover mode for almost a week now.
I am unable to restore my iPhone 4. It is in recovery mode and shows the connect to itunes screen. Itunes gives me many error messages, one saying "The iPhone software update server could not be contacted. The network connection could not be establis
-
Mac App Store not working - first day with new MacBook Pro
Hi guys, I received a new MacBook Pro 13 inch with retina display today and have been working on it this evening but I have a problem: My app store won't open. It was fine earlier - I downloaded both textwrangler and notepad - but now, whenever I cli