Current fax number on RFQ print is problem, have to change it to another available number. Based on the smartforms, the number is get from plant address data. Go to SPRO > IMG > Enterprise Structure > Definition > Logistics – General > Define copy delete check plant. Define plant, choose desired plant, click envelope button, there show plant address.
![]()
![]()
![]()
Today customization I have to show buyer name on print RFQ.
Find the Purchasing group and field name at the RFQ form. Purchasing group paramater is found in EKKO-EKGRP.
Find the table and field name at Purchasing group configuration (SPRO > SAP Ref IMG > Materials Management > Purchasing > Create Purchasing group)
It shows that purchasing group at spro is using database view V_024. Go to SE11 to see which table the view use. The view is using T024 table.
At SE11 table T024, field that show buyer name is EKNAM.
Code below do the change.
SELECT SINGLE EKNAM INTO V_NAME_FIRST
FROM T024 WHERE EKGRP = if_ekko-ekgrp.
Result
Our SAP system now maintain two company. Since both using same smartforms, we have to modify it. Today I have to modify procurement manager name. When we print to Company A, it shows Mr A, when we print to Company B it will shows company B. The node shows that the element is using SAP standard text. So I just have to add new SAP standard text (tcode: SO10, as SE78 to input graphics) to Company B and add condition to the node. Not a big deal.
Test part at PTD (development environment) shows o.k. But after transport it to PTQ (quality environment), the item is just blank. Try to debug it in PTD everything is fine. But in PTQ it still blank. After minutes work around, it just a silly mistake. I forgot to create the standard text in PTQ also. Standard text (and graphics) is not automatically transported when we transport the smartforms. And ofcourse, I have to add it manually at PTP (production environment).
![]()
![]()
![]()