Posting document using DI API
Hi All,
I have a user-defined object of document type. Can anyone tell me how to create/post a document in my UDO from outside business one using DI API.
Thanks.
Melvin
Hi Melvin,
Have you searched forum?
Check this first: Re: DI API for UDO !!!
Thanks,
Gordon
Similar Messages
-
Error While Posting documents using F-28
Dear Friends,
While posting Documents using 'F-28' after I passed posting key and account number I m getting the Error
'Entry not Possible'. Can anyone tell what may be the problem how to clear this error.
Regards
Balamurugan N
Moderator message: duplicate post locked, follow up on your previous one instead of opening a new thread for the identical problem.
Edited by: Thomas Zloch on Apr 26, 2011 8:34 PMHi,
I Guess this error is occuring because of the posting key and account number (Account type) combination is not correct. For each account type a perticular posting is is defined for debit and credit entries.
Check with your functional the correct posting key for account type and account number you are using. -
Plug_in:how to unlock a locked document use acrobat API
how to unlock a locked document use acrobat API.in acrobat plug_in
how to unlock a locked document use acrobat API.in acrobat plug_in(Which API can enter a password to unlock the locked document)
-
Fail Updating Document Using DI API in Form_Data_Update_Event
Hi,
B1 2007B PL14
I have problem updating document using DI API in Form_data_Update_Event.
I have made sure that beforeaction=false and actionsuccess=true (to me, this means that B1 has completed the update process), then my codes will be executed to update the same document using DI.
However, I notice that when my codes is executed, the document form is still in "Update" mode, that this results in the system returning error message "another user-modified table (odbc-2039)
Any suggestions?Hi Shahid,
I am not sure what your question is. The code you pasted looks like the MatrixAndDataSources example that comes with the SDK. What are you trying to do?
Thanks,
Adele -
Not able to post document using BAPI_ACC_GL_POSTING_POST
Hi all,
While trying to post documents in FB60 using BAPI_ACC_GL_POSTING_POST we are getting error Account not assigned to company code. But we are able to post documents manually using the same account and company code. Couls any one help me out to resolve this issue.
Thanks & Regards,
Neela.This is complete procedure to use 'BAPI_ACC_DOCUMENT_POST'. It can be used for GL, AR or AP documents.
Step 1:
For Header information, fill u201CDocumentHeaderu201D structure as:
obj_type = 'BKPFF'
obj_key = '$'
obj_sys = CONCATENATE syst-sysid 'CLNT' syst-mandt
bus_act = 'RFBU'
username = syst-uname .
comp_code = Company Code
doc_date = Document Date
pstng_date = Posting Date
doc_type = Document Type like AB, SA.
ref_doc_no = Reference Document
To populate the line item data, fill internal table u201Caccountglu201D or u201Caccountpayableu201D or u201Caccountreceivableu201D as:
itemno_acc = Line Number (like 10,20)
gl_account = GL Account Code (For GL Line Items only)
vendor_no = Vendor Number (For AP Line Items only)
customer = Customer Number (For AR Line Items only)
acct_type = 'S' or u2018Ku2019 or u2018Du2019. (GL = u2018Su2019, AP = u2018Ku2019, AR = u2018Du2019)
costcenter = Cost Center
orderid = Internal Order
tax_code = Tax Code
item_text = Item Text
quantity = Quantity
base_uom = Unit for Quantity
Note:
u2022 Separate internal tables should be created for GL lines, AP Lines and AR Lines.
u2022 If posting GL line items then only u201Caccountglu201D internal table should be filled.
u2022 If posting AP document then GL lines should be filled in table u201Caccountglu201D and Vendor lines should be filled in table u201Caccountpayableu201D.
u2022 If posting AR document then GL lines should be filled in table u201Caccountglu201D and Customer lines should be filled in table u201Caccountreceivableu201D.
u2022 Extension of each line of u201Caccountglu201D, u201Caccountpayableu201D and u201Caccountreceivableu201D must be there in u201Ccurrencyamountu201D.
To populate the amount, fill u201Ccurrencyamountu201D structure as:
itemno_acc = Line Number (like 10,20, but pair of u201Caccountglu201D line)
amt_doccur = Amount {Credit amount should be with sign
currency = Currency
Step 2:
CALL FUNCTION 'BAPI_ACC_DOCUMENT_POST'
EXPORTING
documentheader = st_documentheader
IMPORTING
obj_key = w_objkey
TABLES
accountgl = i_gl {GL Line Items}
accountpayable = i_ap {AP Line Items
accountreceivable = i_ar {AR Line Items}
currencyamount = i_amt {Amount of all above}
return = i_bapiret. {Return messages} -
FI-CAX event 1102 when posting documents using BAPI_CTRACDOCUMENT_CREATE
The event 1102 in FI-CAX has been implemented to copy "Alternative business partner for payments" to the document, when posting a document using transaction FPE1.
Will this event aslo be executed when posting documents automatically via the BAPI BAPI_CTRACDOCUMENT_CREATE?
If not, is there any other possibility to copy "Alternative business partner for payments" to the document, when posting a document automatically via the BAPI BAPI_CTRACDOCUMENT_CREATE?Thank you!
In our system this note has not been implemented yet so this is something we need to fix.
Do you know if event 1102 is supposed to be called when running FP60M/FP60P (mass activity: revenue distribution/Revenue distribution: Create and post documents)?
Cheers,
Teo -
Program name to post document using transaction KB33N.
Could you tell me the Program name to post FI document using transaction KB33N.
Also before document is posted it should appear in SM35
Edited by: mukesh mahajan on Oct 20, 2009 12:39 PMThe program name of the T-code is not required.
I require a standard program which is used to post document in KB33N with data from input file from presentation or application server.
example is like program RFBIBL00 is used to post document in FB01, FBS1 etc.
Could any one suggest the name of program for KB33N posting. -
Problem while creating a custom document using JAVA API in the current Folder
I am trying to create an instance of a custome type from the API. I have created a custom type via XML. I have associated a JSP with the custom type thru iFS manager. This jsp provides an interface for the user to enter various data. On submit I call some other jsp also loaded into the /ifs/webui/jsps which calls a method in the java class to create an instance of the above mentioned type. This instance needs to be created in the current directory and not in the home directory of the user. I have written a java program which when run from JDeveloper connects to the repository and creates the object, but not as a foldered object. If I load this class into custom_classes directory, I get an exception. I am attaching the code also here which does the actual processing.
package cms;
import oracle.ifs.agents.common.*;
import oracle.ifs.agents.manager.*;
import oracle.ifs.agents.server.*;
import oracle.ifs.beans.*;
import oracle.ifs.common.*;
public class ContentModule extends Object {
public static final String CLASSNAME = "CONTENT";
public static final String TOPICID_ATTRIBUTE = "TOPICID";
public static final String SITEID_ATTRIBUTE = "SITEID";
LibrarySession m_session;
public ContentModule() {
connectToRepository();
createDocument("AM5","s");
public void connectToRepository(){
try{
LibraryService l_service=new LibraryService();
CleartextCredential l_credential = new CleartextCredential("system","manager");
ConnectOptions l_options=new ConnectOptions();
l_options.setServiceName("IfsDefault");
l_options.setServicePassword("ifssys");
m_session=l_service.connect(l_credential,l_options);
}catch(IfsException ex){
ex.setVerboseMessage(true);
ex.printStackTrace();
public void createDocument(String p_docName,String p_docContent){
try{
DocumentDefinition l_doc=new DocumentDefinition(m_session);
l_doc.setClassname(CLASSNAME);
long newId1=5;
long newId2=5;
FolderPathResolver l_currentPath=new FolderPathResolver(m_session);
Folder l_currentFolder=l_currentPath.getCurrentDirectory();
l_doc.setAddToFolderOption(l_currentFolder);
l_doc.setName(p_docName);
l_doc.setContent(p_docContent);
AttributeValue av1 = AttributeValue.newAttributeValue(newId1);
l_doc.setAttribute(TOPICID_ATTRIBUTE,av1);
AttributeValue av2 = AttributeValue.newAttributeValue(newId2);
l_doc.setAttribute(SITEID_ATTRIBUTE,av2);
Document l_document=(Document) m_session.createPublicObject(l_doc);
}catch(IfsException ex){
ex.setVerboseMessage(true);
ex.printStackTrace();
public static void main(String[] args) {
ContentModule contentModule = new ContentModule();
Any help will be highly appreciated.
ThanksPlease print out the Verbose Stack Trace generated when you run this application.
I suspect that you FolderPathResolver is not pointed at the directory you think it is. You might want to try printing out
I_CurrentFolder.getAnyFolderPath();
and I_CurrentFolder.getName();
null -
Error on creating Purchase order document using DI API
Dear all,
I am getting an error "<b>Server threw an exception</b>" at the time of initializing object of Purchse order document. code is
vDrafts = GOD_Company.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oDrafts)
I am using SBO 2005B SP 0 PL-20.
Reply as soon as possible.
Regards,
Manish JhaHi Manish,
I am not sure if I am right, but I remember something about a bug in SBO SDK that gave an error when trying create draft object. Not sure on which patch this was though and am not sure if this is your problem too. Maybe someone else can remember what patch it was on?
Hope it helps,
Adele -
Error when downloading large SharePoint document using REST API
Hello,
The following code works fine for small files, but I got "SCRIPT14: Not enough storage is available to complete this operation." error when downloading files over 100M.
Is it possible to write the data directly to a local storage (IndexedDB for example) instead of keeping it in memory?
var getFileEndpoint = String.format(
"{0}/_api/SP.AppContextSite(@target)/web/getfilebyserverrelativeurl('{1}')/$value?@target='{2}'",
_SPAppWebUrl, _DocumentUrl, _SPHostUrl);
var executor = new SP.RequestExecutor(_SPAppWebUrl);
var info = {
url: getFileEndpoint,
method: "GET",
//binaryStringResponseBody: true,
success: function (data) {
//Save data to IndexedDB
error: function (err) {
//Error handling
executor.executeAsync(info);
Since my page is located in a SharePoint Hosted App, I can't use XMLHttpRequest directly to access the document in the host site. Seems like the MS cross-domain library is the only choice to me.
Thanks,
Matt.
MattHi,
Per my understanding, you might want to download the content of files into database in SharePoint Hosted App.
In SharePoint Hosted App, as we can only use JavaScript which is supposed to be executed in browser, the content retrieved will be stored in memory then to the local hard drive.
As a workaround, I suggest you develop a Provider Hosted App and do the same job there instead. In Provider Hosted App, we can use C# to handle the file downloading which should
be more appropriate in your scenario.
About
how to download file using SharePoint Client Object Model:
http://www.lucacostante.com/item/15-download-and-upload-files-via-sharepoint-client-object-model.html
Thanks
Patrick Liang
TechNet Community Support
Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
[email protected] -
How to start approval procedure for a Document/Draft using DI API
Hi!
My code imports purchase orders from one non-B1 system to SAP B1 using DI API. The problem is that in B1 system there is an approval process configured and I need the newly created purchase order to enter this approval process.
Currently this is not done because approval procedure isn't triggered when creating documents using DI API.
I had an idea to create a draft of PO instead of the PO and then push this draft into approval process somehow. But I can't find a way how to tell DI API to start approval procedure for my draft/document.
Thank you for your replies!
JanUnfortunately there is no way to trigger the approval process for any object added through the DI API.
Your workaround of adding the documents as drafts is as close as you can really come but maybe you could extend it slightly - it will involve a UI API addon:
Make the addon mandatory, and add a UDF to the user table, for example "U_Approver" and a UDF to PO document, like "U_Approval"
- Set this U_Approval to yes when adding through DI and add as draft
- When user opens draft document in the application, check are they an approver (U_Approver = "Y")
- If they are not, and try to view/add a draft which is flagged as needing approval, block them from adding.
You could further expand your DI project to send a mail to the approver whenever a draft PO is added. -
How do I create/update an Excel file using the API?
Hi,
I've successfully created a "Web Intelligence" document using the API (POST /raylight/v1/documents). However, I need to do the same for an Excel file type and have been unable to do so. Attached are the different steps needed to accomplish this with the UI. I need to be able to do the same thing through the API.
I searched through the docs but haven't found anything regarding this particular aspect.
Does anyone have a clue?
ThanksThanks for the link. I'm using .Net and thought the process would be fairly similar. It is indeed, however, I'm stuck with the following error when committing on the infoStore object:
File Repository Server error :
ErrorCode: -2147210678
Here's the code I'm using:
var folderID = infoStore.Query("Select TOP 1 SI_ID From CI_INFOOBJECTS Where SI_KIND='Folder' And SI_NAME='myfolder'")[1].ID;
var infoObjects = infoStore.NewInfoObjectCollection();
var infoObject = infoObjects.Add(CrystalDecisions.Enterprise.InfoStore.CeKind.EXCEL);
infoObject.Title = "Book4.xlsx";
infoObject.Files.Add("C:\\Users\\myuser\\Documents\\Book4.xlsx");
infoObject.ParentID = folderID;
infoStore.Commit(infoObjects);
I know the problem is related to "infoObject.Files.Add" because when I omit this statement, it works but the file has no content.
Any idea why??? It's driving me crazy -
How can i add custom attributes to a new Class Object using the API ?
Hello everyone,
Here is my problem. I just created a subclass of Document using the API (not XML), by creating a ClassObjectDefinition and a ClassObject. Here is the code :
// doc is an instance of Document
ClassObject co = doc.getClassObject();
ClassObjectDefinition cod = new ClassObjectDefinition(ifsSession);
cod.setSuperclass(co);
cod.setSuperclassName(co.getName());
cod.setName("MYDocument");
ClassObject c = (ClassObject)ifsSession.createSchemaObject(cod);
Everything seems to be OK since i can see the new class when i use ifsmgr. But my question is : how can i add custom attributes to this new class ? Here is what i tried :
AttributeDefinition value = new AttributeDefinition(ifsSession);
value.setAttribute("FOO", AttributeValue.newAttributeValue("bar"));
c.addAttribute(value);
But i got the following error message :
oracle.ifs.common.IfsException: IFS-30002: Unable to create new LibraryObject
java.sql.SQLException: ORA-01400: impossible d'insirer NULL dans ("IFSSYS"."ODM_ATTRIBUTE"."DATATYPE")
oracle.ifs.server.S_LibraryObjectData oracle.ifs.beans.LibrarySession.DMNewSchemaObject(oracle.ifs.server.S_LibraryObjectDefinition)
oracle.ifs.beans.SchemaObject oracle.ifs.beans.LibrarySession.NewSchemaObject(oracle.ifs.beans.SchemaObjectDefinition)
oracle.ifs.beans.SchemaObject oracle.ifs.beans.LibrarySession.createSchemaObject(oracle.ifs.beans.SchemaObjectDefinition)
void fr.sword.ifs.GestionDocument.IFSDocument.createDocument(java.lang.String)
void fr.sword.ifs.GestionDocument.IFSDocument.main(java.lang.String[])
So, what am i doing wrong ?
More generally, are we restricted in the types of the attributes ? (for example, would it be possible to add an attribute that would be an inputStream ? Or an object that i have already created ?).
Any help would be appreciated. Thanks in advance.
Guillaume
PS : i'm using Oracle iFS 1.1.9 on NT4 SP6 and Oracle 8.1.7
nullHi Guillaume,
you're welcome. Don't know exactly, but assume that ATTRIBUTEDATATYPE_UNKNOWN
is used to check for erronous cases only
and it shouldn't be used otherwise.
Creating your own objects could be simply done via
ClassObject ifsClassObject;
DocumentDefinition ifsDocDef = new DocumentDefinition(ifsSession);
// get class object for my very own document
ifsClassObject = ClassObject.getClassObjectFromLabel(ifsSession, "MYDOCUMENT");
// set the class for the document i'd like to create
ifsDocDef.setClassObject(ifsClassObject);
// set attributes and content for the document...
ifsDocDef.setAttribute("MYFOO_ATTRIBUTE",....);
ifsDocDef.setContent("This is the content of my document");
// create the document...
PublicObject doc = ifsSession.createPublicObject(ifsDocDef);
null -
Reversing a document using the bapi 'BAPI_ACC_DOCUMENT_REV_POST'
Hi All,
I have posted a document using the FM 'BAPI_ACC_DOCUMENT_POST' and it is working fine .
How can I reverse the same posted document using the FM
'BAPI_ACC_DOCUMENT_REV_POST'?
What are the mandatory parameters to be filled?
Can anyone explain me with a example
Thanks in Advance.Hi Siva,
The bapi you have mentioned is the correct one.
Look at the BAPI documentation which is pretty informative.
In case you don't have it, i'm just copy pasting it.
Functionality
Reversing an external document in Accounting. (negative posting)
The method "Reverse" can be used to reverse the relevant document in the accounting components.
Parameters
REVERSAL
Reference information for reversal in Accounting
Description
Parameter for transferring a reversal document. The reversal document for the source document is not transferred - the reversal documents are generated in the individual components from the documents to be reversed. This is only possible however, if the corresponding documents are available, meaning that line item update is active in all components and no documents have been archived. If this is not the case, an appropriate error message is issued in the return parameter. If this happens, the document can only be reset by means of a corresponding inverse posting by the sender.
You must make entries in the following fields
Reversal document number:
OBJ_TYPE Sender ID
OBJ_KEY Reference number of the reversal document (source document)
OBJ_SYS Logical system
OBJ_KEY_R Reference number of the document to be reversed.
Default
All other fields are transferred from the FI document to be reversed.
BUS_ACT
Business Transaction
Description
To reverse the document, the same business transaction must be entered that was used for the posting.
OBJ_TYPE
Reference procedure
Source document
Description
When a business transaction is updated in Accounting, it may be that several documents are updated at the same time (FI document, CO document, etc). If the business transaction is not initiated in Accounting, a source document must exist outside Accounting. The information from this document must be transferred when the FI/CO interface is called up. The source information is updated in all accounting documents, and is made up of the following fields:
AWTYP (OBJ_TYPE) Reference transaction
Sender ID
AWKEY (OBJ_KEY) Reference key
Source document number
The reference key is made up of:
AWREF Reference document number (10 digits)
Source document number
AWORG Reference organizational unit (10 digits)
Number range ID (if required)
AWSYS (OBJ_SYS) Logical system
Logical system of source document
When the document is being processed, the system checks whether a reference document number (first part of the reference key) has been transferred.
Notes
Use a separate value in the OBJ_TYPE field (reference transaction). You must maintain an entry for this value in table TTYP, which could be a function module that is called when the user wants to branch back to the source/sender document from an accounting document. This makes it possible for documents updated using BAPIs to be included in the document navigation (revision). If you use SAP defined characters in the field OBJ_TYPE, errors can occur in the navigation.
The FI and CO line item suppression is defined separately for each reference transaction.
It is not necessary to separate the reference key into reference document number and reference organizational unit. This means that reference document numbers that are longer than 10 digits can be transferred into the reference key.
OBJ_KEY
Reference Key
Source document
Description
When a business transaction is updated in Accounting, it may be that several documents are updated at the same time (FI document, CO document, etc). If the business transaction is not initiated in Accounting, a source document must exist outside Accounting. The information from this document must be transferred when the FI/CO interface is called up. The source information is updated in all accounting documents, and is made up of the following fields:
OBJ_SYS
Logical system of source document
Source document
Description
When a business transaction is updated in Accounting, it may be that several documents are updated at the same time (FI document, CO document, etc). If the business transaction is not initiated in Accounting, a source document must exist outside Accounting. The information from this document must be transferred when the FI/CO interface is called up. The source information is updated in all accounting documents, and is made up of the following fields:
AWTYP (OBJ_TYPE) Reference transaction
RETURN
Return Parameter
Description
This table contains the return messages from the method call.
Value range
The first message contains the general status of processing:
Type ID Number Message
S RW 605 Document posted successfully
S RW 614 Document check without errors
A RW 609 Error in document
The fields MESSAGE_V1, MESSAGE_V2 and MESSAGE_V3 contain the following information:
Reference transaction ( OBJ_TYPE)
Reference key ( OBJ_KEY)
Logical system of source document ( OBJ_SYS)
Additional messages are transferred with the following information:
Parameter ( PARAMETER)
Row ( ROW)
Field ( FIELD)
in which the error occurred.
REgards.
Ravi -
Guys,
I am trying to upload a new document using PRC API's. Below is required code snippet that i am using.
IRemoteDocument remoteDoc = documentManager.createRemoteDocument(folderID,dataSourceID,document.getPath()); remoteDoc.setOverrideName(document.getName()); remoteDoc.setOverrideDescription(document.getDescription()); remoteDoc.setType("http://www.plumtree.com/dtm/mime", document.getFileType());int docID = -1;docID = remoteDoc.save();
dataSourceID - ID of my file upload datasource , document - is my java object which has all the document related properties such as , name , description , MIME type of document etc..Below is different document path's(scenarios) that I have triedc:\work\sample.txt\\servername\work\sample.txthttp:\\appserver:7001\appName\uploadfiles\sample.txt
When I execute this code from my application i get a below error.
com.plumtree.remote.prc.PortalException: null; nested exception is: java.rmi.RemoteException: Error in function PTDataSource.ImportDocument(vDocumentLocationBagAsXML == '<?xml version="1.0" encoding="ucs-2"?><PTBAG V="1.1" xml:space="preserve"><I N="PTC_DTM_SECT">1001</I><S N="PTC_DOC_ID">application/msword</S><S N="PTC_UNIQUE">\\PHUSEH-L33664.NA.novartis.net\work\sample.doc</S></PTBAG>', lDocumentTypeID == 100, pCard == com.plumtree.server.impl.directory.PTCard@c27b6f, bSummarize == false, pProvider == null): Error in function PTDataSource.ImportDocument (vDocumentLocationBagAsXML == <?xml version="1.0" encoding="ucs-2"?><PTBAG V="1.1" xml:space="preserve"><S N="PTC_DOC_ID">application/msword</S><I N="PTC_DTM_SECT">1001</I><S N="PTC_UNIQUE">\\PHUSEH-L33664.NA.novartis.net\work\sample.doc</S></PTBAG>, lDocumentTypeID == 100, pCard == com.plumtree.server.impl.directory.PTCard@c27b6f, bSummarize == false, pProvider == null): SOAP fault: faultcode='soapenv:Server.userException' faultstring='java.lang.NullPointerException' at com.plumtree.remote.prc.DocumentWrapper.save()
Below is my environment.Plumtree is running on Weblogic 8.1 (Solaris OS) , ptupload webservice is running on weblogic8.1 solaris,My upload document portlet is running on weblogic 8.1 (Windows OS)
If anyone has any working sample code please send it to my ID [email protected] or else please upload it here.Thank You ,
Dan.make sure your modjk logs don't have any errors.
Here's a peice out of my httpd.conf
#ADDed Oct 15,2003, seemed to remove modjk error
AddType multipart/form-data .gif .png .jpg .peg .jpeg .jpeI used to get strange modjk logged errors.
Also did you compile jk2 from source???
com.oreilly.servlet --- cos
http://www.servlets.com/cos/index.html
http://www.servlets.com/cos/cos-05Nov2002.zip
But if my bit shift is correct wouldn't my regular textfile upload be distored?From what I remember, the problem is something to do with logical AND or OR, with the bits. Apache receives it fine, passess it through jk, and and either the most sig or least gets lost. Image data is critical as every bit counts, text file, you may not notice it(white space), or every nTH file upload might fail.
here are the version numbers of software I use, and have compiled all from source.
apache-httpd-2.0.47
tomcat-4.1.27
jk2-connectors-2.0.2
Maybe you are looking for
-
SONY BM10 Power consumption - working current (for outdoor use)
Does anybody know what is the max power consumption in watts or miliwatts and the max working current in mA of the sony bm10 bluetooth receiver.Is it possible to power it with a rechargeable battery pack for outdoor use (no AC outlet) and if so, how
-
Toshiba 1TB External Hardrive not recognized after using a USB 8GB Drive
Hello. Windows 7 Ultimate, HP G671 Notebook, X86 based PC, Bios HP F, 20 10/13/2009, Intel Core 2Duo CPU [email protected] GHz, SMbios Version 2.4. The Toshiba ext. HD was recognized initially but after the second time I needed to plug it back in the
-
Calling servlets from a jsp in a directory
Hello, I use JBuilder 9 to develop a web application, and I organize all jsp files in directories inside root directory. The problem is that when I try to use any servlet in the project, I have to use the following address "http://localhost8080/servl
-
Delta in Duplicate records.
Hi Gurus, Daily we are uploading CRM data through process chain. In a week 3 to 4 times chain fails due to duplicate records 24 or 34...like that. And deleting red request in target and loading again. Why we are getting duplicate records in delta loa
-
Techniques to correct this blurred image.
Shot by a phone camera.I think the child who clicked couldn't focus & couldn't keep still...Not an easy job to fix this,at least i can't.Any ideas? A big thanks in aadvance for this.