How to link invoice line items VBRP to BSEG lines
Dear all,
We're trying to link VBRP records to BSEG records. Only link we've found is the VBELN and nothing abouth line items. VBRP has line items indexed with POSNR like 10,20,30 ... etc. BSEG has lines indexed with BUZEI 001,002,003 ...etc. So we could not match wich VBRP line linked to the wich BSEG line. I've looked the past incidents in forum but none of them answered. Is there another table which keeps link between those tables ? Any help greatly apprecited !
Thx.
Hi,
There is no link from VBRP to BSEG directly.
This is because the data in BSEG is posted to various accounts and the VBRP is usually for a Sales Order or Delivery.
However there is a link from BKPF to VBRK and VBRK is linked to VBRP.
BKPF-AWKEY has the the Invoice number VBRK-VBELN
Hope this helps.
regards,
Advait
Similar Messages
-
how to find invoice open item.
Hi,
You can get the open items from BSIS.
To get the details of open items you need to do as below :
1. Get all the document numbers from BSIS table based on year(GJAHR) and period (MONAT).
2. Once you get all the open items from BSIS, go to BSAS with the document number retreived from BSIS.
Now you will have two internal tables, one with open items and one with closed items. Now you need to segregate the open items and closed items from BSIS.
loop at it_bsis.
read table it_bsas with key bukrs = it_bsis-bukrs
hkont = it_bsis-hkont
gjhar = it_bsis-gjahr
monat = it_bsis-monat.
if sy-subrc eq 0.
delete it_bsis.
clear it_bsis.
endif.
endloop.
Now you are left with only open item only.
Thanks,
Sriram Ponna. -
Delivery block on the line item and on schedule line
why are there two delivery block on the line item and on schedule line respectively in the sales order? which one is exactly used for blocking delivery order from creating ? thank you very much!
Hi
The reason being, each line item can have more than one schedule line. If the line item has only one schedule line, the block at item level or SchLine level gives the same result. If the line item has two schedule lines, and if you want to block only specific delivery(one among the two schedule lines) the block at item level blocks both the deliveries and if you use delivery block at schedule line level, you can block only the required scheduled delivery.
Thanks,
Ravi -
Multiple account assignment and copy of po line item quantity to x lines
Hi,
I am wandering if it is possible to automate the copy of the first line presented for 10pc in multiple account assignment screen on PO line item level to 10 lines with quantity 1 in the same multiple account assignment screen. This is of course related to the second step we want to examine which is the creation of Assets for these 10 multiple account assignment lines
Looking forward to your proposals
Edited by: David Reynaers on May 19, 2011 5:09 PM
Edited by: David Reynaers on May 19, 2011 5:23 PMHi David,
First keep the PO line item Qty to 1 , then select multiple account assignment the first line with QTY 1 will be defaulted
Select the first line and choose copy just beside copy icon the new icon will appear "insert account assignment item"
Select on right side you have two options "Insert Once" , "Insert several times" select several time system will default Pop up
Insert number of times 9 , Now change the line item Qty. to 10
Thanks
Diwakar -
T.code required for Vendor line item display and Customer line item display
Hi Gurus,
Pl provide me transaction code for "Vendor line item display and " Customer line item display apart from FBL1n for vendor and FBL5n for customers.
Kindly advise.
Regards,
SamarHi,
You could use these, for example:
S_ALR_87012103 - List of Vendor Line Items
S_ALR_87012197 - List of Customer Line Items
Just curious: what's wrong with FBL1(5)N?
Regards,
Eli -
Converting Line item dimension to non line item dimension
I have some BI 7.0 issues.
For some of the existing cubes I had certain dimension as line item dimension - I wanted to add some characteristic to these dimensions. I am able to do this change and activate the cube.
But we noticed that the data which is a part of the line item dimension is lost. If the data set is small then we could have done a reload but in my case the volumes are huge, so reloading data is not a possible solution. We actually did the same exercise in BW 3.5 and noticed that the data is intact. We have looked into OSS notes and not found anything so far.
Kindly help me to find a way to convert Line item dimension to non line item dimension in BI 7.0 without loosing Data.Hi,
the only way to do is to generate a new cube and transfer the data from the first cube via transformation rule. A conversion within the existing cube is not possible.
Regards,
C. Aslan. -
How to update PO Price only for a single line item and not other Line Item
Hi
My requirement is not to update Price of PO from PIR if the Final Invoice Indiactor is not set and it is not a return PO. I am trying to do this using
BAPI_PO_CHANGE to update price automatically from Pricing record using
POITEM-PO_ITEM = '00001'
POITEM-CALCTYPE = 'B'.
POITEMX-PO_ITEM = '00001'
POITEMX-CALCTYPE = 'X'.
The price gets updated for the line item 1 as well as other line item which I do not want. Please can you tell how to restrict that.
Is it possible to restrict through configuration if this indicator is set there should be no price update. I tried to check in ME22n and if I update the condition item by pressing the update button the other item price also gets updated.
Thanks
ArghadipTimestamp is date and time together in one field..
Search for data element TIMESTAMP.
If you are getting this in your table.
If you are getting time and date in different fields then you can use the function module
given below....
CALL FUNCTION 'DELTA_TIME_DAY_HOUR'
EXPORTING
t1 =
t2 =
d1 =
d2 =
IMPORTING
MINUTES =
Then you can convert minutes into seconds..
Function module credit to BrightSide it works....but only it will give difference in minutes
Regards,
Lalit Mohan Gupta. -
Multiple invoice line items posted as single line item in FI
Dear Gurus,
My client has a specific requirement.
We are required to maintain a rebate condition at item level. In the invoice the values of rebate conditons are appearing as per the line item. This rebate condition has been maintained as statistical and accrual key has been assigend to it. Respective configuration has been done in VKOA. Accural check box has been activated for the rebate condition type.
Now when we are posting the invoice to FI, client requires that instead of line item wise posting of accrual amount it should post entire accrual amount in the single line item. In other words it is like posting of header amount directly, without any line item wise splitting.
Please help me ASAP.
Thanks in advance.
Regards
Piyush RanpuraDear Friends,
I am thankful for your replies. But probably I was not able to put the issue is the proper manner. Let us consider this example -
Mat. codes - M1, M2, M3 & M4 Rebate cond. - ABCD Accrual key - ABC GL - 12345678
In the invoice, rebate values are determined as follows for the each line item -
For Line item 10, Material M1
ZSHA - 100
For Line item 20, Material M2
ZSHA - 125
For Line item 30, Material M3
ZSHA - 100
For Line item 40, Material M4
ZSHA - 75
While the invoice is released for accounting follwing entries are there
xx 1 xx
xx 2 xx
xx 3 100 12345678
xx 4 125 12345678
xx 5 100 12345678
xx 6 75 12345678
xx 7 xx
xx 8 xx
But my requirement is
xx 1 xx
xx 2 xx
xx 3 400 12345678
xx 4 xx
xx 5 xx
How it could be done?
Thanks & Regards
Piyush Ranpura
Edited by: Piyush Ranpura on Sep 1, 2010 9:10 AM -
How to Reject Quotation line item and update New line item
Hi all,
I have a doubt in Quotation Rejection,Here it goes....
For VC implementation,We are Creating a quotation with Dummy Material,and after Creating Material Masters we have to update the Newly created material back in Quotation for same quotation number and after this the dummy material i.e the previous line item should be rejected with reason as a duplicate(reason code 23)..
So Pls help me in Rejecting the line item of quotation.how this is done.
Reply soon.
Thanks in Advance,
Balaji MedaHi,
The requirement is also to Update the Quotation with the newly created material.
So we need a Bapi or a function module which does 2 things:
1. Reject the previous Line item with a reason code.
2. Update the Quoation with the new material and insert a a new line item.
Thanks,
Balaji. -
List, How can i add an item which fills two lines ?
Traditionnaly, we use List with short items on an only line. But i want to use a list with long items on several lines, for each item. Is it possible in awt, swing?
ThanksOne option is to define a class for your list items, and make sure it provides a toString() method (since this method is called when the list is rendered). In this method, use html notation to format the text on multiple lines. For example:class myListObj{
//initialize your object here
// and provide whatever methods you need
//(get, set etc)
//then do this:
public String toString(){
StringBuffer buff = new StringBuffer("<html>");
//This is example code - you would need
//to decide how you are going to divide up your text:
//NOTE!! assumes string is long enough - otherwise
//IndexOutOfBoundsException will be thrown!!!
buff.append(text.subString(0,5)); //first line
buff.append("<br>"); //line break
buff.append(text.substring(5)); //second line
buff.append("</html>");
return buff.toString();
}Alternatively, you could define your own cell renderer to have several lines, or even several nested JLabels (see javadoc for JList API for an example - that example uses icons, but you'll get the idea) -
CD line item separately in Customer Line item
Dear Experts,
My client requirement is Cash Discount line item can be separated for Customer Line Item.
Standard setting:
When customer pays the invoice and cash discount is there on invoice the entry will be as below in Standard SAP
Bank Inco A/C Dr
Cash Disc A/C Dr
to Cust A/c
Here when user opens up the FBL5N for the above customer, they don't see that how much exact payment amount has been received as this includes the CD amount as well.
Client Requirement is
Bank Inco A/C Dr
to Cust A/c
Cash Disc A/C Dr
to Cust A/C
Have tried OBXI, Net Document type (cash discount clearing A/C) but can not find the desired solution. Have also tried to search SCN & Google, still could not get any clue.
Would you be needful to put some light on this scenario.
Many Thanks
Kind Regards
pankajThanks Mr. Narasimhulu for your time and reply.
We did have these two column in FBL5N and also we have created ZFBL5N which is generating Net amount field, still am thinking to generate a separate line item for Cash discount and only that line item credits separately in customer ledger.
Can understand that CD is actually the substitute of Cash, as we are sacrificing our cash remittance for CD, still my client wants separate line item.
Is there any way into SAP.
Thanks for your help.
Kind Regards -
Copy PO line item text to Migo line item text during PGR posting
Dear all,
I need to automatically copy over the ekpo-sgtxt over to screen field goitem-sgtxt during MIGO creation. Meaning, in MIGO - I enter the reference PO number and by the time I press enter, the system will propose the line items along with the "Text"field maintained with the data copied over from ME23N line items.
Is there a user exit for this? If this question has been asked before, I'd be grateful if anyone can point me to that link.
Thanks in advance.
StevenHello,
How about trying userexit EXIT_SAPMM07M_001.
Regards
Waza -
Mass change of payment in customer line item for all open line item.
Hello,
We have updated the new payment as per the new agreement with customer in customer master. We want this new payment term should also be updated in all the open invoices which are not cleared. Is there are way we can do the mass change in Payment term as the open line item in the customer where line item are more than 50. Please let me know the transaction code for the mass change of payment term in Customer account balances.
Thanks and Regards,
Rajesh Kumar MantriHi
you can find the way to change the payment terms
first check weather the payment term field is having change option in your document change rules in the line item for you customers.
Financial Accounting (New)Financial Accounting Global Settings (New)DocumentRules for Changing DocumentsDocument Change Rules, Line Item
if the payment term BSEG-ZTERM(payment term) is there for your customer and having deselcted check box for changing document you cannot change payment term for your company code.
This can done client level or company code level.
if the payterm can be changed you do changes to payment terms mass level.
Thanks
ANJI -
Error while editing PO - deleting service line item and creating material line item.
In SAP SRM Extended classic scenario, PO is in 'ordered' status and contains a service line item. While editing this PO, I delete the service line item and create a new material line item. This gives me the following error.
Back end error: Enter G/L account
Back end error: LIne item still contains faulty items.
This happens only with service- material comibination and no other combination(material-service, service-service, material-material).
I need to know the reason for this issue and how it can be solved?PO Values (Inc Tax):
Item 1: INR 228 L
Item 2: INR 27.83 L (Payment also done in 2008)
GR for Item 1: INR 207.46 L
Remaining Comm = INR 21.01 L
Item 1 having 73 sub line items.... fo some of the sub-line items GR for some qty already done in last fiscals.
User changing for remaining qty.
Budget Report values:
Previous Years: Budget, Actual & Assigned = 304.85 L
Available = 0 (Carry Forward done for Budget & Commitments)
2011: Budget = 75.15 L
Actual = 53.86 L
Comm = 21.01 L (Same as Remaining Commitment)
Avai = 0.28 L
Hope this will help. -
Restricting the po line item to max 3 line items-----BAdi
Hi below is the code I am trying however incase for eg i put line item no 10 20 and 30 . it gives an error since the line item is grater then 3, so i delete line item 30 and it works fine, but incase if i delete line item 20, then the error still persists ( a red ball next to item no 30 in the P.O line item. and so i am not able to save the P.O) How to rectify this what kind of coding is required
method if_ex_me_process_po_cust~process_item .
data: ls_mepoitem type mepoitem,
ls_customer type mepo_badi_exampl,
ls_tbsg type tbsg.
include mm_messages_mac. "useful macros for message handling
here we check customers data
DATA:wl_mepoitem TYPE mepoitem.
**declaration of work area. t_itab is in public section.
DATA : BEGIN OF wa_itab,
ebelp TYPE mepoitem-ebelp,
loekz TYPE mepoitem-loekz,
END OF wa_itab.
ls_mepoitem = im_item->get_data( ).
wl_mepoitem = im_item->get_data( ).
wa_itab-ebelp = wl_mepoitem-ebelp.
wa_itab-loekz = wl_mepoitem-loekz.
IF wl_mepoitem-loekz NE 'D'.
APPEND wa_itab TO t_itab.
ENDIF.
SORT t_itab .
***to delete those items whose entries have been made while EDITING a line item.
DELETE ADJACENT DUPLICATES FROM t_itab .
**to delete those items whose entries have been made while DELETING a line item.
IF wl_mepoitem-loekz EQ 'D'.
LOOP AT t_itab INTO wa_itab .
IF wa_itab-ebelp = wl_mepoitem-ebelp.
DELETE t_itab.
ENDIF.
ENDLOOP.
ENDIF.
counter = 0.
***Counting final no of lines in t_itab after removing the deleted and re-edited entries.
DATA: lines1(2). " type c.
DESCRIBE TABLE t_itab LINES lines1 ."from wa_itab .
*lines = t_itab-lines.
IF lines1 GE 3.
MESSAGE: 'No. Of items is greater than 3...STOP !!' TYPE 'A'.
endif.
Message was edited by:
anu c
Message was edited by:
anu cHi ,
RED Ball means----> Some kind of errors in that Line Item , try to double click on that errror log , then u will come to know.
as per my knowledge ur code is ok.
Regards
Prabhu
Maybe you are looking for
-
NEED HELP ..HARD DRIVE PROBLEMS
My safari window doesnt pop up and ive been told it had to get my hard drive cleaned ..soo can yu instruct me in how to clean my hard drive so my safari & etc. would work the way there suppose too! plz & thnk yu!
-
hi, i need the vendor materials - i mean which vendor sells which material like sd KNMT table. i searched up the net and F4 help from se11 but tables like A021 a108 etc KOTE006 KOTP101 all empty. pls write me the table if available? hm
-
I am wanting to add an interactive pie chart to a custom form
The pie chart or "wheel" is a visual for my project status form I want to share with clients. Can this be done? I only see an option to insert an image. thanks
-
Hello, How capacity is influencing the product costing.Are there any configuration required for it. Thx in advance
-
I am trying to upgrade from 10.5.8 to Snow Leopard 10.6.3 and I get a message that I do not have enough memory. I recently bought a 2TB WD back-up drive and backed up the entire computer. Now how do I free up more memory to allow me to install the n