Transformation between  xfaform and document types

Hi again,
As I can understand that I cannot send an xfaform as an attachment to an email (but document is ok) I would like to know how I can transform an xfaform (with an xml schema to a document). Do I need to use the exportdata and importdata to do this?.
It is important to me because I need to retrieve a form by email (in either xml/xdp or pdf) do some manual work in my process and return an email to the user with and answer in the attachment.
Do you have any best practices for such a scenario?
Sincerely
Kim Christensen
Dafolo A/S
Denmark

I tried using exportData operation; I defined its input variable as document and output as xfaform and I got the below InvalidCoercionException. Should I use setvalue operation instead?<br /><br />2007-12-05 19:56:13,795 INFO  [com.adobe.idp.scheduler.SchedulerServiceImpl] OneShot Trigger created ----------------------------------------<br />2007-12-05 19:56:13,811 ERROR [com.adobe.workflow.AWS] stalling action-instance: 508 with message: ALC-DSC-119-000: com.adobe.idp.dsc.util.InvalidCoercionException: Cannot coerce object: <document state="passive" senderVersion="3" persistent="true" senderPersistent="false" passivated="true" senderPassivated="true" deserialized="true" senderHostId="127.0.0.1/192.168.100.234" callbackId="0" senderCallbackId="52" callbackRef="null" isLocalizable="true" isTransactionBound="false" defaultDisposalTimeout="600" disposalTimeout="600" maxInlineSize="65536" defaultMaxInlineSize="65536" inlineSize="5896" contentType="null" length="-1"><cacheId/><localBackendId/><globalBackendId/><senderLocalBackendId/><senderGl obalBackendId/><inline><?xml version="1.0" encoding="UTF-8"?><xfa:datasets xmlns:xfa="http://www.xfa.org/schema/xfa-data/1....</inline><senderPullServantJndiName>ad obe/idp/DocumentPullServant/adobejb_server1</senderPullServantJndiName><attributes/></docu ment> of type: com.adobe.idp.Document to type: class com.adobe.idp.taskmanager.form.impl.xfa.XFARepositoryFormInstance<br />     at com.adobe.workflow.datatype.CoercionUtil.toType(CoercionUtil.java:878)<br />     at com.adobe.workflow.datatype.runtime.impl.pojo.POJODataTypeRuntimeHandler.coerceFrom(POJOD ataTypeRuntimeHandler.java:101)<br />     at com.adobe.workflow.datatype.runtime.impl.pojo.POJODataTypeRuntimeHandler.getNode(POJOData TypeRuntimeHandler.java:127)<br />     at com.adobe.workflow.dom.VariableElement.setBoundValue(VariableElement.java:93)<br />     at com.adobe.workflow.pat.service.PATExecutionContextImpl.setProcessDataValue(PATExecutionCo ntextImpl.java:729)<br />     at com.adobe.workflow.engine.PEUtil.invokeAction(PEUtil.java:583)<br />     at com.adobe.workflow.engine.ProcessEngineBMTBean.continueBranchAtAction(ProcessEngineBMTBea n.java:2863)<br />     at com.adobe.workflow.engine.ProcessEngineBMTBean.asyncInvokeProcessCommand(ProcessEngineBMT Bean.java:646)<br />     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)<br />     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)<br />     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)<br />     at java.lang.reflect.Method.invoke(Method.java:585)<br />     at org.jboss.invocation.Invocation.performCall(Invocation.java:345)

