Check box GEN_NEW is not getting checked while creating a change order.

Hi Experts,
  I have written a zee function module to create a change order.I am calling this function module from an external system.In my zee function module I am calling a standard function module
CCAP_ECN_MAINTAIN.I am able to create the change order successfully but when I open the object types in the change order the check boc of the field GEN_NEW is not getting checked.I am unable to find the field and default it to 'X' so can you please help out over this issue.Answers will be rewarded with good number of points.
Thanks,
Sridevi.

Hi,
If you want to close a line item for a PR Number, refer FM BAPI_REQUISITION_DELETE
  CLEAR : wa_pr_close,
          wa_return_close.
  REFRESH : it_pr_close,
            it_return_close.
  wa_pr_close-preq_item  = lv_bnfpo. "<--Line Item Number (BNFPO)
  wa_pr_close-delete_ind = c_check.  "<--set as X (c_check = 'X')
  APPEND wa_pr_close TO it_pr_close.
  CLEAR wa_pr_close.
  CALL FUNCTION 'BAPI_REQUISITION_DELETE'
    EXPORTING
      number                      = lv_banfn  "<--PR Number (BANFN)
    TABLES
      requisition_items_to_delete = it_pr_close
      return                      = it_return_close.
Hope this helps you.
Regards,
Tarun

