This website is not affiliated with, sponsored by, or approved by SAP AG.

Use different Customer Statement layouts for dif Customers

Development SAPscript/ Smartforms

Moderators: Snowy, thx4allthefish, YuriT, Gothmog

Use different Customer Statement layouts for dif Customers

Postby Chris M » Wed Oct 23, 2002 4:18 pm

I can not find in IMG (I've tried Financial Accounting Global Setting - Correspondence - .... ) or in program RFKORK00 or RFKORD11 where I can control which layout set to use under certain conditions. Actually, we are using customized version ZFKORD11 and I could not find it in there.
I want to use Z140_ACC_STAT_01 for certain customers and Z140_ACC_STAT_08 for other customers.
Chris M
 

Postby Guest » Fri Oct 25, 2002 6:55 pm

u will have to code for it, use separate open forms in an if.....else....endif.
Guest
 

Use different Customer Statement layouts for dif Customers

Postby Chris M. » Mon Oct 28, 2002 10:01 am

Anonymous wrote:u will have to code for it, use separate open forms in an if.....else....endif.


WHERE ?
Chris M.
 

Postby kumar » Mon Oct 28, 2002 11:36 am

Hi Chris,

From you Post I'am assuming that you have copied program RFKORD11 to your own version ZFKORD11.

On searching the Program the FORM is passed via FM START_FORM in two places.

So you can ensure that before these FMs are called (LINE 1496 of Program RFKORD11 and LINE 1437 of Program RFKORI90)

IF CONDITON = 'A'.
SAVE_FORM = 'Z140_ACC_STAT_01 '.
FINAA-FORMC = 'Z140_ACC_STAT_01 '.
ELSE.
SAVE_FORM = 'Z140_ACC_STAT_08 '.
FINAA-FORMC = 'Z140_ACC_STAT_08 '.
ENDIF.

Try viewing Tcode OB96 to view your FORMS FOR CORRESPONDENCE.

KRK
kumar
 
Posts: 2012
Joined: Tue Oct 22, 2002 12:51 pm
Location: Basel, Switzerland

Postby Guest » Mon Oct 28, 2002 5:36 pm

THANK YOU, KUMAR !
Guest
 


Return to SAPscript/Smartforms

Who is online

Users browsing this forum: No registered users and 2 guests





loading...


This website is not affiliated with, sponsored by, or approved by SAP AG.