Getting an error while using BAPI for data upload using FB50
Hi,
Can someone please help with the error below :
To Upload Data Using FB50 , am using 'BAPI_ACC_DOCUMENT_POST' FM
and passing values as
obj_type = REACI
obj_KEY = '$'
obj_sys = t000-logsys
getting errors errors in return as
'Error in document: REACI $ R3_AFRICA
G/L account 2511510 is not defined in chart of accounts CSGP(though the account exists in the COA)
Control indicators for controlling area EU01 do not exist'.(we have not input any indicators)
Thanks
Control indicators for controlling area (t-code OKKP ) is a primary configuration before the company is set to production. Here we maintain which sub areas of controlling are activated. Have a look at those settings.
Check the validity of the accounts/cost element in the KA03 to ensure the cost element is valid on the date of transaction.
What is the error message number?
Similar Messages
-
Error while doing PGI for Outbound delivery using BAPI BAPI_GOODSMVT_CREATE
Hi All,
I am getting an below error while doing PGI for outbound delivery using the BAPI BAPI BAPI_GOODSMVT_CREATE:
Goods movement not possible with mvmt type 601
Can anyone suggest me what will be the solution for it?
Regards,
Raghuraman.kI tried with the above BAPI but it is not working.
In my case a delivery has one line item with batch split and other line item without batch split.
Below is my code :
DATA : gwa_header_data TYPE bapiobdlvhdrcon,
gwa_header_ctrl TYPE bapiobdlvhdrctrlcon,
lv_delivery TYPE bapiobdlvhdrcon-deliv_numb,
git_item_data TYPE STANDARD TABLE OF bapiobdlvitemcon,
gwa_item_data TYPE bapiobdlvitemcon,
git_item_ctrl TYPE STANDARD TABLE OF bapiobdlvitemctrlcon,
gwa_item_ctrl TYPE bapiobdlvitemctrlcon,
git_return TYPE STANDARD TABLE OF bapiret2,
gwa_return TYPE bapiret2.
*Header data
gwa_header_data-deliv_numb = '0808000002'.
*Header Control data
gwa_header_ctrl-deliv_numb = '0808000002'.
gwa_header_ctrl-post_gi_flg = 'X'.
*Delivery Number
lv_delivery = '0808000002'.
*Item data and its corresponding control data
gwa_item_data-deliv_numb = '0808000002'.
gwa_item_data-deliv_item = '900002'.
gwa_item_data-dlv_qty = 4.
gwa_item_data-dlv_qty_imunit = 4.
gwa_item_data-fact_unit_nom = 1.
gwa_item_data-fact_unit_denom = 1.
APPEND gwa_item_data TO git_item_data.
gwa_item_ctrl-deliv_numb = '0808000002'.
gwa_item_ctrl-deliv_item = '900002'.
gwa_item_ctrl-chg_delqty = 'X'.
APPEND gwa_item_ctrl TO git_item_ctrl.
gwa_item_data-deliv_numb = '0808000002'.
gwa_item_data-deliv_item = '900003'.
gwa_item_data-dlv_qty = 6.
gwa_item_data-dlv_qty_imunit = 6.
gwa_item_data-fact_unit_nom = 1.
gwa_item_data-fact_unit_denom = 1.
APPEND gwa_item_data TO git_item_data.
gwa_item_ctrl-deliv_numb = '0808000002'.
gwa_item_ctrl-deliv_item = '900003'.
gwa_item_ctrl-chg_delqty = 'X'.
APPEND gwa_item_ctrl TO git_item_ctrl.
gwa_item_data-deliv_numb = '0808000002'.
gwa_item_data-deliv_item = '000020'.
gwa_item_data-dlv_qty = 10.
gwa_item_data-dlv_qty_imunit = 10.
gwa_item_data-fact_unit_nom = 1.
gwa_item_data-fact_unit_denom = 1.
APPEND gwa_item_data TO git_item_data.
gwa_item_ctrl-deliv_numb = '0808000002'.
gwa_item_ctrl-deliv_item = '000020'.
gwa_item_ctrl-chg_delqty = 'X'.
APPEND gwa_item_ctrl TO git_item_ctrl.
BREAK-POINT.
CALL FUNCTION 'BAPI_OUTB_DELIVERY_CONFIRM_DEC'
EXPORTING
header_data = gwa_header_data
header_control = gwa_header_ctrl
delivery = lv_delivery
TABLES
item_data = git_item_data
item_control = git_item_ctrl
return = git_return.
BREAK-POINT.
IF git_return IS INITIAL.
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
ENDIF. -
Hi,
I am trying to install "System Center 2012 - Virtual Machine Manager by Using a Pre-Configured VHD".
I downloaded install guide & the binaries from http://www.microsoft.com/en-us/download/details.aspx?displaylang=en&id=10712
I have followed the installation document & getting an error while configuring VMM for System Center 2012.
error details from log file given below:
01:12:24:VMMPostinstallProcessor threw an exception: Threw Exception.Type: Microsoft.Carmine.WSManWrappers.WSManProviderException, Exception.Message: An internal error has occurred trying to contact an agent on the WIN-NTJTNEJ1UCN.mydomain.com server: : .
Ensure the agent is installed and running. Ensure the WS-Management service is installed and running, then restart the agent.
01:12:24:StackTrace: at Microsoft.Carmine.WSManWrappers.ErrorContextParameterHelper.ThrowTranslatedCarmineException(WsmanSoapFault fault, COMException ce)
at Microsoft.Carmine.WSManWrappers.WsmanAPIWrapper.RetrieveUnderlyingWMIErrorAndThrow(SessionCacheElement sessionElement, COMException ce)
at Microsoft.Carmine.WSManWrappers.WsmanAPIWrapper.Invoke(String actionUri, WSManUri targetUri, Hashtable parameters, Type returnType, Boolean isCarmineMethod, Boolean forceResponseCast)
at Microsoft.Carmine.WSManWrappers.AgentManagement.AssociateLibrary(WsmanAPIWrapper wsmanObject, String CertificateSubjectName, String& ExportedCertificate, ErrorInfo& ErrorInfo)
at Microsoft.VirtualManager.Setup.VirtualMachineManagerHelpers.AssociateAgentServer(String fullyQualifiedServerName)
at Microsoft.VirtualManager.Setup.VirtualMachineManagerHelpers.AssociateDefaultLibraryServer()
at Microsoft.VirtualManager.Setup.VirtualMachineManagerHelpers.SetupLibraryShare()
at Microsoft.VirtualManager.Setup.InstallItemCustomDelegates.PangaeaServerPostinstallProcessor()
01:12:24:InnerException.Type: System.Runtime.InteropServices.COMException, InnerException.Message: There is a time and/or date difference between the client and server.
01:12:24:InnerException.StackTrace: at WSManAutomation.IWSManSession.Invoke(String actionUri, Object resourceUri, String parameters, Int32 flags)
at Microsoft.Carmine.WSManWrappers.MyIWSManSession.Invoke(String actionUri, Object resourceUri, String parameters, Int32 flags)
at Microsoft.Carmine.WSManWrappers.WsmanAPIWrapper.Invoke(String actionUri, WSManUri targetUri, Hashtable parameters, Type returnType, Boolean isCarmineMethod, Boolean forceResponseCast)
01:12:24:ProcessInstalls: Running the PostProcessDelegate returned false.
01:12:24:ProcessInstalls: Running the PostProcessDelegate for PangaeaServer failed.... This is a fatal item. Setting rollback.
01:12:24:SetProgressScreen: FinishMinorStep.
01:12:24:ProcessInstalls: Rollback is set and we are not doing an uninstall so we will stop processing installs
I have completed MSSQL server configuration and while configuring VMM the below error displayed in the wizard:
An internal error has occurred trying to contact an agent on the WIN-NTJTNEJ1UCN.mydomain.com server: : .
Ensure the agent is installed and running. Ensure the WS-Management service is installed and running, then restart the agent.
I have checked that the following services are running:
1) Verified WS-Management srvice 2) MSSQL server + MSSQL (agent) 3)SC VM Manager Agent 4) Windows management instrumentation .
I have joined the VM (on which installing SC VMM) in a domain(as per install guide) and installing VMM using domain account & it is in local Administrators group.
Also I would like know if there is any stand alone SC VMM installer. If yes then please let me know the installer location & install guide.
thanks.
====Have you installed AppController on the same machine with VMM?
-
Getting the error while doing PGI for depot delivery
Hi
I am getting the below error while doing PGI for Depot delivery. This error is happening only when I taking the materials from stock transfer order which has more than 10 line items. Same issue is not happening when I am taking one material in Stock transfer order in & same material in depot delivery. Please see the screen shots below attachment. I have already maintained no range for the object J_1IDEPINV for year 2014.
Regards
PKMoved from SAP ERP SD Sales to Internationalization and Unicode. Please post all your CIN related queries here. Also ensure that before posting, you made efforts in searching in SCN or Google. The reason for this indication is the issue you posted has already been discussed many times here and you will get some clue had you searched.
G. Lakshmipathi -
Error while executing procedure for excel upload
Hi Friends
Pl. find below error while executing procedure for loading excel data. pl. verify and suggest for any changes in the format of data.
Rgds
SriGIf reading Excel as a database you would use "Access LSLINK"
Access external means you are reading a file. I don't think it is possible to treat Excel as a file because the internal structure is complex.
In the past I have saved the Excel as a CSV or as a Tab delimeted file. Then I use something like
ACCESS External
USE &filename
BEGIN
DESCRIPTION free ,
Variables text 20
Organisation text 20
'July 2008' numeric 20
'August 2008' numeric 20
'September 2008' numeric 20
'October 2008' numeric 20
'November 2008' numeric 20
'December 2008' numeric 20
'January 2009' numeric 20
'February 2009' numeric 20
'March 2009' numeric 20
'April 2009' numeric 20
'May 2009' numeric 20
'June 2009' numeric 20
END
peek
read
... quit the access sub system
END -
Getting 401 error while creating a Report Data Source with MOSS 2010 Foundation
I have setup SQL Server 2008 R2 Reporting Services with SharePoint 2010 Foundation in SharePoint integrated mode. SharePoint Foundation is in machine 1 whereas SQL Server 2008 R2 and SSRS Report Server are in machine 2. While configuring Reporting
Services - Sharepoint integration, I have used Authentication Mode as "Windows Authentication" (I need to use Kerberos).
My objective is to setup a Data Connection Library, a Report Model Library, and a Reports Library so that I can upload a Report Data Source, some SMDLs, and a few Reports onto their respective libraries.
While creating the top level site, "Business Intelligence Center" was not available for template selection since SharePoint Foundation is being used. I therefore selected "Blank Site" as the template.
While creating a SharePoint Site under the top level site, for template selection I again had to select "Blank Site".
I then proceeded to create a library for the data connection. Towards this, I created a new document library and selected "Basic page" as the document template. I then went to Library Settings for this newly created library and clicked on
Advanced Settings. In the Advanced Settings page, for "Allow management of content types?" I selected "Yes". Then I clicked on "Add from existing content types" and selected "Report Data Source". I deleted the existing
"Document" content type for this library.
Now I wanted to created a Data Connection in the above Data Connection library. For this when I clicked on "New Document" under "Documents" of "Library Tools" and selected "Report Data Source", I got the error "The
request failed with HTTP status
401: Unauthorized.".
Can anybody tell me why I am getting this error?
Note: I have created the site and the library using SharePoint Admin account.Hi,
Thank you for your detailed description. According to the description, I noticed that the report server was not part of the
SharePoint farm. Add the report server to the
SharePoint farm and see how it works.
To join a report server to a SharePoint farm, the report server must be installed on a computer that has an instance of a SharePoint product or technology. You can install the report server before or after installing the SharePoint product
or technology instance.
More information, see
http://msdn.microsoft.com/en-us/library/bb283190.aspx
Thanks.
Tracy Cai
TechNet Community Support -
Getting an Error While Retrieving a Blog Data From Database
Hi,
I am trying to make a blog. I have successfully instered the blog into the database. Now I have displayed the stored blog on the main page and tried linking it to the database to open the blog on the seperate page.
Now when the data is linked to the destination in the data base, it should open what ever is stored in the database. But instead I am getting a strange error. It gives me an error of PAGE NOT FOUND along with the data stored in the database. It does retreive the data but also displays the PAGE NOT FOUND error. The image of dataset displayed on main page is given below:
The error which is displayed when I click the link is displayed below:
Can anyone please tell me how can I remove this error and get only data stored in the database?
Any material or help will be very much appreciated.
Regards,
Bilal A. KhanHi,
Thank you very much for the reply. I have made a seperate table of Blog in the database with several fields in it. I then made a simple text boxes, text field and a submit button and with insert command I insterted it in the database. The insertion works fine.
After that, I recorset of blog was made in the dreamweaver on the main page and simple repeat region was put on the table along with the data fields. After that I linked the data field with the data base like in the picture given above.
All the data is stored in the root folder and all data is stored in the database. I am using PHP and MYSQL for develpment and using WAMP Server.
I hope I have explained about how I have made the blog. If I have not answered what you had asked, please tell me again, I will provide you with more information.
Regards,
Bilal A. Khan -
Error while calling BAPIs for DMS from Portal
Hi everybody,
We are developing a portal with Web Dynpro and trying to call from our java code BAPIs that deals with DMS:
BAPI_DOCUMENT_CREATE2 - to create a new DMS document and checkin an original.
CVAPI_DOC_CHECKIN - to checkin an original to an existing DMS document.
CVAPI_DOC_CHECKOUT - to checkout an original from the DMS.
While using other bapi's that deals with DMS but do not deals with originals (like creating a new document, retrieving metadata about documents and originals) we don't have any problem.
Only when trying to checkin or checkout originals we get the following message (from the DMS?): RFC_START_PROGRAM
the full message is: com.sap.aii.proxi.framework.core.BaseProxiException:RFC_START_PROGRAM error key:RFC_ERROR_PROGRAM.
does anybody knows the meaning of this message?
by the way - those BAPIs works well while called from the R/3. only when we call them from the portal we have this problem.
thanks for any information, Adi.Hi Adi,
Right now I have a similar problem. Did you find the cause/solution? -
Getting an error while trying to load data into cube
Hello,
I am trying to load data into cube but it gives me following error:
fiscal year variant not expected.
Can someone tell what could be done on fiscal year
Cheers
Jim.Hi,
May be you have not mapped anything to fiscal variant or not included fiscal variant in the cube but you have used fiscal period inside it.
You should load fiscal variant if you wanna use fiscal period.
Map fiscal variant to a constant K4 or from the source if present and then see the result.
Generally it is K4 except for FI-CO cubes .
In the transfer rules, select field '0fiscvarnt' 'Tp' click
Enter K4 for Constant................Save and Activate
Iam sure you'd fix the issue.
Regards,
Ray -
Getting the error while loading the master data
Hi
i have tried to delete the master data using right click and delete master data, but still there are data.
Now i am trying to load this master data again then i am getting the message "0 from 50033 records"
and data load got failed with error message "master data/text of 0vendor already deleted "
and due to this i could not able to load my other infoprovider (which have 0 vendor).
can any body help me, it very urgent...
thanks and regards
AnupamHi Raju,
I assume there are no routines written in the update rules and also you ae directly loading the data from R/3 ( not from any ODS). If that is the case then it could be that, the data maintained in R/3 has overlapping time intervals (since time dependency of attributes is involved). Check your PSA if the same profit center has time intervals which over lap. In that case, you need to get this fixed in R/3. If there are no overlapping time intervals, you can simply increase the error tolerance limit in your info-package and repeat the load.
Hope this helps you.
Thanks & Regards,
Nithin Reddy. -
Getting compilation error while writing standalone for ddi_get8
Hi All,
I have already posted a thread regarding ddi_regs_map_setup solaris system call guidance.
[Previous Query|https://forums.oracle.com/forums/thread.jspa?threadID=2314211&tstart=0]
I am writing a standalone to use this system call.
Below is my partial standalone where i have only the declaration part:
#include <stdio.h>
#include <sys/dditypes.h>
#include <sys/conf.h>
#include <sys/ddi.h>
#include <sys/sunddi.h>
int main()
dev_info_t *dip;
uint_t rnumber;
ushort_t *dev_addr;
offset_t offset;
offset_t len;
ushort_t dev_command;
ddi_device_acc_attr_t dev_attr;
ddi_acc_handle_t handle;
dev_attr.devacc_attr_version = DDI_DEVICE_ATTR_V0;
dev_attr.devacc_attr_endian_flags = DDI_STRUCTURE_LE_ACC;
dev_attr.devacc_attr_dataorder = DDI_STRICTORDER_ACC;
return 0;
The standalone give the following compilation errors:
ddiSystemcall.c: In function `main':
ddiSystemcall.c:15: error: `ddi_device_acc_attr_t' undeclared (first use in this function)
ddiSystemcall.c:15: error: (Each undeclared identifier is reported only once
ddiSystemcall.c:15: error: for each function it appears in.)
ddiSystemcall.c:15: error: syntax error before "dev_attr"
ddiSystemcall.c:16: error: `ddi_acc_handle_t' undeclared (first use in this function)
ddiSystemcall.c:17: error: `dev_attr' undeclared (first use in this function)
ddiSystemcall.c:17: error: `DDI_DEVICE_ATTR_V0' undeclared (first use in this function)
ddiSystemcall.c:18: error: `DDI_STRUCTURE_LE_ACC' undeclared (first use in this function)
ddiSystemcall.c:19: error: `DDI_STRICTORDER_ACC' undeclared (first use in this function)
Please let me know where am i going wrong.
Thanks in advance.Hi,
there is a WebCenter forum for WebCenter releated questions: WebCenter Portal
Frank -
Error while running ETL for Financials_Oracle R1213.
Hi All,
I have done all installation and configuration for OBIA 7.9.6.4. I am getting following error while running ETL for Financials_Oracle R1213.
===========================================================================================================
1)While starting DAC server, I am getting following error:
SEVERE: Incorrectly specified Post-Etl Script/Executable
================================================================================================================
2) After starting ETL Financials_Oracle R1213,
ANOMALY INFO::: Error while executing : INFORMATICA TASK:SILOS:SIL_InsertRowInRunTable:1:(Source : FULL Target : FULL)
MESSAGE:::
Irrecoverable Error
pmcmd startworkflow -sv BIA_IS -d Domain_oracle2go2.us.oracle.com -u Administrator -p **** -f SILOS -paramfile /home/oracle/Informatica/9.0.1/server/infa_shared/SILOS.SIL_InsertRowInRunTable.ORA_R1213_Flatfile.txt SIL_InsertRowInRunTable
Status Desc : Failed
WorkFlowMessage :
Error Message : Unknown reason for error code 36331
ErrorCode : 36331
EXCEPTION CLASS::: com.siebel.analytics.etl.etltask.IrrecoverableException
com.siebel.analytics.etl.etltask.InformaticaTask.doExecute(InformaticaTask.java:254)
com.siebel.analytics.etl.etltask.GenericTaskImpl.doExecuteWithRetries(GenericTaskImpl.java:477)
com.siebel.analytics.etl.etltask.GenericTaskImpl.execute(GenericTaskImpl.java:372)
com.siebel.analytics.etl.etltask.GenericTaskImpl.execute(GenericTaskImpl.java:253)
com.siebel.analytics.etl.etltask.GenericTaskImpl.run(GenericTaskImpl.java:655)
com.siebel.analytics.etl.taskmanager.XCallable.call(XCallable.java:63)
java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
java.util.concurrent.FutureTask.run(FutureTask.java:138)
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
java.util.concurrent.FutureTask.run(FutureTask.java:138)
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
java.lang.Thread.run(Thread.java:619)
(Number of retries : 1) pmcmd startworkflow -sv BIA_IS -d Domain_oracle2go2.us.oracle.com -u Administrator -p **** -f SILOS -paramfile /home/oracle/Informatica/9.0.1/server/infa_shared/SILOS.SIL_InsertRowInRunTable.ORA_R1213_Flatfile.txt SIL_InsertRowInRunTable 2013-11-27 11:26:59.923 INFORMATICA TASK:SILOS:SIL_InsertRowInRunTable:1:(Source : FULL Target : FULL) has finished execution with Failed status.2013-11-27 11:26:28.855 Acquiring Resources 2013-11-27 11:26:28.857 Acquired Resources 2013-11-27 11:26:28.858 INFORMATICA TASK:SILOS:SIL_InsertRowInRunTable:1:(Source : FULL Target : FULL) has started. ANOMALY INFO::: Error while executing : INFORMATICA TASK:SILOS:SIL_InsertRowInRunTable:1:(Source : FULL Target : FULL)MESSAGE:::Irrecoverable Errorpmcmd startworkflow -sv BIA_IS -d Domain_oracle2go2.us.oracle.com -u Administrator -p **** -f SILOS -paramfile /home/oracle/Informatica/9.0.1/server/infa_shared/SILOS.SIL_InsertRowInRunTable.ORA_R1213_Flatfile.txt SIL_InsertRowInRunTableStatus Desc : FailedWorkFlowMessage : Error Message : Unknown reason for error code 36331ErrorCode : 36331EXCEPTION CLASS::: com.siebel.analytics.etl.etltask.IrrecoverableException
com.siebel.analytics.etl.etltask.InformaticaTask.doExecute(InformaticaTask.java:254)
com.siebel.analytics.etl.etltask.GenericTaskImpl.doExecuteWithRetries(GenericTaskImpl.java:477)
com.siebel.analytics.etl.etltask.GenericTaskImpl.execute(GenericTaskImpl.java:372)
com.siebel.analytics.etl.etltask.GenericTaskImpl.execute(GenericTaskImpl.java:253)
com.siebel.analytics.etl.etltask.GenericTaskImpl.run(GenericTaskImpl.java:655)
com.siebel.analytics.etl.taskmanager.XCallable.call(XCallable.java:63)
java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
java.util.concurrent.FutureTask.run(FutureTask.java:138)
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
java.util.concurrent.FutureTask.run(FutureTask.java:138)
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
java.lang.Thread.run(Thread.java:619)
(Number of retries : 1)
pmcmd startworkflow -sv BIA_IS -d Domain_oracle2go2.us.oracle.com -u Administrator -p **** -f SILOS -paramfile /home/oracle/Informatica/9.0.1/server/infa_shared/SILOS.SIL_InsertRowInRunTable.ORA_R1213_Flatfile.txt SIL_InsertRowInRunTable
2013-11-27 11:26:59.923 INFORMATICA TASK:SILOS:SIL_InsertRowInRunTable:1:(Source : FULL Target : FULL) has finished execution with Failed status.
====================================================================================================================
Could anyone please help me to resolve this error?
Regards,
NarottamDid you configured Informatica???
-
Hi,
We want to use ECATT for data upload. We have created test script, test data container and test configuration. We are uploading the variants from external file from EDIT-> variants-> Upload. But does the text file need to have different variant names against each data record as this becomes cumbersome. Also for parameter fields which have fixed value, needs to be available in text file with the value?
Is there any other method for data uploading using ECATT?
PrashantHi,
For your later questions I will answer as your previous questions are well answered by others.
For parameters with fixed values, you dont need to put it in the external file but only if you have used the Fixed values against the Parameter in the test script .
In Ecatt, TCD Recording mode is widely used.It is comparively faster when compared to SAPGUI Method.
SAPGUI is very slow. SAPGUI method can be used if you need to upload longtext or if you need to record Active X Controls as these cannot be handled by TCD Method. -
Hi, Getting an error while trying to download updates. Err Msg "Account Not in this store' Your account is not valis for use in the US store. You must switch store before purchasing' Have tried to change the store bu not successful. kindly advice
http://support.apple.com/kb/HT1311
-
In SharePoint 2010, I am trying to copy pdf file programmatically from a non-RMS protected document library into RMS protected library using copyTo() method.
But I am getting an error while doing so. it gives error as mentioned below -
This library does not accept files of the given type. You must either upload a
new, unprotected file that supports rights management or re-upload a document
that was previously downloaded from this library.
Please suggest some solution.
Thanks,Are You sure that you have give 'PDF' in caps in your program? and check whether you are getting all the datas before calling the method.
in my program, i have used like this and it is working fine for me,
I am getting PDF content from the form...
DATA ls_formoutput TYPE fpformoutput.
DATA pdf_content TYPE solix_tab.
DATA lp_pdf_size TYPE so_obj_len.
DATA lv_mail_title TYPE so_obj_des.
*Attach the PDF .
lp_pdf_size = XSTRLEN( ls_formoutput-pdf ).
pdf_content = cl_document_bcs=>xstring_to_solix(
ip_xstring = ls_formoutput-pdf ).
document->add_attachment(
i_attachment_type = 'PDF'
i_att_content_hex = pdf_content
i_attachment_size = lp_pdf_size
i_attachment_subject = lv_mail_title ) .
Maybe you are looking for
-
In search of the lost notification window...
Hi there, I'm having a question regarding Mac Os X. It's a question that I'm having for many years. It's something that annoys me regularly and today I would like to find out if others have the same problem, too, or if there might be a simple solutio
-
PROBLEM WITH CALL LOGS/CONTACTS
HI FRIENDS, I AM FACING A WIERD PROBLEM WITH MY Z10, WHEN I GET A CALL OR A MISS CALL THE NUMBER SHOWS UNDER A DIFFERENT CONTACT NAME HOWEVER THE ORIGINAL CONTACTS REMAIN UNCHANGED AS IT ONLY HAPPENS IN CALL LOG PAGE. CAN ANYONE PLEASE HELP ME ON THE
-
How to start a Kinect v2 in a C++ Console Application?
Hello, I am fairly new at this, I only have basic C++ experience just making console applications. My question is, is there any way to get a console application working with Kinect 2.0. I was reading the Programming Guide on MSDN for the Kinect v2, b
-
Optimum number of images per sheet for contact sheet?
what is the optimum number of images per sheet (like 5x5, 10x10 etc) for a contact sheet on the latest photoshop. optimum meaning the largest number of images per page so that you can still see what the image is of and the image number. thanks
-
ERM - Workflow Approval Configuration in ERM and CUP
Hi Experts, I'm in the midst of configuring the workflow approval for ERM and have some queries. I followed the post-installation guide part 1 for ERM on the workflow configuration and have sucessfully done the following: 1. Verified that the "AE_ini