Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Help with a query

0 Likes
1,832

Hello friends,

I'm quite new with creating queries in SAP and am having trouble with creating one. The problem that I'm experiencing is with users who split the delivery in two and create two separate transfer orders and two separate HU but after that they do not combine them manually.The query that I'm trying to create is about these split deliveries and their Handling units and trying to figure out a way to display the ones who were not combined manually.

There is a transaction that that displays this information but when the fields themselves are not fields in a table.

I've found that the transaction is made of tables LIKP,LEDSPD_FLOW and VEKP and found a way to connect LIKP and VEKP using table VEPO(by using the forum) but I'm not able to duplicate columns Traegertyp and Liefertyp.

This is the way the transaction displays the results and I'm trying to implement them in the query itself but it's quite diffucult because the last two fields are not in any table.

The fields are as follows:LIKP-ZZLVWERKS,LIKP-VSTEL,LIKP-KUNNR,LIKP-ZZLVWGRV,LEDSPD_FLOW-VBELN_NEW,LIKP-LFDAT,VEKP-NAMBE,VEKP-EXIDV,LIKP-VBELN,LIKP-ZZLVPALTYP,LIKP-LFART,VEKP-VEGR4,

VEKP-VEGR5 and the last three fields seem to not be fields from a table.

My question is if anyone knows any other table or a field in the forementioned tables that can diplay such information as the last two fields or if there is any table that can display deliveries that were split and afterwards their handling units were not combined?

Thanks in advance!

Hello friends,

I'm quite new with creating queries in SAP and am having trouble with creating one. The problem that I'm experiencing is with users who split the delivery in two and create two separate transfer orders and two separate HU but after that they do not combine them manually.The query that I'm trying to create is about these split deliveries and their Handling units and trying to figure out a way to display the ones who were not combined manually.

There is a transaction that that displays this information but when the fields themselves are not fields in a table.

I've found that the transaction is made of tables LIKP,LEDSPD_FLOW and VEKP and found a way to connect LIKP and VEKP using table VEPO(by using the forum) but I'm not able to duplicate columns Traegertyp and Liefertyp.

This is the way the transaction displays the results and I'm trying to implement them in the query itself but it's quite diffucult because the last two fields are not in any table.

The fields are as follows:LIKP-ZZLVWERKS,LIKP-VSTEL,LIKP-KUNNR,LIKP-ZZLVWGRV,LEDSPD_FLOW-VBELN_NEW,LIKP-LFDAT,VEKP-NAMBE,VEKP-EXIDV,LIKP-VBELN,LIKP-ZZLVPALTYP,LIKP-LFART,VEKP-VEGR4,

VEKP-VEGR5 and the last three fields seem to not be fields from a table.

My question is if anyone knows any other table or a field in the forementioned tables that can diplay such information as the last two fields or if there is any table that can display deliveries that were split and afterwards their handling units were not combined?

Thanks in advance!

3 REPLIES 3
Read only

sveabecker
Product and Topic Expert
Product and Topic Expert
0 Likes
1,768

Welcome and Thank you for visiting SAP Community to get answers to your questions. If you're hoping to connect with readers, please consider adding a picture to your profile. Here's how you do it: https://www.youtube.com/watch?v=F5JdUbyjfMA&list=PLpQebylHrdh5s3gwy-h6RtymfDpoz3vDS. By personalizing your profile with a photo of you, you encourage readers to respond.

I also recommend to do this tutorial https://developers.sap.com/tutorials/community-qa.html about how to ask a question in SAP Community - you can even earn a badge!

Regards, Svea

SAP Community Global Moderator


----- Stay up-to-date with SAP Community and subscribe to What's New today! -----
Read only

Sandra_Rossi
Active Contributor
1,768

VEKP-VEGR5 is a field from a table (column VEGR5 of table VEKP), why do you say it's not?

With just a screenshot which comes from nowhere, and 2 German words, few people could tell you what are these fields, so maybe you can provide more information?

Read only

RaymondGiuseppi
Active Contributor
0 Likes
1,768

Do you know what a text table is?

Ex: Delivery Type (LIKP-LFART) belongs to a domain (LFART) which has a value table (TVLK) this table is associated to a text table (TVLKT) with values for installed languages in your system.

You should perform some search in SE11, and then convert codes values to text in logon language.

hint: You could also execute an Abap (SAT) or SQL (ST05) trace executinh the standard transaction to get a list of required tables.