Error Occured in CRM_ORDER_MAINTAIN . Kindly help asap.
I have written folowing code but exception occurs in changing parameter lt_exception of FM maintain.What can be the possible error.
msg no - 0004
REPORT ZTEST_PROGRAM.
*Internal tables
Data : lt_partner TYPE crmt_partner_comt,
lt_sales TYPE crmt_sales_comt,
lt_orgman TYPE crmt_orgman_comt,
lt_status TYPE crmt_status_comt,
lt_customer_h TYPE CRMT_SERVICE_H_COMT,
lt_input_field TYPE crmt_input_field_names_tab,
lt_exception TYPE crmt_exception_t,
lt_crm_save TYPE crmt_object_guid_tab,
lt_orderadm_h TYPE crmt_orderadm_h_comt,
lt_saved_objects TYPE crmt_return_objects,
lt_objects_not_saved TYPE CRMT_OBJECT_GUID_TAB,
lt_input TYPE crmt_input_field_tab.
*Structures
Data : ls_partner TYPE crmt_partner_com,
ls_sales TYPE crmt_sales_com,
ls_orgman TYPE crmt_orgman_com,
ls_status TYPE crmt_status_com,
ls_input TYPE crmt_input_field,
ls_input_field TYPE crmt_input_field_names,
ls_crm_save TYPE crmt_object_guid,
ls_saved_objects LIKE LINE OF lt_saved_objects,
ls_orderadm_h TYPE crmt_orderadm_h_com,
ls_customer_h TYPE CRMT_SERVICE_H_COM.
*Variables
Data : lv_guid TYPE guid_16,
lv_timezone TYPE timezone,
lv_timestamp TYPE timestamp,
lv_log_handle TYPE balloghndl.
GET GUID
CALL FUNCTION 'GUID_CREATE'
IMPORTING
ev_guid_16 = lv_guid.
Filling status data
CLEAR ls_status.
ls_status-ref_guid = lv_guid.
ls_status-ref_kind = 'A'.
ls_status-status = 'E0003'.
ls_status-user_stat_proc = 'CRMORDER'.
ls_status-activate = 'X'.
APPEND ls_status TO lt_status.
Filling the partner data
CLEAR ls_partner.
ls_partner-ref_guid = lv_guid.
ls_partner-ref_kind = 'A'.
ls_partner-ref_partner_handle = '0001'.
ls_partner-kind_of_entry = 'C'.
ls_partner-partner_fct = '00000001'. " Sold to Party
ls_partner-partner_no = '190'.
ls_partner-display_type = 'BP'.
ls_partner-no_type = 'BP'.
INSERT ls_partner INTO TABLE lt_partner.
Input Fields for Partner Data that are to be changed
CLEAR ls_input.
ls_input-ref_guid = lv_guid.
ls_input-ref_kind = 'A'.
ls_input-logical_key = '0001'.
ls_input-objectname = 'PARTNER'.
ls_input_field-fieldname = 'DISPLAY_TYPE'.
INSERT ls_input_field INTO TABLE lt_input_field.
ls_input_field-fieldname = 'KIND_OF_ENTRY'.
INSERT ls_input_field INTO TABLE lt_input_field.
ls_input_field-fieldname = 'NO_TYPE'.
INSERT ls_input_field INTO TABLE lt_input_field.
ls_input_field-fieldname = 'PARTNER_FCT'.
INSERT ls_input_field INTO TABLE lt_input_field.
ls_input_field-fieldname = 'PARTNER_NO'.
INSERT ls_input_field INTO TABLE lt_input_field.
ls_input-field_names[] = lt_input_field[].
INSERT ls_input INTO TABLE lt_input.
Prepare Organisation Data
Clear ls_orgman.
ls_orgman-ref_guid = lv_guid.
ls_orgman-ref_kind = 'A'.
ls_orgman-sales_group_ori = 'A'.
ls_orgman-sales_orgr_ori = 'A'.
ls_orgman-division_ori = 'A'.
ls_orgman-dis_channel_ori = 'A'.
APPEND ls_orgman TO lt_orgman.
Input Fields for Organization Data that are to be changed
ls_input-ref_guid = lv_guid.
ls_input-ref_kind = 'A'.
ls_input-objectname = 'ORGMAN'.
ls_input_field-fieldname = 'SALES_GROUP_ORI'.
INSERT ls_input_field INTO TABLE lt_input_field.
ls_input_field-fieldname = 'SALES_ORGR_ORI'.
INSERT ls_input_field INTO TABLE lt_input_field.
ls_input_field-fieldname = 'DIVISION_ORI'.
INSERT ls_input_field INTO TABLE lt_input_field.
ls_input-field_names[] = lt_input_field[]. " Contains all fields to updatd
INSERT ls_input INTO TABLE lt_input.
CLEAR: ls_input, ls_input_field.
REFRESH lt_input_field.
EXTERNAL REFERENCE DATA And Requested Delivery Date Data
ls_sales-ref_guid = lv_guid.
ls_sales-po_number_sold = 'A'. " PO Reference
ls_sales-ref_kind = 'A'.
Get the user Time Zone
CALL FUNCTION 'TZON_GET_USER_TIMEZONE'
EXPORTING
if_username = sy-uname
IMPORTING
ef_timezone = lv_timezone
EXCEPTIONS
no_timezone_customizing = 1
no_valid_user = 2
OTHERS = 3.
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
Convert Requested delivery date into Timestamp
CALL FUNCTION 'BBP_PD_CONVERT_DATETIME_TO_TS'
EXPORTING
iv_date = sy-datum
iv_time = sy-uzeit
iv_time_zone = lv_timezone
IMPORTING
ev_timestamp = lv_timestamp
EV_TIMESTAMPL =
EXCEPTIONS
convert_error = 1
OTHERS = 2
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
ls_sales-req_dlv_date = lv_timestamp. " Requested delivery date time stamp
ls_sales-req_timezone = lv_timezone. " User timezone
ls_sales-po_date_sold = sy-datum.
APPEND ls_sales TO lt_sales.
Input fields for Sales Data that are to be changed
CLEAR: ls_input, ls_input_field.
REFRESH lt_input_field.
ls_input-ref_guid = lv_guid.
ls_input-ref_kind = 'A'.
ls_input-objectname = 'SALES'.
ls_input_field-fieldname = 'PO_NUMBER_SOLD'.
INSERT ls_input_field INTO TABLE lt_input_field.
ls_input_field-fieldname = 'REQ_DLV_DATE'.
INSERT ls_input_field INTO TABLE lt_input_field.
ls_input-field_names[] = lt_input_field[]. "Contains all fields to updatd
INSERT ls_input INTO TABLE lt_input.
Prepare Data for Orderadm_h
CLEAR ls_orderadm_h.
CLEAR: ls_input, ls_input_field.
REFRESH lt_input_field.
ls_orderadm_h-guid = lv_guid.
ls_orderadm_h-process_type = 'ZEDL'.
ls_orderadm_h-description = 'ACB'. " Order Description
ls_orderadm_h-posting_date = sy-datum.
ls_orderadm_h-descr_language = 'EN'.
ls_orderadm_h-template_type = 'D'.
ls_orderadm_h-mode = 'A'.
APPEND ls_orderadm_h TO lt_orderadm_h.
CLEAR ls_input.
ls_input-ref_guid = lv_guid.
ls_input-ref_kind = 'A'.
ls_input-objectname = 'ORDERADM_H'.
ls_input_field-fieldname = 'MODE'.
INSERT ls_input_field INTO TABLE lt_input_field.
ls_input_field-fieldname = 'DESCRIPTION'.
INSERT ls_input_field INTO TABLE lt_input_field.
ls_input_field-fieldname = 'PROCESS_TYPE'.
INSERT ls_input_field INTO TABLE lt_input_field.
ls_input-field_names[] = lt_input_field[]. "Contains all fields to updatd
INSERT ls_input INTO TABLE lt_input.
CLEAR: ls_input, ls_input_field.
REFRESH lt_input_field.
Prepare Data for customer_h
ls_customer_h-ref_guid = lv_guid.
Ls_customer_h-mode = 'A'.
*Ls_customer_h-customer_ext = 'b'.
APPEND ls_customer_h to lt_customer_h.
Call bapi to create and update order
CALL FUNCTION 'CRM_ORDER_MAINTAIN'
EXPORTING
IT_OPPORT_H =
IT_LEAD_H =
IT_ACTIVITY_H =
IT_LAWREF_H =
IT_SALES = lt_sales
IT_PRICING =
IT_PRICING_I =
IT_PRIDOC =
IT_ORGMAN = lt_orgman
IT_SHIPPING =
IT_ACTIVITY_I =
IT_PRODUCT_I =
IT_BATCH =
IT_FINPROD_I =
IT_STRUCT_I =
IT_CONFIG =
IT_PAYPLAN =
IT_PAYPLAN_D =
IT_CUSTOMER_H =
IT_CUSTOMER_I =
IT_SERVICE_H =
IT_SERVICE_I =
IT_SERVICE_ASSIGN =
IT_QUALIF =
IT_APPOINTMENT =
IT_TEXT =
IT_SCHEDLIN_I =
IT_PARTNER = lt_partner
IT_SERVICE_OS =
IT_REFOBJ =
IT_SUBJECT =
IT_CANCEL =
IT_CANCEL_IR =
IT_CANCEL_DATES =
IT_STATUS = lt_status
IT_BILLPLAN =
IT_BILLING =
IT_ORDPRP_I =
IT_ORDPRP_I_D =
IT_ORDPRP_OBJL_I_D =
IT_CUMULATED_I =
IT_SERVICEPLAN_I =
IT_SERVICEPLAN_IE =
IT_PRICE_AGREEMENTS_BBP =
IT_PRICE_AGREEMENTS_CRM =
IT_CONFIG_FILTER =
IT_AC_ASSIGN =
IT_SURVEY =
IT_EXTENSION =
IT_ACTIVE_SWITCH =
IT_UBB_CTR_I =
IT_UBB_CR_I =
IT_UBB_VOL_I =
IT_APO_I =
IT_CHNGPROC_I =
IT_EXT_REF =
IT_DOC_FLOW_PNT =
IT_CHNGPROC_H =
IT_FUND_H =
IT_CLA_H =
IT_SRV_REQ_H =
IT_APPROVAL =
IMPORTING
ET_EXCEPTION = lt_exception
CHANGING
CT_ORDERADM_H = lt_orderadm_h
CT_ORDERADM_I =
CT_INPUT_FIELDS = lt_input
CV_LOG_HANDLE = lv_log_handle
CT_PARTNER_ATTRIBUTES =
CT_DOC_FLOW =
EXCEPTIONS
ERROR_OCCURRED = 1
DOCUMENT_LOCKED = 2
NO_CHANGE_ALLOWED = 3
NO_AUTHORITY = 4
OTHERS = 5
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
ls_crm_save = lv_guid.
INSERT ls_crm_save INTO TABLE lt_crm_save.
Saving the Order which is created by above function module
CALL FUNCTION 'CRM_ORDER_SAVE'
EXPORTING
it_objects_to_save = lt_crm_save
IMPORTING
et_saved_objects = lt_saved_objects
et_exception = lt_exception " Receiving objects that can be saved
et_objects_not_saved = lt_objects_not_saved
EXCEPTIONS
document_not_saved = 1
OTHERS = 2.
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
write 'hello1'.
ENDIF.
Commit the save
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
EXPORTING
wait = 'X'.
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
write 'hello2'.
ENDIF.
Check Created order
READ TABLE lt_saved_objects INTO ls_saved_objects INDEX 1.
READ TABLE lt_objects_not_saved INTO ls_saved_objects INDEX 1.
write : lv_guid,ls_saved_objects-GUID,ls_saved_objects-OBJECT_ID.
I have written folowing code but exception occurs in changing parameter lt_exception of FM maintain.What can be the possible error.
msg no - 0004
REPORT ZTEST_PROGRAM.
*Internal tables
Data : lt_partner TYPE crmt_partner_comt,
lt_sales TYPE crmt_sales_comt,
lt_orgman TYPE crmt_orgman_comt,
lt_status TYPE crmt_status_comt,
lt_customer_h TYPE CRMT_SERVICE_H_COMT,
lt_input_field TYPE crmt_input_field_names_tab,
lt_exception TYPE crmt_exception_t,
lt_crm_save TYPE crmt_object_guid_tab,
lt_orderadm_h TYPE crmt_orderadm_h_comt,
lt_saved_objects TYPE crmt_return_objects,
lt_objects_not_saved TYPE CRMT_OBJECT_GUID_TAB,
lt_input TYPE crmt_input_field_tab.
*Structures
Data : ls_partner TYPE crmt_partner_com,
ls_sales TYPE crmt_sales_com,
ls_orgman TYPE crmt_orgman_com,
ls_status TYPE crmt_status_com,
ls_input TYPE crmt_input_field,
ls_input_field TYPE crmt_input_field_names,
ls_crm_save TYPE crmt_object_guid,
ls_saved_objects LIKE LINE OF lt_saved_objects,
ls_orderadm_h TYPE crmt_orderadm_h_com,
ls_customer_h TYPE CRMT_SERVICE_H_COM.
*Variables
Data : lv_guid TYPE guid_16,
lv_timezone TYPE timezone,
lv_timestamp TYPE timestamp,
lv_log_handle TYPE balloghndl.
GET GUID
CALL FUNCTION 'GUID_CREATE'
IMPORTING
ev_guid_16 = lv_guid.
Filling status data
CLEAR ls_status.
ls_status-ref_guid = lv_guid.
ls_status-ref_kind = 'A'.
ls_status-status = 'E0003'.
ls_status-user_stat_proc = 'CRMORDER'.
ls_status-activate = 'X'.
APPEND ls_status TO lt_status.
Filling the partner data
CLEAR ls_partner.
ls_partner-ref_guid = lv_guid.
ls_partner-ref_kind = 'A'.
ls_partner-ref_partner_handle = '0001'.
ls_partner-kind_of_entry = 'C'.
ls_partner-partner_fct = '00000001'. " Sold to Party
ls_partner-partner_no = '190'.
ls_partner-display_type = 'BP'.
ls_partner-no_type = 'BP'.
INSERT ls_partner INTO TABLE lt_partner.
Input Fields for Partner Data that are to be changed
CLEAR ls_input.
ls_input-ref_guid = lv_guid.
ls_input-ref_kind = 'A'.
ls_input-logical_key = '0001'.
ls_input-objectname = 'PARTNER'.
ls_input_field-fieldname = 'DISPLAY_TYPE'.
INSERT ls_input_field INTO TABLE lt_input_field.
ls_input_field-fieldname = 'KIND_OF_ENTRY'.
INSERT ls_input_field INTO TABLE lt_input_field.
ls_input_field-fieldname = 'NO_TYPE'.
INSERT ls_input_field INTO TABLE lt_input_field.
ls_input_field-fieldname = 'PARTNER_FCT'.
INSERT ls_input_field INTO TABLE lt_input_field.
ls_input_field-fieldname = 'PARTNER_NO'.
INSERT ls_input_field INTO TABLE lt_input_field.
ls_input-field_names[] = lt_input_field[].
INSERT ls_input INTO TABLE lt_input.
Prepare Organisation Data
Clear ls_orgman.
ls_orgman-ref_guid = lv_guid.
ls_orgman-ref_kind = 'A'.
ls_orgman-sales_group_ori = 'A'.
ls_orgman-sales_orgr_ori = 'A'.
ls_orgman-division_ori = 'A'.
ls_orgman-dis_channel_ori = 'A'.
APPEND ls_orgman TO lt_orgman.
Input Fields for Organization Data that are to be changed
ls_input-ref_guid = lv_guid.
ls_input-ref_kind = 'A'.
ls_input-objectname = 'ORGMAN'.
ls_input_field-fieldname = 'SALES_GROUP_ORI'.
INSERT ls_input_field INTO TABLE lt_input_field.
ls_input_field-fieldname = 'SALES_ORGR_ORI'.
INSERT ls_input_field INTO TABLE lt_input_field.
ls_input_field-fieldname = 'DIVISION_ORI'.
INSERT ls_input_field INTO TABLE lt_input_field.
ls_input-field_names[] = lt_input_field[]. " Contains all fields to updatd
INSERT ls_input INTO TABLE lt_input.
CLEAR: ls_input, ls_input_field.
REFRESH lt_input_field.
EXTERNAL REFERENCE DATA And Requested Delivery Date Data
ls_sales-ref_guid = lv_guid.
ls_sales-po_number_sold = 'A'. " PO Reference
ls_sales-ref_kind = 'A'.
Get the user Time Zone
CALL FUNCTION 'TZON_GET_USER_TIMEZONE'
EXPORTING
if_username = sy-uname
IMPORTING
ef_timezone = lv_timezone
EXCEPTIONS
no_timezone_customizing = 1
no_valid_user = 2
OTHERS = 3.
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
Convert Requested delivery date into Timestamp
CALL FUNCTION 'BBP_PD_CONVERT_DATETIME_TO_TS'
EXPORTING
iv_date = sy-datum
iv_time = sy-uzeit
iv_time_zone = lv_timezone
IMPORTING
ev_timestamp = lv_timestamp
EV_TIMESTAMPL =
EXCEPTIONS
convert_error = 1
OTHERS = 2
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
ls_sales-req_dlv_date = lv_timestamp. " Requested delivery date time stamp
ls_sales-req_timezone = lv_timezone. " User timezone
ls_sales-po_date_sold = sy-datum.
APPEND ls_sales TO lt_sales.
Input fields for Sales Data that are to be changed
CLEAR: ls_input, ls_input_field.
REFRESH lt_input_field.
ls_input-ref_guid = lv_guid.
ls_input-ref_kind = 'A'.
ls_input-objectname = 'SALES'.
ls_input_field-fieldname = 'PO_NUMBER_SOLD'.
INSERT ls_input_field INTO TABLE lt_input_field.
ls_input_field-fieldname = 'REQ_DLV_DATE'.
INSERT ls_input_field INTO TABLE lt_input_field.
ls_input-field_names[] = lt_input_field[]. "Contains all fields to updatd
INSERT ls_input INTO TABLE lt_input.
Prepare Data for Orderadm_h
CLEAR ls_orderadm_h.
CLEAR: ls_input, ls_input_field.
REFRESH lt_input_field.
ls_orderadm_h-guid = lv_guid.
ls_orderadm_h-process_type = 'ZEDL'.
ls_orderadm_h-description = 'ACB'. " Order Description
ls_orderadm_h-posting_date = sy-datum.
ls_orderadm_h-descr_language = 'EN'.
ls_orderadm_h-template_type = 'D'.
ls_orderadm_h-mode = 'A'.
APPEND ls_orderadm_h TO lt_orderadm_h.
CLEAR ls_input.
ls_input-ref_guid = lv_guid.
ls_input-ref_kind = 'A'.
ls_input-objectname = 'ORDERADM_H'.
ls_input_field-fieldname = 'MODE'.
INSERT ls_input_field INTO TABLE lt_input_field.
ls_input_field-fieldname = 'DESCRIPTION'.
INSERT ls_input_field INTO TABLE lt_input_field.
ls_input_field-fieldname = 'PROCESS_TYPE'.
INSERT ls_input_field INTO TABLE lt_input_field.
ls_input-field_names[] = lt_input_field[]. "Contains all fields to updatd
INSERT ls_input INTO TABLE lt_input.
CLEAR: ls_input, ls_input_field.
REFRESH lt_input_field.
Prepare Data for customer_h
ls_customer_h-ref_guid = lv_guid.
Ls_customer_h-mode = 'A'.
*Ls_customer_h-customer_ext = 'b'.
APPEND ls_customer_h to lt_customer_h.
Call bapi to create and update order
CALL FUNCTION 'CRM_ORDER_MAINTAIN'
EXPORTING
IT_OPPORT_H =
IT_LEAD_H =
IT_ACTIVITY_H =
IT_LAWREF_H =
IT_SALES = lt_sales
IT_PRICING =
IT_PRICING_I =
IT_PRIDOC =
IT_ORGMAN = lt_orgman
IT_SHIPPING =
IT_ACTIVITY_I =
IT_PRODUCT_I =
IT_BATCH =
IT_FINPROD_I =
IT_STRUCT_I =
IT_CONFIG =
IT_PAYPLAN =
IT_PAYPLAN_D =
IT_CUSTOMER_H =
IT_CUSTOMER_I =
IT_SERVICE_H =
IT_SERVICE_I =
IT_SERVICE_ASSIGN =
IT_QUALIF =
IT_APPOINTMENT =
IT_TEXT =
IT_SCHEDLIN_I =
IT_PARTNER = lt_partner
IT_SERVICE_OS =
IT_REFOBJ =
IT_SUBJECT =
IT_CANCEL =
IT_CANCEL_IR =
IT_CANCEL_DATES =
IT_STATUS = lt_status
IT_BILLPLAN =
IT_BILLING =
IT_ORDPRP_I =
IT_ORDPRP_I_D =
IT_ORDPRP_OBJL_I_D =
IT_CUMULATED_I =
IT_SERVICEPLAN_I =
IT_SERVICEPLAN_IE =
IT_PRICE_AGREEMENTS_BBP =
IT_PRICE_AGREEMENTS_CRM =
IT_CONFIG_FILTER =
IT_AC_ASSIGN =
IT_SURVEY =
IT_EXTENSION =
IT_ACTIVE_SWITCH =
IT_UBB_CTR_I =
IT_UBB_CR_I =
IT_UBB_VOL_I =
IT_APO_I =
IT_CHNGPROC_I =
IT_EXT_REF =
IT_DOC_FLOW_PNT =
IT_CHNGPROC_H =
IT_FUND_H =
IT_CLA_H =
IT_SRV_REQ_H =
IT_APPROVAL =
IMPORTING
ET_EXCEPTION = lt_exception
CHANGING
CT_ORDERADM_H = lt_orderadm_h
CT_ORDERADM_I =
CT_INPUT_FIELDS = lt_input
CV_LOG_HANDLE = lv_log_handle
CT_PARTNER_ATTRIBUTES =
CT_DOC_FLOW =
EXCEPTIONS
ERROR_OCCURRED = 1
DOCUMENT_LOCKED = 2
NO_CHANGE_ALLOWED = 3
NO_AUTHORITY = 4
OTHERS = 5
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
ls_crm_save = lv_guid.
INSERT ls_crm_save INTO TABLE lt_crm_save.
Saving the Order which is created by above function module
CALL FUNCTION 'CRM_ORDER_SAVE'
EXPORTING
it_objects_to_save = lt_crm_save
IMPORTING
et_saved_objects = lt_saved_objects
et_exception = lt_exception " Receiving objects that can be saved
et_objects_not_saved = lt_objects_not_saved
EXCEPTIONS
document_not_saved = 1
OTHERS = 2.
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
write 'hello1'.
ENDIF.
Commit the save
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
EXPORTING
wait = 'X'.
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
write 'hello2'.
ENDIF.
Check Created order
READ TABLE lt_saved_objects INTO ls_saved_objects INDEX 1.
READ TABLE lt_objects_not_saved INTO ls_saved_objects INDEX 1.
write : lv_guid,ls_saved_objects-GUID,ls_saved_objects-OBJECT_ID.
Similar Messages
-
hello good samaritan out there ! am trying to restore my ios for for i phone 3G, but toward the end of the process, i am receiving an error message like "the iphone could not be restored, an unknown error occured(1015). Kindly help me resolve this problem, my iphone has been down for a we
mazunzo tembo wrote:
"the iphone could not be restored, an unknown error occured(1015).
Unauthorized modification of iOS > http://support.apple.com/kb/HT3743
ERROR 1015...
This Error Code is indicative of the Device being jailbroken / Hacked...
Sorry... But...
The discussion of Jailbroken Devices is against the Terms of Use of this Forum.
You will need to look elsewhere. -
hello, i just downloaded itunes on my acer laptop and its been giving me problems everytime i try to get on to the itunes store.. it gives me a message saying "itunes could not connect to the itunes store. an unknown error occurred. (310).plz help me out. i do have the internet on but it keeps giving me the same problems .. thanks..
Hi Young Prada,
If you are having issues connecting to the iTunes Store, you may find the following article helpful:
Apple Support: Can't connect to the iTunes Store
http://support.apple.com/kb/ts1368
Regards,
- Brenden -
Itunes says I must update to 11.1, but everytime I try to run it I get an error message saying: "an error occured while running installation" Help?
The full message reads: "Errors occurred during installation before iTunes could be configured. Your system has not been modified. To complete the installation, run the installer again. Click finish to exit the installer."
I have run it again and get the same message. Have rebooted and tried again. Same results. -
Hi! keep seeing this message on my computer, could not connected to the itunes store unknown error occurred (3212) can someone help please?
Perhaps try the Errors 3000 through 3999 section in the Specific Conditions and Alert Messages: (Mac OS X / Windows) section of the following document:
iTunes: Advanced iTunes Store troubleshooting -
Hi. I forgot my passcode and now I am unable to unlock my ipod. I tried restoring it using itunes in recovery mode as well as dfu mode but it says unable to restore,unknown error occured (3004). Please help me out. My ipod is locked for one hour now.
Locked Out, Forgot Lock or Restrictions Passcode, or Need to Restore Your Device: Several Alternative Solutions
1. iOS- Forgotten passcode or device disabled after entering wrong passcode
2. iPhone, iPad, iPod touch: Wrong passcode results in red disabled screen
3. Restoring iPod touch after forgotten passcode
4. What to Do If You've Forgotten Your iPhone's Passcode
5. iOS- Understanding passcodes
6. iTunes 10 for Mac- Update and restore software on iPod, iPhone, or iPad
Forgotten Restrictions Passcode Help
You will need to restore your device as New to remove a Restrictions passcode. Go through the normal process to restore your device, but when you see the options to restore as New or from a backup, be sure to choose New.
Also, see iTunes- Restoring iOS software. -
how to fix this: The iphone "iPhone" could not be restored. An unknown error occurred (3014). Please help me
Read here:
http://support.apple.com/kb/ts3694#3014 -
HT201210 i have an error of no 11. kindly help, needed urgently
i have an error of no 11. kindly help, needed urgently
when i try to upgrage my
iphone 3gs wit 4.1 to new latest 5.1
it gives the erorr of 11. what that mean? Reply as soon as you can !
thnxError -1 may indicate a hardware issue with your device. Follow Troubleshooting security software issues, and restore your device on a different known-good computer. If the errors persist on another computer, the device may need service.
-
Every time i try to back up my 4s it says that it failed cause an error occured... Help me...
Troubleshooting Backup Issues
http://support.apple.com/kb/ts2529 -
Everytime I restore my iphone there is always message popped says "there is error occured"? Why? Help me please!
Did you try to use iTunes and the computer to download and install the update?
I did get this error trying to update using Wi-Fi only. After I connected to my computer and let iTunes download the firmware, the update went without problems. -
Hi, I was restoring my iPod touch when a message came up on my screen saying 'iPod could not be restored. An unknown error occurred (3014).' I've tried the 'iOS: Resolving update and restore alert messages' tips and nothings helping...HELP!!!
Unable to contact the iOS software update server gs.apple.com
Error 1004, 1013, 1638, 3014, 3194: These errors may be the result of the connection to gs.apple.com being redirected or blocked. Follow these steps to resolve these errors:
Install the latest version of iTunes.
Check security software. Ensure that communication to gs.apple.com is allowed. Follow this article for assistance with security software. iTunes for Windows: Troubleshooting security software issues.
Check the hosts file. The restore will fail if there is an active entry to redirect gs.apple.com. Follow iTunes: Advanced iTunes Store troubleshooting to edit the hosts file or revert to a default hosts file. See section "Blocked by configuration: (Mac OS X/Windows) > Rebuild network information".
Try to restore from another known-good computer and network.
If the errors persist on another computer, the device may need service.
The "device may need service" means a hardware problem. In that case make an appointment at the Genius Bar of an Apple store.
Apple Retail Store - Genius Bar
and
3014
and
Restoration of code 3014 will not work?: Apple Support Communities -
I tried loading itunes 10.5 onto my window wista 32-bit. It finishes the download and when i try to install it. I says that an error occured while trying to install.
Can somebody help me plz?Hi all, I know this is a very old thread, but I was battling this issue for awhile and wanted to provide my solution in case future users encounter a similar issue.
I am running Windows 8. I encountered this issue while trying to install iTunes 11.1 x64 version. After some troubleshooting, I discovered that the real issue was trying to install the Apple Mobile Device service.
My resolution was installing the Microsoft Visual C++ 2005 Redistributable Package. It is available from Microsoft. A search on Google should reveal it. However, here is the latest link that I used: https://www.microsoft.com/en-us/download/details.aspx?displaylang=en&id=14431
Note that redistributable packages for more recent versions of Visual C++ (eg 2008, 2010) will NOT work. Only 2005 version worked for me.
Good luck! -
Please Help..
Trying to restore / update ipod 3rd generation - keep getting error message - The ipod touch could not be restores. An unknown error occurred (-1).Error 1 or -1
This may indicate a hardware issue with your device. Follow Troubleshooting security software issues, and restore your device on a different known-good computer. If the errors persist on another computer, the device may need service.
The "device may need service" means a hardware problem. in that case make an appointment at the Genius Bar of an Apple store.
Apple Retail Store - Genius Bar -
How to fix An unexpected i o error for Vista I NEED HELP ASAP
OK I HAVE A TOSHIBA L300
I have no CD or something.
I keep getting this error. And I cant go Safe mode. Im pressing f8 a million times.
Sometimes when it goes to this screen that says Windows Loading files with a loading bar under.
It freezes there. Then it automaticaly restarts. HELP ASAP PLEASEHello JS2000,
You can find an example that shows how to apply a software analog trigger in here
Hope this helps,
LA -
I have an error message on my laptop which says " Unknown error occured (1602)" anyone know how to get past this?
Could you post your diagnostics for us please?
In iTunes, go "Help > Run Diagnostics". Uncheck the boxes other than DVD/CD tests, as per the following screenshot:
... and click "Next".
When you get through to the final screen:
... click the "Copy to Clipboard" button and paste the diagnostics into a reply here. -
when trying to share my movie on Imovie i get the following error. "The project could not be prepared for publishing because an error occurred. (-108)"
any idea why this has happened? How do i rectify this?Hi
Error -108 memFullErr Ran out of memory [not enough room in heap zone]
Turn off - TimeMachine usually works - re-try.
(the Application down in the Dock - not the Device)
But this can mean many thing's - My first thought is
• Free Space on Start-Up hard disk. How much ? (other disks do not count)
Yours Bengt W
Maybe you are looking for
-
Export to Text failing when Report height is more than 23 inches
I have a problem while exporting to Text, when report height is more than 23 inches. It's failing with "an unhandled exception occurred in crw32.exe [3856]" Both Crystal Reports 2008 and Crystal Reports XI Release 2 are failing. Export to PDF is work
-
Apple ID already set up, but not getting email to reset
Trying to set up apple IDs for my boys, but the website says their email address have already been used. I hit the send the reset my password by email, but got no email. Anyone familiar with this issue?
-
How security is handled in HR-BW reporting? Specially for Payroll data.
Hi, how security is handled in HR-BW reporting? Specially for Payroll data, how security handled? any Idea will be appriciated. Thanks Ali
-
Making processing on an internal table generic
Hi, I'm trying to make more generic a processing on an internal table. Here's the idea : "DELETE FROM TABLE T_VBAP every lines that do not exist IN table T_VBAK USING column VBELN for comparison" You can see below the (not generic) version of this fu
-
Hello everyone, I'm getting out of memory error when ever I try to do anything on fcp 4.5 h.d, I have many months of footage which some I have deleted recently.I am not sure which files at this point that I can delete safely without harming the files