Need a report for invoices that has storno column
HI!
I need a transaction that present a list of invoices (like mir5 and mir6) but also
has a storno culomn that shows which invoices were cancled (by mr8m)
and which did not.
Hi,
You can able to get in T/code: ME80FN, then Click on Change View Tab --> Select PO History.
You will get all the details.
Regards,
Raghunath
Similar Messages
-
Anyone know of an ALV report in SAP that has Hotspot logic?
Howdy,
Does Anyone know of an ALV report in SAP that has Hotspot logic?
I just need to implement this logic into my report and I thought I'd copy what was there.
Also, anyone know of a report where buttons are available in the cells of an ALV grid?
Thanksing you kindly.Hi Steve,
it'a a report with alv grid, where i use hot spot event,
i hope it helps you.
bye
*& Report ZMONITOR_IP *
REPORT zmonitor_ip .
TABLES: mapl, plko
*****SELECTION-SCREEN.
SELECTION-SCREEN: BEGIN OF BLOCK b1 WITH FRAME TITLE text-001.
SELECT-OPTIONS: s_matnr FOR mapl-matnr,
s_plnty FOR mapl-plnty,
s_zaehl FOR plko-zaehl,
s_verwe FOR plko-verwe,
s_plnnr FOR plko-plnnr,
s_plnal FOR plko-plnal,
s_plnty2 FOR plko-plnty.
SELECTION-SCREEN: END OF BLOCK b1.
**********TYPES:
TYPES: BEGIN OF str_data,
matnr TYPE mapl-matnr,
werks TYPE plko-werks,
plnal TYPE plko-plnal,
plnnr TYPE plko-plnnr,
END OF str_data.
TYPES: BEGIN OF str_data2,
prueflos TYPE qals-prueflos,
art TYPE qals-art,
herkunft TYPE qals-herkunft,
enstehdat TYPE qals-enstehdat,
END OF str_data2.
****Global data.
DATA: tb_plko TYPE TABLE OF plko,
wa_plko TYPE plko,
tb_mapl TYPE TABLE OF mapl,
wa_mapl TYPE TABLE OF mapl,
tb_data TYPE TABLE OF str_data,
wa_data TYPE str_data,
pos1 TYPE i,
pos2 TYPE i,
pos3 TYPE i,
pos4 TYPE i,
pos5 TYPE i,
okcode_100 TYPE sy-ucomm,
tb_data2 TYPE TABLE OF str_data2.
***********************VARIABILI E STRUTTURE PER ALV********************
* CLASS lcl_event_handler DEFINITION
CLASS lcl_event_handler DEFINITION .
PUBLIC SECTION .
METHODS:
*To add new functional buttons to the ALV toolbar
*Hotspot click control
handle_hotspot_click FOR EVENT hotspot_click OF cl_gui_alv_grid
IMPORTING e_row_id e_column_id es_row_no,
*Double-click control
handle_double_click FOR EVENT double_click OF cl_gui_alv_grid
IMPORTING e_row e_column es_row_no.
ENDCLASS. "lcl_event_handler DEFINITION
* CLASS lcl_event_handler IMPLEMENTATION
CLASS lcl_event_handler IMPLEMENTATION.
METHOD handle_hotspot_click.
*Handle Hotspot Click METHOD handle_hotspot_click .
PERFORM handle_hotspot_click USING e_row_id e_column_id es_row_no .
ENDMETHOD . "lcl_event_handler
*Handle Double Click
METHOD handle_double_click .
PERFORM handle_double_click USING e_row e_column es_row_no .
ENDMETHOD . "handle_double_click
ENDCLASS. "lcl_event_handler IMPLEMENTATION
*--- ALV Grid instance reference
DATA gr_alvgrid TYPE REF TO cl_gui_alv_grid.
DATA gr_alvgrid2 TYPE REF TO cl_gui_alv_grid.
*--- Name of the custom control added on the screen
DATA gc_custom_control_name TYPE scrfname VALUE 'CC_ALV'.
DATA gc_custom_control_name2 TYPE scrfname VALUE 'CC_ALV2'.
*--- Customer contanier instance reference
DATA gr_ccontainer TYPE REF TO cl_gui_custom_container.
DATA gr_ccontainer2 TYPE REF TO cl_gui_custom_container.
*--- Field catalog table
DATA gt_fieldcat TYPE lvc_t_fcat.
DATA gt_fieldcat2 TYPE lvc_t_fcat.
*--- Layout structure
DATA gs_layout TYPE lvc_s_layo.
DATA gs_layout2 TYPE lvc_s_layo.
DATA ls_variant TYPE disvariant.
DATA gr_event_handler TYPE REF TO lcl_event_handler .
****INITIALIZZATION
INITIALIZATION.
pos1 = 4.
pos2 = pos1 + 20.
pos3 = pos2 + 10.
pos4 = pos3 + 10.
pos5 = pos4 + 10.
*****TOP OF PAGE
TOP-OF-PAGE.
WRITE AT /pos1 'Material'.
WRITE AT pos2 'Plan'.
WRITE AT pos3 'Group'.
WRITE AT pos4 'Group Count'.
SKIP 1.
*****AT USER COMMAND.
AT USER-COMMAND.
CASE sy-ucomm.
WHEN 'BACK'.
SET SCREEN 0.
LEAVE SCREEN.
ENDCASE.
AT LINE-SELECTION.
PERFORM select_line.
*****START-OF-SELECTION.
START-OF-SELECTION.
PERFORM select_data.
PERFORM output.
END-OF-SELECTION.
****END-OF-SELCTION.
*& Form select_data
* text
* --> p1 text
* <-- p2 text
FORM select_data .
SELECT b~werks b~plnal b~plnnr a~matnr
FROM plko AS b
JOIN mapl AS a
ON ( a~plnty = b~plnty AND
a~plnnr = b~plnnr AND
a~plnal = b~plnal )
INTO CORRESPONDING FIELDS OF TABLE tb_data
WHERE
a~matnr IN s_matnr AND
a~plnty IN s_plnty AND
b~zaehl IN s_zaehl AND
b~verwe IN s_verwe AND
b~plnnr IN s_plnnr AND
b~plnal IN s_plnal AND
b~plnty IN s_plnty2 .
ENDFORM. " select_data
*& Form OUTPUT
* text
* --> p1 text
* <-- p2 text
FORM output .
CALL SCREEN '0100'.
ENDFORM. " OUTPUT
*& Form SELECT_LINE
* text
* --> p1 text
* <-- p2 text
FORM select_line .
DATA line TYPE i.
CLEAR wa_data.
GET CURSOR LINE line.
READ LINE line FIELD VALUE wa_data-matnr INTO wa_data-matnr.
READ LINE line FIELD VALUE wa_data-werks INTO wa_data-werks.
READ LINE line FIELD VALUE wa_data-plnnr INTO wa_data-plnnr.
READ LINE line FIELD VALUE wa_data-plnal INTO wa_data-plnal.
IF sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
SET PARAMETER ID 'MAT' FIELD wa_data-matnr.
SET PARAMETER ID 'WRK' FIELD wa_data-werks.
SET PARAMETER ID 'QHK' FIELD '89'.
SET PARAMETER ID 'PLN' FIELD wa_data-plnnr.
SET PARAMETER ID 'PAL' FIELD wa_data-plnal.
CALL TRANSACTION 'QA01' AND SKIP FIRST SCREEN.
SET PARAMETER ID 'PLN' FIELD ' '.
SET PARAMETER ID 'PAL' FIELD ' '.
ENDFORM. " SELECT_LINE
*& Form prepare_field_catalog
* text
* -->PT_FIELDCATtext
FORM prepare_field_catalog CHANGING pt_fieldcat TYPE lvc_t_fcat .
DATA ls_fcat TYPE lvc_s_fcat .
ls_fcat-fieldname = 'MATNR' .
* ls_fcat-inttype = 'C' .
ls_fcat-outputlen = '18' .
ls_fcat-hotspot = 'X'.
ls_fcat-coltext = 'Material' .
ls_fcat-seltext = 'Material' .
APPEND ls_fcat TO pt_fieldcat .
CLEAR ls_fcat .
ls_fcat-fieldname = 'WERKS' .
* ls_fcat-outputlen = '30' .
ls_fcat-coltext = 'Plant' .
ls_fcat-seltext = 'Plant' .
APPEND ls_fcat TO pt_fieldcat .
CLEAR ls_fcat .
ls_fcat-fieldname = 'PLNNR' .
* ls_fcat-outputlen = '6' .
ls_fcat-coltext = 'Orig. IP' .
ls_fcat-seltext = 'Orig. IP' .
APPEND ls_fcat TO pt_fieldcat .
CLEAR ls_fcat .
ls_fcat-fieldname = 'PLNAL' .
* ls_fcat-outputlen = '6' .
ls_fcat-coltext = 'Orig. IP Conuter' .
ls_fcat-seltext = 'Orig. IP Conuter' .
APPEND ls_fcat TO pt_fieldcat .
CLEAR ls_fcat .
ENDFORM . "prepare_field_catalog
*& Form prepare_layout
* text
* -->PS_LAYOUT text
FORM prepare_layout CHANGING ps_layout TYPE lvc_s_layo.
ps_layout-zebra = 'X' .
ps_layout-grid_title = '' .
ps_layout-smalltitle = 'X' .
ps_layout-sel_mode = 'B'.
ENDFORM. " prepare_layout
*& Module DISPLAY OUTPUT
* text
MODULE display OUTPUT.
***ALV.
IF gr_alvgrid IS INITIAL AND
gr_alvgrid2 IS INITIAL.
*----Creating custom container instance
CREATE OBJECT gr_ccontainer
EXPORTING
container_name = gc_custom_control_name
EXCEPTIONS
cntl_error = 1
cntl_system_error = 2
create_error = 3
lifetime_error = 4
lifetime_dynpro_dynpro_link = 5
OTHERS = 6 .
CREATE OBJECT gr_ccontainer2
EXPORTING
container_name = gc_custom_control_name2
EXCEPTIONS
cntl_error = 1
cntl_system_error = 2
create_error = 3
lifetime_error = 4
lifetime_dynpro_dynpro_link = 5
OTHERS = 6 .
*----creating alv grid instance
CREATE OBJECT gr_alvgrid
EXPORTING
i_parent = gr_ccontainer
EXCEPTIONS
error_cntl_create = 1
error_cntl_init = 2
error_cntl_link = 3
error_dp_create = 4
OTHERS = 5 .
CREATE OBJECT gr_event_handler .
SET HANDLER gr_event_handler->handle_hotspot_click FOR gr_alvgrid .
SET HANDLER gr_event_handler->handle_double_click FOR gr_alvgrid .
*----Preparing field catalog.
PERFORM prepare_field_catalog CHANGING gt_fieldcat .
*----Preparing layout structure
PERFORM prepare_layout CHANGING gs_layout .
*----Here will be additional preparations
*--e.g. initial sorting criteria, initial filtering criteria, excluding
*--functions
CALL METHOD gr_alvgrid->set_table_for_first_display
EXPORTING
* I_BUFFER_ACTIVE =
* I_CONSISTENCY_CHECK =
* I_STRUCTURE_NAME =
is_variant = ls_variant
i_save = 'A'
* I_DEFAULT = 'X'
is_layout = gs_layout
* IS_PRINT =
* IT_SPECIAL_GROUPS =
* IT_TOOLBAR_EXCLUDING =
* IT_HYPERLINK =
CHANGING
it_outtab = tb_data
it_fieldcatalog = gt_fieldcat
* IT_SORT =
* IT_FILTER =
EXCEPTIONS
invalid_parameter_combination = 1
program_error = 2
too_many_lines = 3
OTHERS = 4 .
ELSE .
CALL METHOD gr_alvgrid->refresh_table_display
* EXPORTING
* IS_STABLE =
* I_SOFT_REFRESH =
EXCEPTIONS
finished = 1
OTHERS = 2 .
ENDIF .
ENDMODULE. " DISPLAY OUTPUT
*& Module STATUS_0100 OUTPUT
* text
MODULE status_0100 OUTPUT.
SET PF-STATUS 'MONITOR'.
* SET TITLEBAR 'xxx'.
ENDMODULE. " STATUS_0100 OUTPUT
*& Module USER_COMMAND_0100 INPUT
* text
MODULE user_command_0100 INPUT.
CASE okcode_100.
WHEN 'BACK'.
SET SCREEN 0.
LEAVE SCREEN.
ENDCASE.
ENDMODULE. " USER_COMMAND_0100 INPUT
*& Form handle_hotspot_click
* text
* -->I_ROW_ID text
* -->I_COLUMN_IDtext
* -->IS_ROW_NO text
FORM handle_hotspot_click USING i_row_id TYPE lvc_s_row
i_column_id TYPE lvc_s_col
is_row_no TYPE lvc_s_roid.
READ TABLE tb_data INDEX is_row_no-row_id INTO wa_data.
SELECT * FROM qals INTO CORRESPONDING FIELDS OF TABLE tb_data2
WHERE selmatnr = wa_data-matnr AND
werk = wa_data-werks .
IF gr_alvgrid2 IS INITIAL.
CREATE OBJECT gr_alvgrid2
EXPORTING
i_parent = gr_ccontainer2
EXCEPTIONS
error_cntl_create = 1
error_cntl_init = 2
error_cntl_link = 3
error_dp_create = 4
OTHERS = 5 .
*----preparing field catalog.
PERFORM prepare_field_catalog2 CHANGING gt_fieldcat2 .
*----Preparing layout structure
PERFORM prepare_layout CHANGING gs_layout2 .
*----Here will be additional preparations
*--e.g. initial sorting criteria, initial filtering criteria, excluding
*--functions
CALL METHOD gr_alvgrid2->set_table_for_first_display
EXPORTING
* I_BUFFER_ACTIVE =
* I_CONSISTENCY_CHECK =
* I_STRUCTURE_NAME =
is_variant = ls_variant
i_save = 'A'
* I_DEFAULT = 'X'
is_layout = gs_layout2
* IS_PRINT =
* IT_SPECIAL_GROUPS =
* IT_TOOLBAR_EXCLUDING =
* IT_HYPERLINK =
CHANGING
it_outtab = tb_data2
it_fieldcatalog = gt_fieldcat2
* IT_SORT =
* IT_FILTER =
EXCEPTIONS
invalid_parameter_combination = 1
program_error = 2
too_many_lines = 3
OTHERS = 4 .
ELSE.
CALL METHOD gr_alvgrid2->refresh_table_display
* EXPORTING
* IS_STABLE =
* I_SOFT_REFRESH =
EXCEPTIONS
finished = 1
OTHERS = 2 .
ENDIF.
* call screen 100.
ENDFORM . "handle_hotspot_click
*& Form prepare_field_catalog2
* text
* <--P_GT_FIELDCAT2 text
FORM prepare_field_catalog2 CHANGING pt_fieldcat TYPE lvc_t_fcat .
DATA ls_fcat TYPE lvc_s_fcat .
ls_fcat-fieldname = 'PRUEFLOS' .
ls_fcat-outputlen = '23' .
ls_fcat-coltext = 'Inspection Lot Number' .
ls_fcat-seltext = 'Inspection Lot Number' .
APPEND ls_fcat TO pt_fieldcat .
CLEAR ls_fcat .
ls_fcat-fieldname = 'ART' .
ls_fcat-coltext = 'Inspection Type' .
ls_fcat-seltext = 'Inspection Type' .
APPEND ls_fcat TO pt_fieldcat .
CLEAR ls_fcat .
ls_fcat-fieldname = 'HERKUNFT' .
ls_fcat-coltext = 'Inspection Lot Origin' .
ls_fcat-seltext = 'Inspection Lot Origin' .
APPEND ls_fcat TO pt_fieldcat .
CLEAR ls_fcat .
ls_fcat-fieldname = 'ENSTEHDAT' .
ls_fcat-coltext = 'Date of Lot Creation' .
ls_fcat-seltext = 'Date of Lot Creation' .
APPEND ls_fcat TO pt_fieldcat .
CLEAR ls_fcat .
ENDFORM. " prepare_field_catalog2
*& Form handle_double_click
* text
* -->I_ROW text
* -->I_COLUMN text
* -->IS_ROW_NO text
FORM handle_double_click USING i_row TYPE lvc_s_row
i_column TYPE lvc_s_col
is_row_no TYPE lvc_s_roid.
CLEAR wa_data.
READ TABLE tb_data INDEX i_row-index INTO wa_data.
SET PARAMETER ID 'MAT' FIELD wa_data-matnr.
SET PARAMETER ID 'WRK' FIELD wa_data-werks.
SET PARAMETER ID 'QHK' FIELD '89'.
SET PARAMETER ID 'PLN' FIELD wa_data-plnnr.
SET PARAMETER ID 'PAL' FIELD wa_data-plnal.
CALL TRANSACTION 'QA01' AND SKIP FIRST SCREEN.
SET PARAMETER ID 'PLN' FIELD ' '.
SET PARAMETER ID 'PAL' FIELD ' '.
ENDFORM . "handle_double_click -
I need a word document generator, that has a bar to enter equations similar to the Microsoft word program. The document needs to be able to be saved as a word document so my professors can open it in windows. HELP!! My computer is 2012 iMac desktop
Not sure if any of the alternatives to Office (word) for Mac are near the feature set you require.
There are a few listed here at this page, in some ways aren't exactly like Office or Word; the feature you seek may (or may not) exist. I'd try & see about neooffice compatibility...
http://www.digitaltrends.com/computing/best-microsoft-office-alternatives/
http://www.neooffice.org/neojava/en/index.php
http://www.libreoffice.org/
Good luck & happy computing! -
AirPrint laser printer for home that has "n" wifi capabilities
Looking for an AirPrint laser printer for home that has "n" wifi capabilities. Was shocked to findout that most lasers don't do "N" wifi or high speed networking yet. Am seriously considering the HP LaserJet Pro P1102w printer, but just found out it is a nightmare to setup. Thought I could run it by USB port off my Timecapsule… Is anyone doing that? Can it do that? Is there a better alternative?
Hi Scott,
You can also setup the P1102w without the USB cable. What you need to do is to connect the printer via ad-hoc to your iPad first. With the default network settings the printer has its own SSID that you can select from the WiFi list on your iPad. Then open Safari and go into the EWS - either by the printers IP or host name. There you go to Network - Wireless and make the settings for your infrastructure network.
However, both Laserjets will need a FW update that you install from a Mac or PC, so you may already use the install steps there to connect your printer to the network.
Regards,
Mandy -
Need a Report for a List of PO's against a Sales Order
Need a Report for a List of PO's against a Sales Order
Hi
We can get through Me2n, with selection parameters with account assignment as C (Sales Order)
Regards
Prasanna -
Hi,
I will be at a meeting to help gather requirements for a project in relation to Invoice-to-Cash.
Can you guide me to get the following information:
1. a high level list of reports for Invoice-to-Cash
2. a detail list of reports for Invoice-to-Cash
3. To see the SAP deleivered data flow to give me an idea of the extractors, DSOs, Cubes(dimensions...), etc.
Also, apart from your experience, is there a process to get this information for any requirement in general? I went to BI Content in rsa1 on our development system hoping to see some reports related to Invoice-to-Cash but to no avail?
Thanks
Edited by: Amanda Baah on Apr 24, 2009 8:36 AMHi,
invoice to cash is basically a sub process of the process: Customer Order to point of receiving Cash from Customer.
So, Invoice to cash as used in my original post actually is: The point at which Customer Invoice was issued to the point at which Cash was received.
So back to my original question, can you guide me to get the following information:
1. a high level list of reports for Invoice-to-Cash
2. a detail list of reports for Invoice-to-Cash
3. To see the SAP deleivered data flow to give me an idea of the extractors, DSOs, Cubes(dimensions...), etc.
Also, apart from your experience, is there a process to get this information for any requirement in general? I went to BI Content in rsa1 on our development system hoping to see some reports related to Invoice-to-Cash but to no avail?
Thanks
Edited by: Amanda Baah on Apr 27, 2009 9:35 AM -
Unique Entities List for Companies that has Ownership
Hello Everybody,
Does anyone can help on how to create a Unique List for Companies that has Ownership, it means the same entity owned by 2 different parents?
If someone had experienced this before, could you please share your knowledge?
Many thanks in advance, JBHi!
I did similar task long time ago in script and logic was like this:
1. make array with owned base entities
2. make entity loop and check if entity is more than once in the first array then add it to UniqueEntitiesList (before adding check for existence should be done)
3. then you can use this UniqueEntitiesList anywhere else in your calculations
maybe there is a way to solve this in a more simple operations -
I need to deauthorise a computer that has broken down and have already recently used my deauthorise all, what can I do?
Go to the Store menu in iTunes, and select "View My Account..." When you get to the account page, click on "Deauthorize All." This will clear the list of computers authorized to play your songs. Then you can go and reauthorize them one at a time.
-
Prompt Group Text value for parameter that has cascading prompts.
<p>Does anyone know how to get a Prompt Group Text value for parameter that has cascading prompts. C# sample would be great.</p>
Hi Sateeesh,
I delete main memory, but does not work. if I display prompt value in list box, it shows as text value, but in 'query prompt selector', it shows as key value. I am using SAP BO 4.0 -
A table ABC that has 3 columns
A table ABC that has 3 columns
-ive are payments
description, amount, date
a -10000 30-08-07
b 12000 31-08-07
c 5000 31-08-07
a 15000 01-09-07
a 1200 01-09-07
b -2100 02-09-07
c -14000 03-09-07
I want to write a query to find receipt and payments for each day display according to date
Date Receipt Payment
Ragards:
M KMK, I think user user445775 was or is close to what you want but based on your example I am going to offer up the following
If what you want is one row with the sum of the receipts (sales, cash collected, whatever) per item (description) per day then try this
select description, trunc(date), sum(amount)
from ABC
group by description, trunc(date)
You probably need to truncate the date column since normally a date column includes the day and time.
If you only want the totals per day you can leave out the description.
HTH -- Mark D Powell -- -
I want to move a list from one SharePoint site to another, within the same collection. I have created a template and included the content but the column that is selected to append changes to existing text, has not copied in all cases, although it has for
some items.
I have a limited knowledge so won't be able to implement any solutions that require the use of code.Hi,
According to your post, my understanding is that you wanted to copy a list from one site to another that has a column that appends changes to existing text.
I recommend to use the custom workflow activity Copy List Item Extended Activityto
copy list items and files cross site.
You can do this with codeless SharePoint Designer workflows as long as you can install the
Codeplex Custom SharePoint Designer Workflow Activities.
These activities are also built-in to SPD2010.
To install the custom activities, please follow the steps as below:
Download the solution file form
Useful Sharepoint Designer Custom Workflow Activities
Copy the wps file to the Disk C.
Open the SharePoint 2010 Management Shell.
Run the command: add spsolution c:\ dp.sharepoint.workflow.wsp
Open the Center Administration, click System Setting->Manage Farm Solution-> dp.sharepoint.workflow.wsp->Deploy to one or more Web Application.
Open the SharePoint designer, add action from Custom Actions.
Best Regards,
Linda Li
Linda Li
TechNet Community Support -
Report for invoices project wise
Hello All,
I need a report where I can see the invoices project wise i.e (PS module and SD module)
I am looking for invoices details project wise is there any standard report which I can check that how many invoices have been raised for a particular project or a particular sales order.
Thanks in advance,
PriyaHi
You are not getting the fields in FBL5N or not getting the value in them?
If you are not gettng the fields,
1. Go to SM30 - Table V_T021S...
2. Include BSEG-FIelds Sales Order and WBS Element as special fields
3. Generate the transport request and transport it to PRD
4. Execute SE38 - RFPOSXEXTEND in PRD client
Now when you execute the report, it should show you those fields..
BR,Ajay M -
How Can I Schedule a Deski Report in Infoview that has a VBA Macro
Hi experts,
i've made a report that has a vba Macro. I published it in infoview. If I launch it manually (clicking on the refresh button) the macro works normaly. If I schedule it the macro doesn't work.
What can I do?
Is it possible to make a program that simulate the opening and click on the refresh button?
Or i there is another solution?
Here is my Macro:
Private Sub Document_AfterRefresh()
Dim filtervar As Variant
Dim filterText, Filter As Long
Dim DocName, NewName As String
Dim Pathing, TodaysDate As String
Dim folderName As String
TodaysDate = Format(Date, "DDMMYYYY")
Pathing = "
Ktsdwh0\c$\OutputBO\"
DocName = ThisDocument.Name
filterText = "Dpre Cod Produttore"
filtervar = ThisDocument.Evaluate("=<" & filterText & ">", boUniqueValues)
For Each sepval In filtervar
Filter = sepval
For n = 1 To ThisDocument.Reports.Count
Call ThisDocument.Reports(n).AddComplexFilter(filterText, "=<" & filterText & "> = " & Filter)
ThisDocument.Reports(n).ForceCompute
Next n
MkDir (Pathing & Filter & "\")
NewName = Pathing & Filter & "\" & Filter & "-" & TodaysDate & "-" & DocName 'for Prova_Prod.rep
' NewName = Pathing & Filter & "-" & TodaysDate & "-" & DocName 'for Prova_Prod.rep
ThisDocument.ExportAsPDF (NewName) 'to Save as PDF
Next
For n = 1 To ThisDocument.Reports.Count
Call ActiveReport.AddComplexFilter(filterText, "=<" & filterText & "> = <" & filterText & ">")
' To delete a Complex Filter, you set it equal to itself...
ActiveReport.ForceCompute
Next n
End Sub
Please Help!
Best regards
CamilloHi Philippe,
If you are using Windows 2003 with SP2 then it might be the issue as already logged for BOXIR2.
You can test the issue by using only Windows 2003 without SP2.
In case your operating system is only windows 2003 then following information and code might be helpful for you to resolve the issue.
There are a number of things to check when setting up a macro to work through Infoview or scheduled. The first thing is that the macro needs to be triggered to run. This is done by putting a call to the macro in the Document_BeforeRefresh or the Document_AfterRefresh event handler.
The report server and job server are designed to process one report at a time. Through a macro it is possible to open more than one report, and do various processing with those additional reports. Since the report and job servers are not designed to process more than one report, your macro should not open an additional report.
The fact that only one report is processed at a time also affects the syntax you should use when referring to a document or report object. In the DeskI client you can use the ThisDocument object to refer to the report which is running the macro. You can also use the ActiveDocument object to refer to the report that is currently displayed. Most of the time these two objects will point to the same report. When the report server or job server process a report there would never be the possibility for a different report to be active, so the ActiveDocument object does not exist. This also applies to the ActiveReport object. Instead of using ActiveDocument your macro code should use the ThisDocument object. Instead of using the ActiveReport object you should use ThisDocument.Reports.Item(1) to refer to this first report tab in a report.
These items are the most common issues that will cause a macro not to run through Infoview or when scheduled. The best way to debug a macro which is not working in either of those places is to include code which will log the macro's progress to a file. This makes it easy to determine exactly which line of code is causing issues so that it can potentially be corrected.
#Region u201CWeb Form Designer Generated Code "
'This call is required by the Web Form Designer.
<System.Diagnostics.DebuggerStepThrough()> Private Sub InitializeComponent()
End Sub
Private Sub Page_Init(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Init
'CODEGEN: This method call is required by the Web Form Designer
'Do not modify it using the code editor.
InitializeComponent()
End Sub
#End Region
Private Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Dim myInfoStore As InfoStore
Dim myEnterpriseSession As EnterpriseSession
myInfoStore = CType(Session("InfoStore"), InfoStore)
myEnterpriseSession = CType(Session("EnterpriseSession"), EnterpriseSession)
Dim DOCUMENT_NAME As String = "document_name"
Dim query As String = "Select SI_ID, SI_NAME, SI_SUBJECT, " _
& "SI_COMMENTS, SI_OWNER From CI_INFOOBJECTS Where SI_KIND = 'FullClient' " _
& "AND SI_INSTANCE=0 AND SI_NAME='" + DOCUMENT_NAME + "'"
Dim myInfoObjects As InfoObjects = myInfoStore.Query(query)
Dim myInfoObject As InfoObject = myInfoObjects(1)
Dim myDeskiDoc As FullClient = CType(myInfoObject, FullClient)
Dim mySchedulingInfo As SchedulingInfo = myDeskiDoc.SchedulingInfo
mySchedulingInfo.Type = CeScheduleType.ceScheduleTypeOnce
mySchedulingInfo.RightNow = True
Dim myFullClientFormatOptions As FullClientFormatOptions = myDeskiDoc.FullClientFormatOptions
myFullClientFormatOptions.Format = BusinessObjects.Enterprise.Desktop.CeFullClientFormat.ceFullClientFormatFullClient
myInfoStore.Schedule(myInfoObjects)
End Sub
End Class
I hope this will help you.
Regards,
Sarbhjeet Kaur -
How to apply a PO-matched prepayment invoice that has an extra tax line??
I have a situation where I created a prepayment that's matched to a PO, but since the prepayment invoice document has VAT associated to it and not the PO, I need to add that extra line. So after matching the prepayment to the PO, I added an extra line on the prepayment as Item type TAX.
Now after creating the actual invoice, when trying to apply the prepayment on the invoice, I can only see the actual PO amount and not the VAT line that was added afterwards to the prepayment. Therefore the invoice goes on a distribution variance hold.
My question is how would I be able to create a prepayment that's matched to a PO and that has an additional TAX line and then later on apply the full amount to an invoice?
All responses appreciated!Hello
I still have to investigate for a problem with prepayments and line level calculation also (no PO matching involved), here is what I foundin the main AP doc (115apug.pdf, 4-150 to 4-155)
*Applying Prepayments in the Invoice Workbench*Payables creates Tax distributions automatically either when you choose the Calculate
Tax button in the Distributions window, or when you submit Invoice Validation for the
invoice. For invoices you enter in the Invoice Workbench, you can apply a prepayment
either before or after you validate an invoice, or while you are entering it. If you use Line
level or Tax Code level automatic tax calculation, Payables always creates separate tax
lines for your Item and Prepayment type distributions.
Note: Use automatic tax calculation to create tax distributions for
prepayments. Manually created tax distributions for prepayments are
not included in the Distribution Total. If the Distribution Total does
not match the Invoice Amount, Payables applies a hold to your invoice
during Invoice Validation.>
Hope it helps ;°)
I'll keep you inform if I have further info about my case
Xavier -
I have a roofing business with my husband and we both have iPads we need a invoicing program app that we both can use and see the same material on both iPads is there any apps that anyone knows of that can do this?
You'll need a program that can open and edit the invoices. You can search the app store for "invoices" and see what you can find - perhaps there is a cloud-based one that would allow you to store the invoices on their server.
Or if the apps are fairly simple, you could open them in a Word Processing app that does sync two ways with the cloud and do your work on them - and then store the receipts in Dropbox/iDisk/Sugarsync. Loading the actual documents onto those services is very easy and self-explanatory once you sign up for them.
Maybe you are looking for
-
Printer Just stopped scanning to a removeable Flash Drives on the printer itself. The unit is shared by multiple people in the office. The document will scan, but is says " SCAN Failure.. Memory Device Failure". The issue is that we have tried other
-
Goods Receipts & Issues without any financial impact - (No accounting Docs)
Hi Experts, We have this new scenario to manage some goods which we do not own or manufacture in any of our plants, but only store them in our warehouse for another Company and release them upon a shipment notification from them to one of our common
-
MacBook Pro as second monitor for 27" iMac
Hello, Yesterday I purchased a 13" MacBook Pro and a Thunderbolt cable. I figured out how to use my 27" iMac as an extended display for the MacBook Pro by clicking cmnd F2 on the iMac's keyboard but how do you use MacBook Pro as an extended display f
-
I am able to annotate PDF (for e.g. Add Sticky Note/comments) in IE (Version: 8.0 beta) browser when I install Acrobat Professional(Version:8.0). However, I would like to achieve the same functionality with Acrobat Reader only. Can you suggest a meth
-
CFGRID HTML named target will not open new window
I'm finally TRYING to make the move to CF8 and honestly I love Cold Fusion but I encounter bug after bug without going crazy trying to do things. I'd appreciate any guidance here. In this case I am trying to switch over from applet CFGRIDS to HTML CF