Displaying VBAK-KTEXT Field on INVOICE smartform

ABAP, Java, BSP, etc.
2 Beiträge • Seite 1 von 1
2 Beiträge Seite 1 von 1

Displaying VBAK-KTEXT Field on INVOICE smartform

Beitrag von Gast ( / / 0 / 3 ) »
Hi All,

The requirement is to use a standard invoice Smartform i.e,(LB_BIL_INVOICE) and customize a bit .......as a part of this I need to include a field
VBAK-KTEXT which is nothing but a Description field in trasaction VA42.

So, as u might be aware , in smartforms all the neccessary structures are defined under Golbal Setting option. But , among all those structures The above mentioned Field is not included (VBAK-KTEXT).....I want to add this field to the Global Definitions option and display it on the output invoice.some where on INFO2 window of LB_BIL_INVOICE.

It would b great if i get some help on this ....Thanks in advance.

Rgds,
Shilpa/..

gesponsert
Stellenangebote auf ABAPforum.com schalten
kostenfrei für Ausbildungsberufe und Werksstudenten


Beitrag von cosmo (Specialist / 175 / 0 / 0 ) »
In the global settings of your form, you'll have to define a data field related to vbak-ktext. Then, in section 'initialization', use this

Code: Alles auswählen.

select single ktext into <your_field_name>
       from vbak where vbeln = <the_vbeln_number>.
don't forget to put your data field into the interface of the init routine (in and out)

Seite 1 von 1

Vergleichbare Themen

5
Antw.
4562
Views
At New <field> gibt immer field trotz gelichen fields
von mnd » 27.04.2012 15:42 • Verfasst in ABAP® für Anfänger
0
Antw.
2803
Views
Verwendungskennzeichen ( VBAK-ABRVW )
von Kleenmex » 08.06.2007 08:57 • Verfasst in Sales and Distribution
3
Antw.
5266
Views
MM-Invoice RBCO-KOSTL manupullieren
von gregor84 » 09.11.2022 15:31 • Verfasst in Financials
1
Antw.
4291
Views
2
Antw.
2140
Views
Nummer des Verkaufsbelegs in Z-Feld von VBAK
von JoKo » 05.03.2019 14:46 • Verfasst in Sales and Distribution

Über diesen Beitrag


Unterstütze die Community und teile den Beitrag für mehr Leser und Austausch

Newsletter Anmeldung

Keine Beiträge verpassen! Wöchentlich versenden wir lesenwerte Beiträge aus unserer Community.
Die letzte Ausgabe findest du hier.
Details zum Versandverfahren und zu Ihren Widerrufsmöglichkeiten findest du in unserer Datenschutzerklärung.