Application Development 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: 

SY-BINPT??????

Former Member
0 Kudos

Hi ...

can anyone provide good material on SY-BINPT....what is the purpose of this system variable??? How to use it...I mean in what situations should we use it......also please provide me sample programs....in which the role of this field is highlighted......Thanks in advance.....!!!!

Regards

Vasu

1 ACCEPTED SOLUTION

Former Member
0 Kudos

sy-binpt is use to check programme running under batch input(BDC).

No batch input mode (that is, SY-BINPT = SPACE)

This field indicates if the transaction was called in a Batch Input session or by an online user.To test it, a batch input session must be created. From Release 3.1g the next procedure can be used.

Create a report which displays this system field

Create a Transaction code for this report

Use transaction SHDB to record a the previous transaction

Press the Overview button and choose the 'generate program' function.

Running the previously generated program it will create a Batch Input session

Now call transaction SM35 and process the created Batch Input in foreground. It should display an 'X' for system field SY-BINPT.

reward if useful

4 REPLIES 4

Former Member
0 Kudos

Hi

SY-BINPT

<b>X</b> - while a batch input session is running and when an ABAP program is called

using CALL TRANSACTION USING, otherwise space.

OPTIONS FROM in the CALL TRANSACTION USING statement can set

SY-BINPT to <b>space</b> either for the entire duration of the program, or at the

end of the BDC data.

sy-binpt is use to check programme running under batch input(BDC).

SY-BINPT is always space during a CATT procedure.

thanks

Former Member
0 Kudos

Hi,

SY-BINPT is meant for Batch Input.

Do not end transaction at COMMIT WORK NOBINPT No batch input mode (that is, SY-BINPT = SPACE) NOBIEND No batch input mode after the end of BDC data. The components DEFSIZE.

Regards,

Rama.Pammi

Former Member
0 Kudos

sy-binpt is use to check programme running under batch input(BDC).

No batch input mode (that is, SY-BINPT = SPACE)

This field indicates if the transaction was called in a Batch Input session or by an online user.To test it, a batch input session must be created. From Release 3.1g the next procedure can be used.

Create a report which displays this system field

Create a Transaction code for this report

Use transaction SHDB to record a the previous transaction

Press the Overview button and choose the 'generate program' function.

Running the previously generated program it will create a Batch Input session

Now call transaction SM35 and process the created Batch Input in foreground. It should display an 'X' for system field SY-BINPT.

reward if useful

Former Member
0 Kudos

Hi friend,

It is used to determine where there was online processing or batch processing..

Let me tell u the steps..

1) do some recording in SHDB.

2) In ur program code use the stmt... write : / sy-binpt.

3) make session.

4) execute the session.

5) Then U will understand..

<b>Don't forget to give me point.s</b>