How to hide the message or delete the message in CRM WEB UI

Hi ,
I am able to set the quantity value to 1 as default by enhancing the component and adding code to DO_PREPARE_OUTPUT and using method set_property by checking the current guid .
However i am getting the message ' Enter the Quantity (No Schedule Line found) '
Please provide your valuable inputs!!
Lakshmi

Hi ,
I am using below given code.Please suggest changes to the same.
As teh quantity is not getting defaulted to 1.
ls_schedlin_i-ref_handle = '0000000001'.
ls_schedlin_i-ref_guid = is_orderadm_i_wrk-guid.
  ls_schedlines-guid = lv_guid.
ls_schedlines-guid = is_orderadm_i_wrk-guid.
  ls_schedlines-item_guid = is_orderadm_i_wrk-guid.
  ls_schedlines-Quantity = '1'.
ls_schedlines-LogicalKey = lv_guid.
  ls_schedlines-mode = 'A'.
append ls_schedlines to lt_schedlines.
  ls_schedlin_i-schedlines = lt_schedlines.
  append ls_schedlin_i to lt_schedlin_i.
  ls_input_fields-ref_guid = is_orderadm_i_wrk-guid.
  ls_input_fields-ref_kind = 'A'.
  ls_input_fields-objectname = 'ORDERADM_I'.
  ls_field_names-fieldname = 'MODE'.
  append ls_field_names to lt_field_names.
  clear : ls_field_names ,ls_input_fields.
  ls_input_fields-ref_guid = is_orderadm_i_wrk-guid.
  ls_input_fields-ref_kind = 'A'.
  ls_input_fields-objectname = 'ORDERADM_I'.
  ls_field_names-fieldname = 'ORDERED_PROD'.
  append ls_field_names to lt_field_names.
  clear : ls_field_names ,ls_input_fields.
  ls_input_fields-field_names = lt_field_names.
  append ls_input_fields to lt_input_fields.
ls_input_fields-ref_handle = '0000000001'.
  ls_input_fields-ref_guid = is_orderadm_i_wrk-guid.
  ls_input_fields-ref_kind = 'A'.
  ls_input_fields-objectname = 'SCHEDLIN'.
  ls_field_names-fieldname = 'Quantity'.
  append ls_field_names to lt_field_names.
  ls_input_fields-field_names = lt_field_names.
  append ls_input_fields to lt_input_fields.
CALL FUNCTION 'CRM_SCHEDLIN_I_MAINTAIN_OW'
EXPORTING
  IV_FIELD_SELECTION_OFF        = FALSE
  IV_EXTERNAL_CALL              = FALSE
  CHANGING
    cs_schedlin_i_com             = lt_schedlin_i
    ct_input_fields               = lt_input_fields
EXCEPTIONS
   SCHEDLIN_I_CHANGE_ERROR       = 1
   SCHEDLIN_I_CREATE_ERROR       = 2
   ERROR_OCCURRED                = 3
   OTHERS                        = 4
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
        WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
CALL FUNCTION 'CRM_ORDER_SAVE_OW'
EXPORTING
  IT_OBJECTS_TO_SAVE            =
  IV_UPDATE_TASK_LOCAL          = FALSE
  IV_SAVE_FRAME_LOG             = FALSE
  IV_LOG_HANDLE                 =
  IV_NO_BDOC_SEND               = FALSE
  IV_CANCELLED_WHEN_ERROR       =
  IT_ACTIVE_SWITCH              =
IMPORTING
  ET_SAVED_OBJECTS              =
  ET_OBJECTS_NOT_SAVED          =
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
EXPORTING
  WAIT          =
IMPORTING
  RETURN        =
commit work and wait.

