Application Development and Automation 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: 
Read only

OUTPUT TYPE SPECIAL FUNCTION

Former Member
0 Likes
4,428

Hi Experts,

I am using a custom program and a form call from output type with special function.

This output type is for transaction VF01. I need help in how to get the data entered from VF01 when I am on the subroutine of my custom program. Can you provide what is the available data i can use? I need to determine the sales order number but I am having a hard time getting the data when I am at the custom program called by the output type.

Thanks in advance.

7 REPLIES 7
Read only

former_member242255
Active Contributor
0 Likes
2,079

Good practice is to copy the standard program when you need some custom coding and link the output type and zprint program in the NACe transation.

please check whether the link is done in the NACE and also check whether the Form whihc you are using in mentioned the same in the output type definiton also..

Read only

0 Likes
2,079

Hi Sravan Kumar,

I wont be using any forms, the output type is special function because i only need to edit user status of the sales order connected to the billing done via VF01. What I need to determine is the sales order number but when I am at my custom program, the data available to me is limited. What I need to know is where can I get the sales order number or even the delivery number entered in VF01.

Read only

Former Member
0 Likes
2,079

Hi,

In your custom program NAST-OBJKY will have the billing document number if your output type is at the header level and a combination of billing document number and item number if your output type is at item level. Using this billing document number you can trace the required information in the document flow.

Regards,

Immanuel.

Read only

0 Likes
2,079

Hi Emmanuel,

Yes nast-objky is available but how can i trace the data? the billing document is still not available in table VBRK during runtime of the custom program.

Read only

0 Likes
2,079

Hi Jeni,

Check the subroutine GET_DATA in the program RVADIN01. I think you can use the FM RV_BILLING_REFERENCES. It will give the delivery number.

Regards,

Immanuel.

Read only

0 Likes
2,079

Hi Emmanuel,

THank you. i found a field that contains sales order document.

Read only

Former Member
0 Likes
2,079

award