Ansicht
Dokumentation

OIJC_GET_BATCH_ORIGIN - OIL-TSW : The Possible Values for Batch at Origin

OIJC_GET_BATCH_ORIGIN - OIL-TSW : The Possible Values for Batch at Origin

RFUMSV00 - Advance Return for Tax on Sales/Purchases   Vendor Master (General Section)  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

This function is used to populate all the possible values of a batch at an origin for a given material number and a movement scenario.The intransit plant, intransit storage location, the plant, and the storage location for the nomination lime item, if available, are passed to the function.The possible values of a batch are filled in the batch list internal table by taking the relevant plant and storage location from per the movement scenario.

Parameters:

Import:

Material Number

Location Plant: Plant of the location as mentioned in the line item.

Location Storage Loc: Storage location of the plant which is mentioned in the line item.

Intransit Plant

Intransit Storage Loc

Movement Scenario: Movement scenario of the line item.

Export :

ReturnCode:

0 : Valid Batches found.

1 : No Valid Batches found.

2 : Unknown Error occurred.

Table:

I_BATCH_LIST_TAB : This is the internal table which contains the list of the valid batches for the given movement scenario.

Further information

oijc_get_batch_dest





Parameters

E_RETURNCODE
I_BATCH_LIST_TAB
I_DOCITM
I_DOCNR
I_INTRANSIT_PLANT
I_INTRANSIT_STLOC
I_LOCPT
I_LOCSL
I_MATNR
I_MVSCENARIO
I_PLANT_BATCHES
I_TOIJ_EL_MVSCEN

Exceptions

Function Group

OIJC

BAL Application Log Documentation   Fill RESBD Structure from EBP Component Structure  
This documentation is copyright by SAP AG.

Length: 1689 Date: 20240523 Time: 133901     sap01-206 ( 35 ms )