Skip to Content
avatar image
Former Member

Wrong Object Key on FIPP Changed Event

Hi,

I am facing a problem while creating change invoice. I am getting 013100 100 19000237192011 as object key instead of

100 19000237192011.The change document is BELEGV.

Correct Obj key - SourceCompanyCode DocumentNoFiscalYear

Wrong Obj key - MandtSourceCompanyCode SourceCompanyCode DocumentNoFiscalYear

I am using this CHANGED event in START EVENT of workflow.

Thanks,

Mohan

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

3 Answers

  • Best Answer
    avatar image
    Former Member
    Sep 21, 2010 at 12:50 PM

    I remember having encountered a similar issue a few years ago. I found this workaround: in SWED, add a function module in the "Function module" column for the change document BELEGV.

    Your function module should have the following interface:

    *"----------------------------------------------------------------------
    *"*"Local Interface:
    *"  IMPORTING
    *"     VALUE(CHANGEDOCUMENT_HEADER) LIKE  CDHDR STRUCTURE  CDHDR
    *"  TABLES
    *"      CHANGEDOCUMENT_POSITION STRUCTURE  CDPOS
    *"  CHANGING
    *"     VALUE(OBJECT_POR) TYPE  SIBFLPORB
    *"----------------------------------------------------------------------
    

    There you can modify the key (object_por-instid) to make it compatible with FIPP. If you are using the same change doc for other BOR object, you can filter your logic based on the "receiver" object type, i.e. object_por-typeid.

    Cheers,

    Patrick

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Thanks Patrick Using Function Module in SWED with template SWE_CD_TEMPLATE_OBJKEY_FB solved the problem.

      Thanks all for your suggestions.

      Mohan.

  • Sep 20, 2010 at 09:57 PM

    Can you please elaborate on what is the requirement and what is the expected output...?

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Sep 21, 2010 at 02:39 AM

    Can you double-check the event binding? You need to make sure the keys are compatible.

    Add comment
    10|10000 characters needed characters exceeded