Skip to Content
author's profile photo Former Member
Former Member

0FI_GL_21 Extractor

Hi Everyone,

Was working on the extractor - 0FI_GL_21 which has very less documentation. I want to load this extractor through a process chain based on every POPER. Write a program and in the process chain, when once a POPER is gettting populated eg: 001 or 002, etc. after every load completes based on this period the next period needs to get loaded. Either in the infopak or in the process chain need to load data to the PSA. Please help here?

Marks awarded.

Thank you,

Swetha

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Aug 22, 2012 at 06:47 AM

    Hi

    Do with Infopackage selection, Create two Infopackage's with selection one as POPER = 001 and another POPER =002, then create a process chain with two (Infopackage's)Data loads,

    If you need the values in dynamic, then write the code in Infopackge as variant and populate respective code.

    This will resolve ur problem.

    Naresh

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      Thank you, Naresh for the quick reply. The whole purpose is I do not want to create 12 infopaks for this load.

      The code I have written in the infopak is not working: it is only loading once. I created an event and sent the event in the infopak.

      CASE LV_POPER.
      WHEN '009'.
      CALL FUNCTION 'BP_EVENT_RAISE'
      EXPORTING
      eventid = 'ZBI_GLBAL_EVENT'
      EVENTPARM = 'SUCCESS'
      * TARGET_INSTANCE = ' '
      * TARGET_MODE = ' '
      EXCEPTIONS
      BAD_EVENTID = 1
      EVENTID_DOES_NOT_EXIST = 2
      EVENTID_MISSING = 3
      RAISE_FAILED = 4
      OTHERS = 5
      .
      IF sy-subrc = 0.
      WAIT UP TO 60 SECONDS.
      endif.

      WHEN '010'.
      CALL FUNCTION 'BP_EVENT_RAISE'
      EXPORTING
      eventid = 'ZBI_GLBAL_EVENT1'
      EVENTPARM = 'SUCCESS'
      * TARGET_INSTANCE = ' '
      * TARGET_MODE = ' '
      EXCEPTIONS
      BAD_EVENTID = 1
      EVENTID_DOES_NOT_EXIST = 2
      EVENTID_MISSING = 3
      RAISE_FAILED = 4
      OTHERS = 5
      .
      IF sy-subrc = 0.
      WAIT UP TO 60 SECONDS.
      ENDIF.

      ENDCASE.

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.