Link VBAK AND LIPS
Hi Experts,
IS there any link between VBAK and LIPS (VBELN AND VGBEL). Data is flow from header level VBAK to Item level LIPS is correct or Item level to item level.
Regards
Rahul
Dear Rahul1234 ,
You can use the VBAK- VBELN or VBAP-VBELN
Put the same in VBFA as preceding document and fetch subsequent document where subsequent document category is J(delivery)
Now input that list in LIPS to get the required field.
This will work. If your ABAPer is telling that the logic is not correct, then you may demonstrate the same using a query (table join VBAK-VBFA-LIPS)
Thanks & Regards,
Hegal K Charles
Similar Messages
-
How to link vbak and vbrp tables
hi friends,
i want to display lips table values based on lips-vbeln = it_vbrp-vgbel
here i want a filed thru which i can link vbrp-<fieldname> to vbak/vbap-vbeln
so that i can get values into it_vbrp.
here is equation.
it_vbrp => vbak-vbeln = vbrp-< ? >
it_lips => vbrp-vgbel = lips-vbeln.
thanks in advance for your co operation
regards,
Anil kumar pu can reach vbrp vbeln from vbrk vbeln
and to get vbrk vbeln from vbak vbeln
goto table VBFA
1.
GIVE VBFA-VBELV = VBAK-VBELN
and
VBFA-VBTYP_N = 'M'. "INVOICE IN CAPS
AND F8
THIS WILL GIVE U VBRK-VBELN .
NOW U CAN USE VBRK-VBELN TO FETCH VBRP
SIMILARLY
2.
IF U WANT TO PICK DELIVERY NUMBER FROM LIKP USING VBAK-VBELN.
SAME PPROCEDURE
PUT VBFA -VBELV = VBAK-VBELN
VBFA-VBTYP_N = ' J'. "IN CAPS
WILL FETCH U LIKP-VBELN "DELIVERY
USE THIS TO GET LIPS ENTRIES
hope this helps
regards,
vijay -
Hi
How to link VBAK(sales order)and VBRK(billing document)?
what are the fields to link and how to link. because vbak-vbeln is sales order number and vbrk-vbeln is billing document number.
need help...
Thanks
smitahi,
Following tables are included in link (In chronological order):
VBAK - sales documetn header,
VBAP - Sales document item
LIPS - Sales doc. Delivery items
VBRP - billing item data
VBRK - Billing header
generally sales doc and billing docs are related by delivery docs.
u can join these tables using joins in select statement.
join structure will loolk like.:
select .....
from vbak as a
inner join vbap as b on avbeln = bvbeln
inner join lips as c on cvgbel = bvbeln and cvgpos = bposnr
inner join vbrp as d on dvgbel = cvbeln and dvgpos = cposnr
inner join VBRK as e on evbeln = dvbeln
Also, pl refer following file, very helpful, forever.
http://www.sap-img.com/sap-download/sap-tables.zip
Jogdand M B
PS: Reward if helpful... -
Reg:VBFA linking VBRK and VBAK
Hi All,
I am fetching vbrk, vbrp data. Now, i need to fetch data from vbak and vbap. i have passed the vbeln from vbrk to vbfa-vbeln and finally passed the vbelv value to vbak to get data from it. Is it the correct way?
Regards,
SwathiHi
U can find the link between VBRK and VBAK without to use VBFA table, this improves the performance of the program:
SELECT SINGLE * FROM VBRK WHERE VBELN = P_VBELN.
WRITE: 'Nr. bill:', VBRK-VBELN.
SELECT * FROM VBRP WHERE VBELN = VBRK-VBELN.
WRITE: / 'Nr. item:', VBRP-POSNR,
'Sales Order:', VBRP-AUBEL,
'Sales Order Item:', VBRP-AUPOS.
ENDSELECT.
So you can read the link in VBRP table.
If you want to read the VBFA
VBFA-VBELN = VBRK-VBELN.
VBFA-VBTYP_V = 'C'.
In this way you should select all records linked to the order, u find the number in VBFA-VBELV.
But you can also use fm RV_ORDER_FLOW_INFORMATION
Max -
Contract Sign Date from VBAK and VBAP and VEDA.
Hi ,
I need to fetch the Sales Document from VBAK and VBAP and VEDA with the contract sign date for sales document line item .
Contract sign date is in selection screen as select options.
Please let me know how to fetch the sales Document per line item from these 3 tables considering that A sales document could have many line items and each can have a different sign date.
Thanks
SachinHi,
The link between all the tables VBAK, VBAP and VEDA is VBELN i.e sales document number.
However, while fetching from VBAP and VEDA you would need to consider POSNR as well.
As your ABAPer to code the logic using 'for all entries' method.
Regards,
Amit
Edited by: Amit Iyer on Jun 23, 2011 12:28 PM -
Is there any BAPI for Goods receipt that uses LIKP and LIPS tables?
Hi experts
I want to pull info for a given delivery note(DN) by joining LIKP and LIPS tables. Is there any existing BAPI that can give my info by using the two tables?
Please help
Thanks
GopalCheck the above link and reward points if helpful
http://help.sap.com/saphelp_nw04/helpdata/en/b0/dad2b40b3611d2a55a0060087832f8/content.htm -
Combinataion between VBRK AND LIPS
hi,
I have a requirement, where i have to combine two tables , which doesnt have any field in common. but i have to combine the tables
VBRK and LIPS.
from lips
i have to select matnr and lfimg.
from vbrk, i have to take vkorg,vtweg, kunrg.
how can i take the materials from lips for the partiicular VKORG or KUNRG.?
the only possible link, i have got is linking vbuk with both the tables.since the vbuk-vbeln hold the vbeln of both these tables.
i m not willing to use join also.
I prefer for all entries.
can some one help me out with the codes.hi,
DATA:it_lips LIKE lips OCCURS 0 WITH HEADER LINE.
DATA:it_vbrp LIKE vbrp OCCURS 0 WITH HEADER LINE.
DATA:it_vbrk LIKE vbrk OCCURS 0 WITH HEADER LINE.
START-OF-SELECTION.
SELECT * FROM lips
INTO TABLE it_lips
UP TO 1000 ROWS.
*where vbeln in s_vbeln and matnr in s_matnr.
IF NOT it_lips[] IS INITIAL.
SELECT * FROM vbrp INTO TABLE it_vbrp
FOR ALL ENTRIES IN it_lips
WHERE vgbel = it_lips-vbeln
AND vgpos = it_lips-posnr
AND vgtyp = 'J'.
ENDIF.
IF NOT it_vbrp[] IS INITIAL.
SELECT * FROM vbrk INTO TABLE it_vbrk
FOR ALL ENTRIES IN it_vbrp
WHERE vbeln = it_vbrp-vbeln.
ENDIF.
LOOP AT it_vbrk.
WRITE: / it_vbrk-vbeln,it_vbrk-vkorg,it_vbrk-vtweg,it_vbrk-kunrg.
ENDLOOP.
( If you are not getting entries into it_lips means you have to use conversion exit function module for vbeln in the tbale s_vbeln )
Regds
Sivaparvathi
Please dont forget to reward points if helpful..
Edited by: Siva Parvathi on Jan 10, 2008 8:50 AM -
Hey SD experts,
I would like to link those three SAP tables :
VBAP, VBAK and KNA1 in order to create a query.
VBAP is the principal table, VBAK and KNA1 are additional ones.
What intermediate table should I use to make it possible ?
Thank you,
Bahia.I'll explain to you in details:
I'm trying to create an infoset.
I choose "direct read of table" : VBAP
Than, I add VBAK : VBAP-VBELN = VBAK-VBELN
Than, KNA1: KNA1-KUNNR = VBAK-KUNNR
When I try to generate the infoset, I get this warning message:
Access error in code for table KNA1, KNA1 has sequence number 01
Fields from VBAK are not assigned to a field group
Fields from KNA1 are not assigned to a field group
Thank you -
I am developing a desktop application in Wpf using MVVM and Entity Frameworks. I have the following tables:
1. Party (PartyId, Name)
2. Case (CaseId, CaseNo)
3. Petitioner (CaseId, PartyId) ............. Link Table
I am completely new to .Net and to begin with I download Microsoft's sample application and
following the pattern I have been successful in creating several tabs. The problem started only when I wanted to implement many-to-many relationship. The sample application has not covered the scenario where there can be a any-to-many relationship. However
with the help of MSDN forum I came to know about a link table and managed to solve entity framework issues pertaining to many-to-many relationship. Here is the screenshot of my application to show you what I have achieved so far.
And now the problem I want the forum to address is how to bind a combo box so that it retrieves Party.Name for the corresponding PartyId in the Link Table and also I want to populate it with Party.Name so that
users can choose one from the dropdown list to add or edit the petitioner.Hello Barry,
Thanks a lot for responding to my query. As I am completely new to .Net and following the pattern of Microsoft's Employee Tracker sample it seems difficult to clearly understand the concept and implement it in a scenario which is different than what is in
the sample available at the link you supplied.
To get the idea of the thing here is my code behind of a view vBoxPetitioner:
<UserControl x:Class="CCIS.View.Case.vBoxPetitioner"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:v="clr-namespace:CCIS.View.Case"
xmlns:vm="clr-namespace:CCIS.ViewModel.Case"
mc:Ignorable="d"
d:DesignWidth="300"
d:DesignHeight="200">
<UserControl.Resources>
<DataTemplate DataType="{x:Type vm:vmPetitioner}">
<v:vPetitioner Margin="0,2,0,0" />
</DataTemplate>
</UserControl.Resources>
<Grid>
<HeaderedContentControl>
<HeaderedContentControl.Header>
<StackPanel Orientation="Horizontal" HorizontalAlignment="Right">
<TextBlock Margin="2">
<Hyperlink Command="{Binding Path=AddPetitionerCommand}">Add Petitioner</Hyperlink>
| <Hyperlink Command="{Binding Path=DeletePetitionerCommand}">Delete</Hyperlink>
</TextBlock>
</StackPanel>
</HeaderedContentControl.Header>
<ListBox BorderThickness="0" SelectedItem="{Binding Path=CurrentPetitioner, Mode=TwoWay}" ItemsSource="{Binding Path=tblParties}" />
</HeaderedContentControl>
</Grid>
</UserControl>
This part is working fine as it loads another view that is vPetioner perfectly in the manner I want it to be.
Here is the code of vmPetitioner, a ViewModel:
Imports Microsoft.VisualBasic
Imports System.Collections.ObjectModel
Imports System
Imports CCIS.Model.Party
Namespace CCIS.ViewModel.Case
''' <summary>
''' ViewModel of an individual Email
''' </summary>
Public Class vmPetitioner
Inherits vmParty
''' <summary>
''' The Email object backing this ViewModel
''' </summary>
Private petitioner As tblParty
''' <summary>
''' Initializes a new instance of the EmailViewModel class.
''' </summary>
''' <param name="detail">The underlying Email this ViewModel is to be based on</param>
Public Sub New(ByVal detail As tblParty)
If detail Is Nothing Then
Throw New ArgumentNullException("detail")
End If
Me.petitioner = detail
End Sub
''' <summary>
''' Gets the underlying Email this ViewModel is based on
''' </summary>
Public Overrides ReadOnly Property Model() As tblParty
Get
Return Me.petitioner
End Get
End Property
''' <summary>
''' Gets or sets the actual email address
''' </summary>
Public Property fldPartyId() As String
Get
Return Me.petitioner.fldPartyId
End Get
Set(ByVal value As String)
Me.petitioner.fldPartyId = value
Me.OnPropertyChanged("fldPartyId")
End Set
End Property
End Class
End Namespace
And below is the ViewMode vmParty which vmPetitioner Inherits:
Imports Microsoft.VisualBasic
Imports System
Imports System.Collections.Generic
Imports CCIS.Model.Case
Imports CCIS.Model.Party
Imports CCIS.ViewModel.Helpers
Namespace CCIS.ViewModel.Case
''' <summary>
''' Common functionality for ViewModels of an individual ContactDetail
''' </summary>
Public MustInherit Class vmParty
Inherits ViewModelBase
''' <summary>
''' Gets the underlying ContactDetail this ViewModel is based on
''' </summary>
Public MustOverride ReadOnly Property Model() As tblParty
'''' <summary>
'''' Gets the underlying ContactDetail this ViewModel is based on
'''' </summary>
'Public MustOverride ReadOnly Property Model() As tblAdvocate
''' <summary>
''' Gets or sets the name of this department
''' </summary>
Public Property fldName() As String
Get
Return Me.Model.fldName
End Get
Set(ByVal value As String)
Me.Model.fldName = value
Me.OnPropertyChanged("fldName")
End Set
End Property
''' <summary>
''' Constructs a view model to represent the supplied ContactDetail
''' </summary>
''' <param name="detail">The detail to build a ViewModel for</param>
''' <returns>The constructed ViewModel, null if one can't be built</returns>
Public Shared Function BuildViewModel(ByVal detail As tblParty) As vmParty
If detail Is Nothing Then
Throw New ArgumentNullException("detail")
End If
Dim e As tblParty = TryCast(detail, tblParty)
If e IsNot Nothing Then
Return New vmPetitioner(e)
End If
Return Nothing
End Function
End Class
End Namespace
And final the code behind of the view vPetitioner:
<UserControl x:Class="CCIS.View.Case.vPetitioner"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:vm="clr-namespace:CCIS.ViewModel.Case"
mc:Ignorable="d"
Width="300">
<UserControl.Resources>
<ResourceDictionary Source=".\CompactFormStyles.xaml" />
</UserControl.Resources>
<Grid>
<Border Style="{StaticResource DetailBorder}">
<Grid>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="Auto" />
<ColumnDefinition Width="*" />
</Grid.ColumnDefinitions>
<TextBlock Grid.Column="0" Text="Petitioner:" />
<ComboBox Grid.Column="1" Width="240" SelectedValuePath="." SelectedItem="{Binding Path=tblParty}" ItemsSource="{Binding Path=PetitionerLookup}" DisplayMemberPath="fldName" />
</Grid>
</Border>
</Grid>
</UserControl>
The problem, presumably, seems to be is that the binding path "PetitionerLookup" of the ItemSource of the Combo box in the view vPetitioner exists in a different ViewModel vmCase which serves as an ObservableCollection for MainViewModel. Therefore,
what I need to Know is how to route the binding path if it exists in a different ViewModel?
Sir, I look forward to your early reply bringing a workable solution to the problem I face.
Warm Regards,
Arun -
If my phone service is disconnected, can I still use the number to iMessage? Under my setting in iMessages it only allows me to select my linked emails and the telephone number is there but grayed out and i can't seletect it ! It wont activate. I just recentely got AT&T. When I had verizon before and my phone got disconnected it allowed me to still iMessage off my number.
If your phone service is disconnected, it's not your number any more.
If you "just got AT&T", how can it be disconnected? -
OK, I need to be able to have a linked TOC, and also have destinations created in FM10 that will not be lost when I 1. Save the book as a PDF; then 2. I need the PDF to be as small as possible, but without losing my destinations. Anyone know how to do that??
I had been saving as a PDF and then reducing the size of the PDF by printing it as a PDF with a degree of image compression. I write manuals with a LOT of screen captures and line art that needs to be clear. So it is a balancing act between image clarity and PDF size. The PDFs on the web need to be smaller - sure you can undertsand.
Anyway, when I print the PDF again, I lose both my destinations and bookmarks.
Anyone know of any way to avoid that?Control the images by creating a custom PDF Job Options and then selecting it in the PDF Job Options drop-down of the PDF setup dialog box (File > Save as PDF...)
Create the custom PDF Job Options file with Distiller. If you do not have Distiller, open the Printing Preferences of the Adobe PDF printer. Start with the Smallest File Size Job Options settings and Edit. -
I'll pretty much just get a message that says something like google.com is invalid when I know it for sure it. Even if I just click on a link on like Gizmodo or something, I'll get that message. I'll close the message and then I'll click the link again and it would actually load up now.
== This happened ==
A few times a week
== A while ago. Perhaps a couple weeksClick here and request assistance.
(91679) -
Performance problems selecting form vbak and vbap
Hello,
I am try to select data from the vbak and vbap databasetables. The tables have more than a million of entries. I tried my best with two related selectstatements and the 'FOR All ENTRIES' syntax. The query takes more than 30 minutes. Is there a more efficient way than the following query, for example an inner join?. Tanks.
Regards, Lars.
FORM firstselect.
SELECT kvkorg kvtweg kspart kauart k~kunnr
kvsbed kaugru kvbeln kmandt
FROM VBAK AS k
INTO CORRESPONDING FIELDS OF TABLE t_outtab1
WHERE k~vkorg IN s_vkorg AND
k~vtweg IN s_vtweg AND
k~spart IN s_spart AND
k~auart IN s_auart AND
k~kunnr IN s_kunnr AND
k~vsbed IN s_vsbed AND
k~augru IN s_augru AND
k~vbeln IN s_vbeln.
ENDFORM.
FORM secondselect.
SELECT pposnr pvstel p~werks
pabgru pmatnr p~kwmeng
pzzurmeng pvrkme pmandt pvbeln
FROM VBAP AS p
INTO CORRESPONDING FIELDS OF TABLE t_outtab2
FOR ALL ENTRIES IN t_outtab1
WHERE
p~vstel IN s_vstel AND
p~werks IN s_werks AND
p~matnr IN s_matnr AND
p~abgru IN s_abgru AND
t_outtab1-mandt = p~mandt AND
p~vbeln = t_outtab1-vbeln.
ENDFORM.FORM firstselect.
SELECT vkorg
vtweg
spart
auart
kunnr
vsbed
augru
vbeln
mandt
FROM VBAK
INTO TABLE t_outtab1
WHERE vkorg IN s_vkorg AND
vtweg IN s_vtweg AND
spart IN s_spart AND
auart IN s_auart AND
kunnr IN s_kunnr AND
vsbed IN s_vsbed AND
augru IN s_augru AND
vbeln IN s_vbeln.
ENDFORM.
FORM secondselect.
SELECT posnr
vstel
werks
abgru
matnr
kwmeng
zzurmeng
vrkme
mandt
vbeln
FROM VBAP TABLE t_outtab2
FOR ALL ENTRIES IN t_outtab1
WHERE vbeln = t_outtab1-vbeln
AND vstel IN s_vstel AND
werks IN s_werks AND
matnr IN s_matnr AND
abgru IN s_abgru .
ENDFORM.
Hope this helps u.
I will get u back with more answers.
One more important thing see that the order which u r using in the select query is the same as that in the table this will affect the performs a lot.
<i><b>The first field should be the vbeln and then see the order and change that first and the same order should be in the internal table taht u r defining also.
If u do these things surely u can improve performance.</b></i>
Message was edited by: Judith Jessie Selvi -
How can i re-link .mpkg and .pkg files to hidden Installer?
I am near the end of the process of setting up my new Mac Pro (early 2009) eight core. Quite the wonderful difference from my "Mirror Drive Door" dual 1.25 GHz machine!
The Mac Pro came with Mac OS X 10.6.2 installed. I updated this to 10.6.6 via Software Update along with a slew of other updates presented there. I downloaded and installed a bunch of software. Finally, I was ready to install iLife 11 from the "CPU Drop-in" DVD that was on top of the box when the computer was originally unpacked.
Unfortunately, it wouldn't even begin the install. The "iLife.mpkg" file, when double-clicked, returned the error message "no application associated with this document". Hours of investigation reveals that NO .mpkg or .pkg file will open; doing a "get info" on the files reveals that those files have lost their link to the Installer app.
AND since the only installer I can find is hidden in /usr/sbin, there is no way I can re-link .mpkg and .pkg files to it via "get info".
I downloaded Pacifist and used it to open the "Mac OS X 10.6.6 Combo" package and re-installed the Combo updater. Much to my surprise, that didn't fix the linking issue.
I've logged in as root, but still can't re-link the package files to the Installer as /usr/ is still hidden. Is there a way I can temporarily "un-hide" the /usr directory so that "get info; open with" can see it?
I've started from the Mac OS X installer DVD and repaired permissions on the hard disk and "repaired" the hard disk. No luck there either.
I did a clean install of Mac OS X 10.6.2 to a different hard drive and applied the combo updater and the packages worked as expected there. So some software I installed or by running a slew of updaters via Software Update broke the link between packages and the Installer.
I'm sure that re-linking to packages to the hidden installer app can be done via Terminal and possible other ways, but I don't know how to do it.
Short of doing a complete Mac OS X 10.6 re-installation and update and having to re-do several days of other software installations and data transfers, I'm hoping someone will offer some solutions or tips on how to solve my problem.
How do I re-link .mpkg and .pkg files to the Installer?Thanks for the reply. I know I had previously checked for the missing installer in /System/Library/CoreServices/ and I rechecked and it's still not there. But your tip spurred me to check the test 10.6.6 installation on the other hard disk and yes! It's there!
A quick copy from the second hard disk to my current hard disk and doing the "get info" trick and everything now works wonderfully. Only one day lost to trying to figure this out. Now that the problem is fixed, quite the relief. -
Topics missing from link view and topic references
I am using RoboHelp X5 and have come across situations where
I have a URL, and all of the topics that link to it do not display
in link view, in the Show Topics References option, or in the
External Topics report. I want to know if there is an easy way to
correct this so I can see every topic that links to a particular
URL.
For example, I have a link to www.adobe.com that is
referenced in the TOC and 5 different RoboHelp topics. After I
initially set up all the links, all 5 topics show in link view from
www.adobe.com. In topic references, the TOC also appears. Then a
few days or weeks later, I try to view the links again, and some or
all of them no longer appear. If I display the link in link view or
right click and select Topic References, it may only show me the
reference to the TOC. If I remove it from the TOC, it no longer
appears as a URL at all. But it is still actually used in 5 topics.
Also, if I know it is linked from topic A, I could go in and edit
topic A and save. Then www.adobe.com will show up as a link in the
URL list again, and topic A will appear again in link
view/references. But I don't necessary know all of the topics that
link to it, and if I am trying to remove it from the entire
project, or change the URL, that becomes a problem.
I hope this makes sense and if anyone can help, I would
appreciate it!
ChrisRepair the broken links, create a zipped backup of the project, then delete the CPD file before reopening.
See www.grainge.org for RoboHelp and Authoring tips
@petergrainge
Maybe you are looking for
-
Some of the forms are giving my end-users a strange error, saying "Creation of this signature could not be completed, Unknown Error, Support Information: CSigDict - 1938". An HFT message then follows, saying the file is already open or in use by anot
-
Lost all my ipod song when i plug in my new laptop
i lost all my payed itune song when i plug in my new laptop is there anyway to get them back and how thank you
-
Lost music files? where to retrieve them!
Hello all, I have a slight problem. I was trying to delete duplicate music files and instead of deleting the files in my music folder while in Itunes one by one, I chose to do it by deleting all of the music and reimporting them by going to File>>Add
-
Installtion of Sun DSEE7.0 on Solaris 10 x86 error
When attempting to install, either by native package or by zip package, the dsadm create /dsInst command always returns the error: Invalid argument. The return code is 126. Both the native package install and the zip package install without any error
-
Can't download movies on iPad 2: error "not enough storage"
I'm trying to download/rent a movie on my iPad 2 and I'm getting a error stating that I don't have enough storage. I then go to my iCloud storage and it't telling me I have 5GB total storage wiht 4.8GB available.... please help as I'm obviously miss