Grouping of SC line items to single PO
Hi,
We are facing an issue with grouping of SC line items to one single PO as per the details given below.
The requirement is if the SC has 10 line items as below
5 line items with no source of supply - 5 PO's
3 line items with preferred vendor (82000000) - 1 PO
2 line items with preferred vendor (82000001) - 1 PO
In the first case 5 PO's has to be created. This is standard no issues.
In the second case system has to group 3 line items to 1 PO.
In the third case system has to group 2 line items to 1 PO.
We have tried the BADI BBP_LOCAL_GROUP_PO and it doesn't help for the second & third case of our requirement.
We tried using the Document change badi to convert the Prefferred vendor to vendor and could not do that.
We also tried the FS BBP_SC_TRANSFER_GROUPED, but it doesn't cater to our requirement.
Any help would be highly appreaciated.
Here is a sample code that convert preferred vendor into fixed vendor.
You can easily change it to your requirement )
method IF_EX_BBP_DOC_CHANGE_BADI~BBP_SC_CHANGE .
Constants : c_vendor type BBP_PDS_PARTNER-PARTNER_FCT
value '00000019',
c_preferred_vend type BBP_PDS_PARTNER-PARTNER_FCT
value '00000039'.
Data : ls_partner type BBP_PDS_PARTNER.
*Read Table it_partner into ls_partner With key PARTNER_FCT = c_vendor.
*If sy-subrc NE 0.
Loop at it_partner into ls_partner
where PARTNER_FCT Eq c_preferred_vend.
Move c_vendor To Ls_partner-PARTNER_FCT.
Modify it_partner from ls_partner index sy-tabix.
Endloop.
*Endif.
et_partner[] = it_partner[].
ET_ORGDATA[] = IT_ORGDATA[].
ET_ITEM[] = IT_ITEM[].
ES_HEADER = IS_HEADER.
ET_ACCOUNT[] = IT_ACCOUNT[].
*break ybo
*IT_PARTNER
*ET_PARTNER[]
endmethod.
Similar Messages
-
Hi all ,
I have a requirement to Post Cash Journal Document using FBCJ tcode.
Is it possible multiple line items debit & single line item credit and different cost centers and different profit centers
for exp:
pk GL a/c description amount cost center profit center
40 400101 telephone exp 500 1403 P 1000
40 400101 telephone exp 100 1404 P 2000
50 200100 cash in hand 600-
This is My requirement is it possible in fbcj
Please suggest me.ASAP.
Regards
Naresh.Hi,
This you can do it in two ways:
1. Make three header under top level....one Product A, 2nd Product B ( as Billing element) and third as Common expense ( only cost). Now 1st & 2 nd WBS, you have to have sales order linking with individual lint item, for third you will accumulate all the common expense till the period end then make a reposting of the same in desired proportion to both products WBS hierarchy
(This is if you want to have a track on the common expense as well.......like planning, budgeting & control)
After this reposting, run RA for individual billing element and hence you will all the complement detailing and control over Revenue and expense with respect to Product A and Product B individually.
2. If you don't want to maintain that kind of detailing the common expense and keep track of it through project, then have cost centers accordingly and make an assesment/ distribution with respect to expenses accumulated at those cost centers for the period to the respective WBS under each product. Then execute the period end processes for the project.
Or
You can try with have two more line items in the costing sheet as an overhead against common expenses with respect each product.
I hope this should help you.
Regards
Avisek Bhardwaj -
LM46 - Multiple line items into single HU
Hello,
I am using Pick & Pack functionality and confirming transfer orders using RF - LM46 transaction.
During confirmation of transfer order, new HU is getting created for each line item. Is it possible to confirm multiple line items into single HU.
Is there any setting needs to be done to achieve the same.
Steps in current process
- Create transfer order using LT03 or Background job
- Go to LM46 - enter delivery and packaging material
- Confirm line item
- TO item information (Qty & batch) updating back to Delivery along with new HU number
- Material and qty getting packed to HU correctly..
As we have several small picks, we don't want new HU to be created automatically. If we can combine multiple TO items into single HU that will be helpful for the process.
Please let me know if you need further information.
Thanks in advance,
Naga MohanHi Nag,
I don't believe there is a straightforward way of doing that. The idea behind the design would be (for the two cases mentioned in this thread):
No HU exists, so new HU is generated during the TO confirmation (by entering only the packing material and $ as the HU number, triggering the label printing for shipping)
Hu exists, so the user would have the HU in front of them and would be packing directly into it.
Is your requirement for all deliveries within the warehouse? i.e Each delivery (regardless of the number of transfer orders) should only have one HU assigned?
Regards
Stephen -
Amount spliting in 3 line items for single customer
Hi All,
Here i am facing one small issue at the time of billing docment relesing to finance.
here i am getting 3 line items for single cumenter, custmoer debited in 3 line itmes.
why i am geting 3 line items can any one help me in this issue.
thanks
kiranHi,
If you have new GL with document splitting active then if you have created billing for 3 items then system can split the customer line as well into 3 lines in GL view particularly if you have 3 items are getting credited to separate GL Accounts as sales revenue.
In Classic GL view you will not see customer line getting split. Hoep it helps you.
Regards,
Sanjay -
Grouping of PO line items as a single unit
Hi...The Requirement is to group 3 line items of a PO as an entity so that the middleware transportation system (ETM) understands it as a single entity as thus should craete a single shipment instead of creating three 3 different shipments..Please provide me with suitable ideas to group the line items in the PO into groups of 3 each....every PO may contain 200 line items...Thanks for your reply and time in advance
Hi
If the material is same, you can create different schedule line in item level tab instead of creating different line item of PO. If the materials are different you can use tracking number(Requirement Tracking Number) field with some logic to group the line items.
If you want to club more than one PO then you can use Collective No field in additional data tab.
Regards
Antony -
Group consolidate invoice line items
Hi all,
If I have multiple sales orders but all with the same characteristics at item level (material, currency etc.), and if I consilidate the sales orders during billing, will I also get a single invoice line item? or will I get one invoice item per sales order item?
Trying to avoid maxing out on the AR items.
regards
TimHi Tim,
You will get invoice with as many items as you have in all sales order billing billed in that invoice. During posting to FI in general you will have one FI document line per item/GL account (determined from VKOA based on Customer Account Assignment Group, Material Account Assignment Group and accounting key assigned to condition type in pricing procedure) combination. You can limit number of G/L lines by applying posting aggregation for FI-SD interface. Youc an define the fields, which are not relevant for FI document and the fields will be cleared resulting in aggregation of the G/L lines on G/L account/posting sign (debit credit). Please be aware that the field you clear for aggregation will not appear in the line items in FI, so cannot be used as characteristics of the postings in the G/L.
Regards,
Marcin -
AFAB:Balancing field "Profit Center" in line item for Single Company
Balancing field "Profit Center" in line item 005 not filled , This Error is coming for only one company code Alone in AFAB Tcode
Thanks & Regards,
DanielCheck this T.code OBC4.Here you need to check the field status group G001,G005.which Field status is using for the GL
U have to write substitution for T code J2IUN and Plant combition .
Eg.whenT code is J2IUN and Plant is XXXX Profit center is YYYYY.
please check the same and then execute further your process.
Regards
Ketan -
Determine grouping for bill line item
Hi,
I am doing some reporting on bills that have been issued (CC&B).
I can get bill line items from the following query;
SELECT B.BILL_ID, B.ACCT_ID, B.BILL_DT, B.DUE_DT,
S.BSEG_ID, S.SA_ID, S.PREM_ID,
L.*
FROM CI_BSEG S
INNER JOIN CI_BILL B
ON S.BILL_ID = B.BILL_ID
INNER JOIN CI_BSEG_CALC_LN L
ON L.BSEG_ID = S.BSEG_ID
--SELECT A PARTICULAR BILL, FOR EXAMPLE
WHERE B.BILL_ID = '927321294079'
--ONLY RETURN THOSE ITEMS THAT APPEAR
--IN THE SUMMARY SECTION ON THE BILL
--SPECIFIED
AND L.APP_IN_SUMM_SW = 'Y'
However, I am stuck in trying to figure out the grouping area that the line item appeared in in the bill. CI_BSEG_CL_CHAR tells me whether or not the item appeared on the bill, but not the grouping. The information that I need seems to be in the CI_RC_CHAR table, so the problem I am then faced with is how to link together bill line items with the rate component that is the source of the line item.
Any assistance would be much appreciated.
ec
Edited by: 866928 on 12/07/2011 21:49I seem to have figured out the join...
--THE FOLLOWING QUERY GETS FROM BSEG_CALC_LINE
--TO THE RATE COMPONENT CHARACTERISTIC TABLE
SELECT * FROM CI_BSEG S
INNER JOIN CI_BSEG_CALC_LN L ON S.BSEG_ID = L.BSEG_ID
INNER JOIN CI_SA SA ON SA.SA_ID = S.SA_ID
INNER JOIN CI_SA_RS_HIST H ON SA.SA_ID = H.SA_ID
INNER JOIN CI_RS RS ON H.RS_CD = RS.RS_CD
INNER JOIN CI_RC RC ON RC.RS_CD = RS.RS_CD
INNER JOIN CI_RC_CHAR RC_CH
ON RC.RS_CD = RC_CH.RS_CD
AND RC.EFFDT = RC_CH.EFFDT
AND RC.RC_SEQ = RC_CH.RC_SEQ
Thanks,
ec -
Sales order: Two schedule line items for single order item
Hi,
I have an issue with the schedule lines in the sales order. When we create a sales order with today as the delivery date, it creates two schedule lines for the single order item. But if we give future date as the delivery date, then it creates one schedule line only. The confirmed quantity for the first line item (with today we the delivery date) is zero and second line item confirmed quantity (with delivery date as tomorrow) is actual order quantity. So as there is no confirmed quantity on todayu2019s date, it looks like it is creating new line item. But we do we have stock.
We donu2019t have availability check on and we use custom line item and schedule line categories.
Please give some hints on what might be the issue.
There was on post with this kind of issue, but it was closed without answer.
Thanks,
SriniHi Srinivas,
So as there is no confirmed quantity on todayu2019s date, it looks like it is creating new line item. But we do have stock.
As per my understanding although you have sufficient stock for the material system may be confirming the quantity in future date because of the forward scheduling. As you know system adds different times while evaluating the confirmed delivery date. Check the route which system is using. -
Multipl line item for single line item in smart form
Hi
I have an issue wwith smart form. i Designed a Smarform with main window but each line item have again multilpe line items.Example.My smartform should print like this
SNO.......Descriptions..................................................................Specifications
1.............. Pepsi.......................................................................500ML Bottle
................................................................................................Rs.20.
................................................................................................No sugar COntent
................................................................................................Buy one get one free.
2..............Coke.......................................................................1000ML Bottle
...............................................................................................Rs.$10.
...............................................................................................Added flavours COntent
...............................................................................................Buy one get 2 free.
IN the above example Sno and Descriptions are from one internal table and Specifcations are form
other internal table and both the tables are linked with one common field.
Any inputs please.
Regards
Farook
Edited by: farook shaik on May 15, 2009 11:56 AMHi Farook,
Either you cam merge in the driver program as said before -this is the best option.
OR in smartform:
Create a line type with columns for sno ,descr ,specification.
Use a DATA TABLE for the first internal table with the above line type and fill the first 2 columns.
and a LOOP inside the data table's 3rd column for specifications with the common field in where condition.
eg
first table - DATA TABLE
HEAD
MAIN
|___ linetype
|-cel1
|-Sno-text
|-cel2
|-Descriptions text
|-cel3-Specifications
|__loop for second table in where condition - match common fields.
|-text for Specifications
FOOTER
Regards,
Fonseca DC
Edited by: Fonseca Christina on May 15, 2009 1:10 PM -
Diff line items in single field
Hi All
I have a requirement,
I have a internal table with field called content(40) type c.
and the values in this field are as below
CONTENT
m/s jani sales
uniwalkar
abc ltd
ghj ltd...etc
but my requirement is this all content on different line
i want to collect in single line
CONTENT
i.e m/s jani sales, uniwalkar, abc ltd, ghj ltd...etc
How should i proceed.
Thanks & Regards
LalithHi,
Find below code..........
data : begin of itab occurs 0
contact(40) type c,
end of itab.
data: str1 type string.
Loop it itab.
concatenate str1 itab-contact to str1.
endloop.
I think it help u....................... -
RG23C PART 1 - Two line items for single item
Dear Experts,
I created a po for capital goods without any material number but entered the description of the capital good in material short text and processed.
while posting the excise details for the capital good in RG23C Part 1, it is posting the register with two lines with different serial numbers and updating the quantity as well.
how do i rectify it?
regards
SureshhI,
thanks for the quick reply
thats what happening exactly......how do i correct it.....or is it so that i dont have to do anything
the movement types for both entries is 101
regards
Suresh
Edited by: rasuresh on Aug 29, 2009 11:30 AM -
ERROR: Local Currency does not equal Group Currency within line item(s)
Hello SAP Gurus,
I am getting the above error message while scraping the asset using ABAVN.
Please help me.
Many Thanks,
Bobhi
check your depreciation area settings for the Currencies.
also check your company code has parallel currencies & Check whether foreign currency translation is maintained in the table. -
How to create a PR with a group of line items in Maintenance Order
Hi,
I reqest for a solution for this scenario.
I created aMaintenance Order with 45 materials assigned in that.
Now I would like to have the ability to group split all line items in to certain groups and individual PRs for these groups
I would like to group these 45 items in 10 or 12 groups and create PR for each of these groups.
Plz guide how can I do this with any devlopment of a report.lukko wrote:
Thank you for the reply. My first guess was that in case of arrays everything inside the VI should be closed in a loop and perhaps with varying number of inputs the loop could be avoided and this would improve simultaneous execution for multi-core CPUs.
I would not base all conclusions on first guesses.
Working with arrays is typically significantly more efficient (e.g. SIMD). We also have the parallel FOR loop where several iterations can be executed in parallel, thus fully supporting simultaneous execution.
How exactly are you expecting the code to look like if you have a variable number of connectors?
LabVIEW Champion . Do more with less code and in less time . -
GL balance/line item by multiple account grouping
I have around 200 expense accounts, I want to define GL account group or set,
for example, I want to define fourty such GL group
in FAGLB03 or FBL3N, we can only retrieve balance or line item by one account grouping and save as variants.
is there any report or ways we can list down multiple account group balance or line item in one go?
if I run FAGLB03 account group by group and list down period 1(Jan), period 2(Feb), period 3.....GL line item summarization figures it will take more than two weeks,Hi Siva,
If i understand your requirement correctly, I think you can select multiple account groups from 'GL account line item display (FBL3N)' dynamic selection screen as shown in below screen.
Regards,
Prasad
Maybe you are looking for
-
Why am I seeing "invalid code" when installing on my second Mac?
After I enter my redemption code for Lightroom 5, it says: "The code you entered is invalid. Please try again." Thanks anyone!
-
Desktop Mgr won't sync, install, modify or repair
Maybe a sledgehammer would work. I have a BB 8800, and have been using BDM 4.2.1.8 (because anything newer wouldn't work so I went back to this version) on a Vista PC until recently. It was set to automatically sync when connected. Then it stopped
-
Patch: 8.0.5.1 on glibc-2.1 based SuSE Linux 6.2
See the top of my homepage (http://www.csn.tu-chemnitz.de/~mha/) The package opatch.rpm there is for SuSE Linux 6.2, a glibc 2.1 based distribution. Oracle 8.0.5.1 needs to be patched if you want to install it on glibc2.1-based Systems (however, upgr
-
Need to create PDF and Spreadsheet file from RDF file when user passes the parameters
Hi Everyone, I am beginner as report developer ,i came across one issue when the requirement came from the client regarding generating EXCEL FILE and PDF FILE from same RDF file . I was able to generate the PDF file but i when i tried to create exce
-
Error in air application created by flex builder
Hi all, When I export the release version of an AIR project, and attempt to run the resulting AIR file, I get the error "The application could not be installed because the AIR file is damaged. Try obtaining a new AIR file from the publisher." This ha