Attach binary data to Confirmation Order

Hi all,
I tried to attach a document, to an Confirmation Order. But when attching binary data using method "create_with_table" of Class cl_crm_documents, it provides me error:
Error: E030(SKWF_SDOKERRS):Characteristic of class '&1' is not valid.
Does anyone have an idea?
Best Regards,
Hemendra

Resolved at my end

Similar Messages

  • HP3561A:Conversion Binary data in Decimal data

    Hello,
    I try to transform, with Visual BASIC 6, a variable in binary data acquired by order "DSTB" of Dynamic Analyzer HP3561A,
    in decimal data to then use it in Excel.
    Could you help me to carry out this transformation, because for the moment I pain a little. 
    Thank you in advance. 
    Cordially Xavier VACHERET

    Hello with all
    I thank you for your messages.
    After some research, here the method which I found to obtain measurements of analyzer HP3561A.
    to see the file joint 
    Perhaps that is not very academic, but that functions.
    Thank you has all. 
    Cordially
    Xavier
    Attachments:
    NI forum HP3561A_1.doc ‏36 KB

  • Credit block not allowing delivery dates on the order confirmations

    Hello,
    We are a full module SAP shop on ECC 6.0.
    For one of our businesses, we have credit checking to take place at the time of Sales Order entry.  This is causing an issue for the business because they are using Demand planning and need to have the Delivery Dates on the Order confirmations and they also want to be able to run an ATP check on the Sales Order.  The credit check on sales order entry, prevents them from doing both of these things.
    Does anybody know if there is a way to get the dates to show up on the order confirmations when a sales order is on credit block?   Also, is it possible to run the order through ATP checking with this sales order credit block taking place?
    thanks for your help!

    Dear,
    Ideally this question should have been posted in ERP SD forum.Please check out your credit check settings in OVAK and OVA8. Hopefully it help you.

  • ABAP XSL mapping - Binary data of attached file

    I have a webservice which is converting attachment and putting it into XSLT Node. when I mapped this node to Attachment payload of my partner (using ABAP xsl mapping), I got an error.
    I was able to send the same file via SOAP UI...
    On further investigation of the http log files, I noticed that Binary data for both streams looked same, but when I did a word count, I noticed that SOAP UI was a single line file while my PI data was more than 400 lines.. so I coded a fn:transfer of this data to convert end of line character to empty value. it did seem to work...
    My question, is this approach correct? or is there any way to ensure binary data stream in XML node does not contain those additional characters?

    can you provide input xml
    Edited by: RajuGA on Dec 7, 2011 2:09 PM

  • How to convert binary data to PDF and attach to the particular po

    our client wants to attach the pdf coming from portal as attachment to that particular PO. From portal the pdf will come in binary format. Find how will we convert that binary data back to pdf and attach to the PO in R/3?

    Hi,
    You can downlaod Binary data into PDF using GUI_DOWNLOAD...pass the binary data and the BINSIZE...
    santhosh

  • Convert Binary Data into Pdf & send it as attachment in a mail in Workflow

    Hi,
    Scenario:
    The interactive form saved in WebDynpro Application is sent to R/3 in binary format. It has to be converted into pdf and sent it as an attachment in mail to the respective person in workflow.
    Kindly help on these issues :
    1. How to receive the binary data in R/3 sent by the WebDynpro Application ?
    To my knowledge we can receive the binary in XSTRING data type. Plz correct me if am wrong.
    2. How do i convert the received binary data into pdf ?
    Thanks,
    Bharath Kaushik

    Hi Bharath,
    I think you should try to write dat being sent to R/3 to spool first, as in R/3 there is FM <i>CONVERT_ABAPSPOOLJOB_2_PDF</i> , with the help of which you will be able to convert Binary data to PDF format.
    Pls find one of the threads related to this , and see if this is useful to you.
    Problem in CONVERT_ABAPSPOOLJOB_2_PDF.
    Hope this atleast helps to start off.
    Regds,
    Akshay Bhagwat
    PS: Some points would be nice if it helps:)

  • Convert Binary Data into Pdf & send it as attachment in a mail

    Hi Friends,
    Scenario :
    The interactive form saved in WebDynpro Application is sent to R/3 in binary format. It has to be converted into pdf and sent it as an attachment in mail to the respective person.
    Kindly help on these issues :
    1. How to receive the binary data in R/3 sent by the WebDynpro Application ?
    2. How do i convert the received binary data into pdf ?
    Regards & Thanks,
    Bharath Kaushik Krishnan

    Check thread Data Conversion
    if it is useful for you.

  • Convert Binary Data into Pdf & send it as attachment in a mail from R/3

    Hi,
    Scenario:
    The interactive form saved in WebDynpro Application is sent to R/3 in binary format. It has to be converted into pdf and sent it as an attachment in mail to the respective person in workflow.
    Kindly help on these issues :
    1. How to receive the binary data in R/3 sent by the WebDynpro Application ?
    To my knowledge we can receive the binary in XSTRING data type. Plz correct me if am wrong.
    2. How do i convert the received binary data into pdf ?
    Thanks,
    Bharath Kaushik Krishnan

    HI Bharath,
    I think You can reuse teh XString for binary data.there are certain function modules in R/3 for creating pdf/for sending it as pdf attatchment.please search in abap forums you will find more information
    With Regards
    Naidu

  • Bapi to update delivery date in confirmation tab in purchase order me22n tc

    Hi All,
    I am writing a BDC to update the data in confirmation tab for puchase orders for enjoy transaction.
    Please let me know how to updated delivery date in confirmation tab in purchase order(ME22N) using a bapi.
    I tried using BAPI_PO_CHANGE but found no parameter related to confirmations tab.  this BAPI has every thing to update like header data, item data, scheduling data..... except confirmation.
    So please let me know how to update the data in confirmation.
    We need to use only enjoy transaction ME22N not ME22 in BDC thats why we are looking for a BAPI.
    Regards,
    Venkat

    Hi
    Check the table parameter POCONFIRMATION in BAPI_PO_CHANGE
    U can see the field DELIV_DATE in the structure BAPIEKES.
    DELIVERY_DATE in the structure BAPIMEPOSCHEDULE as well.
    Regards,
    Dwaraka.S
    Edited by: Dwarakanath Sankarayogi on Feb 5, 2009 7:57 AM

  • Confirmed delivery date on sales order

    Dear specialists,
    I have a problem and I don't know how to solve it ...
    When we create an order, we automatically create purchase requisitions ... The confirmed delivery date on the order-item is calculated by adding the value of field eban-plifz to the delivery date ... We manually change the value of eban-plifz in user-exit ZXVVAU16 and the confirmed delivery date is (re-)calculated automatically ... This works fine, except when we create a new order-item and go through the logic for the first time ... The first time we press enter and we see the screen 'Purchase order scheduling', the date is wrong ... I found that the value of eban-plifz is refreshed in function ME_REQUISITION_PRESTEP in the form neue_pos_banf - bezugsquelle_3 ...
    My question is if there is a possibility to change the value again in a user-exit before we get the screen 'Purchase order scheduling' ???
    Hopefully someone can give me an answer ?
    Greetz,
    Kurt.

    Hi,
    i have a similar problem. You talk about user-exit ZXVVAU16, but this is the project (CMOD), don't?. Can you tell wich enhancement do you use to change availability sales order???
    Thanks
    Edited by: RODRIGO PEREZ on Feb 20, 2009 2:24 PM

  • To attach/upload binary data file(to vendor) from EP(sends from) to abap

    Hi All,
    I have requirement Enterprise portal(JAVA) will send the file data in binary format to abap.we have to attach the binary data(file) to content server.
    that is for vendor/custmer(XK02/XD02) will have attachments in the sap screen.
    similarly the above screens are provided using enterprise portal (using java) also attachment feature also needs to provide.
    so whenever user imports file form EP screen, they will convert the file into binary format and sends to abap through proxy(custom proxy) abap should attach the binary file to vendor/customer.
    I have checked so_object_upload,so_object_insert, binary relation create --  these FMs are helped using dialog box or providing the path of the file. but couldnt use when the file is in binary format and if it sent form proxy interface.
    could anyone help me in resolving the requirement to upload binary data.

    I use "call function 'ARCHIVOBJECT_CREATE_TABLE'" to process a binary table.  However, in my situation, I'm storing in Documentum.  Once that FM completed, I follow up with call function 'ARCHIV_CONNECTION_INSERT' to store the reference to the document and the archived object in SAP tables.  In your case, you need something that processes the binary table, or you need to utilize one of the "SCMS* " function modules to put your binary table into something that you can use with the other functions.
    The upload from desktop can be done using BIN filetype for GUI_UPLOAD class or function module, or from apps server, you can read your file into an xstring with open dataset....in binary mode....read dataset into your xstring, close dataset.

  • Organization Data for Service Orders and Service Confirmation

    Hi,
    Whenever I create any Service Order or Service Confirmation, the Organization Data is automatically populated.
    My doubts are :
    1. Is is mandatory to provide Organization Data for Service Order/Confirmation Creation ?
    2. What/ Where are the customization for the Organization Management for the above scenario ?
    Thanks and Regards,
    Samantak.

    Dear Samantak,
    org determination should only be made, if you have customized it.
    So please check which org. data profil has been assigned to the involved transaction types (in SPRO Define transaction types).
    And what the profil does (the rule behind) can be found also in SPRO
    - Master Data
      - Organizational Management
        - Organizational Data Determination
          - Change Rules and Profiles
             -Maintain Organizational Data Profile
    Please check the documentation there!
    Regards, Gerhard

  • Convert TIF Binary data to PDF Binary data

    Hi All,
    I have uploaded TIF file into table in system in Binary format.
    I need to create a spool from this Binary data, the spool should open in TIF format or PDF format.
    Can you help me in doing this.
    As I knw how to convert PDF to Spool, it would be even helpful, if you tell me how to convert TIF binary data into PDF binay data.
    Thanks in advance.
    Abhay

    Hi Sandra,
    Below is the requirement from Client:
    1. PDF and Tif files will be attached to order (transaction CRMD_ORDER).
    2. I have to pick the PDF and TIF attachments mentioned above using a batch report.
    3. Then this batch report will create a spool for the PDF file and TIF file attachements.
    4. Then the spool will be picked by another program and print them together in night.
    I hope it is clear now?
    Things I have done:
    1. Created report ZPDF_TIF which is copy of RSPO0023.
    1. Used the report ZPDF_TIF to pick up the PDF and TIF file in binary format from the order (transaction CRMD_ORDER).
    2. Able to Convert PDF to spool.
    I hve problem for:
    1. I want to use the program ZPDF_TIF to work for both PDF and TIF file.
    2. I have the TIF data in Binary (1022) into internal table picked using the report ZPDF_TIF.
    2. I want to convert TIF to spool which is problem child for me as of now.
    I hope the details are clear now.

  • Create a PDF document and attach it to a service order business transaction

    Hi all,
    I have following requirement. For a particular service order, i am reading the entire survey details and then my requirement is that i want to convert this details into a PDF document and then attach the document to the same service order.
    Right now, i have created a SMARTFORM which prints the required details. I got the OTFDATA of the smartform and now my problem is to convert it into PDF and then attach it to the service order .
    Kindly help.
    Points will be rewarded.
    Thanks in advance,
    Karan

    business object
    business_object-instid = guid.
    business_object-typeid = 'BUS2000116'.
    business_object-catid = 'BO'.
    PROPERTIES
    ls_loio_properties-name = 'DESCRIPTION'.
    APPEND ls_loio_properties TO l_loio_properties.
    ls_loio_properties-name = 'KW_RELATIVE_URL'.
    ls_loio_properties-value = 'Test'.
    APPEND ls_loio_properties TO l_loio_properties.
    CLEAR ls_loio_properties.
    ls_loio_properties-name = 'DESCRIPTION'.
    APPEND ls_loio_properties TO l_phio_properties.
    ls_loio_properties-name = 'KW_RELATIVE_URL'.
    ls_loio_properties-value = 'any name'.
    APPEND ls_loio_properties TO l_phio_properties.
    ls_loio_properties-name = 'LANGUAGE'.
    ls_loio_properties-value = 'EN'.
    APPEND ls_loio_properties TO l_phio_properties.
    FILE_ACCESS_INFO
    FILE_SIZE = l_filesize.
    mimetype = 'application/pdf'.
    file_name = 'any name'.
    binary_flg = 'X'.
    FILE_CONTENT_BINARY
    pass the binary content
    RAW_MODE
    X
    package_id  -> to create package id
    CONSTANTS: c_objtype   TYPE skwf_ioty VALUE 'P',
               c_sign      TYPE sdok_qusgn VALUE 'I',
               c_op        TYPE sdok_cxop VALUE 'NX'.
               c_class     TYPE sdok_class VALUE 'BDS_POC1'.
    DATA: appl TYPE skwf_appl.
    DATA: cspc TYPE sdok_ent VALUE 'CRM'.
            CALL FUNCTION 'CRM_KW_BOR_SET'
              EXPORTING
                iv_business_object = business_object.
            ls_selectors-type = c_objtype.
            ls_selectors-attribute = 'LANGUAGE'.
            ls_selectors-sign      = c_sign.
            ls_selectors-op        = c_op.
            APPEND ls_selectors TO lt_selectors.
            ls_selectors-type = c_objtype.
            ls_selectors-attribute = 'BDS_DOCUMENTTYPE'.
            ls_selectors-sign      = c_sign.
            ls_selectors-op        = c_op.
            APPEND ls_selectors TO lt_selectors.
    KW Framework: Context Treatment
            CALL FUNCTION 'SKWF_CTX_CREATE'
              EXPORTING
                context_class      = 'CRM_CTXCL'
                x_reduce_to_one    = reduce_to_one
                description        = 'Default Context'
                x_transient        = 'X'
              IMPORTING
                context_id         = lv_context_id
              TABLES
                instance_selectors = lt_selectors.
    KW Framework: Package Handling
            CALL FUNCTION 'SKWF_PKG_DYNAMIC_CREATE'
              EXPORTING
                package_desc   = 'PAKET'
                x_transient    = 'X'
                appl           = appl
                cspc           = cspc
                context_id     = lv_context_id
              IMPORTING
                new_package_id = l_pkgid
                error          = l_error.

  • Errors in binary data

    Hi
    I am getting some errors in the binary data I am reading over a serial link using the vi attached.
    The vi removes the first seven characters (which are not part of the data string) then converts the binary data to an array of unsigned 16 bit integers.
    There is a regular pattern to the error- every 10th number in the array has an error.
    I am very confused and was wondering if anybody has experienced a similar problem. 
    Many thanks
    Ash
    Attachments:
    Read binary data.vi ‏87 KB

    Hi,
      so are you saying that if you set the instrument you're talking to to return the hex data as ascii versions (i.e. the text "002D" = a 4 byte transmit, rather than 002D a 2byte transmit (or two characters) you get the correct expected data?
    As we can see from the data you've included, the 00's are there in the actual original data set, which I'm guessing is why Altenbach was asking if that was the numbers you were expecting.
    The start of your actual read string is (using the slash code view) \r\nbin,\00\00,v$v\16 so to get to the first element, you need to skip the first 8 characters to be left at the ,v as the first word you're dealing with. You're currently skipping to position 7 which is \00, or 44 in hex as a word.
    Is the ,v definitely the first word, or is it the v$  or the \00v and if you say that the message is
    bin,<first word msb><first word lsb>...<last word lsb><CR>
    then you should probably do a search for "bin," and work from the offset instead. That means your first two data elements would be 00 (or 0 as a word) then the ,v
    The alternative would be to assume the \r\n on the end, and stipr that off the message. Reverse the string, and then typecast. Swap the byte order in the array of U16's, and then reverse the array again. Sounds like you're not gaining anything, but if the instrument definitely transmist as you have put it, then you would be guaranteeing the integrity of the message in words (2 bytes). (When I did this on your message, I got the same as your strip method of pulling off the first 7 elements)
    Would that make more sense? What is the source of the message?
    Thanks
    Sacha Emery
    National Instruments (UK)
    // it takes almost no time to rate an answer

