Error in Document (?)
While trying the example of constructor which is in "Oracle8- SQL Reference", I get ORA error. Let me update if I am wrong. I have Oracle 8i personal version (Win98).
This is details
CREATE TYPE foo AS OBJECT (a1 NUMBER,
MEMBER FUNCTION getbar RETURN NUMBER,
pragma RESTRICT_REFERENCES(getbar, WNDS, WNPS))
CREATE TABLE footab(col foo)
SELECT col.getbar() FROM footab
ERROR at line 1:
ORA-00904: invalid column name
Anyone tried this ?
Hi
Pls check the document flow and check for the material document number. Check that in FB03. You issue would be resolved
Regards
Sanil Bhandari
Similar Messages
-
Have an issue regarding library books. My ereader is validated with Kobo account and Adobe Digital Editions account, but I get an error: 'this document is protected bij DRM and isn't available with your Adobe ID'.
same problem for me. I am using abe edition 3 as I don't think 4 can be used with kobo. Book has been downloaded to kobo but it can't be read as it is not authorised.Help please
-
Error: "The document information panel was unable to load"
Hello,
I have created a custom document content type that uses a specified word template for a sharepoint document library for contracts and offers, and added a few custom columns in the document library as well. The word template launches succesfully when creating a new item in the document library, but the problem arises when I add custom columns to the word template content type. When the document loads in Word, I get the following error: "The Document Information Panel was unable to load. The document will continue to open. For more information, contact your system administrator." And in details:
"Document Information Panel cannot create a new, blank form.
Document Information Panel cannot open the form. To fix this problem, contact your system administrator.
Form template: http://servername/sitename/proppanel.xsn
The following DataObject either cannot be created or cannot be initialized: list_033AA217-8906-447E-A604-A300F51D4030
Document Information Panel cannot add the following object to the DataObjects collection: list_033AA217-8906-447E-A604-A300F51D4030
list_033AA217-8906-447E-A604-A300F51D4030 could not be added to the DataObjects collection.
The following item already exists in the collection: list_033AA217-8906-447E-A604-A300F51D4030"
Interestingly enough, I have two web applications running on the same server that I have tried to implement this on, and on the other it works flawlessly, meaning that the Document Information Panel launches successfully and I can edit the columns associated with that content type and store the values in a document library. I have also tried to save the DIP template from the working web application and use it as the default DIP template on the other application, but that doesn't work either.
I have also tried to browse through all options and configurations in the application settings in CA and SSP, but to no avail. Any suggestions about what might be causing this problem or how to fix it would be greatly appreciated.
- Sebastian ErikssonHi All,
I have the same problem with my DIP in already two of my document libraries. Please see below:
Document Information Panel cannot create a new, blank form.
Document Information Panel cannot open the form. To fix this problem, contact your system administrator.
Form template: http://servername/sitename/proppanel.xsn
The following DataObject either cannot be created or cannot be initialized: list_295E77CD-1C08-4DDC-A188-F86107F9BF60
Document Information Panel cannot add the following object to the DataObjects collection: list_295E77CD-1C08-4DDC-A188-F86107F9BF60
list_295E77CD-1C08-4DDC-A188-F86107F9BF60 could not be added to the DataObjects collection.
The following item already exists in the collection: list_295E77CD-1C08-4DDC-A188-F86107F9BF60
I have made the same thing that Kirikou has suggested and I was able to recreate the broken library. The problem is that Kirikou's way has failed on my Share Point staging installation:
[COMException (0x80020009): Exception occurred. (Exception from HRESULT: 0x80020009 (DISP_E_EXCEPTION))]
Microsoft.SharePoint.Library.SPRequestInternalClass.RenderViewAsHtml(String bstrUrl, String bstrListName, String bstrViewID, String bstrViewXml, String bstrQualifier, ISPDataCallback pDataCallback, Boolean& pbSharedList) +0
Microsoft.SharePoint.Library.SPRequest.RenderViewAsHtml(String bstrUrl, String bstrListName, String bstrViewID, String bstrViewXml, String bstrQualifier, ISPDataCallback pDataCallback, Boolean& pbSharedList) +125
[SPException: Exception occurred. (Exception from HRESULT: 0x80020009 (DISP_E_EXCEPTION))]
Microsoft.SharePoint.Library.SPRequest.RenderViewAsHtml(String bstrUrl, String bstrListName, String bstrViewID, String bstrViewXml, String bstrQualifier, ISPDataCallback pDataCallback, Boolean& pbSharedList) +166
Microsoft.SharePoint.WebPartPages.ListViewWebPart.RenderView() +4239
Microsoft.SharePoint.WebPartPages.ListViewWebPart.EnsureData(Int32 token) +658
Microsoft.SharePoint.WebPartPages.SharePointDataProvider.Execute() +254
Microsoft.SharePoint.WebPartPages.SPWebPartManager.ActivateV2ConnectionsAndSharePointDataFetch() +139
Microsoft.SharePoint.WebPartPages.SPWebPartManager.ActivateConnections() +85
System.Web.UI.WebControls.WebParts.WebPartManager.OnPageLoadComplete(Object sender, EventArgs e) +52
System.EventHandler.Invoke(Object sender, EventArgs e) +0
System.Web.UI.Page.OnLoadComplete(EventArgs e) +2063076
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1875
I will be very appreciated if somebody knows what is the reason for this problem.
Best regards,
Yordan Nikolov -
Excise Invoice creation error -Billing document does not exists
Dear Experts,
I have created supplementary sales order, billing with refernece through sales order by VF01.
Now I want to create Excise Invoice but system gives error Billing Document does not exists
I have checked billing document in VBRK table & it is showing in table.
My item categroy is L2N -and set it to C
I have assigned Billing type under Outgoing excise invoice ->Assign billing type to delivery type still my excise invoice is not generating.
Pl. guide me.
Thanks
TruptiResolved my problem.
Actually in Billing item categroy if you put SD Doc. Catg. as M you can do excise invoice even if you have not created the
outbound delivery.
So cycle will be Supplementary Sales Order->VF01 with ref. to SO->J1IIN -Excise invoice creation.
Thanks to all.
Trupti. -
I am trying to print a fillable form - - an application for a Chinese visa. It will not print and I get two error messages: "document could not be printed" and "there were no pages selected to print." The latter is not true. Won't print at all, the page I am on, nor any series of pages inserted.
Am using a MAC desktop and a Cannon PIXMA MX922 printer.
I need to print this form now that it is filled out? What can I do?Hello PW, I am having this problem and all suggestions haven't worked yet. Where is the Preferences|Documents you are referring to? I am on a PC and using Windows.
EDIT: I found it and did, but still not working. -
Adobe Acrobat Pro XI 11.0.06 when I reduce file size or try to optimize, I get this error: The document could not be saved. A number is out of range. I do the exact same thing every month and it works. I did it a few days ago and it worked. I receated the pdf, I renamed it. tried to do it before I imported more pages. no go. the 16 mg pdf will normally reduce to 5 or 6
Hi,
Are you facing the issue with any pdf file?
Please try updating Acrobat to 11.0.7 and check.
You might also want to repair Acrobat and see.
Regards,
Rave -
Error: The document could not be saved
Hi
I opened one of pdf file from mapped network drive and then make comment in it and I am unable to save it. I receive the following error
" The document could not be saved. Cannot save to this filename. Please save the document with a different name or in a different folder."
Please advise.
Thanks.Hi,
You may refer the following thread for the solution and detailed discussion:- Cannot Save as to network after update to 11.0.10.
Regards,
Nakul -
MRKO Error : Express document "update was terminated" received from author
Hi Gurus,
When settling Consignment through MRKO we are getting error 'Express document "update was terminated" received from author xxxx' in ECD system.
At workplace inbox, the error shows "Error Info... XS 007: Address invalid".
Please note that I am not getting any short dump at ST22 for the same error.
My queries are:
1. How can I create a short dump for this error....this will help in analyzing the issue.
2. What are the probable reasons for this error can be.
Thanks in advance for helping.
Regards,
MCHi,
I have tried SM13 and getting ERROR XS007(Address Invalid).
Diagnosis says:
The address specified is invalid or initial (address value, address type INT).
Procedure:
Enter a correct address that is suitable for address type INT.
The formats are:
1. INT (Internet Mail Address): <name>@<domain> or comment<name>@<domain> or <name>@<domain>(comment)
2. FAX(fax addresses): <country><number>
ETC
Now as already told, I have properly maintained mail-id in "Email" field & "StandardComm.Mtd" field as E-Mail of the Vendor Master.
The mail ID is my official ID and working.
Please advice further.
Regards,
MC. -
Error : Express Document "update was terminated" by XYZ.
Hi,
When I am trying to process one output type that I have created, I am getting an error
Express Document "update was terminated" by XYZ.
Here XYZ represents my userid .
I have linked the output type to one printprogram. If I execute the print program standalone,
it is working fine. But if I try to process the output , I am getting the above error.
Please suggest the needful.
Regards
RudraHi..
thnx for ur reply....I got the reason for error -
Error:Adobe document services error: SOAP Runtime Exception: CSoapException
Dear All,
While executing an adobe form I am facing the following error:
Adobe document services error: SOAP Runtime Exception: CSoapExceptionTransport :
Can you please suggest how the error can be rectified?
Thanks and regards,
Atanu
Edited by: Atanu Dey on Feb 18, 2008 5:31 PMHi, For solving this do one thing:
The problem is In ECC the service AdobeDocumentServicesSec was set up in SM59 but nothing was configured for SSL. So you have to change this to:
AdobeDocumentServicesSec.
Thanks
please reward points -
My form was working properly but today, 20 June, an applicant clicked on the website link and got an error that says, "error opening document, please try again later". How can this be fixed?
Is this a FormsCentral form?
-
Hi guys,
I am new of iBooks Author and I am not HTML code savvy (expect the very basics). I have to send an iBooks for an University exam and I can't open my file anymore.
I was working on it since Saturday, I saved many times and I have quit the iBooks Author and rebooted my iMac few moments ago. There were no crashes.
The project is a iBook with pictures, videos and some Tumult Hype animations. It is 248Mb.
Now I can't open the file (but I can see it in quick view). The error message is in the subject, but here it is again:
"Progetto iBooks" couldn't be opened. Error parsing document index: invalid character in attribute value.
Now, I have to send the project today (here in Italy it is now 7:10 am) and so I am kind of desperate.
Any suggestion?
I am already working on making a new ibook, but if someone could give me a workaround to fix it and open it on iBooks I would be extremely grateful.
Best regards,
SebastianoHi Sebastiano,
Did you ever get any answer? I have the same problem and now have to work from an old version again (good thing I had backup one manually!)
Thx
JP. -
F-47 Error "Purchase document is allocated to asset"
Hi,
I've created a PO for buy asset, Account assignment "A". Now I want to raised a 10% down payment request for this PO.
I hit this error:
Purchase document is allocated to asset
Message no. F5378
Diagnosis
The asset number assigned in the purchase document
- is different from the asset number entered manually
- cannot be transferred, because the 'Asset number' field was hidden for the account in question
System Response
In the first instance a warning appears, drawing your attention to the different account assignments. In the second instance an error message appears, because the asset number must be transferred from the purchase order but the necessary field is hidden.
Procedure
If you receive the warning, check which asset number is the correct number for this down payment.
If you receive an error message, you must either choose another special G/L indicator for down payments so that it is possible to assign an asset number to the relevant general ledger account, or you must change or delete the the specified purchase document number. Only those purchase documents are allowed which are not assigned to assets.
Please advice me, what should I do? ThanksHi,
on top of my setting, I also perform this changes:
1. enter OBC4 and select field status variant
- Then double-click on Field Status Group
- Select field status group: Reconciliation Accounts
- Then, click on the magnifying glass " Edit field status"
- Double-click on Asset Accounting
- Change Asset number/subnumber to optional entry and save.
Now it hit another error:-
"You cannot use this transaction type to post to this asset"
Message no. AA834
Diagnosis
The transaction type entered belongs to transaction type group 15. According to the specifications for this transaction type group, posting with transactions types belonging to this group are only allowed in specific asset classes (for example, asset classes for assets under construction).
The asset to which you are posting belongs to class D01 (chart of depreciation L001). You cannot post to this class using the transaction type you have entered.
Procedure
Check the asset number entered. You may want to allow posting with this transaction type group for the asset class of the asset.
Can I just change this error message to warning? Any impact if I do this? Thanks -
There was an error opening document. Access denied. Cant open pdf attached to emails
I just upgraded to Acrobat Reader x and can't open files attached to emails in Outlook 2010. If I save the file, I can open it. I assume it has something to do with protected view or such but can't find where to change settings. I can open .doc and .xlsx files attached to emails so it seems to be only an issue with .pdf files attached to emails in Outlook. Suggestions?
To make things simple for you, here are two ways for you fix the problem:
A. Fix One PC
Launch Adobe Acrobat Reader X
Go to: Edit > Preferences...
Click on "General" in the left pane.
Uncheck "Enable Protected Mode at startup"
You will prompted with a dialog box to remind you to close the application for the change to go into effect. Click Yes.
Click OK to save your change.
Exit Adobe Reader
B. Fix Several PCs in Your Organization
Following the above steps aren't practical if you have Adobe Acrobat installed on 1,000+ computers in 30 regional offices! Push this registry setting using your standard software deployment software.
[HKEY_CURRENT_USER\Software\Adobe\Acrobat Reader\10.0\Privileged]
"bProtectedMode"=dword:00000000
Microsoft Outlook and other email clients
I hear this will also fix the "There was an error opening this document. Access denied." error that is occurring with any email client, including Microsoft Outlook Express; Microsoft Outlook 2010, 2007, 2003; Eudora; Mozilla Thunderbird.
Credit for this answer must go to http://www.brianstevenson.com/blog/adobe-acrobat-reader-x-there-was-error-opening-document -access-denied -
PO Print Preview Error 06019 "Document does not exist"
Hi people , i`ve the following issue. I`ve noticed that when creating a PO if the user clicks con the "Print Preview" BEFORE Holding or Saving the document , the system will give the following error msg :
Document does not exist
Message no. 06019
And then the system will hang , you won`t be able to go back and the whole PO is lost . Does anyone knows how to solve this ? thanks a lot for any help .Issue already discussed in this link Re: Unable to Save RFQ and PO.
-
Please Help!! Error in document : BKPFF $ DEVCLNT
Hi All Gurus,
I am trying to use BAPI - BAPI_ACC_DOCUMENT_POST to post to FB50.
I am using the below paramaters -
DOCUMENTHEADER
TABLES
ACCOUNTGL
CURRENCYAMOUNT
RETURN.
But I am getting the error - Error in document : BKPFF $ DEVCLNT. Can someone please help me with this. I have been breaking my head over this. Dont know what is going wrong! .
Thanks, Nina.Thanks for all your help, Aaron.
*T Y P E S *
TYPES: BEGIN OF t_indata,
t_ddate(8) TYPE c,
t_ref(17) TYPE c,
t_dbank(8) TYPE c,
t_disno(4) TYPE c,
t_glacnt(10) TYPE c,
t_descrip(50) TYPE c,
t_damt(13) TYPE c,
t_jobid(8) TYPE c,
t_rexpen(8) TYPE c,
t_tperiod(8) TYPE c,
t_tnumb(8) TYPE c,
t_ctrans(8) TYPE c,
t_ccenter(10) TYPE c,
END OF t_indata.
TYPES: BEGIN OF t_error,
t_ddate(8) TYPE c,
t_ref(17) TYPE c,
t_dbank(8) TYPE c,
t_disno(4) TYPE c,
t_glacnt(10) TYPE c,
t_descrip(50) TYPE c,
t_damt(13) TYPE c,
t_jobid(8) TYPE c,
t_rexpen(8) TYPE c,
t_tperiod(8) TYPE c,
t_tnumb(8) TYPE c,
t_ctrans(8) TYPE c,
t_ccenter(10) TYPE c,
message(100) type c, " Error message
END OF t_error.
*W O R K A R E A S *
DATA: w_indata TYPE t_indata,
w_error TYPE t_error.
*I N T E R N A L T A B L E S *
DATA: i_indata TYPE STANDARD TABLE OF t_indata WITH HEADER LINE,
i_error TYPE STANDARD TABLE OF t_error WITH HEADER LINE.
DATA: i_acgl LIKE BAPIACGL09 OCCURS 0 WITH HEADER LINE,
i_currency LIKE BAPIACCR09 OCCURS 0 WITH HEADER LINE,
i_return LIKE BAPIRET2 OCCURS 0 WITH HEADER LINE.
*V A R I A B L E S *
DATA: v_file TYPE string,
v_string(1022), " To read data from file
v_ddate(10) TYPE c,
v_pdate(10) TYPE c,
v_dcre type wrbtr, " Dollar Amount credit conv
v_ddeb TYPE wrbtr, " Dollar Amount debit conv
v_lines TYPE i, " used for format message
v_msg(100), " used for Error message
v_ind TYPE i,
v_index type i.
DATA: V_DOCHEADER LIKE BAPIACHE09.
V_OBJ_TYPE LIKE BAPIACHE09-OBJ_TYPE,
V_OBJ_KEY LIKE BAPIACHE09-OBJ_KEY,
V_OBJ_SYS LIKE BAPIACHE09-OBJ_SYS.
*C O N S T A N T S *
CONSTANTS: c_creacnt TYPE string VALUE '111444', " Liability account
c_del type x value '09', " for hash delimited file
c_fslash VALUE '\', " Used for Forward slash
c_bslash VALUE '/'. " Used for backward slash
*S E L E C T I O N S C R E E N
SELECTION-SCREEN SKIP.
SELECTION-SCREEN BEGIN OF BLOCK first WITH FRAME TITLE text-001.
PARAMETERS: p_fname LIKE rlgrap-filename OBLIGATORY DEFAULT 'C:\CorpCard.txt', " File name
rd_pserv RADIOBUTTON GROUP radi DEFAULT 'X', " Pres. Server
rd_aserv RADIOBUTTON GROUP radi. " App. Server
Error file
parameters: p_efile type rlgrap-filename default
'/tmp/CorpCard_error'.
SELECTION-SCREEN END OF BLOCK first.
At selection-screen
Check which file is selected
AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_fname.
Perform to get the current value of the selection screen
PERFORM get_current_value.
IF rd_aserv = 'X'.
MESSAGE i398 WITH 'Can not browse unix directories'(030).
ELSE.
F4 help for presentation server file name
PERFORM get_local_file_name USING 'P_FNAME' CHANGING p_fname.
ENDIF.
AT SELECTION-SCREEN.
perform to validate input file
PERFORM validate_filename USING p_fname.
S T A R T O F S E L E C T I O N *
START-OF-SELECTION.
Presentation File upload
if rd_pserv = 'X'.
perform upload_pre_file.
endif.
Unix File Upload
if rd_aserv = 'X'.
perform upload_unix_file.
endif.
Perform to populate the internal table to the bapi.
PERFORM populate_debit.
Perform to populate the internal table to the bapi.
PERFORM populate_credit.
Perform to process the input data and post to FB50
PERFORM post_data.
E N D O F S E L E C T I O N *
END-OF-SELECTION.
*if not i_error[] is initial.
perform to generate error file and send to application server
perform generate_error_report.
endif.
*& Form get_current_value
FORM get_current_value .
Local internal table for screen fields
DATA: BEGIN OF i_dynpfields OCCURS 0.
INCLUDE STRUCTURE dynpread.
DATA: END OF i_dynpfields.
CLEAR i_dynpfields.
REFRESH i_dynpfields.
i_dynpfields-fieldname = 'RD_ASERV'.
APPEND i_dynpfields.
CALL FUNCTION 'DYNP_VALUES_READ'
EXPORTING
dyname = sy-cprog
dynumb = sy-dynnr
TABLES
dynpfields = i_dynpfields
EXCEPTIONS
invalid_abapworkarea = 1
invalid_dynprofield = 2
invalid_dynproname = 3
invalid_dynpronummer = 4
invalid_request = 5
no_fielddescription = 6
invalid_parameter = 7
undefind_error = 8
double_conversion = 9
OTHERS = 10.
IF sy-subrc <> 0.
MESSAGE i398 WITH 'Unbale to read the selection screen values'(031)
ELSE.
READ TABLE i_dynpfields INDEX 1.
IF sy-subrc = 0.
MOVE i_dynpfields-fieldvalue TO rd_aserv.
ENDIF.
ENDIF.
ENDFORM. " get_current_value
*& Form get_local_file_name
FORM get_local_file_name USING p_file
CHANGING p_cfile.
Local variable
DATA: l_fname LIKE ibipparms-path, " File name
v_repid LIKE sy-repid.
l_fname = p_file.
v_repid = sy-repid.
CALL FUNCTION 'F4_FILENAME'
EXPORTING
program_name = v_repid
dynpro_number = sy-dynnr
field_name = p_file
IMPORTING
file_name = l_fname
EXCEPTIONS
OTHERS = 1.
IF sy-subrc = 0.
p_cfile = l_fname.
ENDIF.
ENDFORM. " get_local_file_name
*& Form validate_filename
FORM validate_filename USING p_fname TYPE any.
IF rd_aserv = 'X'.
Local variable for file length
DATA : l_len TYPE i.
l_len = STRLEN( p_fname ).
IF p_fname CA space.
IF sy-fdpos < l_len.
MESSAGE e398 WITH 'File name should not contain spaces'(032).
ENDIF.
ENDIF.
IF p_fname CA c_fslash.
MESSAGE e398 WITH 'File name should not contain \'(033).
ENDIF.
IF p_fname NA c_bslash. " No directory path given
MESSAGE w398 WITH 'File will be created in home directory'(034).
ENDIF.
ENDIF.
IF p_fname0(1) = c_fslash AND p_fname1 = space.
MESSAGE e398 WITH 'File name should not contain only /'(035).
ENDIF.
ENDFORM. " validate_filename
*& Form upload_pre_file
FORM upload_pre_file.
v_file = p_fname.
CALL FUNCTION 'GUI_UPLOAD'
EXPORTING
filename = v_file
filetype = 'ASC'
has_field_separator = 'X'
dat_mode = ' '
TABLES
data_tab = i_indata
EXCEPTIONS
file_open_error = 1
file_read_error = 2
no_batch = 3
gui_refuse_filetransfer = 4
invalid_type = 5
no_authority = 6
unknown_error = 7
bad_data_format = 8
header_not_allowed = 9
separator_not_allowed = 10
header_too_long = 11
unknown_dp_error = 12
access_denied = 13
dp_out_of_memory = 14
disk_full = 15
dp_timeout = 16
OTHERS = 17.
IF sy-subrc <> 0.
MESSAGE e398 WITH 'Unable to upload the file'(002).
ENDIF.
ENDFORM. " upload_pre_file
*& Form upload_unix_file
FORM upload_unix_file .
open dataset p_fname for input in text mode encoding default.
if sy-subrc <> 0.
message i398 with 'File open error(012)'(012) p_fname.
stop.
else.
do.
clear: v_string.
read dataset p_fname into v_string.
case sy-subrc.
when 0.
split v_string at c_del
into i_indata-t_glacnt
i_indata-t_descrip
i_indata-t_damt
i_indata-t_ccenter.
append i_indata.
clear i_indata.
when 4.
exit.
when 8.
message i398 with 'Unable to Read the File'(008) p_fname.
stop.
endcase.
enddo.
close dataset p_fname.
endif.
ENDFORM. " upload_unix_file
*& Form post_data
FORM post_data .
V_DOCHEADER-BUS_ACT = 'RFBU'.
*V_DOCHEADER-OBJ_TYPE = 'BKPF'.
*V_DOCHEADER-OBJ_KEY = '$'.
V_DOCHEADER-USERNAME = 'VSAWANT'.
V_DOCHEADER-COMP_CODE = 'BP01'.
V_DOCHEADER-DOC_DATE = SY-DATUM.
V_DOCHEADER-PSTNG_DATE = SY-DATUM.
*V_DOCHEADER-FIC_PERIOD = '00'.
V_DOCHEADER-HEADER_TXT = 'Amex Card Upload'.
V_DOCHEADER-DOC_TYPE = 'SA'.
CALL FUNCTION 'BAPI_ACC_DOCUMENT_POST'
EXPORTING
DOCUMENTHEADER = V_DOCHEADER
CUSTOMERCPD =
CONTRACTHEADER =
IMPORTING
OBJ_TYPE = V_DOCHEADER-OBJ_TYPE
OBJ_KEY = V_DOCHEADER-OBJ_KEY
OBJ_SYS = V_DOCHEADER-OBJ_SYS
TABLES
ACCOUNTGL = i_acgl
ACCOUNTRECEIVABLE =
ACCOUNTPAYABLE =
ACCOUNTTAX =
CURRENCYAMOUNT = i_currency
CRITERIA =
VALUEFIELD =
EXTENSION1 =
RETURN = i_return.
PAYMENTCARD =
CONTRACTITEM =
EXTENSION2 =
REALESTATE = .
refresh i_acgl.
refresh i_currency.
clear i_acgl.
clear i_currency.
if V_DOCHEADER is initial.
i_error[] = i_indata[] .
read table i_return index 1.
i_error-message = i_return-message.
append i_error.
clear i_error.
else.
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
wait up to 3 seconds.
endif.
ENDFORM. " post_data
*& Form populate_debit
FORM populate_debit .
DATA: l_debamt(16) type c.
clear: v_index,
l_debamt.
loop at i_indata from 2.
v_ddeb = i_indata-t_damt.
v_dcre = v_dcre + i_indata-t_damt.
v_index = v_index + 1.
i_acgl-ITEMNO_ACC = v_index.
i_acgl-GL_ACCOUNT = i_indata-t_glacnt.
i_acgl-ITEM_TEXT = i_indata-t_descrip.
i_acgl-DOC_TYPE = 'SA'.
i_acgl-COMP_CODE = 'BP01'.
i_acgl-COSTCENTER = i_indata-t_ccenter.
i_acgl-DE_CRE_IND = 'S'.
append i_acgl.
clear i_acgl.
write v_ddeb to l_debamt currency 'USD'.
i_currency-ITEMNO_ACC = v_index.
i_currency-CURRENCY = 'USD'.
i_currency-AMT_DOCCUR = i_indata-t_damt.
append i_currency.
clear i_currency.
clear: v_ddeb.
endloop.
ENDFORM. " populate_debit
*& Form populate_credit
FORM populate_credit .
DATA: l_creamt(16) type c.
clear: l_creamt.
v_index = v_index + 1.
i_acgl-ITEMNO_ACC = v_index.
i_acgl-GL_ACCOUNT = c_creacnt.
i_acgl-ITEM_TEXT = .
i_acgl-DOC_TYPE = 'SA'.
i_acgl-COMP_CODE = 'BP01'.
i_acgl-DE_CRE_IND = 'H'.
append i_acgl.
clear: i_acgl.
write v_dcre to l_creamt currency 'USD'.
i_currency-ITEMNO_ACC = v_index.
i_currency-CURRENCY = 'USD'.
i_currency-AMT_DOCCUR = v_dcre.
append i_currency.
clear: i_currency.
clear: v_index.
ENDFORM. " populate_credit
*& Form generate_error_report
FORM generate_error_report .
data: credit(16) type c.
WRITE :/1 'Title: Corporate Card Upload'(006),
/ 'Program:'(007), sy-repid,
/ 'Date:'(008), SY-DATUM.
skip 1.
uline:/(200).
format color col_heading on.
write:/(1) sy-vline,
(8) 'Posting Date'(020),
(1) sy-vline,
(12) 'GL Account'(021),
(1) sy-vline,
(17) 'Description'(022),
(1) sy-vline,
(17) 'Dollar Amount'(023),
(1) sy-vline,
(17) 'Cost Center'(024),
(1) sy-vline,
(100) 'Error/Success Message'(028),
(1) sy-vline.
uline:/(200).
format color off.
write:/(1) sy-vline,
(8) sy-datum,
(1) sy-vline,
(12) '113000',
(1) sy-vline,
(17) 'Clearing Account',
(1) sy-vline,
(17) v_dcre,
(1) sy-vline,
(100) i_error-message,
(1) sy-vline.
uline:/(200).
loop at i_error from 2.
write:/(1) sy-vline,
(8) sy-datum,
(1) sy-vline,
(12) i_error-t_glacnt,
(1) sy-vline,
(17) i_error-t_descrip,
(1) sy-vline,
(17) i_error-t_damt,
(1) sy-vline,
(17) i_error-t_ccenter,
(1) sy-vline,
(100) i_error-message,
(1) sy-vline.
endloop.
uline:/(200).
clear: v_dcre.
Maybe you are looking for
-
How to create a variable, and how to use the same across all the reports?
Hi, Is there any possibility of creating a variable at once and making use of that across in all the Crystal Reports? Thanks In advance for your time and solution.
-
Hi! I just synched/updated my ipod touch. Now when I went to use it I received a mesg saying that the Restore was successfully completed and I just need to follow a few steps and I'm done! I follow the steps and it asks me for my apple id and passwor
-
How to add an extra DVD drive to a MacPro?
How to add an extra DVD drive to a MacPro? Is there any where instruction on the procedure?
-
Do I need a router when I have time capsule
I'm so new with iMac. Thinking getting a time capsule for movies and music so if I get a time capsule do I need a rout with it
-
TS2446 Please help my apple id has been disabled
And not for security reasons