How to determine the data content of the uploaded PDF from local

Hi,
I have a requirement wherein I will create a new program to upload PDF(contains contract information) from my local directory. Then base on the data in the PDF, I need to perform some contract validtion with SAP. The problem is, I do not know how to extract the data in the PDF. How to do so?
Thanks for your inputs.
Regards,
Marc

Hello Marc,
As we know in conventional ABAP when PDF file is read, SAP converts into binary format which is not directly readable. There are various applications which converts PDF to Text files, using these tools PDF file can be converted, uploaded and read the data.
SAP Portal technology gives reading PDF files option.
http://help.sap.com/saphelp_nwce711/helpdata/en/dc/f1783fe3263042e10000000a114084/content.htm
Pls  have a look at page 11
https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/9913a954-0d01-0010-8391-8a3076440b6e
Regards,
Nishikant.

Similar Messages

  • How to determine the Support Team from Reported-by?

    Hi All,
    We need to determine the support team based on reported-by.
    I have concluded it is only possible by customization of developing ZBADI from these threads:
    Re: How to determine the Support Team from the Reported by?
    Automatic determination support team based on own specs?
    Re: Route tickets based on Message creaters's location
    So we have created ztable which has relation between SAP component, Reported-by and Support Team.
    Now i need to develope a ZBADI  and assign to the action definition SLFN0001_ADVANCED_FIND_PARTNER(i hope).
    Can anyone help me out with the piece of code. Because i don't which FMs to be called for read and update the support desk message.
    Note: Action definition SLFN0001_ADVANCED_FIND_PARTNER uses method call Z_CRM_DNO_PARTNER_1(which is a copy of CRM_DNO_PARTNER_1 and applied some correction as per note: 1041455).
    Thanks in advance.
    Regards
    Sanjai

    closing this thread.

  • How to determine the Support Team from the Reported by?

    Hello Everyone,
    I am working with Solution Manager 4.0 and I want to use Automatic Partner Determination in Service Desk. My employer wants the Support Team (SLFN0003) to be determined by the Reported by (SLFN0002).
    There are already parts of the Automatic Partner Determination that work, like determining the Sold-to Party from the IBase component. Because of that I believe the customizing leading to a correct Partner Determination Procedure is working. But somehow I can’t seem to get the determination of the Support Team from the Reported by to work. Hopefully someone can help me on this matter.
    Thanks in advance!
    Best regards,
    Michael Sital

    method if_ex_order_save~check_before_save.
      data gs_status type zsmgl_status.
      data lt_tguid  type crmt_object_guid_tab.
      data lt_orderadm_h type crmt_orderadm_h_wrkt.
      data lt_status type crmt_status_wrkt.
      data ls_status like line of lt_status.
      data lt_partner type crmt_partner_external_wrkt.
      data ls_partner like line of lt_partner.
      data lt_partner_h  type table of crmt_partner_com.
      data lt_partner_h1 type crmt_partner_comt.
      data ls_partner_h like line of lt_partner_h.
      data ls_field_names type crmt_input_field_names.
      data lt_field_names type crmt_input_field_names_tab.
      data lv_logical_key(42) type c.
      data lt_input_fields  type crmt_input_field_tab.
      data ls_input_fields like line of  lt_input_fields  .
      data gt_partner_h type crmt_partner_external_wrkt.
      data gs_partner_h like line of gt_partner_h.
      data lt_cjest type table of crm_jest.
      data ls_cjest type crm_jest.
      clear lt_status.
      clear lt_partner.
      clear lt_orderadm_h.
      insert iv_guid  into table lt_tguid.
      call function 'CRM_ORDER_READ'
        exporting
          it_header_guid       = lt_tguid
        importing
          et_status            = lt_status
          et_orderadm_h        = lt_orderadm_h
          et_partner           = lt_partner
        exceptions
          document_not_found   = 1
          error_occurred       = 2
          document_locked      = 3
          no_change_authority  = 4
          no_display_authority = 5
          no_change_allowed    = 6
          others               = 7.
      if sy-subrc = 0.
    Get in only  if status is changed to Inprogress.
        clear ls_cjest.
        select single * from crm_jest into ls_cjest where objnr = iv_guid and inact = ' '.
        if ls_cjest-stat = 'E0010'.
          read table lt_status into ls_status with key status = 'E0002'.
          if sy-subrc = 0.
    Read Status from Intermidiate Table.
            select single * from zsmgl_status into gs_status
                                     where guid = iv_guid
                                     and   stat = 'E0002'
                                     and   inact = ''.
            if sy-subrc = 0.
    make copy to _h table
              loop at lt_partner into ls_partner.
                move-corresponding ls_partner to ls_partner_h.
                append ls_partner_h to lt_partner_h.
                clear ls_partner_h.
              endloop.
              loop at lt_partner_h into ls_partner_h where partner_fct = 'SLFN0003' or partner_fct = 'SLFN0004'.
                case ls_partner_h-partner_fct.
                  when 'SLFN0003'.
                    ls_partner_h-ref_partner_no = gs_status-partner_number.
                    ls_partner_h-partner_no = gs_status-partner_number.
                    modify lt_partner_h from ls_partner_h transporting  ref_partner_no partner_no.
                    clear ls_partner_h.
                  when 'SLFN0004'.
                    if gs_status-bu_partner is not initial.
                      ls_partner_h-ref_partner_no = gs_status-bu_partner.
                      ls_partner_h-partner_no = gs_status-bu_partner.
                    else.
                      ls_partner_h-partner_no = ' '.
                      ls_partner_h-ref_partner_no = ' '.
                    endif.
                    modify lt_partner_h from ls_partner_h transporting  ref_partner_no partner_no.
                    clear ls_partner_h.
                endcase.
              endloop.
            endif.
            lt_partner_h1[] = lt_partner_h[].
            loop at lt_partner_h1 into ls_partner_h where ref_partner_fct = 'SLFN0003' or ref_partner_fct = 'SLFN0004' .
              clear ls_field_names.
              ls_field_names-fieldname = 'PARTNER_FCT'.
              insert ls_field_names into table lt_field_names.
              ls_field_names-fieldname = 'PARTNER_NO'.
              insert ls_field_names into table lt_field_names.
              ls_field_names-fieldname = 'DISPLAY_TYPE'.
              insert ls_field_names into table lt_field_names.
              ls_field_names-fieldname = 'NO_TYPE'.
              insert ls_field_names into table lt_field_names.
              ls_field_names-fieldname = 'KIND_OF_ENTRY'.
              insert ls_field_names into table lt_field_names.
              ls_input_fields-ref_guid    = iv_guid.
              ls_input_fields-ref_kind    = 'A'.
              ls_input_fields-objectname  = 'PARTNER'.
              ls_input_fields-field_names = lt_field_names.
              lv_logical_key = '0000'.
              lv_logical_key+4 = ls_partner_h-partner_fct.
              lv_logical_key+12 = ls_partner_h-partner_no.
              lv_logical_key+28 = ls_partner_h-ref_display_type.
              lv_logical_key+30 = ls_partner_h-ref_no_type.
              ls_input_fields-logical_key = lv_logical_key.
              insert ls_input_fields into table lt_input_fields.
            endloop.
            call function 'CRM_ORDER_MAINTAIN'
              exporting
                it_partner        = lt_partner_h1
              changing
                ct_input_fields   = lt_input_fields
              exceptions
                error_occurred    = 1
                document_locked   = 2
                no_change_allowed = 3
                no_authority      = 4
                others            = 5.
          endif.
        endif.
      endif.
    endmethod

  • How to determine the schema name from stored function or procedure

    Hi all
    I need to find the way to determine the name of shema in which the given stored procedure residing. This SP is created with AUTHID CURRENT_USER what means that expression like SYS_CONTEXT('USERENV','CURRENT_USER') or SYS_CONTEXT('USERENV','CURRENT_SCHEMA') will be return the name of user or schema of user which calls given SP.
    can somebody help me?

    What is the problem you are trying to solve?
    Presumably, when you're creating a stored procedure, you know what schema owns it. So it's pretty trivial to simply create a local variable L_OWNER in your procedure, assign it the value of the schema owner, and then use that owner. Most people don't really need to figure out at runtime what they already knew at compile time.
    Barring that, you could inspect the data dictionary as user130038 suggested. That requires that you know the name of the procedure (which would likely also have to be a local variable that is initialized to a hard-coded value. And if there are multiple users that own procedures with the same name, it may not be reliable.
    Inspecting the call stack is the most reliable and dynamic approach. But it is also the most costly in terms or runtime performance and in terms of code complexity.
    Justin

  • How to determine the destination port from a audit fail event

    I have a bunch of audit failure events (4625) in our security log. The details only show the source address and port but no destination port info.. Is there anyway I can find out that info.? What I really want to know is what application\port does these
    login try to authenticate into.. 
    Thanks

    Hi,
    I am not aware of any way to determine the destination port based on event logs. However, you can try to use NetMon or other software to catch packages to see if it works.
    As for application, you can check the Process Information in the event.
    Best Regards,
    Amy

  • How to get the upload file from a html form ?

    I have a <input type=file ...> control in my form, and the user use that
              control to submit a file
              to my web server. The porblem is the getParameter() function of
              HttpServletRequest only return the
              filename. Does anyone know how to get the file body ?
              Frances
              

    http://www.servlets.com/jsp/examples/ch04/index.html#ex04_17
              Frances Fan <[email protected]> wrote:
              > I have a <input type=file ...> control in my form, and the user use that
              > control to submit a file
              > to my web server. The porblem is the getParameter() function of
              > HttpServletRequest only return the
              > filename. Does anyone know how to get the file body ?
              > Frances
              Dimitri
              

  • How to determine the proper size for Oracle 8i Data Base Objects

    Hi,
    I'm working on an Oracle 8i Data base. I'd like to know how to determine the proper size for the Data Base objects such as tables, datafiles, tablespaces...
    Thanks.

    Start with the docs.
    http://download-west.oracle.com/docs/cd/A87860_01/doc/server.817/a76956/schema.htm#949
    Best Regards
    Krystian Zieja / mob

  • How to determine the size of the JVM process?

    Hi,
    How to determine the total process size of the JVM process (that includes Heap, Non Heap and Native memory)?
    Is there any command to obtain this value on Solaris (for Sun JVM)?
    I refer the process size to http://middlewaremagic.com/weblogic/wp-content/uploads/2010/11/Java_Heap_Diagram_12.jpg) here.
    Many thanks for your help in advance!

    Hi,
    Make sure that Total Heap + Native memory will be consider as total Memory.
    That means in 32 bit you will have only at most 4 GB for process + additional 2 GB for OS.
    So let assume if you have 4GM RAM then out of the 4GB you can allocate 2GB as Heap and 512m as Perm in case of Hot spot and remaining will be consider as Native memory.
    But in case of 64 bit will change you will have good amount of the memory so you can use plenty of Heap and Perm size.
    Still if you have query let me know.
    Regards,
    Kal

  • How to determine the contract header's valid period...

    1. How to determine the service contract header's start date, end date, when related muliple items with different start date and end date?
    i.e., what is the different between the header's valid period and item valid period?
    For example:
    Sold to A has 5 items, which has different contract line item start date and end date, e.g.,
    item 2: 2010.9-2011.9
    item 3: 2011.4-2012.4
    As for combined the all item bolonged to sold to A to one contract, so the item should have different contract start date and end date.
    However, how to determine the contract header's start date and end date?
    2. Another question is: When process service contract data migration from legance to CRM, how to design the above scenario logic?
    Thanks in advance,

    Sent again, to wait the answer....

  • How to determine the second decimal of currency is equal to 0.

    Hi guys,
    My problem is how to determine the second decimal of currency is equal to 0.
    i.e: 130.23 the second decimal is 3.
    Thx in advance.
    Points will be rewarded.

    Hi Vincent,
    if you want to check the internal currency value, you can not know from the field contents what is the second decimal. Because ABAP currency fields (CURR) are connected to currency key CUKY. For USD or EUR you have two decimals, japanese yen have no decimals where as some arabian pound have three decimals. The default are 2 decimals; all excetions can be found in table TCURX.
    If you WRITE the value it is converted correctly according to the connected currency.
    Just multiply the value with 10 to the power of decimals, e.g. USD value * ( 10 ** 2 ). Then do a MOD: second_decimal_of_currency = ( value * ( 10 ** decimals ) mod 10.
    If result is zero, then the second decimal of currency is equal to 0.
    Regards,
    Clemens

  • How to determine the ROWNUM in a Master Detail Form

    Hello,
    I am working in a Master Detail Form with Orders and Order Items Information; and I created a process that allows the users to select a Product ID on a tabular form, and the next column is populated automatically with the Product Description.
    To achieve that, I followed some instructions by Denes Kubicek (http://apex.oracle.com/pls/otn/f?p=31517:241), but my case is slightly different:
    <ul>I am using a wizard-created tabular form, instead of a manual tabular form; and </ul>
    <ul>Instead of using another page as a Popup to pass the parameter of the ROWNUM, I am using a plug-in called “Tabular Form Super LOV” which is a modified version of the SkillBuilders’ Super LOV that works on Tabular Forms. </ul>
    The Product ID is returned in the correct row by the plug-in; but in the case of the Product Description, it is always returned into the first row; and my problem is that I don't know how to determine the row where the user clicked to call the plug-in.
    I set up an example in apex.oracle.com in case someone would like to look at it:
    Workspace: ediazjorge
    Username: test
    Password: test
    App Name: Sample App
    App Number: 1550
    BTW, I am using Apex 4.1.1.00.23 and Oracle DB 10.3.2.
    Thanks in advance,
    Erick

    Hello VC,
    Thank you for your time and help.
    Unfortunately, it is still not working properly:
    1. When the Popup LOV opens, the first row of the tabular form is 0, the second row is 1, and so on. How can I assign the values starting with 1 and in the format *0001* ? (I am still a novice on Apex and new to JavaScript :-), sorry about that).
    --2. Also, when I close the Popup LOV, the value of P1_ROWNUM is ‘undefined’ again so I'm not sure if the Product Name column will be populated.--
    3. And finally, you are using the jQuery Selector uPopupLOVIcon, which is an attribute of the Cloudy Theme. In my real application (Apex 4.1.1.00.26), my element looks like: *<img src="/i/lov_16x16.gif" width="16" height="16" alt="Popup Lov" alt="List" style="vertical-align:middle;" align="middle" />*. What do you recommend me to use as a jQuery Selector?
    Again, I really appreciate your help and time. I think you solved the most difficult part.
    Thank you so much,
    Erick
    Update: I just found out that the problem with my comment 2 is because I didn’t delete the previous dynamic action that set the value to P1_ROWNUM.
    Edited by: ediazjorge on Sep 18, 2012 11:20 AM

  • How to determine the mount point for directory /tmp ?

    Folks,
    Hello. I am installing Oracle 11gR2 RAC using 2 Virtual Machines (rac1 and rac2 whose OS are Oracle Linux 5.6) in VMPlayer and according to the tutorial
    http://appsdbaworkshop.blogspot.com/2011/10/11gr2-rac-on-linux-56-using-vmware.html
    I am installing Grid infrastructure. I am on step 7 of 10 (verify Grid installation enviroment) and get this error:
    "Free Space: Rac2: /tmp"
    Cause: Could not determine mount point for location specified.
    Action: Ensure location specified is available.
    Expected value: n/a
    Actual value: n/a
    I have checked the free space using the command:
    [root@Rac2 /]# df -k /tmp
    Output:
    Filesystem     1k-blocks     used     Available     Use%     Mounted on
    /dev/sda1     30470144     7826952     21070432     28%     /
    As you see above, the free space is enough, but could not determine mount point for /tmp.
    Do any folk understand how to determine the mount point for directory /tmp ?
    Thanks.

    I have just checked "/home/oracle/.bash_profile". But in my computer, there is no "oracle" under /home directory.Is this your first time Linux and Oracle installation? I had a brief look at your referenced link. The reason why you do not find a "oracle" user is because the instructions use "ora11g" instead, which, btw, is not standard. The directories of your installation and your installation source can be somewhat different from known standards and you will have to adjust it to your system.
    My best guess is that you have either missed something in the instructions or you need to ask the author of the blog what is wrong. The chance to find someone here who has experience with these custom instructions is probably unlikely.
    I suggest you try to locate the cluster verification tool, which should be in the bin directory of your grid installation. Alternatively you might want to check the RAC, ASM & Clusterware Installation forum: RAC, ASM & Clusterware Installation

  • How to determine the field size

    I am going to make a multiplatform application that hopefully
    will run on linux and windows 2000.If the os is 2000, then I will use
    vb.net/aspx else I'll use java servlets. I make the connection
    to the web server ( through HTTP) not directly to database server.
    So, the resultset will be stored in the String object. The columns
    will be separated by delimeter. Our problem is how to determine
    the size and type of the fields of mssql,oracle and postgres database
    so that we can include it in the String object.
    Ex.
    String sResultSet=new String();
    ResultSet rs=statement.executeQuery(sSQL);
    while(rs.next()){
    sResultset=sResultSet + rs.getString(field1) + "||" + rs.getString(field2) + "||";
    vertical bars acts as delimeter
    supposedly this is the code:
    sResultset=sResultSet + rs.getString(field1) +"_" + rs.getFieldType() + "_"+
    rs.getFieldSize() + "||" + rs.getString(field2) +"_" + rs.getFieldType() + "_"+
    rs.getFieldSize() + "||";
    supposedly this is the code if rs.getFieldType() and rs.getFieldSize() methods are existing
    Anyone can give me an idea how to get the field type and field size of the database?
    thanks in advance

    Yes, but I dont know how to do it.
    Can you give me an example of using it.
    Thanks in advance

  • How to determine the cost center

    Dear experts:
    Could you give me some suggestions about how to determine the cost center depending on the different
    storage location when we use the t-cdoe MI07
    Thanks in advance.
    Rong

    Hello experts!!!
    how have you resolved this issue???
    I have the same situation, and i dont know how to manage this.
    Thank you very much in advance.
    Best regards,
    M. Cecilia Vacatello.

  • How to determine the type of the jobject... similar to instanceof

    hi,
    I would like to know how to determine the jobject reference of an instance is of which class.
    this is something similar to instanceof we use in java.
    is there any thing like 'instanceof' in JNI. if there how to use it?
    i got this as objective question for which answers were(i do not remember exactly)
    1.instanceof
    2.assignedto
    i could nt het much help in googling.
    thanks in advance

    Hi
    The JNI provides a native version to the java instanceof operator, this function takes two arguments
    an object refrence and a class refrence and reports JNI_TRUE.
    jclass myclass = env->FindClass("your class name");
    if(env->IsInstanceOf(obj,myclass) == JNI_TRUE)
    // obj is of type myclass
    }Regards
    pradish

Maybe you are looking for

  • New powerbookg4 fails to aol through a pc network

    HELP! i have tried almost everything in vain. i bought a powerbook g4, it has jaguar runnin on it, and i've learned a good bit about it. its my first mac. my parents have a network setup that uses aol. the network set up is a wireless one so im tryin

  • 9i iAs install on same Solaris box w/8.1.6.0.0

    What torture! I installed Oracle 8.1.6 on a Solaris 2.7 Enterprise 250 w 512 meg Ram. Installed in the ORACLE_HOME /atl/ora816 And established a new user 'oracle' to own the database, and the group 'oinstall'. After that tried to install the 9i iAs o

  • File Receiver Comm Channel in error

    Hi All, I am getting below error in my receiver communication channel - Transmitting the message to endpoint <local> using connection File_http://sap.com/xi/XI/System failed, due to: com.sap.engine.interfaces.messaging.api.exception.MessagingExceptio

  • New OS Needs ALL Updates, Must Install Offline

    I'm new to working in this field and I have just been assigned the task of collecting all updates for Windows 7/2008 R2 into a singular file so that every time we install a fresh OS, we can apply these updates offline. As you can imagine, for securit

  • Importing photobook pages into a new photobook

    I've got a lot of experience working with PSE project files but I can't figure out how to take a page from an existing PSE project file and copy it into another project file. I've tried dragging and dropping (doesn't work), and can't seem to find a m