Treasury: Multiple Exercise/Partial Exercise for 1 Option Contract

Dear fellow SAPers,
I have created a product type of an OTC Option with specification:
Product Category : OTC option
Settlement : Cash Settlement
Exercise Type : American
Option Category : Standard
assigned to it is transaction type with specification
Transaction Category : Purchase
and Processing Category: Order-Contr.-Settlmnt-Exer./Expir.-Settlmnt-Termintn-TSettl
there is requirement to have multiple Exercise/ partial Exercise for one option contract, kindly help.
Thank you
Best Regards,
Stevecorner

Dear Stefanus,
Any luck on this, as we also have a similar requirement of partial exercise of options. Any help in this regard would be highly appreciated.
Thanks n Regards,
Akhil

Similar Messages

  • For the cm with multiple bps, what are the options for workaround?

    For the cm with multiple bps, what are the options for workaround?
    customer a purchases 1000
    and returns 800 at POS
    customer b was used at SAP related to  this transaction, purchase amounting to 2000,what can we do to apply the returns of customer a to customer b of 800 return transaction at pos?customer a and customer b code pertains to just one client---but were given different codes at POS and at SAP

    Hi,
    If one customer has two codes, you can only do manual journal entry to adjust their accounts.
    Thanks,
    Gordon

  • Search option for multiple lines in iPad for fixed layout ePub is not working. Is there any alternate way to search multiple lines in ePub?

    Search option for multiple lines in iPad for fixed layout ePub is not working. Is there any alternate way to search multiple lines in ePub?

    Hi SAP Gurus
    I need a big favour, I am trying to map serach string with internal order, my search string is MV-38610573 which I have mapped with posting rule 'GENT' which  debits bank account and credit revanue accounts but this revanue account requires assignment with internal order, so I have created another 3 search string with same search string 'MV-38610573' and mapped with BSEG-ASUFNR,60000LC ( internal order),3 (bdc account type) respectively, also maintained three entries in search string use which is for BDC FIELD NAME1, BDC FIELD VALUE 1 & BDC ACCOUNT TYPE 1,
    But this is not working it gives me following error,                                                                 
    > Error: (KI 235) Account 4421 requires an assignment to a CO object
    Your help will be highly appreciated,

  • Multiple TYPEELIM property values for an account

    I am trying to set automatic adjustment business rules and need to assign multiple multiple TYPEELIM property values for an account. Any idea how to achieve this?
    Here is my example. Letu2019s assume there are 2 eliminations I need to do.
    Elimination 1: Account A, B, C going to Account Y
    Elimination 2: Account A, B, D going to Account Z
    For elimination 1, to group source accounts (A,B,C), I want to assign u201CELIM1u201D for TYPEELIM property to all source account (A,B,C).
    For elimination 2, to group source accounts (A,B,D), I want to assign u201CELIM2u201D for TYPEELIM property to all source account (A,B,D).
    As you see, accounts A and B are repeated in both cases. I am not sure how I can assign both ELIM1 and ELIM2 property for these two accounts.
    Options I have thought of:
    1.     Include automatic adjustment line by line:  But since I have many accounts, this will be very lengthy and not good from maintenance point of view.
    2.     Include one ELIM1 in TYPEELIM and ELIM2 in Dimlist: But my real case is more than just two elims as mentioned above. What if there are 4 elim and includes same account?
    Any idea on this?
    Thanks in advance.

    Hi,
    http://help.sap.com/saphelp_bpc75/helpdata/en/5A/69200C88AA40C9B18844A25259F147/frameset.htm
    Administration->Business Calculation->Business Rule Management->Automatic Adjustment->Automatic Adjustment Detail
    This is for 7.5, but majority of contents are not changed from 7.0.
    Regards,
    YH Seo

  • How to disable "Enter Parameter Values" for optional paramters?

    I'm having issues getting the Crystal Reports .NET Viewer to suppress the "Enter Parameter Values" dialog for optional parameters.  I have templates created using Crystal Reports 2008 and am linking against the CR for VS 2010 runtime.
    Within the report template the optional paramter has "Optional Prompt" set to "True".  This particular parameter also allows multiple values and is used in record selection.  Within the record selection it is using HasValue().
    It seems the parameter is set up properly as I have other parameters that are set within the code that are not prompted for.  If I pass in the optional parameter through the code the "Enter Paramater Values" dialog also does not appear and the report is generated correctly.  All of the parameters are set using ParameterFields and they are set before the ReportSource is set.
    Looking through the .NET API documentation it seems like the CrystalReportViewer should have an "EnableParameterPrompt" property that would do what I want however it doesn't seem to be a valid parameter as I get compile errors when I try to use it...  Not sure if it matters or not but I am using managed C++ and our application is built using Visual Studio 2005.  Could that maybe have something to do with it?
    Thanks,
    -Ben

    OK, I'm going to answer my own question as with a little more digging I was able to find out that I needed to set some stuff on the report document to specify that there are no values.  Still not sure why "EnableParameterPrompt" is not valid for me though as it seems like that would work as well.  At any rate here is what I needed to do:
    ReportDocument->ParameterFields[<Optional Parameter Name>]->CurrentValues->Clear();
    ReportDocument->ParameterFields[<Optional Parameter Name>]->CurrentValues->IsNoValue = true;
    -Ben

  • I have a brand new macbook pro 15" with latest Lion.Can anyone tell me why, when I open word or preview etc that multiple files open?For eg if I open a word doc, the last 1-3 docs that I have worked on all open. why?

    I have a brand new macbook pro 15" with latest Lion. Can anyone tell me why, when I open word or preview etc that multiple files open?For eg if I open a word doc, the last 1-3 docs that I have worked previously on all open. Can anyone tell me why?

    You have a choice as to whether or not applications in Lion like Word or Preview (or even Safari) save and re-open previous documents or windows... just hold down the option key while quitting a program and when you re-open it you won't get the previous documents or windows when you re-open the application. You can see this by selecting the open program in the menu bar and when holding down the option key the quit function will change to quit and discard open windows. This feature in Lion is referred to as "Resume" and is great if you want to restart an app and return to what you're doing (for example in Safari re-opening existing windows and tabs from your previous session). You still have the option to close individual windows within an app before quitting and they will not re-open when the app is launched again.
    This Resume function is not related to saving your work (a word or text document for example). This is handled by Lion's "Auto-Save" and "Versions" functions. See http://www.apple.com/ca/macosx/whats-new/auto-save.html
    Hopefully this is the complete answer you're looking for.

  • Error in BAPI RETURN for Service Contract

    Hi,
      I get an error in the BAPI Return for the Uploading the Service Contracts by LSMW. The Error Message is E BS No status object is available for &.Also want to know can we upload multiple line of header text for a Contract by this BAPI. If so then how would I do this , as the BAPI structure BAPISDTEXT has textline upto 132 characters. And I am take only one file in LSMW where the header & details come alongwith text. Or could also tell me the file structure of for the data upload. The legacy system sends multiple text in the header for a Contract.For Eg.
    Header1 Detail1 Text1
    HEader1 Detail2 Text2
    Header1 Detail3 Text3
    So I would need this text1TEXT2text3 in the Header Text of the Contracts. Or do I need the change the file structure. Many thanks for your time and help.

    Thanks Nablan, I could do that for multiple header coming in file. But I have a question for you on BAdI ALM_ME_006_GOODSMVT. I have implemented this BAdI , and this BAdI is called by a function Module ALM_MEREP_006_CREATE. When I test this FM giving the Material , Orderid and Movement type entries, this BAdI is triggered when giving a breakpoint. I've given this code for changing the movement type to 961. Cause the stanadrd scenario does not maintain Movement type 961 in Mobile Asset Management. The Movement type 961 for unplanned Materials comes to SAP and changes to 261 as maiantained by TCOKO table. To bypass this & retain the movement type 961 in SAP I'm using this BAdI. Currently this is what I'm doing and am stuck in the method interface how do I call the method.
    method IF_EX_ALM_ME_006_GOODSMVT~CREATE .
    break-point.
    *DATA : i_ce_goodsmovement TYPE REFERENCE
              ALM_ME_CUSTOMER_ENHANCEMENT.
    DATA : lr_badi_goods_movement TYPE REF TO if_ex_alm_me_006_goodsmvt.
    DATA : ls_user_data TYPE ALM_ME_USER_DATA-USERID.
    *DATA : goods_movement TYPE ALM_ME_MATERIAL_MOVEMENT.
    CALL METHOD lr_badi_goods_movement->create
      EXPORTING
           ce_goodsmovement = ce_goodsmovement
      IMPORTING
           user_data        = ls_user_data
           custom_user_data = ls_ce_user_data
           goods_movement   = goods_movement
      changing
           return           = return[].
    CALL FUNCTION 'ALM_ME_COMMIT_OR_ROLLBACK'
           TABLES
                return = return.
    endmethod.
    Please help me to get the data in this method. How do I call this.

  • How to find out the link for the tables for sub contract PO

    Dear All,
    How to find out the link for the tables for sub contract PO, I am looking for the fields Material, Unit, Batch no., quantity.
    Please provide the solution for the Table related to ABAP.
    Thanks,
    V.V.

    Hi,
       Make use of the table EKKO, EKPO...
    For subcontract please select the option in EKPO-PSTYP.
    Regards
    GK.

  • In Mavericks Mail, I can't select multiple e-mail addresses for an individual e-mail. I don't want to hand select hundreds of e-mail addresses.

    In Mavericks' new e-mail program, I cannot select multiple e-mail addresses for an individual e-mail without having to re-open the address book for every e-mail address I am opening. Please help.

    The new but not-ready-for-prime-time autocomplete method searches for matches that contain the entered text, not just ones that begin with the string. Your options are:
    1) type in longer strings that narrow the search
    2) use an add-on to search just the beginnings:
    https://support.mozilla.org/en-US/questions/1037469
    3) install an older version of TB:
    http://ftp.mozilla.org/pub/mozilla.org/thunderbird/releases/

  • BOM IN CRM Only for Service  Contract

    Hello
    We want have a BOM explosion working in CRM for service contracts
    Here are the details :
    We have replicated the materials from ECC to CRM. We are not maintaining any BOMu2019s in ECC.
    The idea is that we maintain the BOM Structure in CRM only, as we donu2019t want to have the Items as a billable item in a position, only for information purposes (or later on for metering)
    We have maintained the product category for the header product in CRM so we are able to maintain depended components
    (Relationship type SCDEC  S Dependent Components (DC) )
    Not we are able to assign dependent component to the header material
    Item category groups:
    We understand that the standard item category groups that should be used are ERLA for the header product and LUMF for the Item product.
    In order to support the same functionality for the given item category group , maintained at the product level in ECC we copied the same setting for the item category group from the standard to
    our settings.
    Standart
    Tx type     Item Cat Group          item category     structure scope
    TA             ERLA                TAQ           A single level Explosion of Structured Product     
    TA         LUMF                TAP                   A single level Explosion of Structured Product     
    So we have copied TAQ to ZTAQ and TAP to ZTAP.
    ZS01 is a copy of SC (service contract)
    Tx type     Item Cat Group          item category     structure scope
    ZS01     ZLEI                       ZTAQ          A single level Explosion of Structured Product     
    ZS01     LEIS                       ZTAP          A single level Explosion of Structured Product     
    But when we use a header product in the service contract, we cannot see the BOM is exploding.
    We have also created some products in CRM with exactly the same Item Category groups as the standard and when we create a standard order (TA) in CRM, the BOM is NOT exploding.
    Questions:
    Is it possible to have the BOM setup only in CRM, like we try to do it?
    Is it possible to use our own item category groups in CRM more is the functionality only working with ERLA and LUMF?
    Is it possible to use the BOM Explosion in Service contracts as well ?
    What steps are we missing to get the BOM explosion in CRM ?
    Thank you for your help
    Frank
    Edited by: Frank Foerstner Foerstner on Dec 9, 2011 12:34 PM

    Thanks Nablan, I could do that for multiple header coming in file. But I have a question for you on BAdI ALM_ME_006_GOODSMVT. I have implemented this BAdI , and this BAdI is called by a function Module ALM_MEREP_006_CREATE. When I test this FM giving the Material , Orderid and Movement type entries, this BAdI is triggered when giving a breakpoint. I've given this code for changing the movement type to 961. Cause the stanadrd scenario does not maintain Movement type 961 in Mobile Asset Management. The Movement type 961 for unplanned Materials comes to SAP and changes to 261 as maiantained by TCOKO table. To bypass this & retain the movement type 961 in SAP I'm using this BAdI. Currently this is what I'm doing and am stuck in the method interface how do I call the method.
    method IF_EX_ALM_ME_006_GOODSMVT~CREATE .
    break-point.
    *DATA : i_ce_goodsmovement TYPE REFERENCE
              ALM_ME_CUSTOMER_ENHANCEMENT.
    DATA : lr_badi_goods_movement TYPE REF TO if_ex_alm_me_006_goodsmvt.
    DATA : ls_user_data TYPE ALM_ME_USER_DATA-USERID.
    *DATA : goods_movement TYPE ALM_ME_MATERIAL_MOVEMENT.
    CALL METHOD lr_badi_goods_movement->create
      EXPORTING
           ce_goodsmovement = ce_goodsmovement
      IMPORTING
           user_data        = ls_user_data
           custom_user_data = ls_ce_user_data
           goods_movement   = goods_movement
      changing
           return           = return[].
    CALL FUNCTION 'ALM_ME_COMMIT_OR_ROLLBACK'
           TABLES
                return = return.
    endmethod.
    Please help me to get the data in this method. How do I call this.

  • Production - Multiple Bills of Material for a FG Product

    Hi,
    In SAP B1 - It is not possible to create multiple Bills of Materials for a FG product.
    Is there any workaround to address this issue?
    At our location we have multiple alternative combinations of components which can be used to create the same FG product.
    One alternative is to create Special Production Orders (but with no BOM). Is there a better option?
    Regards
    Manish
    Edited by: Manish Chaturvedi on Apr 1, 2009 12:51 PM

    HI  Manish,
    Your Bill of material is dynamic so just try to solve this by alternative items(Raw Material). i hope it will work.
    But in SAP B1 standard there is no work arround. you have to change the BIll of material every time. or make one udf in the title level with the name version 1,2,3 ..... and save it in the system. and pick the BOM which you will needed at the time of Production.
    I hope it will solve your question.
    Ashish Gupte

  • Changing Billing Schedule Level for Service Contracts created in OM

    Hi,
    When we create a Service Contract from Order Management, the Billing Schedule Level is always set to Top Level and only one Billing Stream gets created.
    Can we get the Billing Schedule Level changed to other Levels viz., Equal Amount or Covered Level using any setups.
    Has anyone did any customization/extension to be able to change the Billing Schedule Level.
    The basic requirement is to have multiple billing streams for the contract, created from Order Management.
    Gurus, any ideas/suggestions to get this accomodated.

    Sid,
    I don't think you are on the right track (in my opinion). You are right that we can only create service contract from the order management (service or Extended Warranty Lines).
    If I understood correctly, you sell electronic subscriptions (like my internet service I have at home) and you are looking for way to take it from the order management so that you can bill it from Contracts and not from OM. As this is electronic service, looks like you do not have fulfill any tangible product (like magazines) from contracts. Hence you do not care about the schedule for the contract shipments. Is that correct?
    As this is not something Oracle offers (I did not find anyway), you may want to consider extending OM workflow or a batch program to create a subscription contract once the order line is fulfilled (not the program where we create service contract). This way you have flexibility to create the contract the way you want it.
    But you can always create a service contract covering a subscription item as covered product. Like I have internet service as subscription but they cover me for any incidental visits of technicians for this subscription charging me some amount every month.
    Thanks
    Nagamohan

  • MS SSIS command line call "Argument for option 'set' is not valid"

    Hi all,
    I'm tring to execute a SSIS package from command line. Here's the code:
    dtexec.exe /file "E:\TestIS\IntegrationServicesProject1\IntegrationServicesProject1\Package.dtsx" /set \Package.Variables[User::Name].Properties[Value];20150314
    and it return a error saying  "Argument for option 'set' is not valid". I've configure the package and generated a XML file. And do exactly as the official doc says. However, this line of code just doesn't work. If I delete the set option
    and run the package alone, it can be ran. So anyone can help me out? Thank you in advance.

    Hi NoahdeArk,
    In SQL Server Integration Services, string literals must be enclosed in quotation marks. The expression language provides a set of escape sequences for commonly escaped characters such as nonprinting characters and quotation marks. A string literal consists
    of zero or more characters surrounded by quotation marks. If a string contains quotation marks, these must be escaped in order for the expression to parse. For more details, please see:
    https://msdn.microsoft.com/en-us/library/ms141001.aspx
    So to troubleshoot this issue, please refer to the following command:
    dtexec.exe /file "E:\TestIS\IntegrationServicesProject1\IntegrationServicesProject1\Package.dtsx" /set \Package.Variables[User::Name].Properties[Value]; \"20150314\"
    Or
    dtexec.exe /file "E:\TestIS\IntegrationServicesProject1\IntegrationServicesProject1\Package.dtsx" /set \Package.Variables[User::Name].Properties[Value]; \""20150314"\"
    The following similar threads are for your references:
    https://social.msdn.microsoft.com/Forums/sqlserver/en-US/af4f62e1-b600-49d7-98c2-4a35c9fef404/escape-character-for-set-option-of-dtexec
    http://stackoverflow.com/questions/9612471/dtexec-error-setting-multiple-variables
    Thanks,
    Katherine Xiong
    If you have any feedback on our support, please click
    here.
    Katherine Xiong
    TechNet Community Support

  • Multiple selection button in select-options

    Hello exports,
    I need to provide an interface to user where he can Put a multiple selection button (ICON_ENTER_MORE) multiple selected purchase order at a time. (Like multiple purchase orders in select option). It should be done in dialog programming.
    plz giv me the code its urgent.
    regards

    I was looking for an answer to the same question.  After exhausting all searching efforts on this forum I did a Google search using the following search string:
    "multiple selection button"
      It wasn't until the third page of returned hits that I found just what I was looking for.  I hope the following link is as helpful to you as it was for me:
    [http://searchsap.techtarget.com/tip/1,289483,sid21_gci888211,00.html?FromTaxonomy=%2Fpr%2F283958]
    This link assumes that you know dialog programming.  You will have to adapt the example and code to your specific needs.

  • Populating multiple entries in the select option of a Report

    Hi,
      Ineed to populate multiple entries in the select option of a report where the bdctab has more entries than the number of rows in the select option. I have tried the transaction LINS ( Insert row) but it works intermittently based on the RSSEL-LOW(xx) value. Looking forward to any inputs.
    cheers
    Aveek

    Hi,
      Here is my code dump:
    **Version 0005
    *CTS D7AK900899 New Version code fixed for testaveek28 case.
    *MOD-1887120: Code that is changed after the release of transport.
    Populate the general selection criteria on first screen
      PERFORM f_populate_bdc_tab USING:
      'X'  'APO_BAPI_DEL_TRANS_OBJECTS'  '1000',
    ' '  'BDC_CURSOR'                  'EXT_PROD-LOW',
      ' '  'BDC_OKCODE'                  '=%011',
    ' '  'BDC_OKCODE'                  '=DUMMY',
      ' '  'PLVERS'                      '000',
      ' '  'MD_SYS'                      p_log,
      ' '  'EXTRB'                       'X',
      ' '  'MO_DEL'                      'X',
      ' '  'SIM'                         space,
      ' '  'P_LOGDEL'                    '5'.
      sort it_core_prod by pcode.
      delete adjacent duplicates from it_core_prod
                       comparing pcode.
      describe table it_core_prod lines lv_line.
      CLEAR lv_count.
    LOOP AT it_core_prod ASSIGNING <lfs_data>.
       lv_count = 1.
       CONCATENATE gc_rscsel gc_l_brac lv_count gc_r_brac INTO lv_fname.
       if lv_line > 1.
         PERFORM f_populate_bdc_tab USING:
         'X'  'SAPLALDB'                    '3000',
         ' '  lv_fname                    <lfs_data>-pcode,
         ' '  'BDC_OKCODE'                  '=LINS'.
         CLEAR lv_fname.
    ENDLOOP.
    *Populate the select options screen for product
    PERFORM f_populate_bdc_tab USING:
    'X'  'SAPLALDB'                    '3000',
    ' '  'BDC_SUBSCR'                  'SAPLALDB 3010SCREEN_HEADER',
    ' '  'BDC_OKCODE'                  '=ACPT'.
    sort it_prod_var by pcode prvar.
    delete adjacent duplicates from it_core_prod
                       comparing pcode prvar.
    PERFORM f_populate_bdc_tab USING:
         'X'  'SAPLALDB'                    '3000'.
    LOOP AT it_core_prod ASSIGNING <lfs_data>.
      lv_pcode = <lfs_data>-pcode.
    *lv_count = lv_count + 1.
      lv_count = 1.
      CONCATENATE gc_rscsel gc_l_brac lv_count gc_r_brac INTO lv_fname.
       if lv_line > 1.
          PERFORM f_populate_bdc_tab USING:
          'X'  'SAPLALDB'                    '3000',
          ' '  lv_fname                    <lfs_data>-pcode,
          ' '  'BDC_OKCODE'                  '=LINS'.
          CLEAR lv_fname.
      describe table it_prod_var lines lv_line.
    sort <lfs_data> by locno pcode prvar.
      LOOP AT it_prod_var ASSIGNING <lfs_data1>  where pcode = lv_pcode.
      lv_count = lv_count + 1.
        lv_count = 1.
        CONCATENATE gc_rscsel gc_l_brac lv_count gc_r_brac INTO lv_fname.
       if lv_line > 1.
          PERFORM f_populate_bdc_tab USING:
          'X'  'SAPLALDB'                    '3000',
          ' '  lv_fname                    <lfs_data1>-prvar,
          ' '  'BDC_OKCODE'                  '=LINS'.
        else.
         PERFORM f_populate_bdc_tab USING:
         ' '  lv_fname                    <lfs_data>-prvar,
         ' '  'BDC_OKCODE'                  '=LINS'.
        endif.
          CLEAR lv_fname.
      ENDLOOP.
    ENDLOOP.
    Populate the select options screen for product
      PERFORM f_populate_bdc_tab USING:
    'X'  'SAPLALDB'                    '3000',
    ' '  'BDC_SUBSCR'                  'SAPLALDB  3010SCREEN_HEADER',
      ' '  'BDC_OKCODE'                  '=ACPT'.
    Populate the select options for the Locations
      PERFORM f_populate_bdc_tab USING:
      'X'  'APO_BAPI_DEL_TRANS_OBJECTS'  '1000',
    ' '  'BDC_CURSOR'                  'EXT_PRD-LOW',
      ' '  'BDC_OKCODE'                  '=%012',
      ' '  'PLVERS'                      '000',
    ' '  'MD_SYS'                      p_log,
      ' '  'EXTRB'                       'X',
      ' '  'MO_DEL'                      'X',
      ' '  'SIM'                         space,
      ' '  'P_LOGDEL'                    '5'.
    Populate the select options screen for product
      PERFORM f_populate_bdc_tab USING:
      'X'  'SAPLALDB'                    '3000',
    ' '  'BDC_SUBSCR'                  'SAPLALDB  3010SCREEN_HEADER',
      ' '  'BDC_OKCODE'                  '=ACPT'.
      CLEAR lv_count.
      LOOP AT it_loc_data ASSIGNING <lfs_data>.
        lv_count = lv_count + 1.
      lv_count = 1.
        CONCATENATE gc_rscsel gc_l_brac lv_count gc_r_brac INTO lv_fname.
        PERFORM f_populate_bdc_tab USING:
        ' '  lv_fname                    <lfs_data>-locno.
       ' '  'BDC_OKCODE'                  '=LINS'.
        CLEAR lv_fname.
        PERFORM f_populate_bdc_tab USING:
         'X'  'SAPLALDB'                    '3000',
         ' '  lv_fname                    <lfs_data>-locno,
         ' '  'BDC_OKCODE'                  '=LINS'.
         CLEAR lv_fname.
      ENDLOOP.
    CLEAR lv_count.
    LOOP AT it_loc_data ASSIGNING <lfs_data>.
       lv_count = 1.
       CONCATENATE gc_rscsel gc_l_brac lv_count gc_r_brac INTO lv_fname.
       PERFORM f_populate_bdc_tab USING:
         'X'  'SAPLALDB'                    '3000',
         ' '  lv_fname                    <lfs_data>-locno,
         ' '  'BDC_OKCODE'                  '=LINS'.
         CLEAR lv_fname.
    ENDLOOP.
    Populate the objects to be deleted on first screen
      PERFORM f_populate_bdc_tab USING:
      'X'  'APO_BAPI_DEL_TRANS_OBJECTS'  '1000',
      ' '  'BDC_OKCODE'                  '=DUMMY',
      ' '  'PLVERS'                      '000',
      ' '  'MD_SYS'                      p_log,
      ' '  'EXTRB'                       'X',
      ' '  'MO_DEL'                      'X',
      ' '  'MO_STAT'                     'X',
      ' '  'PO_DEL'                      'X',
      ' '  'SL_DEL'                      'X',
      ' '  'ST_DEL'                      'X',
      ' '  'PIR_DEL'                     'X',
      ' '  'SIM'                         space,
      PERFORM f_populate_bdc_tab USING:
      'X'  'SAPLSPO1'                    '0500',
      ' '  'BDC_OKCODE'                  '=OPT1'.
    **Version 0005
    *CTS D7AK900899 New Version code fixed for testaveek28 case.
    *MOD-1887120: Code that is changed after the release of transport.
    Populate the general selection criteria on first screen
      PERFORM f_populate_bdc_tab USING:
      'X'  'APO_BAPI_DEL_TRANS_OBJECTS'  '1000',
    ' '  'BDC_CURSOR'                  'EXT_PROD-LOW',
      ' '  'BDC_OKCODE'                  '=%011',
    ' '  'BDC_OKCODE'                  '=DUMMY',
      ' '  'PLVERS'                      '000',
      ' '  'MD_SYS'                      p_log,
      ' '  'EXTRB'                       'X',
      ' '  'MO_DEL'                      'X',
      ' '  'SIM'                         space,
      ' '  'P_LOGDEL'                    '5'.
      sort it_core_prod by pcode.
      delete adjacent duplicates from it_core_prod
                       comparing pcode.
      describe table it_core_prod lines lv_line.
      CLEAR lv_count.
    LOOP AT it_core_prod ASSIGNING <lfs_data>.
       lv_count = 1.
       CONCATENATE gc_rscsel gc_l_brac lv_count gc_r_brac INTO lv_fname.
       if lv_line > 1.
         PERFORM f_populate_bdc_tab USING:
         'X'  'SAPLALDB'                    '3000',
         ' '  lv_fname                    <lfs_data>-pcode,
         ' '  'BDC_OKCODE'                  '=LINS'.
         CLEAR lv_fname.
    ENDLOOP.
    *Populate the select options screen for product
    PERFORM f_populate_bdc_tab USING:
    'X'  'SAPLALDB'                    '3000',
    ' '  'BDC_SUBSCR'                  'SAPLALDB 3010SCREEN_HEADER',
    ' '  'BDC_OKCODE'                  '=ACPT'.
    sort it_prod_var by pcode prvar.
    delete adjacent duplicates from it_core_prod
                       comparing pcode prvar.
    PERFORM f_populate_bdc_tab USING:
         'X'  'SAPLALDB'                    '3000'.
    LOOP AT it_core_prod ASSIGNING <lfs_data>.
      lv_pcode = <lfs_data>-pcode.
    *lv_count = lv_count + 1.
      lv_count = 1.
      CONCATENATE gc_rscsel gc_l_brac lv_count gc_r_brac INTO lv_fname.
       if lv_line > 1.
          PERFORM f_populate_bdc_tab USING:
          'X'  'SAPLALDB'                    '3000',
          ' '  lv_fname                    <lfs_data>-pcode,
          ' '  'BDC_OKCODE'                  '=LINS'.
          CLEAR lv_fname.
      describe table it_prod_var lines lv_line.
    sort <lfs_data> by locno pcode prvar.
      LOOP AT it_prod_var ASSIGNING <lfs_data1>  where pcode = lv_pcode.
      lv_count = lv_count + 1.
        lv_count = 1.
        CONCATENATE gc_rscsel gc_l_brac lv_count gc_r_brac INTO lv_fname.
       if lv_line > 1.
          PERFORM f_populate_bdc_tab USING:
          'X'  'SAPLALDB'                    '3000',
          ' '  lv_fname                    <lfs_data1>-prvar,
          ' '  'BDC_OKCODE'                  '=LINS'.
        else.
         PERFORM f_populate_bdc_tab USING:
         ' '  lv_fname                    <lfs_data>-prvar,
         ' '  'BDC_OKCODE'                  '=LINS'.
        endif.
          CLEAR lv_fname.
      ENDLOOP.
    ENDLOOP.
    Populate the select options screen for product
      PERFORM f_populate_bdc_tab USING:
    'X'  'SAPLALDB'                    '3000',
    ' '  'BDC_SUBSCR'                  'SAPLALDB  3010SCREEN_HEADER',
      ' '  'BDC_OKCODE'                  '=ACPT'.
    Populate the select options for the Locations
      PERFORM f_populate_bdc_tab USING:
      'X'  'APO_BAPI_DEL_TRANS_OBJECTS'  '1000',
    ' '  'BDC_CURSOR'                  'EXT_PRD-LOW',
      ' '  'BDC_OKCODE'                  '=%012',
      ' '  'PLVERS'                      '000',
    ' '  'MD_SYS'                      p_log,
      ' '  'EXTRB'                       'X',
      ' '  'MO_DEL'                      'X',
      ' '  'SIM'                         space,
      ' '  'P_LOGDEL'                    '5'.
    Populate the select options screen for product
      PERFORM f_populate_bdc_tab USING:
      'X'  'SAPLALDB'                    '3000',
    ' '  'BDC_SUBSCR'                  'SAPLALDB  3010SCREEN_HEADER',
      ' '  'BDC_OKCODE'                  '=ACPT'.
      CLEAR lv_count.
      LOOP AT it_loc_data ASSIGNING <lfs_data>.
        lv_count = lv_count + 1.
      lv_count = 1.
        CONCATENATE gc_rscsel gc_l_brac lv_count gc_r_brac INTO lv_fname.
        PERFORM f_populate_bdc_tab USING:
        ' '  lv_fname                    <lfs_data>-locno.
       ' '  'BDC_OKCODE'                  '=LINS'.
        CLEAR lv_fname.
        PERFORM f_populate_bdc_tab USING:
         'X'  'SAPLALDB'                    '3000',
         ' '  lv_fname                    <lfs_data>-locno,
         ' '  'BDC_OKCODE'                  '=LINS'.
         CLEAR lv_fname.
      ENDLOOP.
    CLEAR lv_count.
    LOOP AT it_loc_data ASSIGNING <lfs_data>.
       lv_count = 1.
       CONCATENATE gc_rscsel gc_l_brac lv_count gc_r_brac INTO lv_fname.
       PERFORM f_populate_bdc_tab USING:
         'X'  'SAPLALDB'                    '3000',
         ' '  lv_fname                    <lfs_data>-locno,
         ' '  'BDC_OKCODE'                  '=LINS'.
         CLEAR lv_fname.
    ENDLOOP.
    Populate the objects to be deleted on first screen
      PERFORM f_populate_bdc_tab USING:
      'X'  'APO_BAPI_DEL_TRANS_OBJECTS'  '1000',
      ' '  'BDC_OKCODE'                  '=DUMMY',
      ' '  'PLVERS'                      '000',
      ' '  'MD_SYS'                      p_log,
      ' '  'EXTRB'                       'X',
      ' '  'MO_DEL'                      'X',
      ' '  'MO_STAT'                     'X',
      ' '  'PO_DEL'                      'X',
      ' '  'SL_DEL'                      'X',
      ' '  'ST_DEL'                      'X',
      ' '  'PIR_DEL'                     'X',
      ' '  'SIM'                         space,
      PERFORM f_populate_bdc_tab USING:
      'X'  'SAPLSPO1'                    '0500',
      ' '  'BDC_OKCODE'                  '=OPT1'.
      CLEAR gv_msg_error.
      lv_ctu_params-nobinpt = space.
    lv_ctu_params-dismode = gc_mode_e.
      lv_ctu_params-dismode = 'A'.
      lv_ctu_params-updmode = 'S'.
      lv_ctu_params-racommit = 'X'.
    Call Transaction /SAPAPO/BP2
    CALL TRANSACTION gc_bp2 USING ct_bdc_data
    OPTIONS FROM lv_ctu_params
    MESSAGES INTO lt_msg_tab.

Maybe you are looking for