Similar Messages

  • How to resolve error message "iTunes could not back up the iPhone because the backup was corrupt or not compatible with the iPhone. Delete the backup for this iPhone, then try again."

    I inadvertently deleted my iPhone backup on my MacBook Pro. I restored iPhone to factory settings and then synced remotely with iCloud. However the error message repeatedly states:
    iTunes could not back up the iPhone because the backup was corrupt or not compatible with the iPhone. Delete the backup for this iPhone, then try again.
    Any ideas as to how this can be resolved please. Thank you very much.

    My wife's iPhone 5 would not backup, after upgrading to iOS 8.     The "genius" at the Apple store succeeded in DELETING, the only recent backup of her phone so
    recovery became more critical.
    I followed all the procedures for troubleshooting it, but still it would try to backup and then stop due to an error. We particularly wanted to preserve some game data/history/progress that she'd been working on for years.      This game (Dream Fish) would no longer open after the iOS 8 upgrade ... and the phone would not successfully backup, and so we had no confidence that it would restore from an older backup either.       I googled for solution and found Phoneview and iFunBox.      These apps allow you to see & access data files in the iPhone.      Phoneview was too fragile and crashed when copying a file any size.     
    I found "iFunBox".     iFunBox was excellent.      I used iFunBox to recover her game data.    It allows you to make a copy of data files that reside on the iPhone... and store them as a manual backup on the Mac.
    And in the process I found 2 games that caused iFunBox to crash.      The 2 games in question were not important enough to try to keep, so I deleted them from the iPhone.
    So then, I had a manual backup of the important iPhone data, and had eliminated two game files that apparently had a conflict with iOS 8.
    My next Backup attempt was successful.        The iPhone with iOS 8 would now backup to both the Mac and to the Cloud.
    Next I deleted Dream Fish from the iPhone and downloaded a fresh version from the Cloud.    The new Dream Fish with no history opened in iOS 8.
    Then I used iFunBox to copy my wife's Dream Fish data history from the Mac back into the new game.
    Once the transfer was complete, Dream Fish would now OPEN and all of her progress was there and working like normal.
    Hope this helps.

  • HT1766 Error message: "iTunes could not back up the iPhone because the backup was corrupt or not compatible with the iPhone.  Delete the backup for this iPhone, then try again." But how do I delete the backup?

    Error message when attempting to backup up iPhone4S to Mac says "iTunes could not back up the iphone because the backup was corrupt or not compatible with the iPhone.  Delete the backup for this iPhone, then try again." But how do I delete the backup? Can't find answer to that anywhere.

    We had this problem after upgrading to iOS 8.       The iPhone 5 would not backup either to the cloud or to the computer.   Backup always ended with an error message.
    Long story short, with the help of iFunBox ( which I used to make manual backups of some important iPhone data files ), I discovered two games that
    would crash iFunBox.      They were not important games for us, so I didn't try to isolate the offending data files.     And I deleted the two games from the iPhone.
    Apparently these two games conflicted with iOS 8 just as they did with iFunBox.      The next backup without those games was then successful.
    I backed up to both the Mac and the cloud.
    Hope this helps.

  • I just got my refurb iPad in the mail. I am trying to set it up, but im getting this message "iTunes could not back up the ipad because the backup was corrupt or not compatable with the ipad. Delete the backup for this ipad. then try again." How?

    I just got my refurb iPad in the mail. I am trying to set it up, but i am getting this error message " iTunes could not back up the ipad because the backup was corrupt or not compatable with the ipad. Delete the backup for this ipad. Then try agian." How do I do that?

    It sounds like the iPad wasn't erased to me. If the iPad is totally cleared of content, there should be nothing on it and no backup to create.
    Without connecting the iPad to your computer - Launch iTunes on you computer and go to Edit>Prefences>Devices. Do you see an iPad backup in there? If you do see it, delete it.

  • HT201210 I have a message saying "iTunes could not back up the "Owner's iPhone" because the backup was corrupt or not compatible with the iPhone. Delete the backup for this iPhone, then try again. My question is, how do i locate and delete the backup in q

    While trying to update my iPhone 4s I received this "iTunes could not backup the i Phone "Owner's iPhone" because the backup was corrupt or not compatible with the iPhone. Delete the backup for this iPhone, then try again. I have a PC and cannot find the backup in question to delete. Any ideas?

    Here are location of your Backup folder(s):
    Win7 - C:\Users\<username>\AppData\Roaming\Apple Computer\Mobile Sync\Backup
    Vista - C:\Users\<username>\AppData\Roaming\Mobile Sync\Backup
    Winxp- C:\Documents and Settings\<username>\Application Data\Apple Computer\Mobile Sync\Backup

  • I keep getting a message "iTunes could not back up the iphone because the back up was corrupt ot not compatible with the iPhone. Delete the back up for this phone and try again." What can I do to fix this tried deleting and reinstalling itunes twice.

    I have an iPhone 3gs. How do I fix this or delete the back up?

    See this Older Discussion... Just read iPhone instead of iPod...
    https://discussions.apple.com/message/12542562#12542562

  • How to hide or do not show the receipt's name after miss called?

    1. How to hide or do not show the receipt's name after miss called?
    2. I do not want to show my message statement in the screen.

    I have also registered to this forum to inform that the problem with showing the MAC-address in the sidebar of the finder is still not solved.
    The strange thing is that the Embedded Web Server says:
    "This specifies the Bonjour domain name assigned to the device, in the form <host name>.local. If a user-specified host name has not been assigned, the default host name HPxxxxxx is used, where xxxxxx are the last 6 digits of the LAN hardware (MAC) address. This option cannot be modified."
    But I did assign a user-specified host name and that name does show-up everywere (also within Bonjour), except in the sidebar of the finder (hp###xx##x####). Lots of people have the same issue, when searching on the interet, but not one has found the solution.
    Please help with solving this issues?

  • Bought a new iphone and i cant activate it unless the previous owner deletes the account from their icloud but i lost contact with the previous owner how can i fix this?

    bought a new iphone and i cant activate it unless the previous owner deletes the account from their icloud but i lost contact with the previous owner how can i fix this?

    Take it back where you got and and get your money back.
    As has been pointed out, if there was a "previous owner", the phone is not "new". Thephone you purchased is most likely stolen. If whoever you bought it from won't give you your money back, turn it over to the police.

  • How to track the user who deleted the info object.

    Dear Gurus,
    In our BI system one info object has got deleted.  If I need to track the user who has deleted that how can I track it(in which DBtable).  And the complication is one user ID is being used by many people, in this case how can I track that from which machine the Info Object has been deleted(if there is any possibility to track the machines by IP address).
    Kindly let me know if there is any procedure to find it out. Your help will be rewarded with a great honour.
    Regards
    Mohan Kumar

    Hi dear,
    you have to go in SLG1 transaction, and then select
    Object: RSD
    Subobject: IOBJ_DEL
    External ID: (put here the name of your deleted IO)
    Then choose a time range...and voilà, you can find the user who deleted the IO...
    Hope it helps!
    Bye,
    Roberto
    About the IP...look at USR41 table, but I think it's a bit difficult fo find data referred to the past...
    If you haven't activated logon auditing in SM19...

  • How to find the user who deleted the contents of DSO.

    Dear friends,
    Can u please tell me ,how to find the user who deleted the contents of the DSO.
    The user has deleted the complete contents of the DSO. We need to find the user ,date and time.
    regards,
    Vijai

    Hi,
    If the user has used the manage option to delete the contents of the DSO then the changed by field will be updated by the users name. In case a program is used for the deletion then it wont be the case.
    Regards
    Govind.

  • How to find out who has deleted the production Query

    Hi All,
    I have searche SD , i can find it for infoobject deletion but i couldn't find it for Query.
    Please let me know is there any possiblity to kow
        How to find out who has deleted the production Query
    Awaiting for your replies.
    cheers

    Hi Mahesh and all,
    Thanks for all your  inputs.
    I have tried with RSRREPDIR tabel , I am unable to see that query at all.
    If I use theT-code SLG1,
      please guide me on the steps with paramets to be given in the respective ..object, subobject etc..
    OR
    could you please suggest any other way.
    cheers
    leena

  • How to find out who had deleted the function moldule? S O S

    how to find out who had deleted the function moldule Thank you very much.

    if this fm was assigned to device class (package) you'll find it in
    tables tadir, e070, e071
    try with name of function module or function group
    hope that helps
    Andreas

  • Every time I sync my itouch I get the following message - "iTunes could not back up the iPod because the backup was corrupt or not compatible with the iPod.  Delete the backup for this iPod, then try again." But I get the same message again.... Any ideas?

    Every time I sync my iTouch I get the following message - "iTunes could not back up the iPod because the backup was corrupt or not compatible with the iPod.  Delete the backup for this iPod, then try again."  However, when I follow these instructions, delete the backup and try again - I get the same message.  Any ideas what is wrong?

    Hi,
    Try this thread.    https://discussions.apple.com/message/12661408?messageID=12661408
    Carolyn  

  • I tried to update my iPhone4's, but get the following error message:   iTunes could not back up the iphone "iPhoneName" because the backup was corrupt or not compatible with the iphone. Delete the backup for this iphone, then try again.

    I tried to update my iPhone4's, but get the following error message:   iTunes could not back up the iphone "iPhoneName" because the backup was corrupt or not compatible with the iphone. Delete the backup for this iphone, then try again.

    The solution will be found here, select your computer type and software.
    http://support.apple.com/kb/TS2529

  • How to hide system tables when using the Oracle SQL Developer?

    Hi,
    I would like to know how can I show only the tables that I created under the Tables tree? I didnt find a way to create a separate database using the Oracle Sql Developer. I see all the tables together, and would like to differentiate between different databases.
    Can anyone explain to me how to do these things?
    Thanks,

    Hi,
    I would like to know how can I show only the tables that I created under the Tables tree? Your posting is not clear,again tell something more on tables tree,what u want to achieve with it.
    How to hide system tables when using the Oracle SQL Developer? if u connected with sys, system or user with dba role then u have a privilege to see these tables,so revoke the privilege/role from ur user to view this tables if ur connected other then sys,system,
    I didnt find a way to create a separate database using the Oracle Sql Developer. DBCA is a tool for creating the new database.
    Kuljeet

  • Why did they remove the capability to delete text messages?

    We can no longer delete our text messages without deleting the entire feed.

    They didn't.
    Tap and hold a Message > More > select the individual messages then the trash can at the bottom or Delete All at the top to clear the thread.

Maybe you are looking for

  • Ativação da BadI - Conversão e validação de numeros de cod de barras

    Bom dia, Estou com um problema no qual eu preciso ativar a BadI - Conversão e validação de numeros de cod de barras boleto brasileiro que esta no SPRO ->Contab. financ.-> contab. clien. fornec. -> trans. contab.-> Saida de pag.-> saida de pag. aut.->

  • Startup error message on Satellite M30-107

    I get the following message when trying to boot up: Windows could not start because the following file is missing or corrupt \windows\system32\config\system You can attempt to repair this file by starting windows setup using the original setup CD-ROM

  • T.CODE 'F110'

    Hi, I want to know if i can make partial payment on transaction 'F110' Thanks.

  • CKML_F_TCKM2_EXT_FOR_ONE_VA

    can any body suggest the function module or new class/method   to replace the obsolete function module CKML_F_TCKM2_EXT_FOR_ONE_VA . I am getting this problem while upgrading from 4.6c to ecc6.

  • LMS UPGRADE

    Hi all, I need to update to the latest version a lms 2.5n , i see on the cisco portal the Following guide: Ordering Information for CiscoWorks LMS 2.x/3.x Existing Customers 1. Determine the license count for your existing CiscoWorks LMS 2.x/3.x prod