Classic scenario pricing error

hai .
1.  i have configured classic scenario and try to open shopping cart.but i got an error regarding the   pricing  problem.i followed oss notes 539720 ,There i come to know that i had to activate the implementation of bbp_product_price  in the bbp_pricidata_read badi.
2. so i am trying to activate the particular badi but unfortunately it is not allowed me to activate me .can any one give me the solution to activate it.

hai jason,
thanks for your reply.whenever i tried to activate the badi ,initially it is asking the language and later it is asking access key.how can i get the access key.if i didnt give the access key the program will be in the displayed mode .
regards,
chakradhar

Similar Messages

  • Extended Classic Scenario Pricing issue, can I over come by using SRM-MDM?.

    Hi SRM GURU'S,
    I am using  ECC 6.0, SRM 5.5, SUS, LAC, cFolders and SRM-MDM with Extended Classic Scenario.
    My Question is : In case of Extended classic scenario, there is issue with Pricing and conditions. Is there any possibility to overcome this issue by using SRM-MDM. Or do I have to go for IPC. My client has not brought IPC. I have to cover Pricing with the above components.
    Anyone suggest me, how to proceed.  Thanks in Advance. Awaiting for quick response.
    Thanks & Regards,
    John.

    Hi Masa,
    We can maintain Price and conditions as a record in CCM for Particular Material or Vendor. When you add that record to shopping cart it will update. I mean, If the provision is available in MDM, I don't want to use the Two components for same functionality.
    If I use IPC, Is there separate license for that. What else need to be updated to use IPC (Patches etc).
    If you have IPC configuration material, could you please share with me? How to bridge the SRM Conditions and ECC Conditions?
    Please clearly give me details.  I really appreciate you.
    Regards,
    John.

  • Error while creating Manual Service PO in Extended Classic Scenario

    Hi Experts,
    Extended Classic scenario (SRM 7.0 with ECC 6.0)  While Creating Manual Service PO in SRM i am getting the below mentioned error messages. Can any one suggest what could be the problem.
    Error Msgs:
    1. Backend Error:In case of account assignment, please enter acc. assignment data for item
    2. Backend Error:Purchase order still contains faulty items
    Regards,
    Mohan

    Hi,
    Yes i given all CC and GL information properly in Purchase Order Document for Service.. Still finding the error for Service PO alone.
    Pl do the needful
    Regards,
    Mohan

  • PO error - extended classic scenario

    Hi Guys,
    I'm using SRM 5.0 with extended classic scenario...
    During creation of the purchase order locally (in SRM) I got the "error in process" status.
    My means of T-code RZ20 I got the following info to ithis error:
    context:B2B Procurement
    object name:Purchase Order
    short name: Backend application errors
    status: Active
    Alert text: PO 700..1: Call of a method or kernel Method that has not been implemented
    using Transaction BBP_PD I got the following status:
    Status: I1080
    Description: in transfer to execution system
    Do you have any idea what should I do in order to resolve this outstanding issue?
    many thanks in advance for your help.
    regards,
    Piotrek

    Hi
    Go to transaction - <b>SPAM</b> to get all the required Patch levels and other required system version details.
    <b>Meanwhile, try the following SAP OSS Notes as well -></b>
    <u>Note 508972 - Error during transfer of extended purchase orders
    Note 881650 - Duplicate transfer/output of the purchase order
    PO status in " error In Process ".
    Error in Transfer Process (Urgent )
    FOLLOW ON DOCUMENT NOT CREATED ( ERROR IN PROCESS)</u>
    Hope this will help.
    Regards
    - Atul

  • Error in Process in PO for Classic Scenario

    Hi,
    I am working with classic scenario. I have created one catalog for services where I used service as a catagory(from backend R/3).
    I have maintained contracts for this services in the Backend R/3 as well as vendor lists with respective contract in SRM.
    I have maintained sourcing never carried out as I want direct PO in R/3.
    But when I shop this services from catalog I am getting one error like   Error in Process .
    I can check this status in followon document tab in Shop.
    So how to move for this error...Kindly suggest.
    Regards,
    Navneet

    Hi
    Which SRM version are you using ? what errors are coming in RZ20, ST22, and RZ10 transactions ?
    Please refer few OSS notes.
    550071 FAQ: EBP - Shopping Cart
    897599 Shopping cart: Service order displays no vendors
    496029 Function module COM_PR_UNIT_READ_WITH_PRODGUID unknown
    443734 Shopping basket: Missing message with validation
    510664 EBP 3.5: Processing of invalid vendors
    Let me know incase you need further assistance.
    Regards
    - Atul

  • Pricing conditions in extended classic scenario

    Hello friends,
    I have a question about pricing conditions. There is a condition in R/3 where the price can be redetermined based on the G/R date. Is it to do something similiar in SRM. I mean redetermine the price at the time of confirmation.
    Thanks any help will be appreciated.

    Hello Chakradhar,
    IPC is required for extended classic scenario. Reach out to your basis practitioner, he should be able to perform this.
    Helpful links
    Re: IPC Configuration in Functional perspective.
    Re: IPC Configuration
    Hope this helps.
    Thanks
    Ashutosh

  • Tolerance key DQ in extended Classic scenario give Backen error message

    Dear all,
    I am using SRM 7.0, SP 9 
    Extended Classic Scenario.
    I created a tolerance group and attached it to my user via TOG attribute in PPOMA_BBP. Tolerance key is DQ with $1000 and upper percentage 5%.
    I also set up the ECC tolerances:
    - Purchasing Value key with Tol. Overdelivery = 5.0 (in SPRO --> MM --> Purchasing --> Material Master --> Define Purchasing Value Keys)
    And assigned that Purchasing Value Key to the material group I am using (via SPRO --> MM --> Purchasing --> Material Master --> Entry Aids for Items Without a Material Master)
    - And I even set up tolerance key B1 (for error message) for my Company Code (in Spro -> MM --> IM and PI --> GR --> Set tolerance limits) with a upper limit of 5%
    And even with this set up I still get the error message
    u201CBackend Purchase Order quantity exceeded by 1 EAu201D
    when I try to post a Confirmation with an overdelivery, even if the over delivery is only 0.1% of the total quantity 1000.
    What Configuration am I missing?
    Cheers
    Ulrike

    Dear Rahul,
    Thanks for you input
    Let me give you an example of the behaviour:
    in PPOMA_BBP TOG assigned to user has : DQ with $1000 and upper percentage 5%.
    User orders a PO  with quantity=1000, price $100;
    No additional tolerances assigned in the PO itself
    User tries to enter confirmation with quantity 1001 (so qty variance converted to currency amount results in $100 over delivery) So the confirmation is under both the 5% and the $1000 limit.
    In that case I donu2019t receive an error message from the SRM, but the error message u201CBackend Purchase Order quantity exceeded by 1 EAu201D from ECC still prevents me from posting the Confirmation. And this is the problem I havenu2019t been able to solve so far.
    So I want the TOG tolerance to be used. And I am also happy with the absolute limit always having priority over percentage limit...
    But I am trying to find a way to get rid of the back end message (with assigning a tolerance to the PO itself as the will get rid of the absolute limit see my previous post.)
    Cheers
    Ulrike

  • Pricing in Extended Classic Scenario.

    Dear SRM Experts,
    System: SRM Server5.5.
    Technical Scenario: Extended Classic Scenario.
    I have done base line configuration in SRM server. IPC ia active.
    [A]
    What configuration need to be done for pricing i.e CALCULATION SCHEMA in  Ext.Classic Scenario?
    """ I have maintained Number Ranges """""""
    <b>
    Also what configguration needs to be done for IV?
    """I have maintained Number Ranges for local Invoices"""
    [C]
    How will accounting entries be made in R/3......do i need to maintain any attributes or any configuration?
    I will reward points for all helpful answer.
    Best Regards,
    ANIL RAJPAL.

    Hi Anil,
    The majore part of pricing is in SD or CRM area right and for that they are using IPC, in SRM we are also using the IPC for the pricing which we need to pull from R/3 and used in SRM system.
    For Configuring the IPC u need to config following settings.
    1) IPC should be up and running.
    2) Go in SPRO-> SRM server-> Cross Application Settings-> Pricing->Process Condition Types->Process Calculation Schema->Process Condition Groups->Check Technical and Customizing Settings for Conditions.
    These are the basic setting u need to do for running IPC.
    BR
    Vijay Mittal
    Please award the points if it solve ur query.

  • Error occured while saving PO in Extended Classic Scenario

    Hi All,
    I have set up Extended Classic Scenario.
    While I try to make any changes in PO through manager or purchser I get following error:
    "Cannot get process info from WF archive; function AS_API_READ causes exceptn No Infostruc Found."
    Please suggest.
    Regards,
    Yaniv
    Edited by: yaniVy on Jun 17, 2011 12:33 PM

    Hello!
    This message usually is shown when no workflow can be determined at the time the approval process starts.
    Please check your start conditions at transaction SWB_COND and compare them with the information in your PO (values, status, etc). Then make the appropriate changes in your workflow.
    Best regards,
    Christian Zeuch

  • SRM 7.0  Unable to create PO - Classic Scenario.

    Hello,
    We are able to successfully create the below scenario.
    PR in ECC --> Get PR in SRM --> Start Collective processing -> Transfer to Central System (SC is created for the PR @ this time) --> Create RFx --> Rfx Response --> Create PO. (PO is created in ERP, Classic Scenario)
    We are able to get the PR & we are able to create SC successfully and the PR/ SC is available in Sourcing cocpit.
    Able to create RFx --> Rfx Response.
    Now once the RFx Response is Accepted --> We go for creating PO.
    Classic Scenario.
    The error is due to pricing - debugged and checked as mentioned in my earlier message.
    IPC pricing is switched off and the BADI for simple pricing is activated.
    Error :   " Message A BBP_PD 396 cannot be processed in plugin mode HTTP "
    But this is due to pricing is what i guess.
    Error is raised in FM "BBP_PDPRC_UPDATE".
    Kindly Suggest.
    Unable to Create PO
    Regards.
    Edited by: Purshothaman P on Jul 6, 2010 1:50 PM

    Hi,
    Please check and run the following reports (se38): BBP_CND_CUSTOMIZING_CHECK & RSVMCRT_HEALTH_CHECK and post back the results.
    Note for BBP_CND_CUSTOMIZING_CHECK also run 'Simulation of Pricing with Manual Price' (scroll down after executing the report initially).
    Also the badi information you activated tells us a lot. Although i take it that you executed and read everything that's included in the transaction information. The following sentence gives a prety doubtfull feeling for the CPPR scenario to work for your configuration:
    SAP recommends using this BAdI only in exceptional cases and only after checking thoroughly if it is compatible with the Business Scenarios used.
    Note: From what i've just read IPC has to be disabled, certain badi's etc. need to be disabled. And VMC (sap basis) has to be configured. Please view: [http://help.sap.com/SCENARIOS_BUS2008/helpdata/EN/9C/F90B7CB34A4889935D1733C6756D5B/content.htm]
    Could you also please check and provide whether 'normal' SRM classic scenarios like: SC -> PO do run within your system. Also the error and information you have provided is very little.
    Kind regards,
    Tim

  • SRM 7.02 Classic Scenario - Transfer of Purchase Order to Backend

    Good day,
    I would really appreciate some assistance on the following matter:
    We are implementing the classic scenario of SRM7.02 with ECC6.04 as backend.
    Our process is as follows: Purchase
    Requisitions are created in ECC and transferred to SRM by means of report BBP_EXTREQ_TRANSFER (we do not have PI/XI). These Purchase Requisitions are
    converted to shopping carts in SRM and goes to the Sourcing Cockpit. RFX's are created and responses are entered on behalf of vendors. When I now want to
    create a purchase order from the RFX response, I get a warning “PO xxxx is inthe process of transfer to backend system”.
    When executing transaction SM21, I get a warning “XI unable to access SLD:"Could_not_determine_SLD_access_data".  We do not have PI/XI and I would really
    appreciate if somebody can assist me with the exact entries that must be maintained in table BBP_FUNCTION_MAP to transfer purchase orders from SRM to ECC.
    I changed entries BUS2012 / CreateFromData1 /ERP_4.0/ERP_5.0 and ERP_6.0 from /SAPSRM/CL_SOA_ADPT_PO_CRT_ERP to L_BBP_BS_ADAPTER_PO_CRT_ERP10 and the PO replicated from SRM to ECC, but now in ECC, the purchase ordercannot be changed. It gives an error : Purchase Requisition xxxx can only be
    ordered in system SRDxxxx (which is the SRM system).
    Can somebody also please confirm that once Ihave replicated the Purchase order from SRM to ECC, the Purchase Order can be changed in ECC.
    Thank you in advance,
    Marinda

    I managed to resolve this by changing the system landscape from ERP6.0 to ERP 6.02

  • SRM 7.0: Classic Scenario no PO is created only PR is generated

    Hi Gurus,
    I am working on SRM 7.0 - Classic scenario.
    When a shopping cart is complete in terms of price, vendor (assigned) and other required data, item stays in transfer process.
    If a SC is incomplete a PR document is created in backend without a problem but when a complete SC is oredered, the status of shopping cart remains I1111 i.e. item in transfer process. I can see in table BBP_PDBEI, backend object type (BE_OBJECT_TYPE) is correctly selected as BUS2012 and the document number of PO is also correctly selected.
    This is the case even for the SC ordered using catalog materials.
    I have checked following configuration and it seems to be ok.
    1.  'Define objects in backend system's
    2. Number ranges definition in SRM and ECC
    3. Document type attribute -BSA in PPOMA_BBP
    Configuraiton wise everything seems to be, I tried to manually transfer the SC using FM  BBP_REQREQ_TRANSFER but it does not change the status of SC it remains I1111
    RZ20 does not show any error for the SC with status I1111.
    Is there any sepcial FM to push the SC in SRM 7.0?
    Any help/tips would be highly appreciated. Thanks in advance.
    Best Regards,
    Amit

    Hi  Amit
    what is the setting here
    1. 'Define objects in backend system's
    is it a prefered vendor or fixed vendor
    update the partner function in bbp_pd here
    if it is 39 - you wil recive pr
    it is 19 you will get PO
    i am afraid , you stated that catalog sc stoo this problem but during debugging check what is the partne rfunction...
    there can be several reasons for creating PR instead of PO. Please see the FAQ note 1173815 for the possible reasons, and the guide for debugging under:
    https://wiki.sdn.sap.com/wiki/display/SRM/Howtoanalyzethefollow-ondocumentdetermination
    MOREOVER NOTE SAYS POSSIBLE REASONS ..
    Note 336658 - Purch req instead of purch order created in backend
    BR
    Muthu

  • PO is not generated for completed SC in SRM.70 classic scenario.

    Hi,
    I am working on SRM 7.0 - Classic scenario.
    When a shopping cart is complete in terms of price, vendor (assigned) and other required data, item stays in transfer process. even we are adding items from catalog.
    If a SC is incomplete a PR document is created in backend without a problem but when a complete SC is oredered, the status of shopping cart remains item in transfer process. I can see in table BBP_PDBEI, backend object type (BE_OBJECT_TYPE) is correctly selected as BUS2012 and the document number of PO is also correctly selected.
    This is the case even for the SC ordered using catalog materials.
    I have checked following configuration and it seems to be ok.
    1. 'Define objects in backend system's
    2. Number ranges definition in SRM and ECC
    3. Document type attribute -BSA in PPOMA_BBP
    Configuraiton wise everything seems to be, I tried to manually transfer the SC using FM BBP_REQREQ_TRANSFER but it does not change the status of SC it remains I1111
    RZ20 does not show any error for the SC with status I1111.
    Is there any sepcial FM to push the SC in SRM 7.0?
    Any help/tips would be highly appreciated. Thanks in advance.
    Thanks,
    Ravi

    learnt that PO number has generated in SRM and the same PO number not exist in ECC.
    check SM58 , rz20 log or Application monitor for the shopping cart.
    or monitor shopping cart click the icon follow on document and errror message must throw in 1 minutes.
    let us see .
    1. what is the settings in define backend OBJECTS
    2. check all basic data in the shopping cart - especially org data
    3. run bbp_check_consistancy report for your id?
    4. every user has the same issue?
    SEE THE RICHARDO technique
    http://wiki.sdn.sap.com/wiki/display/SRM/ShoppingCartStatusI1111-+Resubmit
    Muthu
    Report BBP_ALERT_SB_NOTTRANSFERED is available to change the status of the shopping cart item from I1111 to 'Error in transmission' (I1112) and later on, it is possible to retransfer this shopping cart from Application Monitor/Monitor Shopping Cart transactions.
    1480994  How to process a shopping cart with status I1111
    Edited by: Muthuraman Govindasamy on Jul 16, 2010 11:31 PM

  • PO not generated at backend in classic scenario

    Hi,
    I am working with SRM 5.0 in classic scenario.
    1) I have defined No. ranges for SC and follow-on documents in SPRO. No. range PO is defined for backend (classic) POs. (Checkbox -External is not marked)
    PO - From 3005000000  to 3008000000
    2) I have assigned this no. range PO to document type 'EC' (Pur Order) as external no. range
    3) No. range PO is also defined at R/3 backend for Purchase Orders (checkbox 'External' not marked)
    PO - From 3004000000 to 3009999999
    4) This no. range is assigned to doc. type EC as Internal no. range in R/3 backend
    Now, when I am creating a SC in SRM and ordering it, it is causing an error in creation.
    I see the following description in Admin login:
    Shopping cart 6500005899 (PO 3005000532): BAPI 001 No instance of object type PurchaseOrder has been created. External reference: 
    PO no. 3005000532 is picked from no. range PO defined in SRM.
    But, in SC screen, I do not see any follow-on documents.
    When I check BBP_PD, I find following data:
    BE_OBJECT_TYPE    ->  BUS2012         -> Follow on Document Object Type in backend system
    BE_OBJECT_ID      -> 3005000535       -> Follow on Document Object ID in backend
    (However, this no. belongs to no. range PO defined in SRM. At the backend, the PO no. range starts from 3004000000 to 3009999999)
    BE_INFO_REC    -> 5300002566
    Also, I can see two lines highlighted in Red under Stats:
                           Status                            Description                 Inactive
    HEADER          I1015                         Awaiting Approval                X
    0000000001      I1111                    Item in Transfer Process           X
    My doubt is that ,
    a) Why system is picking PO# from SRM no. range (3005000535) and showing it as backend object ID?
    b) When system is able to fetch the Info record information from backend, why the PO is not getting generated at the backend?
    Why there is an error in transmission of PO?
    Please help.
    thanks

    plz see Peter instructions in this thread
    SC: Error in transmission BAPI 001
    regards
    Muthu

  • Classic scenario service PO replication

    Scenario:-
    Classic Scenario
    No  PI(Process Integration)
    No  PDP (Plant Driven Procurement) process
    Today we created new Service purchase requisition (which is never adopted for PO creation) which contains only one item(10), under this line item (10) five service Numbers…as 20000000(Line-10),20000021(Line-20),20000025(Line-30),20000033(Line-40),20000058(Line-50)
    then
    Our process:-
    Purchase Requisition(Service) Transferred from ECC to SRM - >Purchase Requisition Converted in to shopping cart in SRM> Shopping Cart goes to sourcing -> buyer
    creates RFx by adopting the Shopping Cart -> RFx is sent to bidder -> bidder will respond >RFx Response number will be created in SRM>Buyer will compare the RFx responses -> Buyer will click on the RFX response number of L1 vendor>in the RFX response screen when  he will click on the “CREATE Purchase Order”
    Issue:- why in  Service PO items are  splitted in to item-10,item-20,item-30,item-40 which is not same like in Service  PR
    Hope if above issue will solved below error message wont appear
    Error Message:-
    Materials of requisition 2100000654 item 00010 alr. ordered in full
    Message no. 06076
    Please  Find the attached screen shot
    Thanks
    Madhu

    Can you please elaborate more on this .
    from what I understand you want the SC item to not split into different PO  generally it spits based on different shipping address maintained . You can also check this in BADI ZBBP_GROUP_LOC_PO
    Below is a sample code I found from one of the earlier threads as below :
    http://scn.sap.com/message/2772557#2772557
    http://scn.sap.com/message/3155145#3155145
    http://scn.sap.com/message/2877448#2877448
    http://scn.sap.com/message/2371974#2371974
    https://scn.sap.com/thread/2026160
    https://scn.sap.com/thread/54153
    METHOD if_ex_bbp_group_loc_po~group_po.<BR>
    *------------------------------------------------------------------------------*<BR>
    * Exit Grouping of Items for Local Purchase Orders<BR>
    ** Parameters<BR>
    *ITEM_DATA  TYPE BBP_INT_ITEM_GROUP Item Data for Shopping Basket Item<BR>
    *It contains the most important item details of the shopping cart and<BR>
    *additionally in the field REFNUMBER a reference number for further<BR>
    *processing purposes<BR>
    *------------------------------------------------------------------------------*<BR>
    * Method used to group item before PO creation<BR>
    * How it work ?<BR>
    * 1/ Select extra colons from table ZPO_SPLIT_CRITER<BR>
    * 2/ Getting Compoents from existing type BBP_INT_ITEM_GROUP<BR>
    * 3/ For each line recalcul Refnumber<BR>
    **********************************************************************<BR>
    * Declarations<BR>
    **********************************************************************<BR>
    *--------------------------------------------------------------------*<BR>
    * Variable<BR>
    *--------------------------------------------------------------------*<BR>
      DATA: lt_zpo_split_criter TYPE TABLE OF zpo_split_criter<BR>
          , ls_zpo_split_criter TYPE zpo_split_criter<BR>
          , lo_struct           TYPE REF TO cl_abap_structdescr<BR>
          , lt_field_list       TYPE ddfields<BR>
          , ls_field_list       TYPE dfies<BR>
          .<BR>
    <BR>
      DATA:<BR>
        lt_item_data     TYPE bbp_int_item_group<BR>
      , ls_item_data     TYPE bbp_int_item_groups<BR>
      , ls_back_data     TYPE bbp_int_item_groups<BR>
      , ls_modi_data     TYPE bbp_int_item_groups<BR>
      , l_fname          TYPE fieldname<BR>
      , l_refnumber      TYPE refnumber<BR>
      , l_tabix          TYPE sytabix<BR>
      , l_not_empty      TYPE c<BR>
      , l_act_not_empty  TYPE c<BR>
      .<BR>
    *--------------------------------------------------------------------*<BR>
    * Field symbols<BR>
    *--------------------------------------------------------------------*<BR>
      FIELD-SYMBOLS: <lfs_refnumber>       TYPE bbp_int_item_groups-refnumber<BR>
                   , <lfs_act_refnumber>   TYPE bbp_int_item_groups-refnumber<BR>
                   , <lfs_field_value>     TYPE ANY<BR>
                   , <lfs_act_field_value> TYPE ANY<BR>
                   .<BR>
    *--------------------------------------------------------------------*<BR>
    * Constants<BR>
    *--------------------------------------------------------------------*<BR>
    *  CONSTANTS:<BR>
    *  .<BR>
    **********************************************************************<BR>
    * Process<BR>
    **********************************************************************<BR>
    * 1/ Select extra colons from table ZPO_SPLIT_CRITER<BR>
      SELECT * FROM zpo_split_criter INTO TABLE lt_zpo_split_criter<BR>
        WHERE split EQ 'X'.<BR>
      CHECK NOT lt_zpo_split_criter[] IS INITIAL.<BR>
      DELETE lt_zpo_split_criter WHERE fieldname = 'REFNUMBER'.<BR>
    <BR>
    * 2/ Getting Compoents from existing type<BR>
      lo_struct ?= cl_abap_typedescr=>describe_by_name( 'bbp_int_item_groups' ).<BR>
      CALL METHOD lo_struct->get_ddic_field_list<BR>
        EXPORTING<BR>
          p_langu                  = sy-langu<BR>
          p_including_substructres = abap_true<BR>
        RECEIVING<BR>
          p_field_list             = lt_field_list<BR>
        EXCEPTIONS<BR>
          not_found                = 1<BR>
          no_ddic_type             = 2<BR>
          OTHERS                   = 3.<BR>
      IF sy-subrc <> 0.<BR>
    *   MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO<BR>
    *              WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.<BR>
      ENDIF.<BR>
    <BR>
      LOOP AT lt_zpo_split_criter INTO ls_zpo_split_criter.<BR>
    *   Verify if field exist in table<BR>
        READ TABLE lt_field_list<BR>
             TRANSPORTING NO FIELDS<BR>
             WITH KEY fieldname = ls_zpo_split_criter-fieldname.<BR>
        CHECK sy-subrc EQ 0.<BR>
    <BR>
    *   Copy table in internal<BR>
        lt_item_data[] = item_data[].<BR>
    <BR>
    *   Sort table by REFNUMBER and fieldname<BR>
        SORT lt_item_data<BR>
          BY refnumber (ls_zpo_split_criter-fieldname)<BR>
          ASCENDING.<BR>
    <BR>
    *   Clear internal value.<BR>
        CLEAR: l_refnumber<BR>
             .<BR>
    <BR>
        CONCATENATE 'LS_ITEM_DATA-' ls_zpo_split_criter-fieldname<BR>
          INTO l_fname.<BR>
        ASSIGN (l_fname) TO <lfs_act_field_value>.<BR>
        CHECK sy-subrc = 0.<BR>
        CONCATENATE 'LS_BACK_DATA-' ls_zpo_split_criter-fieldname<BR>
          INTO l_fname.<BR>
        ASSIGN (l_fname) TO <lfs_field_value>.<BR>
        CHECK sy-subrc = 0.<BR>
        CONCATENATE 'LS_ITEM_DATA-' 'REFNUMBER'<BR>
          INTO l_fname.<BR>
        ASSIGN (l_fname) TO <lfs_act_refnumber>.<BR>
        CHECK sy-subrc = 0.<BR>
        CONCATENATE 'LS_BACK_DATA-' 'REFNUMBER'<BR>
          INTO l_fname.<BR>
        ASSIGN (l_fname) TO <lfs_refnumber>.<BR>
        CHECK sy-subrc = 0.<BR>
    <BR>
        CLEAR: <lfs_refnumber><BR>
             , <lfs_field_value><BR>
             .<BR>
    <BR>
    *   For each reccord in table, calculate new REFNUMBER<BR>
        LOOP AT lt_item_data INTO ls_item_data.<BR>
          MOVE sy-tabix TO l_tabix.<BR>
          IF <lfs_act_field_value> IS INITIAL.<BR>
            MOVE ' ' TO l_act_not_empty.<BR>
          ENDIF.<BR>
    <BR>
          IF ls_zpo_split_criter-as_not_blank IS INITIAL.<BR>
    *       Case of each value on field create a new refnumber<BR>
            IF <lfs_field_value> NE <lfs_act_field_value> OR<BR>
               <lfs_refnumber> NE <lfs_act_refnumber> .<BR>
              l_refnumber = l_refnumber + 1.<BR>
              MOVE <lfs_act_field_value> TO <lfs_field_value>.<BR>
              MOVE <lfs_act_refnumber> TO <lfs_refnumber>.<BR>
            ENDIF.<BR>
          ELSE.<BR>
            IF l_not_empty NE l_act_not_empty OR<BR>
               <lfs_refnumber> NE <lfs_act_refnumber> .<BR>
              l_refnumber = l_refnumber + 1.<BR>
              MOVE l_act_not_empty TO l_not_empty.<BR>
              MOVE <lfs_act_refnumber> TO <lfs_refnumber>.<BR>
            ENDIF.<BR>
    <BR>
          ENDIF.<BR>
          ls_modi_data = ls_item_data.<BR>
          ls_modi_data-refnumber = l_refnumber.<BR>
    <BR>
          MODIFY item_data FROM ls_modi_data INDEX l_tabix<BR>
                 TRANSPORTING refnumber.<BR>
        ENDLOOP.<BR>
      ENDLOOP.<BR>
    <BR>
    ENDMETHOD.
    <BR>
    <BR>
    <BR>
    It works with the table ZPO_SPLIT_CRITER as bellow:<BR>
    CLIENT                     MANDT<BR>
    FIELDNAME             FIELDNAME<BR>
    SPLIT                     BOOLE_D<BR>
    AS_NOT_BLANK     BOOLE_D<BR>
    <BR>
    If you need more information, contact me directly.<BR>
    Regards, <BR>
    <BR>
    David BOUTIER<BR>
    Consultant technique Sap Netweaver - KALYDIA<BR>
    8, rue Pasquier - 75008 Paris<BR>

Maybe you are looking for

  • How to do to appear records in a text item when I  run my  form?

    In a form I have a block with BASE TABLE=OPTIUNI_COD. In this block I have a text item named DENUMIRE.When I run my form the text item is empty and I use F7 , F8 to have some records in the text item. But I want to appear records in this text item wh

  • How can I save the preferences in Adobe Acrobat Standard XI?

    Hello, I'm not able to save any preferences in Acrobat. (like Units, display preferences, the locations of the tools...) Each time I exit and open again Acrobat, the preferences are not saved, which is very annoying Kind regards, Nicolas

  • Can I use the SX20 remote with an SX80?

    SX80 has front panel LED labelled IR. Does it support the hand-held IR remote control that ships with the SX20?

  • Numers file in wiki documents

    Hi, I try upload .numbers document in my wiki documents but when upload is complete it is like 'document name.numbers.zip'? Preview not work and i cannot even remove files? Is there way to remove files? How I can upload files so that the files are re

  • TS2799 I tunes support

    I keep getting "unable to purchase, contact iTunes support to complete purchase" message. How do I fix it? I have more than enough funds in my account and I didn't have issues yesterday.