cancel
Showing results for 
Search instead for 
Did you mean: 

Create Deep Entity Method

former_member192971
Participant
0 Kudos

Hello Experts ,

I would like to know the possibility to create 2 deep-Insert methods for a single project in SEGW .As a project will have single Deep_Insert method in Data Provider extension Class how can we Implement 2methods for different purposes . For Both SalesOrder and Quotation creation there will be Header and Items where it can be implemented only in Deep_Insert method . Please let me know the possibility.

Appreciate your Help.

Thanks,

Uday.

Accepted Solutions (1)

Accepted Solutions (1)

arunchembra1
Participant
0 Kudos

Hi Uday,

As Krishna suggest use IF-ElSE or use the CASE statement inside /IWBEP/IF_MGW_APPL_SRV_RUNTIME~CREATE_DEEP_ENTITY.

  CASE iv_entity_name.

    WHEN 'SalesOrder'.

<< Logic >>

    WHEN 'Quotation'.

<< Logic >>

    WHEN OTHERS.

  ENDCASE.

Thanks,

Arun

Answers (2)

Answers (2)

former_member192971
Participant
0 Kudos

Thanks Krishna and Arun . It worked .

kammaje_cis
Active Contributor
0 Kudos

Uday,

Inside the deep_entity method write a IF-Else condition to check for IV_ENTITY_NAME. That will tell you if it is Sales Order or Quotation. Then write your logic inside the IF-ElSE commands.

Krishna