Skip to Content
author's profile photo
Former Member

calling BAPI_ALM_ORDERHEAD_GET_LIST from VB

I am trying to call this BAPI from Visual Basic. The DISPLAY_PARAMETER input is driving me crazy. It has 3 inputs PAGELENGTH, SHOW_PAGE_NUMBER, FORCE REFRESH. I can't work out what data to feed into these fields. If anyone has had success with this BAPI then please could you enlighten me.

Thanks

Owen Williams

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

2 Answers

  • Best Answer
    author's profile photo
    Former Member
    Sep 29, 2005 at 09:32 PM

    Actually, I think you have to make an entry to the table IT_RANGES.

    I tried:

    FIELD_NAME           S OP LOW_VALUE     HIGH_VALUE  
    SHOW_OPEN_DOCUMENTS  I EQ X                           

    The parameters you can use for selection are returned in the table ET_TEMPLATE even when you get the error.

    Rob

    Message was edited by: Rob Burbank

    Add comment
    10|10000 characters needed characters exceeded

  • author's profile photo
    Former Member
    Sep 29, 2005 at 09:08 PM

    Forgot to mention in my original post.

    The Return Sructure/table fills and the error data is

    Type E

    Id IW0_BAPI2

    Number 801

    Message Enter at least one selection criteria

    Hope you can help

    Owen

    Add comment
    10|10000 characters needed characters exceeded