2008 May 28 9:08 AM
Hi,
I was assigned new output type for delivary application(V2).and assigned new program and form routine.
now i want to write the logic in new program.
my requirement is ,when we are creating the delivery document ,download this data into one flat file and send this flat file to one FTP server.
My issues are: 1.based on what criteria we down load the data?
2. In this program we use any selection screen?
Please help me.Thanks in advance.
2008 May 28 1:43 PM
Hi Friend,
In print program declare a statement:
Tables: NAST.
In NAST-OBJKY+0(10) field you will get the delivery number.
from that you can select from LIKP and LIPS.
All these code will be in a subroutine which will be called thorugh output type:
FORM ENTRY USING RETURN_CODE TYPE ANY "#EC NEEDED
P_US_SCREEN TYPE ANY. "#EC NEEDED
ENDFORM.
We do not use selection screen.
Hope it will solve your problem.
Regards
Krishnendu
2008 May 28 1:43 PM
Hi Friend,
In print program declare a statement:
Tables: NAST.
In NAST-OBJKY+0(10) field you will get the delivery number.
from that you can select from LIKP and LIPS.
All these code will be in a subroutine which will be called thorugh output type:
FORM ENTRY USING RETURN_CODE TYPE ANY "#EC NEEDED
P_US_SCREEN TYPE ANY. "#EC NEEDED
ENDFORM.
We do not use selection screen.
Hope it will solve your problem.
Regards
Krishnendu
2008 May 28 5:52 PM
Hi,
This answer is very helpful to me. Thanks a lot.
I have one more issue that is , i created delivery document for particular shiping point.
after creating this delivery document ,i checked the output from menu bar,in the displayed screen it shows
status pending.(this is because of configuration settings)
1.Now i want download only the pending documents data.
2.Why we use the VL71 t.code.