Skip to Content
avatar image
Former Member

Change pointers for custom message type - ZARTMAS

Hi Experts,

Requirement :

I have a requirement to create a new message type ZARTMAS. This new message type will have all the change pointers fields of ARTMAS and in addition few custom fields of MARC.

Steps done so far :

Created a new message type (WE81).

Activated change pointer for the created message type using BD50.

Created the change pointer fields for ZARTMAS using BD52.

Linked the idoc type to ZARTMAS using WE82.

Mapped the process code (MASTERIDOC_CREATE_SMD_ARTMAS) to message type ZARTMAS using BD60.

Configured the partner profile under partner type (LS) for a partner number in the outbound parameters section.

In partner profile, already ARTMAS is configured for five partner number(Ex A1, A2,A3,A4,A5).

In addition, i have added the ZARTMAS to the partner number (A6).

Issue :

When i have changed the article data and saved, i can see the entries in BDCP2 table for a new message type.

When i execute transaction BD21 for ZARTMAS, 5 idocs were generated (ARTMAS). Idocs generated has a message type of ARTMAS not ZARTMAS. This is wrong.

Program doesn't take into consideration of my partner profile config for ZARTMAS.

Ideally only once idoc should be generated for ZARTMAS with message type as ZARTMAS.

Please let me know is am wrong some where ? This is a high priority issue.

I have searched many SCN forums. But i couldn't get useful answers to fix my issue.

Regards,

Siva.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    May 23 at 07:41 AM

    Hello Siva,

    standard transaction BD21 reads and calls a FM defined for your message type in BD60 : MASTERIDOC_CREATE_SMD_ARTMAS.


    This FM reads the distribution model (BD64) to identify the possible target systems of your message.


    Check out 'ALE Programming guide' on help.sap.com

    Good luck

    Christophe

    Add comment
    10|10000 characters needed characters exceeded