Maybe you are looking for

  • How to install windows xp or 7 on a cell phone

    Hi, Can any one please let me if there is a phone on which we can install windows xp or 7 and run it the way we normally run it on our pc. Can we then run the application on it the way we do on our pcs. Can any one tell me as to how to install window

  • Updated to ios7, now it is asking for passcode?

    I just updated my ipad to ios7. Now it is asking me for a passcode.  I have never used a passcode - there is not passcode; so I cannot get into my ipad at all. I cannot find any way around this and I can't even access apple customer support because i

  • Upgrading to Unity 4.0(5) from 4.0(2) documentation help for Cobras export

    I'm upgrading our Unity 4.0(2)  to unity connection 8.x. I know that I'll need to use COBRAS to migrate the data however, it looks like I have to at least upgrade the unity server to 4.0(5), thank you Chris Dean for confirming the correct path, beofr

  • How do I make a radio button control change automatically with time?

    Hello everybody I have a radio button selection with 4 options (Line A, B, C, D) which controls a number of valves depending on which line is sampled. Right now I have to do this selection manually but the proccess requires that each line is sampled

  • Status 51:No status record was passed to ALE by the application

    Hi All, my scenario is file->XI->IDOC. data is reaching r/3 system, but i see below error in WE02 status 51: Application document not posted No status record was passed to ALE by the application registering the function module, linking FM with basic