0% found this document useful (0 votes)
94 views2 pages

DSFDF

This document contains code to call several SAP CRM functions to read order administration, order, and lead header data into internal tables. It calls the CRM_ORDERADM_I_READ_MULTI_OB, CRM_ORDERADM_I_READ_OB, and CRM_ORDERADM_I_READ_OW functions to read order administration item data, and the CRM_LEAD_H_READ_OB function to read lead header data. It checks the return codes and provides placeholders for error handling.

Uploaded by

arunkumarmarar
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
94 views2 pages

DSFDF

This document contains code to call several SAP CRM functions to read order administration, order, and lead header data into internal tables. It calls the CRM_ORDERADM_I_READ_MULTI_OB, CRM_ORDERADM_I_READ_OB, and CRM_ORDERADM_I_READ_OW functions to read order administration item data, and the CRM_LEAD_H_READ_OB function to read lead header data. It checks the return codes and provides placeholders for error handling.

Uploaded by

arunkumarmarar
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 2

CALL FUNCTION 'CRM_ORDERADM_I_READ_MULTI_OB'

* EXPORTING
* IT_HEADER_GUIDS =
* IT_ITEM_GUIDS =
* IV_ONLY_SPEC_ITEMS =
* IT_ITEM_USAGE_RANGE =
* IV_SUBITEM_DEPTH =
* IS_OBJECT_FILTER =
* IV_INCLUDE_DELETED_ITEMS =
* IMPORTING
* ET_ORDERADM_I_WRK =
* ET_HEADER_GUIDS =
* ET_ITEM_GUIDS =
.



CALL FUNCTION 'CRM_ORDERADM_I_READ_OB'
* EXPORTING
* IV_GUID =
* IV_RELATED_HDR =
* IV_HEADER =
* IT_ITEMS_TO_READ =
* IV_INCLUDE_DELETED_ITEMS = ' '
* IV_ONLY_MAIN_ITEMS = ' '
* IV_REFRESH_HIDDEN = ' '
* IMPORTING
* ES_ORDERADM_I_WRK =
* ET_ORDERADM_I_WRK =
* ES_ORDERADM_I_COM =
* ET_ORDERADM_I_COM =
* ET_OBJECT_GUIDS =
* ET_HIDDEN_I_WRK =
* EXCEPTIONS
* ITEM_DOES_NOT_EXIST = 1
* ERROR_OCCURRED = 2
* OTHERS = 3
.
IF sy-subrc <> 0.
* Implement suitable error handling here
ENDIF.

CALL FUNCTION 'CRM_ORDERADM_I_READ_OW'
EXPORTING
iv_guid =
* IV_INCLUDE_DELETED_ITEM = ' '
* IV_TRYGET_PRODGUID_FROM_ORDPRP = ' '
* IMPORTING
* ES_ORDERADM_I_WRK =
* EV_MODE =
* EV_HEADER_GUID =
* EV_NUMBER_INT =
* EV_NUMBER_EXT =
* EV_ITEM_TYPE =
* EV_OBJECT_TYPE =
* EV_PARENT_GUID =
* EXCEPTIONS
* ITEM_NOT_FOUND = 1
* OTHERS = 2
.
IF sy-subrc <> 0.
* Implement suitable error handling here
ENDIF.OBJID

CALL FUNCTION 'CRM_LEAD_H_READ_OB'
* EXPORTING
* IV_GUID =
* IT_GUID =
* IMPORTING
* ES_LEAD_H_WRK =
* ET_LEAD_H_WRK =
* ES_LEAD_H_COM =
* ET_LEAD_H_COM =
* ES_LEAD_H_OLD =
* ET_LEAD_H_OLD =
* EXCEPTIONS
* PARAMETER_ERROR = 1
* RECORD_NOT_FOUND = 2
* AT_LEAST_ONE_RECORD_NOT_FOUND = 3
* OTHERS = 4
.
IF sy-subrc <> 0.
* Implement suitable error handling here
ENDIF.

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy