on 07-12-2010 1:52 PM
Hi,
I don't know if this is the crrect thread, but I think so.
My problem is that I want to check how it is assigned a form to a delivery (depending on the type of the delivery it is assigned one form or another) so I'm trying to know where it happends and how it happens, not in configuration but in internal code.
I'm expecting to find abap code, ifs, and so on.
Can anybody guide me, please?
Thanks in advance
check in tx. NACE, Application V2 -> this is where you maintain different output types for 'deliveries'.
you find there the procedures which then are attached to delivery types in V_TVLK (Customising).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
But what I mean is that somewhere there has to be something like:
if document is inbound
then form = X
if doument is an outbound
then form = Y
or
if document is an inbound
then form =X but change the middle part so it is specific
if document is an outbound
then form =X but change the middle part so it is specific
Or maybe it doesn't work this way...
>
> But what I mean is that somewhere there has to be something like:
>
> if document is inbound
> then form = X
> if doument is an outbound
> then form = Y
>
> or
>
> if document is an inbound
> then form =X but change the middle part so it is specific
> if document is an outbound
> then form =X but change the middle part so it is specific
>
> Or maybe it doesn't work this way...
Correct. It doesn't work this way. I am not a developer so I might be phrasing this wrong ... but it works more like this:
<ul style="list-style:circle!important;">
<li>read view V_TVLK with key delivery type XXXX.
<li>look up field OutputDet.Proc and Output Type
<li>take whatever you find there to read V_T682Z to make sure you got a delivery (condition LFART)
<li>V_T683S_XX (tx. NACZ) and check for the sequence of condition types + possible requirements
<li>check in VN_T685B which form to use, which subroutine to run and a couple of other things
<li>look up the condition itself to find out which printer, how many copies and such
</ul>
Repeat: I am not a developper, so it might be that the sequence is different from what I have been writing ... but whatever - after having read all that you have enough information to know exactly whether it is an inbound or outbound delivery, which subroutine to use, which form to find, which printer to transfer the thingy to ...
well, what Myelene told yah is the very truth. go for it.
if you happen to switch form assigned to output type manually in your z-driver program, i can tell you that this is not a good programming style but still, you probably can find it searching your code for TNAPR.
cheers
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
94 | |
11 | |
11 | |
10 | |
9 | |
8 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.