How to use smart form for production orders
Hello Experts,
I have a couple of questions about printing out production orders from SAP, from OPK8.
My ABAPer has developed a smart form and I am trying to use the same for the list LG01, i.e. the object list.
Since, there was no place to assign a smart form directly, so the ABAPer has copied the existing print program , defined for my ref. order type and LG01 and assigned the new smart form inside the program. This new program has now been assigned against my ref. ord type, LG01 and all the plants, as seen in screenshot below.
Now, what is happening is that when I give print for my order, a pop-up screen asks for the printer. I give LOCL , check 'print now' and then click on the print preview.
I can see the new form that has been developed and it is alright.
Then, when I click on the back arrow, once again the print pop-up screen appears. Now, when I enter LOCL, print now and click the print preview, then I see another form open up before me. I am assuming that this is some form which was pre-configured in the system, under the section 'Forms', for the same object list LG01.
Do I have to assign the new smart form under the section "Forms' also, for the ref order type and LG01? or the change in the section 'print programs' is enough for the new form to kick in? Please guide me. I tried to but it gave the error that the form is not created in English. Also , my form is a smart form, not a SAPScript or PDF form, so I wonder if that will help at all.
Requirement :- I need to suppress this second form somehow but do not know how to do it. I want that only one form, i.e. my smart form should be printed out when someone gives print from the order.
Let me know if something is not clear.
Regards
P.R
Hi P,
Go a few steps down and remove flags on the documents you don't want to print:
this are just suggestions, they can be changed in your production order, in CO02, menu Order->Settings->List Control.
regards,
Edgar
Similar Messages
-
How to restrict the GR for Production Order when Goods Issue is not done
Hi Gurus
How to restrict the GR for Production Order when all the required components for production order are not issued with all required quantity. Even for partial issue system should not allow GR with 101. The user status with RMWA, RMWF & CGFB is not working.
Pls suggest best solution.
Abhijit.Hi,
You can club together the GI nad GR at the time of confirmation..
I.e Backflush for the components and auto GR for the Product.
So that you can stream line the Process.
The best Option would be to use the User Exit:
Enhancement - MBCF0002
Functional Module - EXIT_SAPMM07M_001
Include - ZXMBCU02
Refer below link for further details..
How to stop the goods receipt before issueing the goods for production orde
Regards,
Siva -
Standard print program & smart form for SALES ORDER
Hi,
I need
1. Print program &
2. SMART FORM
for "Sales Order".
and also please let me know how to migrate and do the required changes in smartform & print program.Hi Sameer,
Goto NACE tcode-> choose the application u want( like billing for invoice, PO)->output type->output type->processing routineon left side
Here u will find the standard program name and smartform .
Thanks,
Reward If Helpful. -
Smart form for maint . order
hi
i have to make a smart form for maintenance order.
i would be required for following fields-
mant. order no, equipment no, maint date, task performed, purchase prder no, vendor no, spare to be used, reservation no.
kindly give the process for the same.
regards,
santoshHi Santosh
Pls see [here |http://www.sap-img.com/smartforms/sap-smart-forms.htm]
May be this will give u some inputs
Regards
Jignesh -
Hii Experts,
I am developing a smart form for purchase order. I am customizing the existing PO smart form according to the clients requirements. The customer needs fields Discount percentage, Excise duty and VAT/CST%... all these fields when i explored in transaction me23n come from a structure so the values come only at run time.. can anyone tell me the exact table and fields from where these comes so that i can retrieve it from there and display it in my smart form. The fields i need are discount percentage, excise duty and VAT/CST%. its urgent.REPORT ZMR_PURCHASE_ORDER.
types: BEGIN OF ty_lfa1,
LIFNR TYPE lfa1-LIFNR,
MCOD1 TYPE lfa1-MCOD1,
STRAS TYPE lfa1-STRAS,
MCOD3 TYPE lfa1-mcod3,
END OF ty_lfa1.
TYPES: BEGIN OF ty_ekpo,
ebeln TYPE ekpo-ebeln,
ebelp TYPE ekpo-ebelp,
txz01 TYPE ekpo-txz01,
menge TYPE ekpo-menge,
peinh TYPE ekpo-peinh,
brtwr TYPE ekpo-brtwr,
END OF ty_ekpo.
TYPES: BEGIN OF ty_ekko,
ebeln TYPE ekko-ebeln, "purchase doc
LIFNR TYPE ekko-LIFNR, "vendor
MCOD1 TYPE lfa1-MCOD1, "vendor name
STRAS TYPE lfa1-STRAS, "vendor add
MCOD3 TYPE lfa1-MCOD3, "vendor city
bedat TYPE ekko-bedat, "doc date
unsez TYPE ekko-unsez, "contact person
verkf TYPE ekko-verkf, "attn
telf1 TYPE ekko-telf1, "tele
ihrez TYPE ekko-ihrez, "ref
KNUMV TYPE ekko-KNUMV, "doc condition
ebelp TYPE ekpo-ebelp, "item
txz01 TYPE ekpo-txz01, "message desc
menge TYPE ekpo-menge, "qty
peinh TYPE ekpo-peinh, "rate
brtwr TYPE ekpo-brtwr, "gross
END OF ty_ekko.
TYPES: BEGIN OF ty_t685t,
kschl TYPE t685t-KSCHL,
vtext TYPE t685t-vtext,
END OF ty_t685t.
TYPES: BEGIN OF ty_line_item,
KNUMV TYPE konv-KNUMV, "condition number
STUNR TYPE konv-STUNR, "step
kposn TYPE konv-kposn, "item
KSCHL TYPE konv-KSCHL, "condition type
vtext TYPE t685t-vtext, "condition name
KAWRT TYPE konv-KAWRT, "base amt
KRECH TYPE konv-KSCHL, "calculation type
qty(13) TYPE n, "qty
kbetr TYPE konv-kbetr, "condition rate
kwert TYPE konv-kwert, "condition value
END OF ty_line_item.
data: wa_ekko TYPE zms_ekko,
wa_item TYPE zms_konv,
wa_lfa1 TYPE ty_lfa1,
wa_t685t TYPE ty_t685t,
wa_ekpo TYPE ty_ekpo.
data: it_ekko TYPE TABLE OF zms_ekko,
it_item TYPE TABLE OF zms_konv,
it_lfa1 type TABLE OF ty_lfa1,
it_t685t TYPE TABLE OF ty_t685t,
it_ekpo TYPE TABLE OF ty_ekpo.
SELECTION-SCREEN : BEGIN OF BLOCK ss_block WITH FRAME TITLE text-001.
PARAMETERS: pa_ver(2) TYPE c DEFAULT '0'.
SELECT-OPTIONS: pa_pord FOR wa_ekko-ebeln,
pa_date for wa_ekko-bedat.
SELECTION-SCREEN : END OF BLOCK ss_block.
SELECT EBELN LIFNR bedat unsez verkf telf1 ihrez knumv from ekko
into CORRESPONDING FIELDS OF TABLE it_ekko.
if pa_pord is not INITIAL.
DELETE it_ekko WHERE ebeln not in pa_pord.
endif.
if pa_date is not INITIAL.
DELETE it_ekko WHERE bedat not IN pa_date.
endif.
if it_ekko is not INITIAL.
SELECT lifnr MCOD1 STRAS MCOD3 from lfa1
INTO CORRESPONDING FIELDS OF TABLE it_lfa1
FOR ALL ENTRIES IN it_ekko
WHERE LIFNR = it_ekko-LIFNR.
SELECT ebeln ebelp txz01 menge peinh brtwr from ekpo
INTO CORRESPONDING FIELDS OF TABLE it_ekpo
FOR ALL ENTRIES IN it_ekko
WHERE EBELN = it_ekko-ebeln.
loop at it_ekko into wa_ekko.
READ TABLE it_lfa1 into wa_lfa1 WITH KEY lifnr = wa_ekko-LIFNR.
wa_ekko-MCOD1 = wa_lfa1-MCOD1.
wa_ekko-stras = wa_lfa1-stras.
wa_ekko-MCOD3 = wa_lfa1-MCOD3.
MODIFY it_ekko FROM wa_ekko TRANSPORTING MCOD1 STRAS MCOD3 WHERE ebeln = wa_ekko-ebeln.
ENDLOOP.
SELECT KNUMV STUNR KPOSN KSCHL KRECH kbetr kwert KAWRT from konv
into CORRESPONDING FIELDS OF TABLE it_item
FOR ALL ENTRIES IN it_ekko
WHERE KNUMV = it_ekko-KNUMV.
SELECT kschl vtext from t685t
INTO CORRESPONDING FIELDS OF TABLE it_t685t
FOR ALL ENTRIES IN it_item
WHERE spras = 'EN' and KSCHL = it_item-KSCHL.
LOOP AT it_item into wa_item.
READ TABLE it_t685t into wa_t685t with key KSCHL = wa_item-KSCHL.
wa_item-vtext = wa_t685t-vtext.
if wa_item-kschl = 'ZBP1'.
wa_item-qty = wa_item-KAWRT / wa_item-kbetr.
endif.
if wa_item-KRECH = 'A'.
wa_item-kbetr = wa_item-kbetr / 10.
endif.
if wa_item-kschl = 'NAVS'.
wa_item-vtext = 'Sales Tax'.
endif.
MODIFY it_item from wa_item TRANSPORTING vtext kbetr kschl qty
WHERE stunr = wa_item-STUNR and
kposn = wa_item-kposn.
ENDLOOP.
DELETE it_item WHERE kposn = '000000'.
DELETE it_item WHERE kschl <> 'ZBP1' and kschl <> 'ZD01' and kschl <> 'ZE01'
and kschl <> 'NAVS' and kschl <> 'ZSRV'.
sort it_item by kposn STUNR.
CALL FUNCTION '/1BCDWB/SF00000025'
EXPORTING
ARCHIVE_INDEX =
ARCHIVE_INDEX_TAB =
ARCHIVE_PARAMETERS =
CONTROL_PARAMETERS =
MAIL_APPL_OBJ =
MAIL_RECIPIENT =
MAIL_SENDER =
OUTPUT_OPTIONS =
USER_SETTINGS = 'X'
IMPORTING
DOCUMENT_OUTPUT_INFO =
JOB_OUTPUT_INFO =
JOB_OUTPUT_OPTIONS =
TABLES
it_ekko = it_ekko
it_item = it_item
EXCEPTIONS
FORMATTING_ERROR = 1
INTERNAL_ERROR = 2
SEND_ERROR = 3
USER_CANCELED = 4
OTHERS = 5
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
endif. -
How to find system status for production orders?
How to find system status for production orders?
looked into table AUFK, AFKO and AFVC but none of these tables, carry
system status as part of the fields(STTXT)
I tried to filter in COOIS, but not much help
Able to find system status information in COHV,Is there any other way where
I can find system status information for production orders
Kindly guideHi,
Look into table, JEST, JSTO, AFPO & AFKO. CAUFV filed OBJNR, TJ02T filed ISTAT.
But, it is very difficult to combine the details like Order and System status.
Take the help of your ABAPer to generate Report for you.
Regards,
Siva -
How to user Smart form for the BID in SRM 4.0
Hello,
We have SRM 4.0 and we need to send the BID information to the vendor. This is because we have vendors that are not able to get in to our system and we have to send them a print out of the bid information so that they give us back the information. Then our users will insert it in the system.
It could be as an attach to the email or it could be printable in the program SPPS - Selecting and Processing Outputs.
SAP says that there is a smart form BBP_BIDINV_BID and BBP_BID_NOTIFICATION but I am not managing to make them work.
I found some messages to help solving specific problems so I assume it is possible to do this...
Is there someone that can help me?
Thanks very much.
My best regards,
Catarina CamposHi
<u><b>Here is the standard solution to use your own forms:-></b></u>
<u>- copy the smartform BBP_BIDINV_BID to ZBBP_BIDINV_BID (transaction SMARTFORMS) and apply your changes
- use BADI to call your custom form ZBBP_BIDINV_BID</u>
<b>For PDF output form change use BADI BBP_OUTPUT_CHANGE_SF.</b>
<b>For email notification change use BADI BBP_CHANGE_SF_BID instead.</b>
<u>You will find all relevant documentation in SPRO --> Supplier Relationship Management --></u>
SRM Server --> Business Add-Ins (BAdIs) --> Document Output -->
- Change Forms for Document Output
- Change Smart Form for E-Mails Relating to Bids
<u><b>Please go through the links below for more details -></b></u>
Re: how to use cutom smartform instead standard?
Re: Email message customization ?
Re: Bid Invitation Email Subject
Re: Email notification to bidder should reflect start/end date and time
Re: RFQ Smartform in SRM
Re: Standard Text
Do let me know.
Regards
- Atul -
How to calculate missing parts for production orders?
Dear All,
I have this scenario i'm using collective orders\direct production method in my industry which means that sub assemblies don't enter any warehouses but transferdd directly to its superior order as a component , my problem is i want to know the missing raw material for the finished product , knowing that the FP has a 6 level BOM i want during ATP for production order the sustem checks only for the lowest level of material and takes only the CURRENT STOCK IN WAREHOUSES , what checking group should be used for the FP, Subassemblies and raw materials.
plz help
Ahmed SobhiHI,
If no Av. Check is to be done at all, then specify checking group as KP. But be informed, this will be impactive across all business processes meaning if you plan to sell the SFG & you place a SO for that item, an Av. Check will confirm it immediately as it has av. checking group as KP.
Now for the checking group maintained for raw mtl, go to OPJJ & check the details of the checking rule to know which receipts/ issues are considered & you may modify the same as per your need.
I would suggest do a test in your sandbox & if it meets your need, then adopt the same.
Regards,
Vivek -
How to use BAPI_GOODSMVT_CREATE against the Production Order
Hi Friends,
I need ur help very urgently,
I am using the BAPI_GOODSMVT_CREATE (movement code '03') for goods return against the production order (movement type '262').
everything working fine, ie it gets updated in IM/WM.
but when we check in the CO03 transaction for the production order, the qty withdrwan not gets updated in the component overview. still showing the old value. But when we used regular SAP transaction MB1A, it gets updated in CO03 (qty withdrwan in the component overview).
How to solve this issue using this BAPI.
I have attached the code, plese help me is there any other parameter to set for this BAPI.
Thanks in advance.
Shankar
Code:
*Header Structure
st_gm_code-gm_code = '03'. "
st_gm_header-pstng_date = st_gm_header-doc_date = sy-datum.
SORT itab BY aufnr matnr j_3asized.
LOOP AT itab.
itab_afs_gm_itemx-material = itab-matnr.
itab_afs_gm_itemx-plant = itab-werks.
itab_afs_gm_itemx-stge_loc = itab-lgort.
itab_afs_gm_itemx-batch = itab-new_charg .
itab_afs_gm_itemx-stock_cat = itab-j_4kscat.
itab_afs_gm_itemx-stck_type = 'F'.
itab_afs_gm_itemx-move_type = '262'.
itab_afs_gm_itemx-entry_qnt = itab-j_3aerfmg .
itab_afs_gm_itemx-grid_value = itab-j_3asized.
itab_afs_gm_itemx-orderid = itab-aufnr.
itab_afs_gm_itemx-move_reas = itab-move_reas.
APPEND itab_afs_gm_itemx .
SELECT SINGLE etenr
INTO etenr
FROM j_3abdsi WHERE aufnr = itab-aufnr
AND matnr = itab-matnr.
gr_afs-matdoc_itm = '0100'.
gr_afs-sched_line_sku = etenr.
gr_afs-stock_cat = itab-j_4kscat.
gr_afs-grid_value = itab-j_3asized.
APPEND gr_afs.
ENDLOOP.
CALL FUNCTION 'BAPI_GOODSMVT_CREATE'
EXPORTING
goodsmvt_header = st_gm_header
goodsmvt_code = st_gm_code
IMPORTING
goodsmvt_headret = st_gm_headret
materialdocument = mat_doc
matdocumentyear = doc_year
TABLES
goodsmvt_item = itab_afs_gm_itemx
return = bapi_return
afs_goodsmvt_sku = gr_afs.
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'Hi Friends,
I need ur help very urgently,
I am using the BAPI_GOODSMVT_CREATE (movement code '03') for goods return against the production order (movement type '262').
everything working fine, ie it gets updated in IM/WM.
but when we check in the CO03 transaction for the production order, the qty withdrwan not gets updated in the component overview. still showing the old value. But when we used regular SAP transaction MB1A, it gets updated in CO03 (qty withdrwan in the component overview).
How to solve this issue using this BAPI.
I have attached the code, plese help me is there any other parameter to set for this BAPI.
Thanks in advance.
Shankar
Code:
*Header Structure
st_gm_code-gm_code = '03'. "
st_gm_header-pstng_date = st_gm_header-doc_date = sy-datum.
SORT itab BY aufnr matnr j_3asized.
LOOP AT itab.
itab_afs_gm_itemx-material = itab-matnr.
itab_afs_gm_itemx-plant = itab-werks.
itab_afs_gm_itemx-stge_loc = itab-lgort.
itab_afs_gm_itemx-batch = itab-new_charg .
itab_afs_gm_itemx-stock_cat = itab-j_4kscat.
itab_afs_gm_itemx-stck_type = 'F'.
itab_afs_gm_itemx-move_type = '262'.
itab_afs_gm_itemx-entry_qnt = itab-j_3aerfmg .
itab_afs_gm_itemx-grid_value = itab-j_3asized.
itab_afs_gm_itemx-orderid = itab-aufnr.
itab_afs_gm_itemx-move_reas = itab-move_reas.
APPEND itab_afs_gm_itemx .
SELECT SINGLE etenr
INTO etenr
FROM j_3abdsi WHERE aufnr = itab-aufnr
AND matnr = itab-matnr.
gr_afs-matdoc_itm = '0100'.
gr_afs-sched_line_sku = etenr.
gr_afs-stock_cat = itab-j_4kscat.
gr_afs-grid_value = itab-j_3asized.
APPEND gr_afs.
ENDLOOP.
CALL FUNCTION 'BAPI_GOODSMVT_CREATE'
EXPORTING
goodsmvt_header = st_gm_header
goodsmvt_code = st_gm_code
IMPORTING
goodsmvt_headret = st_gm_headret
materialdocument = mat_doc
matdocumentyear = doc_year
TABLES
goodsmvt_item = itab_afs_gm_itemx
return = bapi_return
afs_goodsmvt_sku = gr_afs.
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT' -
Sample smart forms for sales order details
M unable to retrieve the data from database to smart form variables.Please send me some standard smart forms names for sales order report.So dat i can c how dey r declared in standard forms.
Thanks & Regards,
santhosh Kumar.Hi santosh,
here are some of the standard smartforms-print programs
Inquiry /SMB40/RVADOR01 /SMB40/SDINQ_XX
Quotation /SMB40/RVADOR01 /SMB40/SDQUO_XX
Order Confirmation /SMB40/RVADOR01 /SMB40/SDORC_XX
Cash Sales Receipt /SMB40/RVADOR01 /SMB40/SDCSH_XX
Contract /SMB40/RVADOR01 /SMB40/SDCON_XX
Scheduling Agreement /SMB40/RVADOR01 /SMB40/SDSDA_XX
Delivery Note RLE_DELNOTE /SMB40/SDDLN_XX
Invoice RLE_INVOICE /SMB40/SDINV_XX -
How to set print form for Purchase order in SPRO txn.
Hi,
I need to find out the name of the smartform used to print purchase order.
Cheers
SenthilHI,
go to SPRO - MM - Purchasing - Messages - Output Control - Message Types - Define Message Types for Purchase Order
select the message tyoe and then click on processing routines and you will get the form name..
Thanks & Regards,
Kiran -
How to use same form for Editing info and creating info.
Hi all,
Here my aim is to select the user from list and edit the user info. There is one more option to create the new user.
Currently I am using two separate input forms one for Editing and one more creating new user.
Can anyone tel me, how to use the same form for both editing and creating.
Thanks,
Ramesh BiradarHi Ramesh,
I'll make some assumptions about how you're going about this, and then give you a possible solution:
I assume that you have a table with selection on one page. To edit an item, you wish to select it's radio button and click an edit button to take you to another page with the item filled in to edit it. To create a new item, you'd like to click a "new" button and go to the same page.
If this is correct, here's the basic steps:
1). Assuming you have both the list and edit pages already created, make sure you have a JSF navigation case defined going from the list page to the edit page. I'll call this navigation case "goToEditPage" for this discussion.
2). To make the edit button, drag a command button from the component palette and drop it on the af:TableSelectOne (the column in your table containing the radio buttons for selection).
3). Set the action property on this command button to "goToEditPage".
4). Now, to make the create button, drag a command button from the component palette somewhere on the page. I like to put mine in a panelButtonBar inside the actions facet of an af:Page component.
5). Now, for the Action property of this command button, bind it to a method in your page's backing bean. The code will look something like this:
public String performNew()
BindingContainer bindings = getBindings();
OperationBinding operationBinding = bindings.getOperationBinding("Create");
Object result = operationBinding.execute();
if (!operationBinding.getErrors().isEmpty())
return null;
return "goToEditPage";
}Hope this is helpful, Ramesh.
Regards,
John -
hi experts,
i need the standard print progarm for printing production order.Hi Vijay
the printers first need to be configured by the BASIS consutant who will assign printers to Users based on their Roles and authorizations and i think this is a Config activity and needs to be transported
also from the menu go to user profile, under own data and under defaults Tab, you need to assign the printer here and save it and first log off and then i think it should help
also check in the Control key setting in OPL8 which you have used for routings operations whether they allow printing shop floor papers and confirmations and time tickets based on your requirements
this should probably help
if useful plese reward points
regards -
SAPScript Form for Production order Pick List
Hi gurus
We need to make a small change on printout of production pick list and I can see the form name in transaction OPK8, which is the same one as printout of production order paper. But when I read the form with SE71, I cannot see section to do with "pick list". All I can see are about production order paper. I make a search with a few words currently printed on pick list however nothing can be found in that form.Can someone please help with a little input? Thanks a lot.
yuHi,
In OPK8 you can find different lists. Each list is assigned to one form and one program. Check with the program.
Regards,
V. Suresh -
Sfp adobe form for production order
I need to supress printing a field within an adobe form base upon a condition. I customized print program to allow printing production orderwhen order type is RM01 but I do not want to print the barcode field OPSDATA-RUECK. I need to know how to supress printing under certain circumstances.
How do I condition a field to prevent printing?Hi Vijay
the printers first need to be configured by the BASIS consutant who will assign printers to Users based on their Roles and authorizations and i think this is a Config activity and needs to be transported
also from the menu go to user profile, under own data and under defaults Tab, you need to assign the printer here and save it and first log off and then i think it should help
also check in the Control key setting in OPL8 which you have used for routings operations whether they allow printing shop floor papers and confirmations and time tickets based on your requirements
this should probably help
if useful plese reward points
regards
Maybe you are looking for
-
Only one computer can connect to internet at a time!
When my modem is connected, I plug one ethernet line into one computer. That computer sometime has access to the internet, but sometimes it doesn't work, and another computer is able to access the internet. Each computer uses different cables. When o
-
Borderless Printing Problems - C309g-m
I have developed a problem when trying to create borderless prints with my C309g-m All-In-One. Recently I have begun to see a margin on the right side and bottom of prints that are supposed to be borderless. When I first set up the printer, borderl
-
Intermittent full-screen iTunes problem
Hi all I've noticed that after running iTunes for a while in full screen, and opening/closing other full screen windows, switching between spaces etc, that after a while of use, it's not running in 'true' full screen. As you can see from the picture
-
Macbook and HTC Pro2 data sync
I was told that I could sync data (ie. Calander, Word Docs, Exel Files, pdfs, Contacts, Notes, etc) from an HTC Touch Pro 2 (running Windows Mobile 6) to a Macbook OSX v. 10.5.7 through Mobile Me. Is this true? And if so, give me some details...
-
How to compare two VBAI file?
How do I compare two VBAI files? I have 2 parallel version of a VBAI file. How can I compare their differences?