Similar Messages

  • Methodology/Processes Not getting reflected while creating a role via BRM in GRC

    Hello All,
    The methodology I have created is not getting reflected while creating a new Single role.
    I have maintained the condition groups properly in decision table, and assigned the same to the methodology as well.
    Please suggest.
    Thanks
    Regards,
    Shruti

    Methodology is updated when you press save after completing the first step.
    can you please share screen shots of configuration and issue you are getting

  • Error Message not getting clear while creation of purchase order

    Hi All,
    I am facing one problem while creating purchasing order.
    I have written one user-exit for purchase order. User has to enter purchase requisition number for certain purchase order type. If he doesn’t enter PR number, we have to throw an error message.
    I have used the MM06E005 for the same. User exit is working fine, but the problem is, all error messages are collected in log and it will be displayed in a dialog screen when you check the document (Transaction ME21N).
    When I enter PR number and check the document, the error message is still there, system is not clearing the error log. I have created “Z” message class and have used in User exit.
    Do you guys have any solution for this? Am I using the right user exit? What should I do to clear the error message?
    If you don’t have answer, please pass it to your friends also….
    Thanks a lot in advance…

    Hi Rob,
    Your inforamtion was good enough to start. thanks a lot for that. I tried to implement the same but no luck this time also.
    FYI..
    The FM exit name is EXIT_SAPMM06E_012 and see the following code, i used.
    TYPES:  BEGIN OF type_my,
            subrc TYPE sysubrc,
            msgid TYPE symsgid,
            msgty TYPE symsgty,
            msgno TYPE symsgno,
            msgv1 TYPE symsgv,
            msgv2 TYPE symsgv,
            msgv3 TYPE symsgv,
            msgv4 TYPE symsgv,
            END   OF type_my.
    DATA:  my TYPE type_my.
    DATA : GV_PO(10) TYPE I.
      if I_EKKO-BSART = 'Z005'.
      GV_PO = I_EKKO-EBELN.
        loop at TEKPO.
          if TEKPO-BANFN is initial.
           message E000(ZBC_MESSAGES) with TEKPO-EBELP.
            my-subrc = sy-subrc.
           my-msgid = sy-msgid.
           my-msgty = sy-msgty.
           my-msgno = sy-msgno.
            my-msgid = 'ZBC_MESSAGES'.
            my-msgty = 'E'.
            my-msgno = '000'..
            my-msgv1 = sy-msgv1.
            my-msgv2 = sy-msgv2.
            my-msgv3 = sy-msgv3.
            my-msgv4 = sy-msgv4.
      Cleaning
            CLEAR:
            sy-subrc,
            sy-msgid,
            sy-msgty,
            sy-msgno,
            sy-msgv1,
            sy-msgv2,
            sy-msgv3,
            sy-msgv4.
      Generate message
            mmpur_message my-msgty my-msgid my-msgno
            my-msgv1 my-msgv2 my-msgv3 my-msgv4.
      Remove message from message list
            mmpur_remove_messages_by_id GV_PO.
          endif.
        endloop.
    It is still not working. Moreover i don't have PO number at run time.
    I hope this clarify the problem in more detail.
    Meanwhile i am searching for OSS as suggested by Michael Bennett.

  • User exit not getting triggered while creating the vendor

    Hi all,
    I wanted to extend the idoc(crermas01) according to my reqiurement.
    But when I am trying to create a vendor using the IDOC cremas01 the user exit EXIT_SAPLKD01_001 is not getting triggered.
    Can anybody tell me the reason why it is happening so...........
    Thanks and regards,
    Vinil.

    Is your Idoc generated after the execution?
    Where is you break-point, it is inside EXIT_SAPLKD01_001. Please note FM EXIT_SAPLKD01_001 will not be called unless it is implemented using project (CMOD) and project is active.

  • BED & CESS not get updated while creating excise invoice

    Hi experts,
                   When i create excise invoice with reference to commertial invoice,BED,CESS notget ubdated
    in excise utilization tab "DEEMED is in blue color.How can i this into "NOBAND"
    I have done the CIN Customizing
    Please correct me ASAP........................
    Thanks

    dear experts....................help me to solve it

  • Outbound IDOC not getting triggered while new master data is created

    Hi Experts,
    I am trying to trigger an outbound idoc for Cost Center master data when ever cost center is being created or cost center is being changed. (Usinf COSMAS)
    I have successfully made use of change pointers and now able to trigger the idoc when ever Cost Center is getting changed. But while creating new Cost center, IDOC is not getting triggered.
    I used the function module MASTERIDOC_CREATE_SMD_COSMAS for triggering the idoc.
    Could one of you please let me what would have gone wrong? Since IDOC is getting triggered while changing the master data but not getting triggered while creating new master data.
    Thanks in Advance,
    Vinoth

    Hello,
    when you activate BD21 for a message type, it creates a entry in the SAP tables. that these Cost Centers have been sent already and any susequent changes to this will trigger a IDoc.
    As for BD16, scheduling it wont help as, you need to specify the selection criteria, and i do not see how you will be able to dynamically get the selection criteria.
    Try BD95, and BD59 to create a change pointer for a field, so when ever this fields is modified (new/updated) an idoc will be triggered.
    regards,
    Abhishek

  • Error while creating the sales order with billing reference

    hi alll
    i am getting error while creating the sales order with billing reference.The line items are coming in grey.I am not able to change the items as well as the quantity field.Can u guide me
    cheers
    shalsa007........

    Dear SAP SD 007
    I can confidently tell that an enhancement or an user exit has been applied in your scenario
    You have to check that
    Normally when creating a sales order with respect or referring billing documents the qty will be in editable mode and it is standard problem
    Your people has solved the standard problem by enhancement
    Usually OR--LF-PGI----F2 (SAY THE QTY IS 25 UNITS)
    Now you are creating returns order with reference to F2 in the return order type Re there is a standard issue that user can edit the qty to 30 from the original 25
    To solve this only your people have used userexit
    Line items and qty greyed out means definately there is some enhancement or user exit applied
    You have to check that
    Regards
    Raja

  • Delivery completion indicator not getting checked after GR against STO

    Hi All,
    I am facing the following issues while posting GR against the Stock Transport Order -
    Issue No. 1 - While posting GR against Outbound Delivery, I am receiving Error M7865
    Issue No. 2 - While posting GR against Stock Transport Order, the deliver completion indicator is not getting checked in PO even if the GR qty. is same as OBD qty.
    Can someone help me to come across these issues.
    Thanks,
    Pankaj

    Hi,
    Generally, in  case of Stock Transport Order, Goods Receipt is to be done w.r.t. Outbound Delivery only. Otherwise, it will not update Delivery Completion and also will not update the Sales Document Flow as well as Po History properly. So, better try to resolve Error M7 865 and do GR w.r.t. OBD only.
    To rectify error M7 865, check following;
    Diagnosis: -
        The goods receipt for the delivery cannot be posted.
        The error according to the error code:
        1.  The delivery does not exist.
        2.  The delivery type is unknown.
        3.  The delivery is not goods issue posted.
        4.  There are no delivery items.
        5.  The receiving plant could not be determined.
        6.  The delivery items have already been goods receipt posted or contain zero quantities.
        7.  Goods receipt(effect)movement type to goods issue movement type could not be determined.
        8.  It is not currently possible to block the delivery.
    Procedure: -
        Error code 1      : Check your entry.
        Error code 2,3,4,6: Check the delivery and its document flow.
        Error code 5      : The delivery must be related to a purchase order or the customer must be a retail business.
        Error code 7      : Check the settings for your movement types.

  • Getting error 'Item 00000 does not exist' while creating a salse order

    Hi All,
    We are facing an issue, we get an error message saying 'Item 00000 does not exist' while creating a sales order for a particular order type, we do not get this problem with all the materials, only a few of them and the materials which give a problem are part of the supersession chain. The problem is not even coming for all the superseded materials.
    This problem is occuring with none of the other order types but just one. We have compared the configuration for the order types for which this error is not coming and the order type which is giving the problem, and its exactly the same.
    When creating the sales order through VA01 even though the error message comes, but on hitting the enter button the processing goes further. But when creating the sales order through the background program the processing stops the moment the error message comes and the Sales Order does not get created.
    Your valuable suggestions for helping us resolving this issue will be highly appreciated.
    Regards,
    Geeta

    HI Geeta
    As per your post "Problem is when you are executing VA01 in background sales orders are not generating due to error message".
    Apart from configuration check alternative is "Take ABAPer's help and change this error message type to warning/information message type in the system". With warning/information message type you could be able to create sales orders in background also.
    try and revert

  • I am having an iPad 4. I am not getting alerts while receiving any call in my ipad. Is there any solution for this?

    I am having an iPad 4. I am not getting alerts while receiving any call in my ipad. Is there any solution for this?

    Check your settings
    Settings>Notifications>FaceTime/Message>Alert Style

  • How can I make a check box active ONLY if another check box is activated?

    How can I make a check box active ONLY if another check box is activated?
    I have an editable PDF for a client, which contains text fields and check box fields.
    There are three main check boxes (let's call them A, B and C) that the user is required to choose from, and I have given all three the same name in the Name tab of the General tab menu but different export values in order that ONLY one of the boxes can be checked at any time. Ticking one will deactivate another if it is already checked, etc.
    However, I then have a further two check boxes which I wish to become available ONLY if the second one of the above three boxes is checked. Other than that I do not wish the user to have access to them.
    I'm guessing it requires some kind of Action Script or Javascript, which is not my forté! Any help would be much appreciated.
    Regards
    Tony

    See Disabling (graying-out) Form Fields by Thom Parker. It covers both Acrobat and LiveCycle forms.

  • The html select box option is not getting displayed properly in IE11

    The html select box option is not getting displayed properly in IE11
    I have developed a website that has a select box drop down. The select box drop down is getting displayed properly in IE9. But in IE11, if I am selecting any option apart from the first one, the whole select box option is getting moved up in the page.
    In IE11, if option 2 is selected, then the select options is getting moved up. But in IE9, if option 2 is selected, then the select options is getting displayed properly.
    Please let me know the fix so that the select options are displayed in the same manner as in IE9.
    Sorry but I am unable to upload images as this site is throwing some error

    Hi Kevin Shen,
    Thanks for post.
    I tried above code in ie 11(version 11.0.9600.17633).
    But it is not working. If you select option 2, and open select box then it open on the select box.
    It should open below the select box.
    Code for above:-
    <select>
    <option>1</option>
    <option>2</option>
    <option>3</option>
    </select>
    Sorry I could not attach screen shot. We have normal select box with three options. If we select option 2, it is showing option list on the select box. It is coming below the select box in ie 10 and other browse like chrome. 
    So what we should do, so that all options will come below the select box?
    Thanks,
    Yogesh Toke

  • Pdf printer is not get installed while installing adobe acrobat pro 11 in win 7 32 bit

    pdf printer is not get installed while installing adobe acrobat  pro 11 in win 7 32 bit

    BlackCat,
    Two things:
    1) Acrobat 8 Pro is not Win 7 compatible, no less Win 7 64-bit copmpatible
    2) Reader X and Acrobat 8 are not a supported combination. Reader X and Acrobat X is the first Windows combination that is supported by Adobe. Reader X and Acrobat 8 will cause problems.
    You are using a brand new 64-bit OS, you need to use an application that is designed to work with it. Acrobat X is the way to go, HOWEVER, there are still growing pains with Acrobat X, Win 7 64-bit, and the latest version of Office.

  • Hi, I have downloaded some avi files and mov files. i am not getting audio while playing the movie. i tried to play with iTunes, QT, DivX player. but I am getting audio in mp4 files. can u help me to fix this

    Hi, I have downloaded some avi files and mov files. i am not getting audio while playing the movie. i tried to play with iTunes, QT, DivX player. but I am getting audio in mp4 files. can u help me to fix this

    First, back up all data and then uninstall "DivX" according to the developer's instructions.
    Then try this:
    VideoLAN - Download official VLC media player for Mac OS X

  • Ipad not getting charged while connected to the laptop

    ipad not getting charged while connected to the laptop.

    It's no different from the iPad 1 in  that regard.  When connected to a computer via USB it should charge when sleeping only.   Hit the sleep button and leave it for a while to see if that works.   It's much slower charging that way than using the actual charger.
    Not all USB's are powered, or powered enough, so what the previous poster said could also be the case.

Maybe you are looking for