REG :  SC Items not splitting into PO's

Hi Gurus,
We are using SAP SRM 713 version and the scenario is Extended Classic.
I have a requirement where in the Line items in the shopping cart should be split into PO's, taking into consideration the zfield added into the item level of the shopping cart.
I tried using the below BADI's but not of them are getting triggered when the report BBP_SC_TRANSFER_GROUPED is executed manually to create the PO from SC.
BADI's used :
BBP_BS_GROUP_BE.
BBP_SC_TRANSFER_BE.
BBP_GROUP_LOC_PO.
DOC_CHECK_BADI
DOC_CHANGE_BADI
DOC_SAVE_BADI.
None of the BADI's are getting triggered when the SC is converted into PO, and it is failing to created multiple PO's.for multiple line items in a SC.
NOTE : We are using the report BBP_SC_TRANSFER_GROUPED, to manually transfer the PO as the background job is not scheduled for the same.
Please suggested whether I am missing anything ?
Waiting for your reply.
Regards,
AkkI

Hi Laurent,
The implementation is active,
Below is my code which I used in the BADI.
INCLUDE bbp_bs_con.
   DATA: lv_badi_active  TYPE xfeld,
         ls_account      TYPE bbp_pds_acc,
         ls_proc_account TYPE bbp_bapipogna,
         ls_item         TYPE bbp_pds_sc_item_d, " bbp_pds_transfer_item,
         ls_item_data    TYPE bbp_int_item_groups,
*        lt_group          TYPE bbpt_procurement_res,
         lt_item         TYPE bbpt_pd_transfer_item,
         lt_account      TYPE bbpt_pds_acc,
         lt_proc_item    TYPE bbpt_interpr_item,
         lt_proc_account TYPE bbp_determine_target_acct,
         lo_sc           TYPE REF TO if_ex_bbp_sc_transfer_be.
*---if BAdI is active instantiate it
   CALL METHOD cl_exithandler=>get_instance
     EXPORTING
       exit_name              = 'BBP_SC_TRANSFER_BE'
       null_instance_accepted = 'X'
     IMPORTING
       act_imp_existing       = lv_badi_active
     CHANGING
       instance               = lo_sc.
   CHECK lo_sc IS BOUND.
   MOVE-CORRESPONDING ITEM_DATA[] to lt_item[].
   CALL METHOD lo_sc->group_po
     EXPORTING
       it_proc_account       = lt_proc_account
       iv_object_to_generate = c_tr_po
       it_item               = lt_item
       it_account            = lt_account
     CHANGING
       ct_proc_item          = lt_proc_item.
*      REFRESH: lt_item[], lt_proc_account[].
*    ENDAT.
*    REFRESH: lt_account[].
*  ENDLOOP.
Can  you give me any sample code, which I can use to split a SC based on the custom field in SC item level.
Waiting for your reply
Thanks,
AkkI

