The attachment can not find using method CL_CRM_DOCUMENTS~GET_INFO
Hi Dear Experts,
I'm new guy in CRM, I used to develop in ECC. Here I encount an issue. We have attachment in the order. On web UI we can see the attachment is attached on the order. But when I use method CL_CRM_DOCUMENTS~GET_INFO to get the information of the attachment, I get nothing.
I get GUID via table CRMD_ORDERADM_H with OBJECT_ID = order ID, get GUID and OBJECT TYPE, past it into method GET_INFO's interface BUSINESS_OBJECT, But I can not get anything. I go to SU53, there are no authorization meesage about this method. Actually it informs me that I lost authorization object S_TABU_NAM, but it is related with SE16. So I don't think this cause the failure of get_info.
Can anyone kindly give me any hints? Thank you so much.
Regards
Jay
Hi Experts,
I find that these attachments are Archived. So I think I can't get their information. So the next step is how to get the link information. Thanks.
Regards
Jay
Similar Messages
-
Java.lang.AssertionError: Can not find generic method public abstract
I just downloaded the JDev 11g and trying to test the JEE web app. Below is my install:
JDeveloper 11g
JEE Web Project
EJB 3.0
Steps taken:
1. Created an entity bean from a table.
2. Created a session facade
3. Create sample Java client to use the facade (Right-click on the session facade, and choose New sample Java Client from the context menu)
4. Run the session facade
5. Run the Java client
I got the following error.
java.lang.AssertionError: Can not find generic method public abstract java.util.List<com.oracle.orm.model.ejb.persistence.Hosttags> queryHosttagsFindAll() in EJB Object
I checked the methods in the beans and interfaces, they are all there. Any idea?
Thanks.I have a customer that has this problem.
We wrote me that:
we got a java.lang.NoSuchMethodException while the method exist even in the generated (by WLS) stub.
when we change the interface by putting a "list" instead of list <> then it works.
hope it can help, but should be great know why.
Regards
Marco
글 수정: user10649412 -
When sending email PO in a PDF attachment, the attachment can not be openen
Hi all,
We are trying to send an email with the PO in PDF format. We got the email but the attachment can not be opened.
Error reads: Adobe could not open test.pdf because it is either not a supported file type or because the file has been damaged (for example , it was send as a email attachemnet and was not correctly decoded).
Could any body bring some light? We know that everything in SCOT is fine because we can email the PO through configuration to the vendor without problem. It is just these extra copies that do not work.
a) We are modifying our custom Print program to add the code below after closing the form.
in few words:
a) We are getting the OTF from closing the form.
b) Converting the OTF to PDF
c) Sending the PDF as attachment.
data: lt_docs TYPE TABLE OF docs.
data: pdf_bytecount TYPE i.
data: begin of pdfout occurs 0,
tline type tline,
end of pdfout.
Ende Formulardruck --------------------------------------------------*
CALL FUNCTION 'CLOSE_FORM'
IMPORTING
result = result
tables
otfdata = otf.
IF RESULT-TDSPOOLID NE SPACE.
SPOOLID = RESULT-TDSPOOLID.
PERFORM PROTOCOL_UPDATE USING '320' SPOOLID SPACE SPACE SPACE.
ENDIF.
if result-userexit eq 'C' or
result-userexit eq 'E'.
retco = '9'.
endif.
CALL FUNCTION 'CONVERT_OTF_2_PDF'
IMPORTING
bin_filesize = pdf_bytecount
TABLES
otf = otf
doctab_archive = lt_docs
lines = pdfout
EXCEPTIONS
err_conv_not_possible = 1
err_otf_mc_noendmarker = 2
OTHERS = 3.
Creation of the document to be sent File Name
maildata-obj_name = 'TEST'.
Mail Subject
maildata-obj_descr = 'Subject'.
Mail Contents
append mailtxt.
describe table mailtxt lines tab_lines.
read table mailtxt index tab_lines.
maildata-doc_size = ( tab_lines - 1 ) * 255 + STRLEN( mailtxt ).
Creation of the entry for the compressed document
clear mailpack-transf_bin.
mailpack-head_start = 1.
mailpack-head_num = 0.
mailpack-body_start = 1.
mailpack-body_num = tab_lines.
mailpack-doc_type = 'RAW'.
append mailpack.
Move OTF code to structure SOLI form email
CLEAR solisti1. REFRESH solisti1.
LOOP AT otf.
solisti1-line = otf.
APPEND solisti1.
ENDLOOP.
Move pdf code to structure soli form email
clear solisti1. refresh solisti1.
loop at pdfout.
solisti1-line = pdfout.
append solisti1.
endloop.
loop at solisti1.
move-corresponding solisti1 to mailbin.
append mailbin.
endloop.
describe table mailbin lines tab_lines.
mailhead = 'TEST.OTF'.
mailhead = 'TEST.PDF'.
append mailhead.
Creation of the entry for the compressed attachment
mailpack-transf_bin = 'X'.
mailpack-head_start = 1.
mailpack-head_num = 1.
mailpack-body_start = 1.
mailpack-body_num = tab_lines.
mailpack-doc_type = 'OTF'.
mailpack-doc_type = 'PDF'.
mailpack-obj_name = 'TEST'.
mailpack-obj_descr = 'Subject'.
mailpack-doc_size = tab_lines * 255.
append mailpack.
mailrec-receiver = '[email protected]'.
mailrec-rec_type = 'U'.
append mailrec.
mailrec-receiver = '[email protected]'.
mailrec-rec_type = 'U'.
append mailrec.
CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
EXPORTING
DOCUMENT_DATA = maildata
TABLES
PACKING_LIST = mailpack
OBJECT_HEADER = mailhead
CONTENTS_TXT = mailtxt
RECEIVERS = mailrec
EXCEPTIONS
TOO_MANY_RECEIVERS = 1
DOCUMENT_NOT_SENT = 2
DOCUMENT_TYPE_NOT_EXIST = 3
OPERATION_NO_AUTHORIZATION = 4
PARAMETER_ERROR = 5
X_ERROR = 6
ENQUEUE_ERROR = 7
OTHERS = 8.
ENDFORM.Dear Monica,
You need to configure the system with respect to functional point of view and need to write the following code in print program. i have done this and solution is as follows.
<b> Reward me for this solution.</b>
Process 11 (MM) Sending RFQs and POs to vendors directly from the system instead of sending thru Courier or Fax
Existing Process (AS-IS) Presently system is not supporting this requirement
Business Requirements RFQs to be linked with vendor master with e-mail to send enquiries directly through system instead of courier/fax. Vice versa P.Os. Specifications, drawings should also go to vendor along with mail.
To-Be
Configuration Settings:
1) Spro Materials management Purchasing Messages Output control Message types Define message types for RFQ/ PO
Created ZEK1,ZMI and ZEK2 for RFQs
Created ZIK,ZOC,ZOK,ZOM,ZSI, ZSK2 and ZSM for Pos
The above New output types Included with existing Print Forms and Programs but modified with External send(5) medium, and added companys letter head thru ABAP developments (details provided below)
The above new output types also maintained for Fine- tuned control (thru same navigation) for New(1) and Change(2) operations
2) Spro Materials management Purchasing Messages Output control Message determination schemas Define message schema for RFQ/ PO
Maintained the new output types in the control data
3) Maintain Condition records for the New out put types (copied same document types from the existing old output types)
Easy access Logistics Materials management Purchasing Master data Messages MN01 (for RFQs)/ MN04 (for Pos)
4) Maintain Email id of Vendor in Vendor master.
Developments (ABAP):
1) Copied the existing print programs and forms of the corresponding out types.
2) Addition of header window in each corresponding form (HEADER window). Uploaded the HEADER3 graphics in the header window.
INCLUDE HEADER3 OBJECT GRAPHICS ID BCOL LANGUAGE EN
3) Added the the following code in TOP includes
TYPE-POOLs szadr.
INCLUDE: LMEDRUCKF09.
data: intnast LIKE snast,
lvs_recipient LIKE swotobjid, "Internet
lvs_sender LIKE swotobjid, "Internet
lvs_comm_type TYPE ad_comm,
lvs_comm_values TYPE szadr_comm_values,
p_retco TYPE i.
5) Addition of the perform to SOS include for header window display
PERFORM WRITE_FORM_HEADER.
*& Form WRITE_FORM_HEADER
text
--> p1 text
<-- p2 text
FORM WRITE_FORM_HEADER.
CALL FUNCTION 'WRITE_FORM'
EXPORTING
ELEMENT = 'HE1'
FUNCTION = 'SET'
TYPE = 'BODY'
WINDOW = 'HEADER'
IMPORTING
PENDING_LINES =
EXCEPTIONS
ELEMENT = 1
FUNCTION = 2
TYPE = 3
UNOPENED = 4
UNSTARTED = 5
WINDOW = 6
BAD_PAGEFORMAT_FOR_PRINT = 7
SPOOL_ERROR = 8
CODEPAGE = 9
OTHERS = 10
ENDFORM.
6) In the corresponding FORM include the following code has been added.
DATA: lvs_comm_type TYPE ad_comm,
lvs_comm_values TYPE szadr_comm_values,
xprogramm type sy-repid.
... use stratagy to get communication type
CALL FUNCTION 'ADDR_GET_NEXT_COMM_TYPE'
EXPORTING
strategy = nast-tcode
address_number = lfa1-adrnr
IMPORTING
comm_type = lvs_comm_type
comm_values = lvs_comm_values
EXCEPTIONS
address_not_exist = 1
person_not_exist = 2
no_comm_type_found = 3
internal_error = 4
parameter_error = 5
OTHERS = 6.
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
convert communication data
MOVE-CORRESPONDING nast TO intnast.
MOVE sy-repid TO xprogramm.
7) By using the function module we can get sender and reciepient mail ids to variables lvs_recipient lvs_sender
CALL FUNCTION 'CONVERT_COMM_TYPE_DATA'
EXPORTING
pi_comm_type = lvs_comm_type
pi_comm_values = lvs_comm_values
pi_country = lfa1-land1
pi_repid = xprogramm
pi_snast = intnast
IMPORTING
pe_itcpo = itcpo
pe_device = xdevice
pe_mail_recipient = lvs_recipient
pe_mail_sender = lvs_sender
EXCEPTIONS
comm_type_not_supported = 1
recipient_creation_failed = 2
sender_creation_failed = 3
OTHERS = 4.
IF sy-subrc <> 0.
Avoids cancellation with message TD421
p_retco = '1'. "831984
PERFORM protocol_update USING '740' space space space space.
dummy message to make the message appear in the where-used list
IF 1 = 2.
MESSAGE S740(me).
ENDIF.
EXIT.
ENDIF.
IF xdevice = 'MAIL'. "885787
Check validity of email address to avoid cancellation with TD463
CALL FUNCTION 'SX_ADDRESS_TO_DEVTYPE' "831984
EXPORTING
recipient_id = lvs_recipient
sender_id = lvs_sender
EXCEPTIONS
err_invalid_route = 1
err_system = 2
OTHERS = 3.
IF SY-SUBRC <> 0.
p_retco = '1'.
PERFORM protocol_update USING '740' space space space space.
dummy message to make the message appear in the where-used list
IF 1 = 2.
MESSAGE S740(me).
ENDIF.
EXIT.
ENDIF.
ENDIF.
8) Attaching the new print program and form in NACE transaction.
Steps for End user:
1) Creating the Purchase Order or RFQ with suitable document type through ME21N or ME41 .
2) Executing the transaction ME9F and in selecting the suitable output type.
3) Executing the transaction ZSEND_PDOC using INT as input.
4) With above steps we can able to send purchase order or RFQ to vendor as an attachment through e-mail in PDF format.
Regards
Badari -
i am trying to find jag meltdown the 2 part to the end of jag and beginning of ncis I can not find anything even wiki would like to download the episode can not find on itunes if possible otherwise is harem found guilty?
i am trying to find jag meltdown the 2 part to the end of jag and beginning of ncis I can not find anything even wiki would like to download the episode can not find on itunes if possible otherwise is harem found guilty?
-
Error : 'The Connection can not be used to perform thsi operation
Dear All,
I am getting an error like 'The Connection can not be used to perform thsi operation, it is either close or Invalid in this context.
Below is the code what am using:
Sub Select_Query()
Dim SQL_String As String
Dim rs As ADODB.Recordset 'This holds the data
Dim cn As ADODB.Connection 'Declaring Connection
Dim cmdobj As ADODB.Command 'Declare command Object
'Sheets("Payment").Select
Set cn = New ADODB.Connection
cn.Open ("Provider=MSDAORA;Data Source=MyDatabase;User ID=Prasad; Password=Prasad12;")
Dim count_value As Long
count_value = WorksheetFunction.CountA(Worksheets("Payments").Range("A:A"))
For i = 4 To count_value
SQL_String = Worksheets("Payments").Range("AA" & i).Value
Set rs = New ADODB.Recordset
rs.CursorLocation = adUseClient
rs.Open SQL_String, cn, adOpenForwardOnly, adLockOptimistic, adCmdText
Dim val As Integer
val = rs.recordCount
If val = 0 Then
Worksheets("Payments").Range("AZ" & i).Value = "No"
'Else
'Worksheets("Uploaded").Range("O" & i).Value = "Yes"
End If
cn.Close
Set con = Nothing
Next
'cn.Execute SQL_String
'con.Close
Set con = Nothing
End Sub
And select statment is picking one of the sheets, and SQL query is:
="SELECT sa.acct_id
FROM ci_sa sa, ci_sp sp, ci_sa_sp ss, ci_sp_geo spg,ci_acct_char cac
WHERE sa.sa_id = ss.sa_id
AND ss.sp_id = sp.sp_id
AND sp.sp_id = spg.sp_id
AND spg.geo_type_cd LIKE '%RR%'
AND spg.geo_val ='"&B4&"'
and sa.ACCT_ID=cac.ACCT_ID
AND cac.char_type_cd LIKE '%SDO%'
AND TRIM (char_val) IN ('"&Master!G9&"')"
Please help me in this..
Regards,
PrasadPlease, this is a Oracle forum, not a VBA forum. Mark this thread as answered and post it in a VBA forum.
-
i am getting a message - the iphone can not be used because the apple mobile devise service is not started - what does this mean - what do i need to do?
See Here... http://support.apple.com/kb/TS1567
-
When I try to play a song on I-Tunes, I receive the Message "The song can not be used because the original can not be found. Can anyone out there help me with this problem?
The iTunes application saves your iTunes Store purchases--as well as any music, audiobooks, or videos you import--to your computer's hard disk, not the iTunes application itself.
The error message you note indicates that the purchase in question can’t be located where it is stored in your iTunes Music folder in order to play it, and may have been moved or deleted.
You will need to help iTunes locate the file. Follow the steps in this article:
http://support.apple.com/kb/TS1967
This article may also be helpful:
http://support.apple.com/kb/TS1408 -
I keep getting a message that the computer can not find a .local server
I keep getting a message that the computer can not find a .local server
Hi, ImTiffanyA.
The most common cause for this issue would be media present that is purchased with another Apple ID. The article below will walk you through the process of verifying if that is the case or correcting the issue if not.
iTunes repeatedly prompts to authorize computer to play iTunes Store purchases
http://support.apple.com/kb/TS1389
Cheers,
Jason H. -
the spotlight can not find anything or any person form the contact list... by name, surname other details...
The same on my iPhone 4S with iOS 5.0.1. Must disable the in-Mail search option in General->Spotlight settings menu to make it work again, but you loose all the Mail indexing.
-
My Firefox crashes frequently, The system goes to the grayed screen and sits there until I try to close it, then it says "Firefox not responding" and I close the program. When I go to "about:crashes" it says the report was submitted, but I never get any feedback and when I try to retrieve the report to look at it, the system can never find it. This happens at least twice daily. It keeps searching for a while, then displays the gratituous "Oh Noes. The report could not be located" message. I've included the latest crash report address.
Firefox 4 requires at least OS X 10.5. You can get the latest version of Firefox 3.6 from http://www.mozilla.com/en-US/firefox/all-older.html
Mozilla are working to prevent Mac users with non-compatible systems from getting the notification about Firefox 4, and also not displaying the "Download Firefox 4" button on http://www.mozilla.com -
Nokia 920 all the sudden can NOT find my wireless...
All other devices such as laptops and tablets as well as other smartphones will find my network but the 920 can not. It was working fine for the last few months earlier today it lost connection and now can not find the network . ive reset the phone and the network.
What kind of reset did you perform?
-
When i want download Firefox it won't find it. the system can not find a stock.
I did a few clean ups but now Firefox can not be installed on my laptop anymore. When i download it it wont find it anymore on my system.
Can you explain what it is.
With respect
MarienBoot the computer in Windows Safe Mode with network support (press F8 on the boot screen) as a test to see if that helps.
Do a malware check with some malware scanning programs on the Windows computer.<br>
Please scan with all programs because each program detects different malware.<br>
All these programs have free versions.
Make sure that you update each program to get the latest version of their databases before doing a scan.
*Malwarebytes' Anti-Malware:<br>http://www.malwarebytes.org/mbam.php
*AdwCleaner:<br>http://www.bleepingcomputer.com/download/adwcleaner/<br>http://www.softpedia.com/get/Antivirus/Removal-Tools/AdwCleaner.shtml
*SuperAntispyware:<br>http://www.superantispyware.com/
*Microsoft Safety Scanner:<br>http://www.microsoft.com/security/scanner/en-us/default.aspx
*Windows Defender: Home Page:<br>http://www.microsoft.com/windows/products/winfamily/defender/default.mspx
*Spybot Search & Destroy:<br>http://www.safer-networking.org/en/index.html
*Kasperky Free Security Scan:<br>http://www.kaspersky.com/security-scan
You can also do a check for a rootkit infection with TDSSKiller.
*Anti-rootkit utility TDSSKiller:<br>http://support.kaspersky.com/5350?el=88446
See also:
*"Spyware on Windows": http://kb.mozillazine.org/Popups_not_blocked -
Lost the TIMELINE form the screen, can not find it back !
Hello,
I was adjusting the presentation of FCP. Adjusting the canvas and switching it with the viewer on my second screen and the timeline that I always have under the viewer and the canvas just disappeared !
When I go to "Window" in the menu it indicates that the Timeline is on. I tried restarting FCP, restarting my computer, looking in spaces, pressing F9 to have the overview of all my open windows but I can't find the Timeline.
Can somebody tell me what is this joke.
Thanks for reading !Doing that shows me my sequence in the canvas but nothing happens with the timeline
-
after i plug my ipod at my windows xp desktop it start automatic update on my itune after downloading the update it start detecting showing new devices is were detected from usb,then the download of the i tune stop responding and it show error can'not locate itune.msi.what can i do to make it right.thank Q.
Try:
'Removing and Reinstalling iTunes, QuickTime, and other software components for Windows XP
Maybe here:
Trouble installing iTunes or QuickTime for Windows -
I have just unpacked My brand new iPhone 4 and started The settings, chipsen language and then The Phone tres to find My home Network without sucess. My orter iphones Worms with My wifi so there is no fail there.
More than likely there is a fail there.
http://support.apple.com/kb/TS1398
Maybe you are looking for
-
JRE death - fatal error (EXCEPTION_ACCESS_VIOLATION)
This always happens at [ntdll.dll+0x1b21a] And the stacktrace is exactly the same. # A fatal error has been detected by the Java Runtime Environment: # EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x7c91b21a, pid=976, tid=4004 # JRE version: 6.0_14-
-
Adobe Reader Transitition Update for SCCM
Hi all, i just downloaded the latest Adobe Reader 11.X Catalogs for SCUP. I would like to upgrade all of our 10.X Adobe Reader Versions to 11.X, but the Transition Update "Adobe Reader 10 Transition" seems to work only for english Installations. All
-
Keep getting an error message after signing in when trying to buy a song
keep getting error message after a login and try to buy a song 'we could not complete your itunes request an unknown error occured 9808'- thought maybe it was my p/w but have reset this-is there something wrong its been 2 days now.
-
Hi guys... I have completed my OCP EXAM: Oracle Database 10g: Administration II, EXAM NUMBER: 043, on DATE: September 17, 2009, but I did not submit my Hands on Requirement, Now this month (March,2013) I have successfully completed my Hands on Requir
-
Error "Wire: is a member of a cycle
I am doing decoupling control of MIMO system in LabVIEW Control Design and Simulation module. Simulating the controller and the plant transfer functions, gives the error "Wire: is a member of a cycle".I understand this is coz of the Three transfer fu