Will WS_DELIVERY_UPDATE returns PGI number?

Hi Experts,
I want a small information that i am little bit struggling with this issue, i.e. I want PGI number (Material document number) that with out usig select query from MKPF/MSEG tables. I am using WS_DELIVERY_UPDATE function module for PGI. Will it return us that material document number? Please provide me your valuable suggestions and will be reqrded. Thanks in advance....
Regards,
Lakshman....

Hi Venkat,
Thanks for your immediate response.  Please provide me the paramter name which will be return the value of PGI number. PLease becuase i did't found any one...please provide me...
Regards,
Kumar..

Similar Messages

  • When Adding Report to Dashboard will not return

    Version: 10.1.3.4.0
    When I run a report from answers all is fine, I can view "all pages" no with no issues. When I take the same report and add it to a dashboard, then run the report and view the first page 25 records results are fine. If I try to view "all pages" with the icon at the bottom of the page the report will not return and will stay in a state of "Transferring data from <BI Server Name>"i explorer process just grow in memory size and utilizes about 1GB in memory, but nothing returns.
    When I run the report from answers I get all the records returned in about 10 minutes time. The number of records returned is 28,000. There are 50 columns in the report.
    When I run the query from an SQL tool the response time is less than 20 seconds.
    Thanks
    Edited by: sweetsophia on Apr 11, 2011 6:12 AM
    Edited by: sweetsophia on Apr 11, 2011 6:17 AM
    Edited by: sweetsophia on Apr 11, 2011 6:17 AM

    Hi sophia,
    I suppose the BI server hangs due to lot of records coming up when tried to see with the last page button .We need to handle how many records should be displayed in answers itself.But all is well with your answers screen.Can you look at it by going page by page so is it fetching or not?
    Check what is the SQL generated by BI server when you click last page button
    hope helps you.
    Cheers,
    KK

  • Returning a number with precsion in pl/sql function

    How can I return a number with desired precision in oracle function
    e.g
    Function return_number ( --- )
    return number
    is
    v_number number(10,2)
    begin
    select no into v_number from table;
    return v_number;
    end;
    will this work

    How can I return a number with desired precision in oracle functionCreate a subtype as e.g. in
    SQL> create or replace package pkg
    as
    subtype n10_2 is number(10,2);
    end pkg;
    Package created.
    SQL> create or replace function return_number
       return pkg.n10_2
    is
       v_number       pkg.n10_2;
    begin
       return v_number;
    end return_number;
    Function created.
    SQL> select object_name ,data_type, data_precision, data_scale from user_arguments where object_name = 'RETURN_NUMBER'
    OBJECT_NAME                    DATA_TYPE                      DATA_PRECISION DATA_SCALE
    RETURN_NUMBER                  NUMBER                                     10          2
    1 row selected.also possible:
    ... return tab.col%type;where col is a column of tab with data type number(10,2).

  • API search will only return the first 200 results????

    It seems that I can only retrieve 200 results when using doOracleSimpleSearch api call.
        osr = oses.doOracleSimpleSearch(strSearch, 1, 1000, false, false, true);
        nCount = osr.docsReturned;
        nCount2 = osr.resultElements.Length;
        nCount3 = osr.estimatedHitCount;nCount and nCount2 are both 200.
    nCount3 is 1332
    Ok, no problem. Even though I asked for 1000 results, I figure it will only return 200 at a time, so I write a simple loop.
       while (nTotalResults < nCount3)
          osr = oses.doOracleSimpleSearch(strSearch, nTotalResults + 1, 200, false, false, true);
          nCount = osr.docsReturned;
          nTotalResults += nCount;
       }After executing the search the first time, nTotalResults is set to 200, so I'm now requesting that the search starts at index 201 and to return the next block of 200.
    osr.docsReturned is now = 0
    stuck in infinite loop because it's not returning all my results.
    Update:
    It seems this is not just an API issue. If I do the search through the web interface, and go to page 20 (it's displaying 10 results per page) I see results. But as soon as I go to page 21, the page is blank even though it says there are over 1000 results.
    Edited by: JimG on Feb 15, 2012 5:17 PM

    You need to change the "Maximum Number of Results" from the Admin GUI.
    Go to Global Settings -> Query Configuration, and you'll find it there.

  • How to return whole number using round function

    hi
    can i get sql query using round function how to return whole number value

    Hi welcome to the forum. if you want whole number value what does it mean
    1. whether you want the whole number greator than or eqaul to that number example for 12.6 you want 12 or 13
    see below example
    1.  SQL> select round(12.5) from dual;
    ROUND(12.5)
             13
    2.  SQL> select round(12.4) from dual;
    ROUND(12.4)
             12
    3.  SQL> select floor(12.5) from dual;
    FLOOR(12.5)
             12
    4. SQL> select floor(12.4) from dual;
    FLOOR(12.4)
             12
    floor will always give you a round value which is a integer or whole number less than or equal to but output of rond will differ if the value is greator than 12.5 it will give 13 but if it is less than 12.5 it will give 12, so depending on your requirement you can choose which function to use. similarly if you always want to get the whole number greator than the number you can use ceil as below
    SQL>  select ceil(12.3) from dual;
    CEIL(12.3)
            13
    SQL>  select ceil(12.8) from dual;
    CEIL(12.8)
            13

  • SSIS OLE DB Source in Data Flow Task calling SP that returns variable number of column as output

    We have one old Stored Proc that I need to reuse. But that stored proc returns different number of Columns as output depending on input Parameter. Say, if I pass 1 to 9 it will return 'ID', if i pass 10 to 33 it will return 'ID', 'Name',  if I pass
    34 to 51 it will return 'ID', 'Name', 'DefaultPosition' 
    In this way.
    Now I wanted to use this in OLE DB Source in SSIS DFT. 
    During that time immediately it is picking all possible columns in Available External Columns. Even if I manually select/delete those, package is failing at Runtime, because in Runtime the parameter this will get, it should always return one & only one
    column which is ID. [Because in this package I will only have to pass parameters like, 1 or 2 or 5 or 7 or 9.
    Which in every  case should return only ID from stored proc.
    Any Idea how I can get this please?
    Regards, Avik M.

    Has any one tried something like it? Could you please provide me a sample if you have done it.
    I tried these options but always got errors as
    [usp_return [64]] Error: SSIS Error Code DTS_E_OLEDBERROR.  An OLE DB error has occurred. Error code: 0x80040E55.An OLE DB record is available.  Source:
    "Microsoft SQL Server Native Client 10.0"  Hresult: 0x80040E55  Description: "Column does not exist.".
    [SSIS.Pipeline] Error: SSIS Error Code DTS_E_PRIMEOUTPUTFAILED.  The PrimeOutput method on component "usp_return" (64) returned error code 0xC0202009.  The component returned a failure code when the pipeline engine called PrimeOutput(). The meaning
    of the failure code is defined by the component, but the error is fatal and the pipeline stopped executing.  There may be error messages posted before this with more information about the failure.
    ~ Thank you so much
    Regards, Avik M.

  • Returns Policy - Number of days

    Hi All,
    I am testing a condition where the number of days in the returns policy should be visible in the returns sales order document.
    Could anyone please let me as to where I can find the number of days in the Returns Sales order within which the customer is expected to return the products?
    Also, please mention the condition type in SAP SD in which I can configure the number of days for return.
    Many Thanks,
    Shilpa

    Dear Shilpa,
    I am testing a condition where the number of days in the returns policy should be visible in the returns sales order document.
    I Hope there is no return 'policy' mapped in SAP.
    Hence give us more input on how the return date is calculated for each order.
    i.e, is it fixed for all the customers/materials?
    Could anyone please let me as to where I can find the number of days in the Returns Sales order within which the customer is expected to return the products?
    Without mapping the process, you will not find the number of days in the return sales order.
    Also, please mention the condition type in SAP SD in which I can configure the number of days for return.
    Do you mean pricing Condition type ? if so, whats the relevance in this scenario.
    It would be great if you can just tell whats already mapped in your SAP and Whats the requirement in simple sentences.
    Thanks & Regards,
    Hegal K Charles

  • Iostat -En dosent always return  serial number some times??

    iostat -En is returning serial no of disk drive blank.
    what is the reason???
    the device is still connected???
    how do we correct it without restarting

    There is no guarantee that you will see a serial number for every device in an iostat report.
    The drive's manufacturer needs to design it, so that the device bothers to report everything back on itself.
    A serial number is an irrelevant piece of information.
    The only time you need a serial number is when you are attempting to verify warranty status.
    Is the drive still connected?
    If you see the device in that iostat report, then it is connected.
    Is it working correctly?
    You need to analyze the information in that report as well as
    analyze information from other sources.
    Then you make a human judgement-call.
    Examples of other sources?
    /var/adm/messages, metastat, and complaints or comments from end-users.
    I'm sure there are other ways of gathering information, too, per each type of hardware.
    I am not aware of anything you can do to force a drive
    to give you its serial number in that iostat output report.

  • How to find port number , when there will be different instance number ?

    In case of portal url,
    port number is 50000 for default instance number 00.
    how to find port number , when there will be different instance number , instead of 00?
    Thanks

    Hi
    You can find the port number by your instance number as follows:
    There is a general format for the port number like you have mentioned.
    For 00 instance the port number is 50000.
    The general format for the port number goes like this:
        <b>5<instance_no>00</b>
    If your <b>instance number is 01</b> then the port number would be <b>50100</b>.
    It depends on the installation type which you perform.
    You can also change the instance number during the installation but normally you dont do this.
    If you have many components or units installed on your system you may have more than one instance in that case it may go like this 00, 01, 02....accordingly port number will be 50000, 50100, 50200...resp.
    Hope this solves your doubt.
    If you need some more clarification please lemme know.
    Regards
      Sumit Jain
    **Rewrd with points if useful.

  • Which system field returns the number of records returned after a select?

    Which system field returns the number of records returned after a select?
    a) sy-index
    b) sy-recno
    c) sy-lncnt
    d) sy-dbcnt
    e) sy-tabix

    Hi,
       SY-DBCNT
    Regards,
    Prashant

  • IS THERE A FUNCTION TO RETURN THE NUMBER OF MONTHS OR DAYS?

    I know that you can do a months between function between 2 dates divided by 12 and get years but is there a function that can return the number of months between 2 dates or the number of days between 2 dates in a select statement for a report? These 2 dates are entered in an Oracle forms.
    I have 2 dates.
    BEG_SVC_DT 30-JUL-1995 DATE FORMAT
    END_SVC_DT 981007 VARCHAR2 FORMAT Positions 5 and 6 are the days.
    I must subtract BEG_SVC_DT from END_SVC_DT.
    In PLSQL I add 31 to 07 and get 38. I subtract 30 from 38 and get 8.
    or I have 2 dates
    BEG_SVC_DT 10-JAN-2003 DATE FORMAT
    END_SVC_DT 050924 VARCHAR2 FORMAT Positions 5 and 6 are the days.
    I must subtract BEG_SVC_DT from END_SVC_DT.
    In PLSQL I subtract 10 from 24 and get 14.
    In both scenarios the end_dt field must be VARCHAR2 because the user has to enter the word 'PRESENT' . Is there a function in SQL that would compute the
    number of days between 2 dates?
    Is there a function to get the number of months between 2 dates?
    I have 2 dates.
    BEG_SVC_DT 12-JUL-2004 DATE FORMAT
    END_SVC_DT 050807 VARCHAR2 FORMAT Positions 3 and 4 are months.
    I must subtract BEG_SVC_DT from END_SVC_DT
    JUL is the 7th month.
    In PLSQL, I subtract 07 from 08 and get 01
    Or I have 2 dates
    BEG_SVC_DT 13-NOV-2004 DATE FORMAT
    END_SVC_DT 050429 VARCHAR2 FORMAT Positions 3 and 4 are months.
    I must subtract BEG_SVC_DT from END_SVC_DT.
    NOV is the eleventh month. 04 is less than 11.
    In PLSQL I have to add 12 to 04 and subtract 11 from 16 to get 05.
    In both scenarios, the end_dt field must be VARCHAR2 because the user has to enter the word 'PRESENT'. In SQL, is there a function to compute the number of months between 2 dates?
    I am doing my calculations this way because this is the way that the user has been doing them when they created the report manually.
    The database that I am using is Oracle 9.2.0.6
    Report Writer Report Builder 6.0.8.22.0
    Forms 6.0.8.22.1

    In your example:
    BEG_SVC_DT 30-JUL-1995 DATE FORMAT
    END_SVC_DT 981007 VARCHAR2 FORMAT Positions 5 and 6 are the days.
    I must subtract BEG_SVC_DT from END_SVC_DT.
    In PLSQL I add 31 to 07 and get 38. I subtract 30 from 38 and get 8.
    Where is the "31" depending on, on year and month of BEG_SVC_DT or END_SVC_DT?
    What would be the answer for the following example
    BEG_SVC_DT 25-FEB-1995 DATE FORMAT
    END_SVC_DT 980407 VARCHAR2 FORMAT
    Do I add 28 (=number of days in FEB-1995),
    or 30 (=number of days in APR-1998),
    or 31 (= max number of days in any month?)

  • Itunes will not play a number of songs in my library as they were purchased a long while ago using an email address and ISP that I no longer use. Any ideas?

    Itunes will not play a number of songs in my library as they were purchased a long while ago using an email address and ISP that I no longer use. When I try and play them I get the message "this computer is not authorised to play this song, authorise your computer now".  Any ideas?

    Hello, quckvic. 
    Thank you for visiting Apple Support Communities. 
    You will need to reset your Apple ID password via the steps in the first article below.  Take a look at the option that refers to answering the security questions.  Since you do not have access to the email account and if you are unable to answer the security questions, see the second article. 
    If you forgot your Apple ID password
    http://support.apple.com/en-us/HT201487
    Contact Apple for help with Apple ID account security
    http://support.apple.com/kb/HT5699
    Cheers,
    Jason H.

  • Loop through a csv file and return the number of rows in it?

    What would be simplest way to loop through a csv file and
    return the number of rows in it?
    <cffile action="read" file="#filename#" output="#csvstr#"
    >
    <LOOP THROUGH AND COUNT ROWS>

    ListLen(). Use chr(13) as your delimiter

  • Unable to return a number from CASE statement in plsql

    Hello all!
    Back in November of last year, I received some assistance from user "jarola" regarding changing the color of a column item in a query based on the resulting value. This discussion yielded;
    declare
       l_query varchar2(4000) := '';
    begin
       l_query := '
         select i.INVENTORY_ID,
                io.ORDER_QUANTITY,
                CASE
                   WHEN i.QUANTITY_AVAILABLE=0
                   THEN ''<span style="color:red;"> ''|| i.QUANTITY_AVAILABLE ||''</span>''
                   ELSE to_char(i.QUANTITY_AVAILABLE)
                END,
                i.QUANTITY_AVAILABLE qty_avail_hold,
                i.STRAIN_CODE,
                i.STRAIN_NAME,
                i.GENOTYPE,
                i.AGE,
                i.***,
                (lower(substr(i.ROOM_NUMBER,1,instr(i.ROOM_NUMBER,''-'',1,1)-1))) ROOM_NUMBER
         from   SM_INVENTORY i,
                SM_INVENTORY_ORDER io
         where  io.ORDER_ID (+)= :F111_MODIFYING_ORDER
         and    io.INVENTORY_ID (+)= i.INVENTORY_ID';
    return l_query;
    end;Problem is, sorting (report attributes for column set to "sort") on column i.QUANTITY_AVAILABLE is broken as even though the data in the table is number(12,0), the CASE statement returns it as alpha. I'm having difficulty getting this CASE statement to return a number as these modifications cause generic compilation errors.
    ELSE i.QUANTITY_AVAILABLE
    ELSE to_number(i.QUANTITY_AVAILABLE)
    Google/sqlplus docs have yielded little. Might anyone offer advice?
    Thanks!!!
    Paul

    Hello Varad! Thanks for the reply.
    Sorry, but I copied some old information in my code example. the CASE statement I'm actually using is;
    CASE
       WHEN i.QUANTITY_AVAILABLE=0
       THEN ''<span style="color:red;"> ''|| i.QUANTITY_AVAILABLE ||''</span>''
       ELSE to_char(i.QUANTITY_AVAILABLE)
       END AS QUANTITY_AVAILABLESo I'm already returning the result as labeled "QUANTITY_AVAILABLE".
    What I did was click on the pencil/paper icon to the left of the alias of my column in the "Column Attributes" pane in "Report Attributes" to get to the "Column Attributes" page and plugged #QUANTITY_AVAILABLE# into the HTML Expression field of the "Column Formatting" pane of the "Column Attributes" page for the "QUANTITY_AVAILABLE" column.
    No joy, sort still broken...
    Isn't the problem that fundamentally, the CASE statement returns an alpha? I wouldn't expect the sort to ever work until it can return a number (which it appears SQL, used this way, it cannot do).
    So, I considered that END AS QUANTITY_AVAILABLE might be the problem as it's named the same as the column, so I changed it (and the HTML Expression entry) to END AS QUANTITY_AVAIL (changed the name).
    Sort as alpha still happening.
    Any other thoughts?

  • Where can I find a method to return the number of constants in an enum?

    I'd like to get the number of constants in an enum, but can not find any documentation on the topic.
    The only method I find reference to is the values() method.
    Are there other methods?
    Is there a method to return the number of items in the values array?
    Thanks,
    Norm

    Encephalopathic wrote:
    A_Sailor wrote:
    I had a mental block there.In my field, we call this a "cerebral spasm".From what I know of your field, that's a strange place to keep your cerebrum ;-)

Maybe you are looking for

  • NOTEBOOK RECOVERY OF 14-n019se

    Help me for below product Thanks Vijay Product name: HP PAVILION 14 NOTEBOOK PC  TS 14-n019se Product number: F0F92EA#ABV Error while do recovery from DVD media or USB disk. [10:22:46.68] Failed to configure RAID0 + SRT [10:22:46.72] Please check C:\

  • Apple tv at school issues

    I can't get my ipad to mirror in my classroom.  It is something with the network.  Does anyone know anything about school networks that prevents them from mirroring.  Thanks!

  • Can Oracle Express 10g be set up so a database is accessible without acct?

    I have a test database set up on one Windows Virtual PC and apps that need to connect to it on another. I can see the database from the app VPC fine through sqldeveloper, but I need to log in with a username and password (which I can't seem to set to

  • Is ARIS part of 7.1

    Was wondering if anyone has seen a sneak preview of PI 7.1, is ARIS modeller tool bundled with 7.1? Thanks Hari

  • Can anyone help me to create a header in Dreamweaver CS5 (image included)

    Hi there: I have a project to do and i have to create this header: i even didn't know how to insert the vertical line (between the logo and the text) so i just cropped this image in fireworks and got the logo and the vertical line and just insert the