2007 Sep 10 8:55 AM
Hi,
in my program i am using the internal table XVBAP, and then i am calling a subroutine :
PERFORM repairitems_prepare IN PROGRAM sapfv45p TABLES da_itemkom
da_serikom
USING y_wa_output-posnr
CHANGING da_headkom.
in this subroutine in one place there is one statement:
Read table XVBAP.
There is nothing to pass in the subrouting excepte POSNR. That means the above statement will read XVBAP table by keeping them in session.
So please help me to how to keep in session or there is some other way.
Hi,
in my program i am using the internal table XVBAP, and then i am calling a subroutine :
PERFORM repairitems_prepare IN PROGRAM sapfv45p TABLES da_itemkom
da_serikom
USING y_wa_output-posnr
CHANGING da_headkom.
in this subroutine in one place there is one statement:
Read table XVBAP.
There is nothing to pass in the subrouting excepte POSNR. That means the above statement will read XVBAP table by keeping them in session.
So please help me to how to keep in session or there is some other way.
2007 Sep 10 12:51 PM
Hi ,
This FM will populate ur XVBAP structure - SD_STATUS_UPDATE_WBSTA.
But i will suggest you not to use the SAP std sub routine directly. becasue inside the sub routines it is refering to XVBAP which is populated conditionally from the previous sub routines.
Better, try using the Codes of the sub routines in ur code ( and do watever u want) , in that u ll be COPY-PASTE'ing the original code inside ur subroutine - yes it will be a little painfull but chances of getting it wrong will be ZERO.
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |