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: 

VA42: XNAST structure

Former Member
0 Kudos

Hi,

I need a way to get the NAST key created for the output issued via VA41/VA42.

Does any have an idea of how to do this?

Thanks!

Best Regards,

Vibeke

3 REPLIES 3

former_member181962
Active Contributor
0 Kudos

go to nast.

The OBJKY would be VBAK-VBELN.

Alternatively, you can go to the output processing program and keep a brteak point.

BUt the control doesn't stop when you issue the output.

In the output screen, you should set the Dispatch option as Send periodiaclly with Background Job.

Then run the program rsnast00.

The Control will now stop in the Output processing program's breakpoint.

See what is populated in nast-objky.

Or use the FM : NAST_GET_OBJECT_KEY

REgards,

Ravi

former_member188685
Active Contributor
0 Kudos

Hi,

you can get the info from

<b>NAST-OBJKY</b>

Regards

vijay

0 Kudos

Hi,

Thanks for your answers!

But OBJKY wont do it for me. The objectkey will, in my case, hold contractnumber. But there will be multible messages and I need to be able to identify the exact messsage (and therefor the exact/whole key to NAST.

Best Regards,

Vibeke