Similar Messages

  • BBP: Items not taken into BBP after VAT change

    Hello,
    I am new in FI-CA and I am facing one issue.
    1. We changed VAT from 01.01.2011 by creating new VAT code
    2. We are using BBP procedure 2 - with 11 due dates
    3. In the amount of the BBP were taken only the items from the old VAT code.
    The posting items with new VAT code from the billing document were not taken into budget billing plan.
    Any advice where to look to find out problem?
    Thanks in advance.
    Vlado

    hello Amlan,
    We have tested these steps
    1. The dunning procedure releases as an activity the documents that reach a certain dunning level.
    2. The items are submitted to the collection agency using FP03D
    3. The users manually recall some of these documents
    5. Execute FPCI and like this the recall is included in the file.
    If we do the previous everything works fine,but I believe the standard SAP is missing something for cancel release cases, because an inconsisty is being created between SAP and the collection agency. If you are reseting something a notice for the collection agencies would have to be created.
    On top of that we cannot exclude recalled items (09) in the selection of FP03D (or FP03DM), because we also have systematic recalls that are done according to the longevity of the documents and according to that longevity placed in different collection agencies.
    Do you think this can be reported to SAP as an error? The system in any case should prevent you to do the cancel release if the record is not still in any update file (table dfkkcoli_log) to prevent the inconsistency. Just like the system does not allow you to do the cancel release if the item has not been recall first.
    Regards,
    Sergio

  • GUI_UPLOAD Function Module in 4.6C does not split into lines

    Dear All,
    I'm about to upload text file into SAP using the FM 'GUI_UPLOAD'.
    Previously I've developed a test program to upload the same file in SAP v4.7
    and it returns correctly into several lines as expected.
    Snippet:
    CALL FUNCTION 'GUI_UPLOAD'
        EXPORTING
          filename                      = l_filename
          filetype                        = 'ASC'
          has_field_separator       = ' '
          header_length               = 0
          read_by_line                  = 'X'
        TABLES
          data_tab                      = gt_tabfile
    As we can see, the 'read_by_line' parameter is already 'X'. gt_tabfile only consist of 1 string column.
    But as I run the same code using the same parameter and file in SAP v4.6C
    it returned only 1 line of very long string instead of the correct lines resulted in 4.7.
    Is there anything to do with codepage (4.6 is English 1100, I forgot the codepage in 4.7 but i believe it's the same due to language selection is EN). Or anything to do with OSS Note?
    Kindly help me to resolve the issue.
    Appreciate it very much

    Thank you for trying to help.
    Please be noted I've done all the possible value on these parameter
    -   filetype 'ASC' OR 'BIN'
    -  has_field_separator ' ' or 'X'
    -  header_length 0 or 1 which is dont make sense since my file dont have header so must be 0
    -  read_by_line ' ' of 'X' doesnt work my expectation.
    Any other good questions please? How 4.6C and 4.7 above make a different result?

  • Reg: Open items not showing in F-44

    HI all,
    I want clear open items using with f-44 but some of the open items are messing. i checked in FBL1N all open items are shwoing i want see all open items inf-44 how to see plz help me
    with regards
    JK Rao

    Hi
    You can remove the Normal OI check box in transaction f-44 and try if you get all the open items.
    Thanks
    Ashok

  • Complaint with reference to R/3 Billing Document , Items not getting copied

    Hi,
    I  have implemented BADI CRM_COPY_BADI_EXTERN for pulling billing documnets which is working fine. But when I am creating a credit with refernece to billing doc fetched all other details are getting populated except Product, description into line item level.
    I am using MAPPING_FOR_EXTERNAL_DOC for mapping R/3 values to Web UI fields. However CT_ORDERADM_I table in this method does not getting filled up with item level data as product , description etc.
    I am populating the same and modifying the table in program. However it is not populating the value in Web UI fields.
    Can anyone help as how should I populate item level values?
    Thanks,
    Madhura

    Hi All,
    I have a requirement to display the item details of complaint are created with reference of a billing document in Web UI.
    When a Returns Split is created with reference to a billing document, the item is split into multiple items based on the quantity in the source document. The BAdI definition CRM_COPY_BADI_EXTERN which we implemented for this requirement. This works fine in SAP GUI but i need to replicate the same in Web UI.
    I have implemented the BAdI definition CRM_COPY_BADI_EXTERN in read_data method, check_split_change_alv method is actually spliting the line items based on the quantity. In SAP GUI its works fine but it’s not working in web UI.
    We used a FM CRM_INTLAY_GET_HEADER_GUID to retrieve the header guid when there is call from web UI. But this FM returns zero value for guid. I’m struck up at this point.
    Please suggest how can i replicate the return split in webui too.
    Thanks,
    Deepak

  • SCs split into multiple POs, duplicate POs and PO items in reverse c/ to SC

    Hi,
      We are on SRM Server 550 SP10 ECS. We are facing the following situations intermittently in Prod. We are unable to simulate the same situation in Dev or Q environment. Again this does not happen for every SC it happens atleast once or twice in a day with a volume of few hundred shopping carts.
    1) SC gets split into as many POs as SC Items. Let us say SC has 4 items, each item is created in one PO so we will have 4 POs w/ one item per PO in this example.
    2) PO gets duplicated. Let us say SC has two items. Then two POs are created with identical SC items referencing the same SC
    3) PO items are either jumbled or reversed in comparison to SC. Let us say in a SC you have 3 items in SC then the PO will contain items in say 3 ,2 , 1 order or 2, 3 1 order.
    These POs are automaticaly created after Approval (no sourcing cockpit). The vendor, Purchasing Org, Document Type etc is same for all items in SC.
    Anothe question: Once the approval of the SC happens in Workflow, the PO is automatically created via BAPI? or some job? Can anybody clarify the process that takes place from the Approval to PO creation (assuming the SC does not go to SOCO).
    Thanks

    Hi
    Which R/3 and SRM support pqack versions are you using ?
    Following is the criteria which is used to split POs
    For Backend Purchase Orders
    Company Code
    Purchasing Org
    Purchasing Group
    Document Type
    Vendor
    Subtype (Direct/Hierarchy)
    FI Logical System
    Logical System from where an External Requirement comes
    For Local Purchase Orders additional criteria is used to split POs:
    Delivery Address (for higher releases)
    Procument Card Number
    Procurement Card Company
    Please Check the Implementation of BADI BBP_SC_TRANSFER_BE (Method GROUP_PO) for any Customer Added Splitting Criteria. Please look at SAP documenatation of the Business Add-In BBP_SC_TRANSFER_BE, its Method GROUP_RQ and GROUP_PO. You can use to overwrite the standard and group SC items based on custom rules to create split the PO or RQ in EBP.
    P.S. As soon as the purchaser assigns different SOS in the SC, you'll have different POs created.
    Meanwhile, please go through the following pointers / SAP OSS Notes as well ->
    Note 768164 - Multiple SCs via SoCo are processed incorrectly
    Note 1057530 - BBPSC02: Incorrect PO split when SC contains direct material
    Note 861889 - Limitations on limit and service PO's in case of ECS
    You order a shopping cart with couple of items with same data (such as vendor etc). One of the item is a direct material. When you order the cart, the PO split criteria is creating multiple POs instead of a single PO.
    Re: Incorrect PO Split in SoCo?  (which FM should I debug ?) :-(
    Re: S.Cart creates Split PO, One S.Cart creates multiple PO's for each SC item
    How to split shopping cart qty to create two PO
    Re: PO split  in  sourcing cockpit   ?      :-(
    Split PO in SRM
    Re: Creating single PO from multiple SC
    SC gets split into one PO per Line even when the vendor is the same.
    Hope this will help. Do let me know.
    Regards
    - Atul

  • SCs line items are getting splitted into different POs.

    Hi Experts,
    I am using SRM 5.0 (EBP4.0) ECS.
    When operational purchaser is doing carry out sourcing then SC line items are getting splitted into different POs whereas all the criteria are same I mean all the SC line items are having same
    1.Purcg.Grp
    2.Purch.Org.
    3.Company Code
    4.Plant/Location
    5.Vendor (Preferred)
    6.All product Cat.are assigned to one system only.
    (In BBP_PD for the SC I dont see any reason for the split)
    7.Using Intended for Gouping Option also at the time of Carry out sourcing.
    Earlier also I have raised the same question but I didnt get any reply, only some hints and other reference and help bu Yann but I am still facing the same issue and Pls help me if there is any OSS note for it .
    Here I'd like to let you know that I have seen same ticket and checked all the possible cause for split but never find any reason for split in this case.Pls help me on this issue urgently.
    Brgds
    Gopesh

    Hi
    As Yann told, there might be some standard BADIs for which we need to either modify the standard code in this case.
    Has SAP replied on this problem with any comments - on your OSS message yet ?
    <u>As far as I know, the following BADIs are some how, involved in the creation of the Local SRM PO. </u> 
    <b>BBP_ECS_PO_OUT_BADI </b>
    ( ECS: PO Transfer to Logistics Backend                  )
    <b>BBP_EXTLOCALPO_BADI </b>
    ( Control Extended Classic Scenario                   )
    <b>BBP_GROUP_LOC_PO   </b> 
    ( Exit Grouping of Items for Local Purchase Orders    )
    Please send me your detailed requirements at my email id for further analysis.
    [email protected]
    Hope this will help.
    Please reward suitable points, incase it suits your requirements.
    Regards
    - Atul

  • Training and event cost item split into cost centers

    Dear friends,
    My client wants to see his training and event cost items split into each event participant's cost center. Until now I could not find a way to do this neither via Activity Allocation nor Cost transfer Posting.
    Does anybody have a way to do this?
    Best regards,
    Renato

    Hi santhosh,
    You can get a lot of information on :http://help.sap.com/saphelp_erp60_sp/helpdata/en/77/bff8ab4a2911d182b80000e829fbfe/frameset.htm
    If you have any specific queries, you can ask on the forums.
    Hope it helps!
    arpita

  • Page items do not go into Excel when exporting

    We are using 10.1.2 viewer and plus (and I have the desktop version available). I have tried exporting a worksheet with page items using all 3 of the above and the page items will not go into excel. Is there any trick to get this to work? I thought that it used to work in older versions?
    thanks
    Angie

    Did you try the Export to Excel as Pivot Table option? That would create a base sheet with all the page items flattened out, a static sheet that looks like the worksheet at the time of the export, and an Excel Pivot Table where you can page through the page items.
    thanks
    Abhinav
    Oracle Business Intelligence Product Management
    BI - http://www.oracle.com/bi
    BI - http://www.oracle.com/technology/bi
    Blog - http://blogs.oracle.com/
    BI Blog - http://oraclebi.blogspot.com/

  • Item line data not flowing into SAP Adobe form layout

    Hello Gurus,
    I am currently working on adobe form layout for a sales document in SAP, i have created a master page
    as well as a couple of pages in the design view. Data at the header level are working properly, but the item data
    are not flowing into the layout, as nothing appears in the print preview for the item level of the sales document.
    I have done all the necessary binding with all the right field names, my subform to the best of my knowledge seems to be well
    defined, but yet to no avail.
      I would like to know what yet could be the reason for this issue and how i can go about fixing it.
    Thank you.
    Ahm.

    Hi Vijai,
    In our project, we have the same requirement but I am one step behind than you. I am able to generate the PDF form but not able to generate the data. Means all the fields are coming as disabled fields.
    Can you please send your code as a sample code so that I can have a look at that and check where I am doing wrong/missing. My id is sandeep.kamdar in gmail
    Thanks & Regards,
    Sandip Kamdar

  • Error 28: Selected item could not fit into memory question?

    hi evreyone,
    don't know but Solaris 10 is not making any sense to me at all.the peoblem is i have installed Solaris 10 many times ,sometime GRUB detected Windows XP automatically and other times it could not and other times it halted during installation and said I/O error could not install all packages ,so i changed my CD-ROM anyway it did install Solaris 10 some times but GRUB could not detec Windows XP automatically and i could not configure GRUB to do so manually so i bought a new CD-ROM and mounted it on my pc.anyway when i tryed to install Solaris 10 and choosed Solaris from the booting screen it displayed the above mentioned error:
    Error 28: Selected item can not fit into memory
    the upper memory in the booting screen was: 752576 kb
    lower memory: 639 kb
    don't know but Solaris 10 is not making any sense to me since a week ,it's behavior is not understood .although i did run the install check before starting the installation and it did say Soalris 10 can be installed on you system.my hardware information is the following:
    Gigabyte mother board with bult in VGA ,Sound ,Ethernet
    40 GB Western Digital Hard Disk
    750 MB of RAM's
    Pentuiem 4 ,1 MB Cache
    please adivce if anyone knows about this?

    I was trying to fix this for more then 2 weeks , finally the solution to fix this was easy: GRUB new version 97 is crab ( sorry why i do not know but .. )
    I have one disk with: windows xp and second part for fedora
    I got the error after upgrading to fedora 6
    I got GRUB 97 version with this fedora 6 automatically installed
    and while booting on disk :
    Error 28: Selected item could not fit into memory
    all forums are explaining that it is not possible to boot via GRUB on a 2 nd partion to Linux ( fedora) because of 1024 constrains etc.
    I can tell you that after installing GRUB version 92 in a fedora on the harddisk ( 2nd part) started via rescue cd
    I installed the GRUB older version 92 forced to overwrite the GRUB version 97 on this partion of fedora
    run grub via recue cd but run version 92 installed now
    via command
    /mnt/sysimage/sbin/grub
    root ( hd0,1)
    setup (hd0,1)
    it installs grub on the boot record
    and now I can boot without any problem on this GRUB in the boot record of the 2nd part of the disk
    I use GAG on the MBR and GRUB ( version 92) on the boot record of Fedora partition and now it starts easy , no problems anymore
    good to know, but it took some time to find it

  • GarageBand 2013 did not split a clip into separate clips.

    I moved my playhead to the exact location that I wanted the first clip to end at and the second clip to begin at.  I then clicked on Edit, then "Split Regions at Playhead."  However, GarageBand did not split the clip.
    Please tell me what else I need to do.
    Thanks!
    Montana B.

    Montana,
    did you select the region you want to split? It does not suffice to select the track, the region in the track needs to be highlighted.  You can tell if the region is selected, by the lighter upper border, where the name of the region is.  In the example below, the region in the middle is selected, the other regions not.
    -- Léonie

  • Reg:I have GL a/c no one i need to split into 3 GL a/c no

    I have GL a/c no one i need to split into 3 GL a/c no
    1) First one is opening stock some restriction (like Business Transaction Sum total of all the business transaction for last period selected - (sum total of all debits - sum total of credits), when transaction type = RMWE + (sum total of all debits - sum total of credits), when transaction type = RMRU, RMWA, RMWL)
    2) Second (First +1) one is purchases some restriction (Sum total of All debits - Sum total of All credits)
    3) Third (First +2) one is issue some restriction (Sum total of All debits - Sum total of All credits)
    How to do please guide me
    Regards,
    jk

    HI
    1) First one is opening stock some restriction (like Business Transaction Sum total of all the business transaction for last period selected - (sum total of all debits - sum total of credits), when transaction type = RMWE + (sum total of all debits - sum total of credits), when transaction type = RMRU, RMWA, RMWL)
    *Info Provider level -- through Transformations -- Formula If Then else for your 1st and normal* / OR Routine
    Query -- RKF
    2) Second (First +1) one is purchases some restriction (Sum total of All debits - Sum total of All credits)
    Info Provider Level -- Transformation -- ((Formula 1 ) + one is purchases some restriction (Sum total of All debits - Sum total of All credits)
    Query -- RKF
    3) Third (First +2) one is issue some restriction (Sum total of All debits - Sum total of All credits)
    Info Provider Level -- Transformation -- ((Formula 1 + 2)  one is purchases some restriction (Sum total of All debits - Sum total of All credits)
    QUERY--Rkf
    Hope it helps

  • On i-pad, when try to enable itunes match, it says, "you are not currently subscribed to iTunes Match. Use iTunes on your computer to subscribe." I am subscribed though! Then it says no my request and item not available in the U.S. store. WWJD?

    On i-pad, when I try to enable itunes match, it says, "you are not currently subscribed to iTunes Match. Use iTunes on your computer to subscribe." I am subscribed though! Then it says no to my request and, "item not available in the U.S. store." My Mac will not use update iTunes to any later version than the one I have because my os is also out of date, but when I try to update that i cant, so what do I have to do?  Please don't tell me I have to buy a new Mac to be up to date.

    On the iOS device you must be logged into the store with the exact same Apple ID you used to originally purchase the service. Go to Setting > iTunes &amp; App Stores and if necessary sign out/in and then enable iTM.

  • Open item not appearing in F-44

    Hi
    I want to clear one vendor employee. There are three entries in it in FBL1n.
    1st entry came from TRIP (HR Travel posting) with posting date 10.05.2010
    The other two entries are advance to employee.
    When i am giving F-44 on 30th June2010 with OI Items tick and special GL Indicators, it does not show normal open item (entry came from TRIP), But it shows two line items for advance given to Employees
    Please let me know what could be reason for the same
    Thnx
    Deepak

    - Check some table fields in the missing documents using Transaction SE16. The following conditions must exist for the missing document numbers in question -
    BSIS-XOPVW = X (Indicator: Open item management, only for G/L accounts)
    BSEG-XOPVW = X (Indicator: Open item management)
    BSEG-AUGBL = space (clearing document number)
    BSEG-DISBN = space (discount document number)
    BKPF-BSTAT = space (document status)
    BKPF-XSTOV = space (indicator reversal flag)
    REGUS/REGUP -> see below
    Look at table REGUS using Transaction SE16. Enter the account (KONKO) in the selection screen. If you selected an entry, use the information Run date (LAUFD) and Identification (LAUFI) in Transaction F110 (payment program). Check the status of the payment run. If only the proposal was carried out, the documents proposed for payment are blocked for other clearing transactions. It is only when you delete the proposal run that the items are taken into account again in the clearing transaction.
    - Check Note 136754 - F-03, F-32, F-44, F-28 missing open items (link below)
    [Note 136754|https://websmp230.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=136754]
    Rgds.

Maybe you are looking for

  • Amount not getting populated in me21n

    hi, amount is not getting populated for the condition type in the conditions tab of me21n.

  • Problems uploading images with uppercase (.JPG) file extension.

    I am using coldfusion 8 and have no problems uploading an image using CFFile when the image has a lowercase file extensions such as .jpg however if the same file has a Uppercase file extension .JPG coldfusion hangs and then just times out. The files

  • How to determine the value of a Standard Value in a routing operation

    Dear Experts, Kindly guide me on how to detemine the value of my Standard Value in the  operation of my routing, or in the phase of my Master Recipe. I mean what determines the value that I enter for the Standard Values: Machine  and Labor in the pha

  • ITunes locks up on Windows

    iTunes is now locking up on Windows.  I have to use task manager to shut it down.  How do I get iTunes working again?

  • KB11N posting- Exchange rate

    Hello Gurus, I have a requirement to transfer balances from one object to another object (Internal order), when i try to post the document via KB11N with controlling currency, the cost object balances (KKCS) shows zero values in controlling currency,