Ansicht
Dokumentation

EXIT_SAPLV50E_001 -

EXIT_SAPLV50E_001 -

ABAP Short Reference   RFUMSV00 - Advance Return for Tax on Sales/Purchases  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

Using this function module, you can determine individual export header data that is to be assigned to a sales and distribution document (delivery or billing document), if the routines proposed by the system are not sufficient or if you want to overwrite the data determined by the system.

For this reason, you can use the following IMPORT parameters:

  • Indicator that shows whether the system calls from the delivery (I_DOCUMENT = '2') or the billing document (I_DOCUMENT = '3')
  • Route (I_ROUTE)
  • Shipping point (I_SHP_POINT)
  • Home country of the shipping point (I_COUNTRY)
  • "Ship-to party" partner (I_SHIP_TO)
  • Destination country for export (I_DEST_COUNTRY)
  • All data in the underlying delivery header (I_DELIVERY_HEADER), only when the system calls from the delivery
  • All data in the underlying billing header (I_INVOICE_HEADER), only when the system calls from the billing document

You can use export header data determined until now by the system as CHANGING parameters, such as:

  • Mode of transport (C_EXPVZ)
  • Office of exit (C_ZOLLA)
  • Office of destination (C_ZOLLB)
  • Indicator of means of transport crossing the border (C_KZGBE)
  • Indicator of means of transport during goods departure (C_KZABE)
  • Nationality of means of transport when the border is crossed (C_STGBE)
  • Nationality of means of transport during goods departure (C_STABE)
  • Indicator: Goods are transported in containers when they cross the border (C_CONTA)
  • Inland mode of transport (C_IEVER)
  • Field string of ALL export header data (C_EXPORT_HEADER_DATA)

The export header data determined in this function module - all C_* fields and C_* field strings - are copied in the calling program.

Example

If you want road transport (value: '3') always to be assigned to the inland mode of transport (field C_IEVER), you must add the following statement in the user exit:

...
C_IEVER = '3'.
...

If you want customs office Lübeck-Travemünde (value: '0203') always to be assigned to the office of exit (field C_EXPORT_HEADER_DATA-AZOLL) for exports from departure country Germany, you must add the following statement to the user exit:

...
IF I_COUNTRY EQ 'DE'.
C_EXPORT_HEADER_DATA-AZOLL = '0203'.
ENDIF.
...

Note

The system does NOT call up this function module UNTIL the standard proposal routines for export header data have been processed. This means that any data changes in the user exit will not overwritten by the system.

Note

The field string that has been copied (C_EXPORT_HEADER_DATA) contains all foreign trade header data. This may even include data that is only relevant for import processing in Materials Management.
These fields can be filled in the user exit. However, they can neither be displayed nor used otherwise in sales and distribution documents.
Make sure that you fill only those fields in the user exit that are relevant for export processing.

Note

The following fields CANNOT be overwritten in the user exit or are reset to their original values after the system has called up the user exit.

  • Client (C_EXPORT_HEADER_DATA-MANDT)
  • Number of foreign trade data (C_EXPORT_HEADER_DATA-EXNUM)
  • Currency of statistical value (C_EXPORT_HEADER_DATA-GRWCU)
  • Currency of customs value (C_EXPORT_HEADER_DATA-WZOCU)
  • Status: Document data complete (system) (C_EXPORT_HEADER_DATA-AUSOK)





Fill RESBD Structure from EBP Component Structure   rdisp/max_wprun_time - Maximum work process run time  
This documentation is copyright by SAP AG.

Length: 4386 Date: 20240329 Time: 014433     sap01-206 ( 51 ms )