on 10-20-2009 6:26 AM
Hi Abapers,
I copied the standard PO /SMB40/MMPO_A to ZForm, and customized like changing logos,address,footer etc.., after activating the form and while print previewing the standard purchase order all details displaying including header,item,terms of payment,delivery schedule.
But for Import and Capital PO, the header,item,terms of payment,delivery schedule,etc.., details not displaying nor printing in the form.I didnt changed or customized the above windows in the form, but the above details want to display in the form for Capital and Import PO.
I am getting all the details for Standard PO, but not for Capital and Import PO.
Let me give some suggestions for the above issue.
Thanks & Regards,
Dilip.B
hi
Check in the program whether u r calling a different form for Capital PO or not
Check when the item details are printed is their any condition which avoids Capital po line items for not printing , similar to header.
Check both the driver program and the Script during debugging the script ok ..
surya
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Surya,
Thanks for your reply.
I am using only one form for all the PO document types, and there is no codes with conditons blocking for Capital and Import PO's.
I am using the standard Purchase Order for this.
I checked the standard smartform, and their is no condition for blocking import and capital PO texts. The below is the code written for retrieving header text in smartform header window..,
* read IMG setting -- table T166K
* append texts allowed to GT_HD_TEXTS
* Head Text Part
CLEAR LS_TEXT.
LOOP AT LT_TEXTS INTO LS_TEXT.
SELECT SINGLE * FROM T166K INTO LS_T166K
WHERE DRUVO = IV_DRUVO AND
BSTYP = IS_EKKO-BSTYP AND
BSART = IS_EKKO-BSART AND
TDOBJECT = LS_TEXT-TDOBJECT AND
TDID = LS_TEXT-TDID.
IF SY-SUBRC = 0.
APPEND LS_TEXT TO GT_HD_TEXTS.
ENDIF.
CLEAR LS_TEXT.
ENDLOOP.
Thanks & Regards,
Dilip.B
Edited by: Dilipkumar B on Oct 22, 2009 7:58 AM
User | Count |
---|---|
84 | |
10 | |
9 | |
8 | |
6 | |
6 | |
6 | |
5 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.