How to sum + group bp line items per a specific field?
Hi,
I found out about the SYS Numeric Query Based data definition, allowing me to sum the line items of a BP according to certain conditions.
Now we have a more complex problem. We need to sum the line items of BP1 into the line items of BP2, grouping them by a given field. We know how to auto-create BPs on workflow events conditions, but we don't know how to sum the line items together.
Is there a workaround?
Thanks,
S.R.
We do not currently support QBDEs on line items so there isn't a way to sum values from other line items onto a line item.
Similar Messages
-
How to attach questionnaire to initiative/item against a specific field?
Hi All,
How to attach a questionnaire for a specific field for an intiative/item in contxt to xRPM
Regards
srikanthHi,
If you have completed the activity 'Define Questionnaires' under SAP xRPM -> Global Customizing -> Process and Service Settings, you should have the questionnaires displayed in the portal. If not, do the following.
1) Check that you have attached the questionnaire for the correct object type in the 'Define Questionnaires' activity.
2) In the previous activity, 'Define Services', check that the questionnaire service is linked to an object type correctly.
If these 2 activities have the correct configuration, then you should be able to see the questionnaires in the drop down.
Best Regards,
Prashanth -
Group PO line item in Shopping cart
Hi All,
Currently SRM has some criteria to split the PO and if the contract number is different then it splits the SC item to create 2 different PO, But as per our requirement even SC has two items with same vendor, pur org,etc... but different contract number then it should create 1 PO in the backend system.
Badi:
I have tried BBP_SC_TRANSFER_BE-GROUP_PO but CT_PROCITEM is empty
So i tried with this BADI BBP_BS_GROUP_BE, but BBP_BS_GROUP_BE--GROUP_PO_BACKEND is called item by item.... if there is 2 items then it is called 2 times ... with single current records...
Please help me So how to group the line items.
We are in SRM 7.0 and we are using classic scenario
Regards,
Rama.Dear Poster,
As no response has been provided to the thread in some time I must assume the issue is resolved, if the question is still valid please create a new thread rephrasing the query and providing as much data as possible to promote response from the community.
Best Regards,
SDN SRM Moderation Team -
How to get all the line items for each Purchasing Document ?
Hi,
There are multiple purchase orders (EBELN) in PSA with different line items (EBELP). But, when loaded into ODS from PSA, I am getting purcahse orders with only one Line item.
Eg.,If the EBELN has a Record# 4000005 and has 3 line items in it (10,20, 30), I am receiving 10 or 20 or 30 Line item.
As there are more than one line item per PO, how can I retreive all of them?
Also, there are no conditions / routines in transfer structure and update rules.
Please let me knowproblem solved.
I moved the EBELP field from Data fields to Key Fields in ODS. -
Procurement tab in Sales order displays two line items per material
Folks
I am not a SD guy and i have a very basic question on how to read the details in the procurement tab for a sals order.
In the Procurement tab of a Sales order, two line items per material are displayed as shown below. whats does this mean ?
Further, I had observed the below differences in the below 2 lines
1. Mat. Avail Date is 06/19/2007 for line 1 & 06/20/2007 in line 2.why r the dates different ?whats the significance?
2. Confirmed qty is 0 line 1 & 1in line 2.( when does confirmation trigger or update ? Is it upon ATP check or upon delivery ?)
3. Order qty is 1 line 1 & 0 in line 2.
Item Material Plant Confirmed Qty SU Mat. Avial Date SL Req. Type Deliv. Date ATP Qty Loading dt Route Part. Deliv/ Item Deliv priority Desc
10 NTE801NC 2400 0 EA 6/15/2007 CT D 6/19/2007 0 6/15/2007 24GB03 C 98 Priority 98 (Normal)
1 EA 6/15/2007 CT D 6/20/2007 6/15/2007 Priority 98 (Normal)
ThanksIt means 2 schedule line for that materials ,
06/19/2007 is the date on which material is requested by customer but there is not sufficient stock on that day so 0 quantity is confirmed for that day.
On 06/20/2007 material is availabe and you can start delivery to customer on 06/20/2007 and system confirms the material for 20th and it is reserved for this sales order.
Confirmation is based on your MAT ( Material availability date ), but you can revist these dates through by triggering availabilty check or Back order processing through GATP or ATP.
Manish -
750 to 1200 line items per order
Hi
Does any body have the experience of creating order with 750-1200 line items per order, in such scenario how the performance of the e-commerce was handled, was any custom development made to achieve.
please let us know
thanks
vigneshStefan, as stated, this was not well thought through solution (but with some work would be possible to achieve).
Regarding memory leaks. We have spent quite a bit of time looking in-depth at the shop code over the years and have so far seen very little evidence of actual memory leaks.
MASSIVE memory consumption, yes, definitely, but no actual leaks
If you have a suitable OS and JVM running that will allow you to crank up your JVM memory settings then you will most likely see that the memory usage will plateau...it might just be at a much higher level than you would have reasonably expected.
To give you an example. One of our customers was running a very large catalog (900 000 items) and the shop used 22 GB of memory when running. One of the main reasons in their case, with such a big catalog, was how the web shop chooses to create web cat items and cache them. Deep in the standard shop code you can find that there are lots and lots of ArrayLists initiated and they are all given a >0 default length, which consumes memory even when empty. In this particular case this became such a big issue that we sent SAP the proof that if they would initiate the ArrayLists with 0 length the memory consumption would drop significantly for each WebCatItem instance.
We estimated at the time after some in-place replacements of the CatalogAttributeValue, class out of the pcatAPI.jar where we set it by default to null instead of size of 10 that we would have saved about 40% of memory consumption. We even prepared the test case and sent it all to SAP, but don't think we ever got it implemented in standard code.
Another suggestion was that SAP would implement a LRU cache for catalog caching for larger catalogs....again would help with memory usage challenges.
With another customer we had 1 Million+ hits per business day (8 h period) and I can't remember us ever having to chase up memory leaks in the standard shop code...they might exist, but perhaps the usage scenarios I've been involved in have just not brought most of them to daylight.
Purely out of interest...if you have found memory leaks in the shop it would be interesting to hear where you found them.
Cheers
Kalle -
No of line item per excise invoice
hi gurus
please share me where to maintain no of line items per excise invoice?
baalakrushnan.daGo to IMG Path -- Logistics-General --> Tax on Goods Movements --> India --> Basic Settings --> Maintain Excise Registrations.
Here select your excise group and drag the mouse towards right side where you can see a tab "EI Items". Whatever numeric value you maintain here, only to that extent, number of line items will flow in excise invoice.
thanks
G. Lakshmipathi -
How can find number of line item?
HI All.
I have one internal table it has PO number ,line item and quantity.
Each PO number have number of Line item ,
now i want find how many line item per Po number .I need find for line item for all Po number.please help me
Thanks.
Jaysee the below code and i tested and it is working well.
data : begin of i_ekpo occurs 0,
ebeln like ekpo-ebeln,
ebelp like ekpo-ebelp,
end of i_ekpo.
data v_count type i.
start-of-selection.
select ebeln ebelp from ekpo into table i_ekpo.
loop at i_ekpo.
v_count = v_count + 1.
at end of ebeln.
write:/ i_ekpo-ebeln,v_count.
clear : v_count.
endat.
endloop.
Reward points if it is helpful
Thanks
Seshu -
How do I add PO line item to incomplete log procedure
Hi SD Experts,
How do I add PO line item to incomplete log procedure for VA02? Is that possible through configuration and/or code? if it is done by code, what userexit or BAdI I need to implement?
Thanks,
DuyHi Duy,
You need to go to SD > Basic functions > log of incomplete items > define incomplete procedure > select group A (sales header) > procedures > select 11 (Sales order) > fields tab and add PO number incompletion fields as below:
table---field namedescriptionscreen--status--warning
VBKD---BSTKDPO number-KBES -
0----
X
Finally, you should assign your incompletion procedures to your sales doc. typ.
I hope these will work.
Regards, -
One line item per page --- Urgent
Hello,
I am printing an order. But while printing an order I have
a header
main
a footer.
In main I have to print line items. Now while printing line items , my requirement is print ONLY ONE LINE ITEM PER PAGE.
For every page header and footer should repeat.
I am trying with AT NEW command but it is giving error. I am using table to loop on item data table.
Please tell me urgently how to do it.
Thanks,
MadhuraHi,
If you want to continue using the table this is what you can do.
Im assuming u only use the table for printing line items
So
Create a loop above the table
Place the table inside the loop.
Uncheck the internal table check box inside the tables Data tab
and copy that looping information into the loop.
After the table, and inside the loop ..place the command node.
Also place whatever data in ther main section of the Table now in the header of the table
Edited by: Nehal Fonseca on Apr 23, 2008 6:35 PM
Edited by: Nehal Fonseca on Apr 23, 2008 6:36 PM -
How to handle the multiple line items in the Inbound idoc FM
Hi ,
Can any body give me how to handle the multiple line item in the idoc when we reprocessing it from workitem....
Thanks in Advance,,,,
Regards,
BharaniHi ,
Can any body give me how to handle the multiple line item in the idoc when we reprocessing it from workitem....
Thanks in Advance,,,,
Regards,
Bharani -
Maximun line items per CO document
Hello,
Which is the maximum number of line items per CO document?
Thanks,I am really not sure about MM.
But in FI and CO, maximum is 999.
There are also some enhancement available for this functionality to increase the number of documents.
If you browse through internet, you will find some source code (sample) for this.
Regards,
Ravi -
Sum of all line items and display at the bottom of the page
Hi ABAPers,
I am displaying line items in the main window based on PO number ....and I've a coloumn Total amount.
My requirement is after the line items , the grand total which is the sum of all line items has to be displayed.
Is this possible. If so, can anybosy help me in that.
thanks in advanceHi ,
It is possible.
For that u have to do following
take one variable of same type on which you want to calculate total ... declare in global variable
double click in the table goto the calculation tab in that give the variable on which u want to calculate total
print in the total in the footer of the table ..
Hope you resolve your problem
Let me know any concerns...... -
How can I add a line item to delivery?
Hi all,
How can I add a line item in a delivery without using BDC?
Regards!
CurtisHi,
I have tried
BAPI_OUTB_DELIVERY_CHANGE
and this only allows you to change existing lines not add lines.
Since its outboud delivery that I'm interested in I will not look at the inbound that you suggested.
Any other suggestions would be appreciated.
Regards!
Curtis -
Itunes - how do i select multiple line items not in sequence ?
itunes - how do i select multiple line items not in sequence ?
Hold down the Command key and click each in succession.
To extend the selection across items that ARE contiguous, use the Shift key.
Maybe you are looking for
-
Satellite A660 - Will not boot up and HDD boot fail
Hi, firstly thanks for your time. Model: Satellite A660 (PSAW3A-07U00R) The problem started yesterday, the computer was going slow as an application closed, so I held the off button untill the pc turned off. When I restarded the laptop it went to a s
-
Hello I'm getting an error on my tabular form, it is layed out as so: [ ] Title Lastname Firstname Company Email [ ] Mr/Ms/Mrs [ ] [ ] [ ] [ ]-first column is a checkbox -'title' is a select list default va
-
Which tables are suitable for advanced compression in R12.1.1 vision db
I want to use advanced compression in our R12.1.1 test env and I want to know which R12 tables are suitable for that?(I want make a script for compressing our VISION DB automatically) for example, table like GL% and ... ? some table contain long/long
-
How to change workspace ownership
Hi, the owner of a beehiveonline workspace left the company. Is there a way to change the ownership for this workspace or add an administrator? thanks, Claudio
-
i had a message that said i was missing msvcr80.dll and i did everything it said to and now it says i am missing apple application support error 2. how do i fix this