Skip to Content
author's profile photo Former Member
Former Member

set/get data for background abap program


Hi expert,

I write following code into a program: whick run background:

SET PARAMETER ID 'Z_PA_EAR' FIELD TBTCM-JOBCOUNT.

GET PARAMETER ID 'Z_PA_EAR' FIELD ZJOBCOUNT.

SET PARAMETER ID 'Z_PA_EAR1' FIELD TBTCM-JOBNAME.

GET PARAMETER ID 'Z_PA_EAR1' FIELD ZJOBNAME..

MESSAGE I001(00) WITH 'this is your information set: jobname ' TBTCM-JOBNAME ' job count: ' TBTCM-STEPCOUNT.

MESSAGE I001(00) WITH 'this is your informationset retrieved:jobname ' ZJOBNAME ' job count: ' ZJOBCOUNT.

but I get following result, why they are different for jobcount?

this is your information set: jobnameBI_PROCESS_ABAP job count:1

this is your informationset retrieved:jobnameBI_PROCESS_ABAP job count:15422800

Many Thanks,

Bo

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Best Answer
    Posted on Feb 11, 2014 at 02:21 AM

    Hi,

    Pls check: You are setting the value for TBTCM-JOBCOUNT, but instead printing TBTCM-STEPCOUNT.

    Regards,

    Munesh.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.