Similar Messages

  • SAP Easy DMS - Link between Document Area and Document Types

    Deat Friends,
    Is there a transaction code or a customizing available to link the Document Area and Document Types??
    For example: Document Area (DMS) is linked with Document Type (DRW)
    Thank you,
    Sri

    Hello Chandu,
    We are trying to create a documents via TCODE: CVO1N
    One of the entry we need to populate is the "DOCUMENT TYPE" to create a document. If, we enter the Document Type = DRW, we are not able to see our custom Storage Category while attaching/Check-in a document.
    Where as, If, we enter the Document Type = DMO, we are able to see our custom Storage Category while attaching/Check-in a document.
    I see that the Document Type = DRW is linked to Document Area = DMS
    Similarly, the Document Type = DMO is linked to Document Area = FILESYSTEM
    My question is, Is there a transaction code or a customizing option available to link the Document Area and Document Type?
    Thank you,
    Sri

  • Regarding Delivery and document type

    Hi Gurus,
    I copied both the delivery type and document type from NL and UB and I also assigned delivery type and checking rule to the supplying plant in SPRO- LE - MM- PUR- PO - set up STO. and also assigned the Document type in SPRO- LE - MM- PUR- PO - set up STO assign doc type, one step....  
    But when I create the STO the system issues a warning message that
    Doc. type YUB should be used for suppl. plant XXXX and receiving plant XXXX
    Message no. 06674
    can you please give me some suggestions
    Shane

    Hi narayan,
    I am working with INTRA company STO and I have checked with the config what i have did again and now I can get the shipping tab.............. only thing is before I have forgot to assign the Issuing storage location in the transaction process. So now i can create  a STO.
    Now I am not sure how and where we need to make changes so that the process doesnt ask for Issuing storage location information and still create the STO between two plants in a same company.
    Thank you for your responses. They really helped me in figuring where exactly i am going wrong
    Shane

  • Special GL indicator and document type

    Hello ,
    I 'm not well acquainted to the FI applications but I know special GL indicator and document type are two important thing on Financials .
    I want to learn for what purpose these two fields used .  Also I would like to learn interactions between FI GL and FI AR .  If you can share a detailed explanation about my questions, it will be much appreciated
    thanks in advance
    guest

    Hi,
    Special GL Indicator's you have to declere for special cases like Down payment and Bills of exchange etc..
    those tables are stored in different different tables and not in regular tables.
    Doc Type
    based on document type we will identify that Vendor Invoices , Customer Invoices , memo, JV.
    each doc type is having a seperate no range.
    FI-gl handled all GL issues.
    FI-AR handleds  all customer issues.
    we will get more help at http://help.sap.com/
    Reg
    Madhu

  • What is the different between component and component type in extract struc

    Hi All,
    What is the different between component and component type in the Extract Structure?
    I used them, but I never really know the different between them yet.
    Thanks,
    Grace

    The difference between Component and Component Type are:
    Component This is essentially the field name in the extraction structure. These can either be SAP delivered field names or custom field names (e.g. Y* or Z*).
    Component Type This defines the data definition for the field, along with associated attrributes and descriptions for anything using that Component Type, to define the corresponding Component. If you double-click on any Component Type in an extraction structure, it will show you the definitions that have been setup for that Component Type (will display as Data Element but it's essentially synonymous - Component Type refers to structures and Data Elements refer to tables).

  • Posting Key and Document type

    Hello,
    I have just detected an inconsistency in one of my SAP environment (Development).  I have an invoice posted from the SD module, document type of this invoice is RV.
    If there is a reason to cancell this invoice, the transaction used is VF11. The document type in SD for this cancellation is S1. Thereafter an FI document is generated with document type AB.
    Even though the settings in both Production and Acceptance and Developement are the same.
    I have realised that the initial document when cancelled (reversed) has an FI document RV  and posting key 11. whiles in customizing the settings for posting keys and document types are different from what has been customized. Below is my current settings.
    The posting key 01 has a  reversed posting key 12 and the document type RV has a reverse document type AB. This customizing is in correct in SPRO.
    Transactions : OB41 and OBA7
    Can anyone help on this....
    Thanks
    Elvis

    Hello,
    Did you verify whether AB document type in OBA7 is marked in "Account Types allowed" the Customer checkbox?
    If not, maybe that is why it is not selecting AB as the reversal document type for RV, even though it is set up in RV document the AB document type as reverse document type.
    Other than this (if the mentioned above doesn't solve your issue), I would say there should be any user-exit that can be changing the document type, according to some specific business rule of your SAP client or even a substitution.
    I hope it helps you.
    Regards,
    Daniel.

  • Message No delivery type defined for supplying plant BP01 and document type

    Hi all,
    I am trying to create a purchase order with a BP01 supplier and the BP02 division but I get the following error message No delivery type defined for supplying plant BP01 and document type.
    When I create a PO with a BP02 supplier and the BP01 I do not get any message.
    How can I fix it ?
    Thanks
    Regards
    Pierre

    1)Create one Customer for Supplying Plant Sales area and assign this Customer no with Receiving Plant in OLME---> PO -
    > Set up STO -
    > define Shipping Data for plants. and maintain the same sales area in your Supplying plant.
    2) In OLME---> PO -
    > Set up STO.....for your Document Type: UB and Suppying plant Combination assign Del. Type NL and Checking rule RP
    3) In OLME---> PO -
    > Set up STO...for your Supplying Plant and Receiving Plant combination Maintain Doc. Type : UB
    Make sure you are maintaining Sales View for your Material at Supplying Plant.
    4) Maintain Shipping point at, SPRO----> Logistics Execution -
    > Shipping -
    > Basic Shipping Functions -
    > Shipping Point Determination for Plants.....there for your Loading group,Shipping Condition, Shipping Plant combination maintain Shipping plant..
    Now Create STO in ME21N with Doc.type: UB at Receiving Plant.
    Then Create Delivery in VL10B from Supplying Plant...
    Then Do PGI in VL02N from supplying Plant.
    Then do GR at Receiving Plant based on Outbound Delivery at Receiving Plant...

  • In PO No delivery type defined for supplying plant and document type MRO

    Hi,
    i need urgent solution for this problem please.
    i am getting this error while creating stock transport order PO(intercompany)
    No delivery type defined for supplying plant (ex:1500) and document type MRO .
    thanks
    madhu

    Hi,
      i am getting problem in vendor master data
    1)  recently we started inter company stock transfer order (STO)process  for a vendor (delivery plant), the same vendor was using before for internal procurement for some other company code /plant, i made settings in vendor master last screen ie conditions , sales data and  control data ,and took path   from main menue selected extras-> addtional purchasing data tab to enter plant  under plant assignment tab to work STO. now we are unable to create PO for other company  and pur org(non STO company code /plant) with the STO vendor,if i remove plant under  plant assignment tab in vendor master , it is effecting inter company STO,
    i need solution for this , please help me by giving valuable solution.
    Thanks and Regards
    MM

  • No delivery type defined for supplying plant 6110 and document type ZSTD

    Hi all,
    I am trying to create a purchase order with a P6110 supplier and the 6115 plant but I get the following error message No delivery type defined for supplying plant p6110 and document type.
    When I create a PO with a 6115 supplier and the 6110  I do not get any message.
    How can I fix it ?
    Thanks
    Regards
    SAGAR

    >
    sagarn wrote:
    > Hi all,
    >
    > I am trying to create a purchase order with a P6110 supplier and the 6115 plant but I get the following error message No delivery type defined for supplying plant p6110 and document type.
    >
    > When I create a PO with a 6115 supplier and the 6110  I do not get any message.
    >
    > How can I fix it ?
    > Thanks
    > Regards
    > SAGAR
    If ZSTD is a copy of UB type PO, then you need to provide the plant number as the supplier. The delivery type can be configured in the following path
    Materials Management -> Purchasing -> Purchase Order -> Set up Stock Transport Order -> Assign Delivery Type and Checking Rule
    Copy and existing record and maintain the combination of your PO type (ZSTD), supplying plant (6110) and delivery type (NL). Leave the others the same.
    Regards,
    Aroop

  • Error:-No delivery type defined for supplying plant and document type RB

    Hi,
    Here issue is such that while creating purchase order(Return order type)the error coming as follows.                      
    "No delivery type defined for supplying plant and document type RB"
    Scenario:-There are some damaged goods which are coming from france vendor to ukrain customer,now ukrain customer wish to send back the damaged goods to france.
    Looking forward:-1>Can anyone please let me know if there is an any customizing setting required if yes then how to maintain(navigation).
                             2>Is it something like practically it is not possible as goods are dispatched back to the country from where it is coming.
    Thanks for your help !!!
    Dharmesh

    Hi Naveen,
    Thanks for the information !!!
    Futher while creating PO i am getting an error message as purchase org. not responsile for plant how to solve this error can you plz let me know.
    Regards,
    Dharmesh

  • No archive information found for object type  and document type

    Hi All,
    When i try to view the print preview for a perticular doc type, system is giving the error as "No archive information found for object type  and document type"
    Diagnosis
        No information was found about optical archiving. This may be due to
        either of the following reasons:
        1.  No valid archiving parameters were passed
        2.  Your system is not configured for optical archiving
    System Response
        Processing is cancelled.
    Procedure
        Specify valid archiving parameters or check whether your system is configured for optical archiving
    Regds,
    CB

    Hello,
    You are trying to Print & also archive by selecting the option Print & Archive.
    You have to do archivelink configurations and then create document type and assign to the object type with content repository with archivelink table.
    If you want to archive the spool or output then you have to use object type as DRAW. If you are archiving invoice document or letters or so on then you have to know the object type/Business object of the transaction.
    Please note that for archivelink configuration, attachment will be either stored in archive server or in SAP database table based on business requirement.
    Hope this will give you some understanding on archiving area.
    -Thanks,
    Ajay

  • Report that displays Costcenter , Document Number and Document type

    Hi All,
    Can anyone suggest Report that displays Costcenter for a Document Number of certain Document type - Like G/L accounts .
    Thanks in advance ,
    Regards,
    Ry

    Good afternoon.
    If you are trying to run a report for a particular cost center (or range of cost centers) and have the report show the GL document number and document type, try transaction KSB1.  You can update the line layout to show these fields.
    If you are trying to run a report for a GL account and have the report show the cost center, run FAGLL03. You can update the line layout to include cost center.
    Apologies if I have mis-understood your question.
    Barb

  • What is the RPC and Document Type binding

    Hi Gurus,
      Do any one know what is the difference betwen
    "Soap binding sytle = Rpc" and "Soap Binding Style= Document".
    Do Netweaver Studion supports Document style for creating portal Application and components.
    Thanks
    venkata

    Hi
    I think you could have a look to this:
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/documents/a1-8-4/the difference between rpc and document style wsdl.article
    And Portal application support rpc literal, rpc encoded and document literal
    Regards,
    Frederic

  • Separate Transaction event key and Document type

    Hello Gurus,
    Need suggestion and process how to have separate transaction event key and Document types sued in Material document creation with a different number range for the movement types used for SD processes.
    Example: 601/602/651 movement types have the Transaction event key as WL
                   561 has the Transaction event as WA
                   701/702 movement types have the Transaction event as WI
    the transaction event keys of WA WH WI WL WQ WR WS WZ have the same number range.
    I am looking for solution and suggestion as how do we maintain transaction event key and document type for SD dispatches, cancellation, returns movement types separately.
    Thanks and Regards

    Hi,
       U can create new document type in  OBF4  copy the existing on ee.g WA make new document type and in number range assign the FI  number range which u want to assign,  MM number  range can be create in T. code OMBT and FI number range in FBN1.  Documen ttype assignment to t. code is done in OMBA
    regards,
      zafar
    Edited by: zafar_karnalkar on Aug 13, 2010 12:23 PM

  • Exise Transaction type and Document Type for part 2 record created by J2iun

    Hi All ,
    We utilized available credit of SERVICE TAX (HCESS and ECESS) and CENVAT  (of both RG23A and RG23C) credit against payable SERVICE TAX ( ECESS and HCESS).
    At the time of save , system has generated accounting document.I have checked generated accounting document which is perfect.Here the document type selected by the system is ED.
    But when I check corresponding part2 entry (in table J_1IPART2) there system has not updated any value in fields Exise Transaction Type (TT) and document Type while internal document and Financial Year are updated with 0 value.
    I am not sure if system behaves in the same way for J2IUN generated PART-2 entry.
    I need your help to understand it.
    Regards
    Shrey

    Hi,
    There is not any transaction type for Excise Utilization and determining the accounts of the fortnightly utilization.
    The credit account of the transaction type u2018DLFCu2018 is used as the debit account here. For the credit side we pick the debit accounts from the GRPO, EWPO and TR6C transactions.
    This is the reason system only generates a Part II Serial No and updates in table.

Maybe you are looking for