on 01-31-2014 6:51 PM
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.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks Krishna and Arun . It worked .
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.