BAPI_PO_CREATE1 - How to get error PO item number

All,
I am using BAPI_PO_CREATE1. When PO is errored out, RETURN structure returns PO number with list of errors and warnings.
It says, 'PO contains still faulty items'  but does not return specific item number.
I need error PO item number too. Any help?
Thanks,
SKJ

In the RETURN table which is of BAPIRET2 structure, there are 2 fields PARAMETER, ROW. Parameter gives the Table name which has the error and the ROW field gives the row number in that particular table. for eg: PARAMTER = 'POITEM'  and ROW = '2' means the error corresponds to line number 2 in the POITEM table.
If these 2 fields are not populated, then it is an error in the header
Hope this helps,
Regards,
Hari

Similar Messages

  • How to get the current month number

    Hi everyone,
    Does anybody know how to get the current month number in Oracle Discoverer Worksheet calculation?
    I try to use EUL_DATE_TRUNC(CURRENT_DATE, 'MM'), but instead I got 01-AUG-00.
    If I change the data display format to MM, it will give me "08" but if I use TO_NUMBER function to convert it to number I get error "invalid number"
    Is there anyway to get the current month value in number? Thanks

    Scott,
    Thank you so much! It works perfectly! :)
    Hope you have a great day ahead!
    Cheers,
    Angeline

  • I am trying to send a text message from my iPad when I enter phone number I get error message phone number not registered with iMessages  from contacts

    When attempting to send text message from iPad I get error message "phone number not registered with iMessage REMOVE" the number is for iPhone an includes area code and country code. How do u register a number with iMessage?.

    TestnTag wrote:
    When attempting to send text message from iPad I get error message "phone number not registered with iMessage REMOVE" the number is for iPhone an includes area code and country code. How do u register a number with iMessage?.
    The iPad is not capable of sending an SMS message so texts, pictures, etc., must go through iMessage.  The destination device must be registered with the Apple servers by turning on iMessage.  Therefore, the user with the iPhone must enable it for iMessage.

  • I am trying to install iTunes 12.0 on my Windows 7 PC to sync my iPhone6. I am getting error message, "Item already exists" on installation of iTunes 12.0.  Apple has no fix. Help???

    I am trying to install iTunes 12.0 on my Windows 7 PC to sync my iPhone6. I am getting error message, "Item already exists" on installation of iTunes 12.0.  Apple has no fix. Help???

    Item or object?
    For "Object already exists" or "Access denied" errors when installing try opening Control Panel > Programs and Features > View installed updates then checking for Security Update for Microsoft Windows (KB2918614). Uninstall if you have it, then reboot and try installing again.
    For general advice see Troubleshooting issues with iTunes for Windows updates.
    The steps in the second box are a guide to removing everything related to iTunes and then rebuilding it which is often a good starting point unless the symptoms indicate a more specific approach. Review the other boxes and the list of support documents further down the page in case one of them applies.
    Your library should be unaffected by these steps but there is backup and recovery advice elsewhere in the user tip.
    tt2

  • How to get the unoccupied material number in a number range

    How to get the unoccupied material number in a number range.for example, I wang to get a number between 1500000 and 1599990 which is unoccupied as my material number to be created. Is ther any FM or codes?

    Dear,
    You can get this information from Tcode SNUM or you can access database table NRIV.

  • How to get the 4 digit number associated with a SAP icon ( ICON_MAIL )

    Hi Friends,
                   Could anyone please tell me how to get the 4 digit number associated with a SAP icon ( ICON_MAIL ).
                   eg: - For ICON_GREEN_LIGHT the four digit id code is '@08@' (which you can get from ICON table )and the associated 4 digit number is'1003'.
                  Similarly I want to get the 4 digit number for ICON_MAIL(e-mail icon)
    <b><REMOVED BY MODERATOR></b>
    Ashiq
    Message was edited by:
            Alvaro Tejada Galindo

    You can use this report...It's not mine...
    REPORT zdummy_atg_2.
    TABLES: ICON.
    INCLUDE <ICON>.
    FIELD-SYMBOLS: <F>.
    SELECT * FROM ICON.
       ASSIGN (ICON-NAME) TO <F>.
       WRITE:   /(5) <F>, 20 '@',21 ICON-ID+1(2),23 '@',ICON-OLENG,
                ICON-BUTTON,ICON-STATUS,ICON-MESSAGE,ICON-FUNCTION,
                ICON-NAME.
    ENDSELECT.
    Greetings,
    Blag.

  • How to get a service notification number for given serial number

    Please, someones know how to get a service notification number based on serial number.
    In our process the notification can be created as first step (IW51) or can be created starting from service order (IW32).
    Thanks in advance.
    Luca

    Hi pooja,
    actually standard service request numbers are configured in spro->crm->transactions->Settings for Service Requests->Number Ranges. here they are maintain service request,incident,problem number ranges..
    so when ever your creating any service request then that number range will appear in that object id.
    you have to get that object id in your custom field get_method and based on that you have to change your number..
    example:
    current = me->bo.
    current->get_property_as_string( EXPORTING iv_attr_name  = 'OBJECTI_ID'  RECEIVING rv_result  = lv_id ).
    here you will get object_id based on that you have to write your own logic to display custom value.
    " write your custom logic to populate custom field. pass that custom field value into returning parameter.
    value = custom_value.
    Thanks & Regards,
    Srinivas.

  • How to get the iphone serial number  in application?

    hello,  everyone
       i  really want to konw how to get the iphone serial number in aplication ?  As it's different from uniqueIdentifier ....
    thank you

    Michele is correct - sneep will help you get the serial from the running domain on the M3000 ,
    and it is a good idea to install STB on your machines.
    If that isn't possible for you, then sneep can be downloaded directly from [http://www.sun.com/sneep]
    I believe that on this platform, sneep gets the serial from the output of prtconf.
    There is a minor correction to be made :
    After installed SNEEP use "man sneep" for all technical details.The sneep man page is not linked into the shared man pages, so you need to use
    man -M /opt/SUNWsneep/man sneep
    with out going to OK prompt (Banner)It is worth noting that the serial shown in the OBP banner is not the product serial
    that you will find on the physical serial tag.
    The banner "serial" is the decimal equivalent of the host ID, which you normally get in hexadecimal from the "hostid" command.

  • Purchased and downloaded elements one yr. ago.  Now new computer.  Have CD, tried to install, after entering S/N get error-"not valid number"  What can I do?

    Purchased and downloaded elements one yr. ago.  Now new computer.  Have CD, tried to install, after entering S/N get error-"not valid number"  What can I do?

    Go here (You may need to use the chat option.):
    Activation & Deactivation Help
    This is the Photoshop Forum.
    Note to mod: Please move to the Photoshop Elements forum.

  • How can I install PS Elements 10 when get error message, serial number not valid

    I have a new computer (PC Windows)  and want to install my PS Elements 10  and Light Room 5.2.  When I try to do so I get the error message that my serial number is not valid.  I have used the help/support and have done what suggested but nothing seems to work. (The copies were registered.)  Please help me solve this so that I can't get my pix edited. Thanks so much for any help you can give me.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

    Cathylof did you receive your installation files for Photoshop Elements 10 on CD?  If so are you installing from the CD provided with your purchase?  Please also make sure to utilize the registered serial number at http://www.adobe.com/.  You can find additional details on how to locate the registered serial number at Find your serial number quickly - http://helpx.adobe.com/x-productkb/global/find-serial-number.html.

  • How to get the original record Number in Multi-Record Block

    Hello Everyone,
    I know how to find the duplicate item in the multi-Record block,
    For Ex:
    Line_Num            Item_Name             Quantity
    1                           AA                      10
    2                           BB                      20
    3                           AA Here 3rd record Item_name is duplicated, I can able to check and display the message that 'Item is duplicated' ,I found from [sheikyerbouti.developpez.com/duplicates/duplicates.htm] .
    but I want to show along with original line number i.e 1 when the item_name is entered .
    Here I want to check the original Line_Num and want to display the message
    'Item is duplicated,Update quantity in Original Line 1'
    Can anyone help me to get this?
    Thank You.
    Regards,
    Guru.

    Hi Francois,
    Actually I want to check and show the message when the item_name is entered i.e WHEN-VALIDATE-ITEM TRIGGER.
    I put the following code in WHEN-VALIDATE-ITEM TRIGGER
    Declare
         curnum number;
         dupnum number;
         cur_item varchar2(100);
         v_alert_no number;
         p_linerec varchar2(100);
    Begin
    curnum := TO_NUMBER(:System.Trigger_Record);
    cur_item := :Lines.Item_number;
    First_Record;
    p_linerec := :Lines.Item_number;
    LOOP
    If p_linerec = cur_item then
         dupnum := :Lines.Line_num;
         set_alert_property('ALERT_STOP',ALERT_MESSAGE_TEXT,
    'Duplicate Item Found,Update QTY in Original line number '||dupnum);
       V_ALERT_NO := show_alert('ALERT_STOP');
       :LINES.ITEM_NUMBER := NULL;
    :LINES.ITEM_DESCRIPTION:= NULL;
    :LINES.ITEM_REVISION:= NULL;
    :LINES.ITEM_CATEGORY:= NULL;
    elsIF (:System.Last_Record = 'TRUE') THEN
         Go_Record(curnum);
         EXIT;
      ELSE
         Next_Record;
      END IF;
    END LOOP;
    End; But I am getting the following error,
    FRM-40737:Illegal Restricted Procedure
    FIRST_RECORD in WHEN-VALIDATE-TRIGGERand then
    its showing for first line itself.
    Duplicate Item found.Update QTY in Original line number 1so I put the condition
    If :Lines.Line_num > 1 then --Only to check when the block having more than one record.but now it checking from second record and displaying,
    Duplicate Item found.Update QTY in Original line number 2 --(instead of Update QTY in Original line number 1)Can you tell me how can I change the above code for my requirement?
    Thank you.
    Edited by: Gurujothi on 27 Mar, 2013 5:20 PM

  • How to get the final document number?

    Hi,
    How do I retrieve the document number of a document (e.g. delivery note) that is just added?
    Currently, I use the following event listener:
    [B1Listener(BoEventTypes.et_FORM_DATA_ADD, false)]
    in which I retrieve the document number by reading out the text field on the form:
    EditText text = (EditText)form.Items.Item("8").Specific;
    string deliveryNoteNumber = text.Value;
    This works perfect if only one person is adding documents.  But if two persons are posting a document, they both see the same (temporary) document number in the form while entering the data.  The latest person who finalizes his document, will get another number than the one that was displayed in the form (because the first person already used that number).  So, how can I retrieve the number of a document that is just finalized?
    Thank you very much for your help.
    Regards,
    Pieter Verhaeghe

    You can use the "ObjectKey" property of the BusinessObjectInfo object returned by the form_data_add.
    Catcth the event with BeforeAction = false - after the add event has successfully happened. Then you will see the ObjectKey property of the BusinessObjectInfo object will have an XML string in it. Inside that XML you can find the DocEntry of the newly added document, you will just need to parse it properly!

  • How to get the PO response number

    hi,
    i need to get the Purchase Order Response number for a given PO number and item.
    i have checked BBP_PD_PO_GETHISTORY FM, for few of po numbers i'm not able to find the POR number in this FM.
    can anyone suggest how to get the POresponse number.
    help me soon.
    thanks.

    hi all,
    thanks for the valuable info, now i'm able to get the POR number.
    could you please tell the DB table name, so that i can fetch directly and i can improve the performance.
    thanks,
    gupta.

  • How to get input source line number

    I wrote a XSLT transformation that checks the input XML for errors.
    When the transformer finds a problem, it can terminate with <xsl:message terminate="yes">, which outputs the line number within the transformer XML source. I do so in my implementation to indicate errors.
    But i need to output the line number of the input source, not that of the transformer source, because this is the location of the error.
    Anybody knows how to do this?
    How can i get the current line number of the input source XML text?

    Hello Fritz!
    XALAN reads the entire input file (SAX) before starting with transformation.
    So overriding the input stream is no way to find this line number.
    I think this would have to be a built-in XSLT functionality within the tag "xsl:message".

  • How to get the motherboard serial number?

    Hi
    i am writting an application which will encrypt the motherboards serialnumber and other info to do an activation of my application.
    inevitably locking my program to a specific PC.
    Does anyone know how i can get the motherboards serial number?
    I tried the wmi but get so many errors like missing prototype and not declared.
    I dont know when to start using the Windows Management Instrumentation with regards to Lab windows/CVI.
    Can anyone help me?
    Thanks
    Shako
    Help share your knowlegde

    I made up a small example that shows how to use WMI in CVI.
    Unfortunately, I tested it on two systems (Win XP and Win7) and the serial number that can be retrieved in System Enclosure (that should be the S/N assigned by the PC producer) is always blank.
    I will try to locate additional infos on this matter, in the meanwhile you may want to experiment with the example and search for other available infos (like for example OS or disk s/n) to create your own security system.
    The example can be found here.
    Proud to use LW/CVI from 3.1 on.
    My contributions to the Developer Zone Community
    If I have helped you, why not giving me a kudos?

Maybe you are looking for