on 09-19-2007 6:26 PM
Hi;
We have created a Z program derivated from the standard SAP Invoice, so we have already runnig the bill invoice with the format that fit our needs:
1) May we have diferent invoices with diferent layout, 1 for each enterprise (our SAP manage 5 enterprises)
2) how can i get 2 copies of the Bill Invoice 1 saying "Original" the 2nd saying "COPY"
3) i've created a transparent table that i use as a data repository, how can i delete the data on it.
Thanks on advance
David Fúnez
Corp. Mandofer
Tegucigalpa, Honduras
Hi,
1) If your layout is totally different then you have to create another smartforms and then in the print program you have to control the calling of the form based on company code.
If changes are specific toonly some windows then you can put the condition for trigerring the window in samrtform and no need of developing another.
For Example: For comapny A you can triggering the WINDOW A - Based on Condition and For Compant B you can triger Window B like wise....
2) yes you can print 2 copies of the output. This is a IMG setting for the Message output type where you can specify the number fo copies and based on the Repeat indicator in the Smartform you can control the text as 'Original/Copy'.
Regards,
Shakeel
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Joe;
The Invoice is a Smartform.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
As I know smartform can also meet you 1 and 2 requirement but I have not used it before so that I can give you the suggestion, hopr others can help you in this case.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi David,
Do you mean Invoice Form(sapscript or smartform), if it is sapscript,My options:
1)Yes you can define your invoice form layout by company code,for example:
CASE bukrs.
WHEN '1001'.
CALL FUNCTION 'OPEN_FORM'
EXPORTING
form = 'ZSSP_1001'
.......
IMPORTING
........ .
WHEN '1002'.
CALL FUNCTION 'OPEN_FORM'
EXPORTING
form = 'ZSSP_1002'
.......
IMPORTING
........ .
ENDCASE.
2)Yes, you can write different header title by different text elements,please use FM WRITE_FORM and past different ELEMENT by different condiditon.
3)I will use Se14 to delete the data in my custom table in testing case, you can try it and please consider if you really want to do the deletion.
Joe
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
80 | |
9 | |
9 | |
7 | |
7 | |
6 | |
6 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.