Document type assigned for other goods receipts(MB1C)is WA why?
Hi,
Document type assigned for other goods receipts(MB1C)is WA why?
Thanks
Document type for Goods Receipt is WE but I found in standard(Default) system it is assigned WA?
Can anyone help me on this?
Thanks
Similar Messages
-
BDC program for Other Goods receipts
Hi all,
I need BDC program for Other goods receipts,
I have data in excel like material, batch id, qty, actual width, length, plant etc. i want to upload this in one short based on the movement type.
Thanks in advance.
ShankarHi MP Shankar,
This is a sample BDC program .Use the format to develop your own BDC program.First record your trasnaction and use that recorded program here.Pass your filename here.
SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-001.
PARAMETERS: p_ifile TYPE dxfile-filename.
SELECTION-SCREEN END OF BLOCK b1.
SELECTION-SCREEN BEGIN OF BLOCK b3 WITH FRAME TITLE text-002.
PARAMETERS: p_sess RADIOBUTTON GROUP g3 "create session
DEFAULT 'X' USER-COMMAND bdc,
p_ctu RADIOBUTTON GROUP g3. "call transaction
SELECTION-SCREEN END OF BLOCK b3.
DATA : BEGIN OF itab OCCURS 0,
str TYPE string,
END OF itab,
l_file TYPE string,
t_bdcdata TYPE STANDARD TABLE OF bdcdata,
wa_bdcdata LIKE LINE OF t_bdcdata.
AT SELECTION SCREEN ON VALUE REQUEST
Value request for the filename.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_ifile.
PERFORM help_input_file.
START-OF-SELECTION.
CLEAR l_file.
l_file = p_ifile.
CALL FUNCTION 'GUI_UPLOAD'
EXPORTING
filename = l_file
filetype = 'ASC'
TABLES
data_tab = itab
EXCEPTIONS
file_open_error = 1
file_read_error = 2
no_batch = 3
gui_refuse_filetransfer = 4
invalid_type = 5
no_authority = 6
unknown_error = 7
bad_data_format = 8
header_not_allowed = 9
separator_not_allowed = 10
header_too_long = 11
unknown_dp_error = 12
access_denied = 13
dp_out_of_memory = 14
disk_full = 15
dp_timeout = 16
OTHERS = 17.
*Start new session
IF p_sess = 'X'.
PERFORM bdc_open.
ENDIF.
LOOP AT itab.
PERFORM creat_batch_input.
PERFORM bdc_insert.
IF p_ctu = 'X'.
CALL TRANSACTION 'SE38' USING t_bdcdata MODE 'A'.
ENDIF.
ENDLOOP.
IF p_sess = 'X'.
PERFORM bdc_close .
ENDIF.
*& Form bdc_open
text
--> p1 text
<-- p2 text
FORM bdc_open .
CALL FUNCTION 'BDC_OPEN_GROUP'
EXPORTING
client = sy-mandt
group = 'ZMUK'
user = sy-uname
EXCEPTIONS
client_invalid = 1
destination_invalid = 2
group_invalid = 3
group_is_locked = 4
holddate_invalid = 5
internal_error = 6
queue_error = 7
running = 8
system_lock_error = 9
user_invalid = 10
OTHERS = 11.
ENDFORM. " bdc_open
*& Form creat_batch_input
text
--> p1 text
<-- p2 text
FORM creat_batch_input .
use your own recorded program here.
PERFORM bdc_dynpro USING 'SAPLWBABAP' '0100'.
PERFORM bdc_field USING 'BDC_OKCODE'
'=STRT'.
PERFORM bdc_field USING 'RS38M-PROGRAMM'
itab-str.
PERFORM bdc_field USING 'RS38M-FUNC_EDIT'
'X'.
PERFORM bdc_dynpro USING 'SAPLSLVC_FULLSCREEN' '0500'.
PERFORM bdc_field USING 'BDC_OKCODE'
'=&F03'.
PERFORM bdc_dynpro USING 'SAPLWBABAP' '0100'.
PERFORM bdc_field USING 'BDC_OKCODE'
'=BACK'.
PERFORM bdc_field USING 'RS38M-PROGRAMM'
itab-str.
PERFORM bdc_field USING 'RS38M-FUNC_EDIT'
'X'.
ENDFORM. " creat_batch_input
*& Form bdc_insert
text
--> p1 text
<-- p2 text
FORM bdc_insert .
CALL FUNCTION 'BDC_INSERT'
EXPORTING
tcode = 'SE38'
TABLES
dynprotab = t_bdcdata
EXCEPTIONS
internal_error = 1
not_open = 2
queue_error = 3
tcode_invalid = 4
printing_invalid = 5
posting_invalid = 6
OTHERS = 7.
ENDFORM. " bdc_insert
*& Form bdc_dynpro
text
-->P_0168 text
-->P_0169 text
FORM bdc_dynpro USING p_program TYPE any
p_dynpro TYPE any.
CLEAR wa_bdcdata.
wa_bdcdata-program = p_program.
wa_bdcdata-dynpro = p_dynpro.
wa_bdcdata-dynbegin = 'X'.
APPEND wa_bdcdata TO t_bdcdata.
ENDFORM. " bdc_dynpro
*& Form bdc_field
text
-->P_0179 text
-->P_0180 text
FORM bdc_field USING p_fnam TYPE any
p_fval TYPE any.
CLEAR wa_bdcdata.
wa_bdcdata-fnam = p_fnam.
wa_bdcdata-fval = p_fval.
CONDENSE wa_bdcdata-fval.
APPEND wa_bdcdata TO t_bdcdata.
ENDFORM. " bdc_field
*& Form bdc_close
text
--> p1 text
<-- p2 text
FORM bdc_close .
CALL FUNCTION 'BDC_CLOSE_GROUP'
EXCEPTIONS
not_open = 1
queue_error = 2
OTHERS = 3.
ENDFORM. " bdc_close
*& Form help_input_file
text
--> p1 text
<-- p2 text
FORM help_input_file .
DATA: lt_file_table TYPE filetable,
la_file_table LIKE LINE OF lt_file_table,
l_rc TYPE i,
l_pcdsn TYPE cffile-filename.
REFRESH lt_file_table.
CLEAR la_file_table.
CALL METHOD cl_gui_frontend_services=>file_open_dialog
CHANGING
file_table = lt_file_table
rc = l_rc.
READ TABLE lt_file_table INTO la_file_table INDEX 1.
l_pcdsn = la_file_table-filename.
MOVE l_pcdsn TO p_ifile.
ENDFORM. " help_input_file -
Enter Other Goods Receipt - MB1C Error
Dear Friends:
When working on Enter Other Goods Receipt -I entered Material,Qty,UnE and pressed enter, I got the error
'Account determination for entry SANO GBB ____ ZOB 3000 not possible' and
'No stock posting possible for this material'.
How to overcome the problem? Please advise.
Regards
MSReddySridhar,
Just check in OBYC tranc. whether for tranc key <b>GBB</b>, you have maintained the combination of <b>valuation grouping code</b> you are using, <b>general modifier</b> ( <b>ZOB</b>) and <b>valuation class</b> ( <b>3000</b>) and the G/L accounts.
If not, please maintain the same.
Enjoy,
Vidyadhar. -
Defalut Document Type assignment for PR after MRP RUN
Hi,
I want to know we have 6 types of different document types , i want to know after MRP RUN i want to assign a document type how to do setting for this like for each plant i want to assign diffrent document type after MRP RUN, also if we have not made which will be the defalut doc. type after MRP RUN for PR
regards,
zafarDear Zafar,
Go to
Spro-Materials Management-Consumption-Based Planning-Planning-Procurement proposals-Define External Procurement-MRP Group-Under Doc Type SPO you can maintain your default doc types in front of your plant.
Now run MRP.
It will work.
Regards
Utsav -
Output type configuration for the Goods Receipt without the PO.
Hi,
I have a scenario whereby I want two Smartform(s) to fire from the MIGO Transaction. It is for Goods Recepit / others . Movement type '501'. Now we have created a new output type ZWE1 and configured in the system in the Transaction SPRO as follows:
Materials Management Inventory Management and Physical Inventory Output Detaremination Output types
ZWE1 is configured along with the Program and the Routine name but no Smartforms has been specified since there are two smartforms to be triggered via this Z program and via MIGO based on the material type which would be decided by the Program internally.
We have also configured the Material Output Determination and the Procedures fin the Ciondition Procedures for the Control data ME0001 mentioning this output type without the requirement code 173.
We have also configured the Output type ZWE1 with the Program name and the Routine in the link Assign Forms and Program
but somehow the Program still does not get trigerred.
Can anyone please tell me what is the reason for this and how this Prpblem should be addressed.
Any help on this front would be appreciated.
Suitable eward points would be awarded if Your solution works.
Thanks,
Regards,
Deepak.Answered.
-
Bapi for transaction 'MB1C' -'Enter other goods receipt...'
Hi,
Please suggest the BAPI for the transaction 'MB1C'.
thanksBAPI TO Upload Inventory Data
GMCODE Table T158G - 01 - MB01 - Goods Receipts for Purchase Order
02 - MB31 - Goods Receipts for Prod Order
03 - MB1A - Goods Issue
04 - MB1B - Transfer Posting
05 - MB1C - Enter Other Goods Receipt
06 - MB11
Domain: KZBEW - Movement Indicator
Goods movement w/o reference
B - Goods movement for purchase order
F - Goods movement for production order
L - Goods movement for delivery note
K - Goods movement for kanban requirement (WM - internal only)
O - Subsequent adjustment of "material-provided" consumption
W - Subsequent adjustment of proportion/product unit material
call function 'BAPI_GOODSMVT_CREATE'
exporting
goodsmvt_header =
goodsmvt_code =
* TESTRUN = ' '
IMPORTING
goodsmvt_headret =
* MATERIALDOCUMENT =
MATDOCUMENTYEAR =
tables
goodsmvt_item =
GOODSMVT_SERIALNUMBER =
return = errmsg.
clear errflag.
loop at errmsg.
if errmsg-type eq 'E'.
write:/'Error in function', errmsg-message.
errflag = 'X'.
else.
write:/ errmsg-message.
endif.
move errmsg-message to i_msg1.
append i_msg1.
move errmsg-message to i_msg2.
append i_msg2.
endloop.
if errflag is initial.
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
EXPORTING
WAIT =
IMPORTING
RETURN =
endif. -
Early Inspection for a Goods Receipt for production order
Dear Experts,
This is with respect Early Inspection for a Goods Receipt for inspction type 04.( 03 is also active in material master)
We made partial confirmation 250 qty for production order using t code co11n ( total qty of production order is 1000).
made the usage decision with an acceptance and posted all open stocks. to unrestricted.
Now in second partial confirmation prodn order of 250 qty was made . This suppose to be rejected . but sytem will add this 250 qty directly to unrestricted stock . how to over come this .
Regards
SandeepDon't make the UD until all stock has been receipted?
You basically approved the batch. So why wouldn't the system put the stock to unrestricted?
Why would you make a UD when you still have stock to be posted anyway? You can post stock without without making a UD so why not just post some if you need it, and wait on making the UD?
Craig -
BAPI o FM for posting goods receipt of an inbound delivery
Hi
I have a program that post a goods receipt for an inbound delivery using batch input of transaction VL32 (in the first screen of this trx pushing button "Post Goods Recepit"). We need to change it for a BAPI o FM that makes the same process. I've seen other threads of the same issue that makes reference to BAPI_GOODSMVT_CREATE. I've checked it using value 05 of GM_Code
(other goods receipt) but it doesn't work (I think the movement type I using is not compatible with the code 05). Can anybody tell me if this BAPI can do what i need? In that case, anybody have an example code? I've seen other FM: MB_CREATE_GOODS_MOVEMENT. Is that a better choice? Example code will be much appreciated
Thanks and regards
DaniCheck whether there is any BTE from FIBF and use it accordingly.
Also check from SWEL whether any event is getting published when the GR is being done.
If none of the above works try to find some user Exit where you can code the needful.
Thanks
Arghadip -
Hi,
How can we change the docment type assignment to some of the transactions? For eg, vendor invoice, vendor payment and vendor clearing.
Thanks,
CWHi,
You can do the same in FB00, where you can make the document type ready for input.
Regards
Suresh -
Fright should be constant for all goods Receipts irrespective of no. of GR
Hi,
I have a fright condition for example 100/- and it is constant for all GRs, means the fright should be constant for all goods Receipts irrespective of no. of GRs it is 100/- only. Can you please tell what is setting for this in condition type or any suggestion?
SubrahmanyamHI
do as stated above reply
use condition FRB1 it is for fixed value freight
or keep condition record in inforecord for vendor and material
or
give limits for condition it is just below define condition
regards
kunal -
How to flip the FI document type assigned in sales billing type
Hi Expart,
We have a special requirement here,as per client requirement we need to flip the FI document type assigned in sales billing type screen (VOFA). The requirement has came because the billing type is used for one company code XXXX, and we need to use the same billing type with different FI document type for another company code YYYY. Since we can't assigned two FI document types in biling document, i belive this can be done only through user exit, pl help me to get the applicable user exit in SD.
Thanks
Garima.Hi,
The user exit (T.Code SMOD) u201CEXIT_SAPLV60B_001u201D, with include u2018ZXVVFU01u2019, will be implemented. In user exit code will be written, as if company code found as u2018YYYYu2019 and Sales Doc type found as 'AAA' the FI document determine as u2018Z2u2019 in place of default value coming from one-to-one mapping u2018Z1u2019 (FI Document).
IF VBRK-FKART EQ 'AAA' AND VBRK-BUKRS EQ 'YYYY' AND XACCIT-BLART EQ 'Z1'.
XACCIT-BLART = 'Z2'.
hope this will help.
regards
Vivek. -
Quantity Reliability - evaluate supplier for each good receipt
Vendor Evaluation - Quantity Reliability
A vendor's score is updated in the statistics file when a purchase order or scheduling agreement is closed.
I would like to know if exists a standard configuration to update in the statistics file for each good receipt through MIGO transaction. Because some scheduling agreements will never be closed.
I need to know if my problem have a standard configuration or I will have to request a SAP consultant to do a customization?
Thanks
Rafael Carlos de OliveiraHai Danny Gan
Try This
SELECT T1.DocDate AS 'Posting Date', T1.DocNum AS 'Document Number', T1.U_CUSTPONO AS 'Customer PO No', T0.ItemCode AS 'Item No.', T1. U_DONO AS 'Supplier DO NO.' ,T0.Dscription AS 'Item/Service Description', T0.Quantity AS 'Quantity', T0.unitMsr AS 'UOM' , T0.WhsCode AS 'WhseCode'
FROM dbo.PDN1 T0 INNER JOIN dbo.OPDN T1 ON T1.DocEntry = T0.DocEntry WHERE T1.DocDate>=%0 AND T1.DocDate <=%1 and T0.TargetType <> 21 ORDER BY T1.DocDate
Edited by: Prasanna s on Apr 7, 2009 1:28 PM -
Tracking of Inbound Delivery reference for a Goods Receipt/GR line item
Hi,
We are posting goods receipt with reference Inbound delivery. We need to track Inbound delivery reference for a Goods Receipt/Goods Receipt line item.
Is it possible? What will be correct way to do this?
Regards,
MakarandHi Makarand ,
You may try with Table MKPF.
Goto SE16 and enter the above table to get the required data.
Regards
Ramesh Ch -
Default Exchange rate type at document type level for parallel currencies
Hi,
I have a scenario wherein 2 parallel currencies have been maintained (Grp & index based) against a Co Code and have maintained a default exchange type (Z2) in the Document type settings (OBA7).
But when I want to post a foreign currency document, system picks Z2 rates for Co Code currency conversion and not for Grp & index based. In fact it picks M rate for these addtional currencies.
I know that for parallel currencies, the system will always use the exchange rate type defined in transaction OB22 ( "M" rate) which is at Co Code level but I want default exchange rate type Z2 to be picked at Document Type level for all the parallel currencies.
Please suggest how to archive this.
Thanks,
SamDear Sam,
The exchange rate type defined in the FI document type (-> field
exchange rate type in transaction OBA7) is only used for the currency
translation from transaction/document currency into first local
currency, not for the currency translation into second local (group)
currency or for the currency translation into third local currency.
The exchange rate types for the currency translation into second
local (group) currency and third local currency are defined in
transaction OB22.
Unfortunately there is no option to change the exchange rate of 2nd or
3rd local currency in our posting transactions. The design doesn't
regard that requirement. But you have the chance to adjust the parallel
currencies in OB22 or to change the amounts manually.
I hope this helps.
Mauri -
Document Types Setup for Expense Approval and Payable Invoice
Hi,
Can anyone please suggest Document Types Setup for 'Expense Approval' and 'Invoice Approval' and its tables related to the same. Table storing its document_type_code and wf_approval_itemtype as we have for PO_DOCUMENT_TYPES_ALL table for Purchase Order.
Thank You.
Regards,
MeghanaHi
It could be because of main memory problem... so Restrict your selections and do the statistical setup
by the way how many comp codes you have? restrict with comp codes or doc ranges
Thanks,
Maybe you are looking for
-
I updated to version 20.0.1 of Firefox the other day. I had the theme Qute 3++ 1.19 installed and it took 3 restarts of the browser before it kicked in and worked again, for some reason. Then I noticed that my MillBar Community toolbar 3.18.0.7 had d
-
Node removing in a Tree, for loop, and Enumeration
Hi there it should be pretty easy, however i'm stuck with this code: public void supprNode(DefaultMutableTreeNode node){ for(en = node.preorderEnumeration();e.hasMoreElements();){ DefaultMutableTreeNode tmpNode= (DefaultMutableTreeNode) en.nexElement
-
HT4009 Having Trouble with in-app purchases for Deepworld
For some reason, my computer won't let me do an In-App Purchase in the game Deepworld. I have no idea what I'm doing wrong. Can anyone help me fix this?
-
I found this online: http://www.sonnettech.com/product/fw_adapter.html I want to buy this camcorder: http://www.sonystyle.com/webapp/wcs/stores/servlet/ProductDisplay?catalogId=1055 1&storeId=10151&productId=8198552921665294468&langId=-1 It says it i
-
Photoshop CS3 Not Reading CR2 files ( Suddenly stopped reading!)
Hi All... I have been using photoshop CS3 for years now to work on CR2 Camera Raw formats ( Canon 40D). After months of not working on any photos now that i try to open any CR2 file i receive the message that says : "Photoshop Does