Fields in BAPI_GOODSMVT_CREATE
Hi
can anybody tell me..the impact of following fields ..i mean what this fields actually needed for?
ver_gr_gi_slip
gr_rcpt
while passing them to BAPI_GOODSMVT_CREATE.
Here in my program..
I am passing
ver_gr_gi_slip = 2
gr_rcpt= x.
If i change this values... will it be effected in goods receipt for particular line item?
Similar Messages
-
How to populate cusotom fields using BAPI_GOODSMVT_CREATE for MIGO
Hi,
I was to update custom field using BAPI_GOODSMVT_CREATE for MIGO and store it is MSEG table.
Please tell me how to proceed.
Moderator message: last warning, if you continue to post the same thread again, I will submit your user ID for deletion. See my comments in your previous posts.
Edited by: Thomas Zloch on Jul 14, 2011 4:38 PMHi ANID,
Thanks for the reply.
I have checked in the documention of the bapi and no communication structure regarding to the bapi is there so i am not able to figure out where to add the custom field so that it can be added in the MKPF table.
Regads
Dipak -
Addiing 'lsmng' field in bapi_goodsmvt_create
Hi Buddies,
i want to update lsmng field through bapi_goodsmvt_create, but colud not find that field in bapi, please tell me how add this field in bapi. my sap versin is 4.7
Response is awiated.see my post reply
http://scn.sap.com/message/13649968 -
Field in BAPI_GOODSMVT_CREATE
Hi ,
I am using BAPI_GOODSMVT_CREATE for creating GRN , In transcation MIGO , at line item level there is a field which does not exist in GOODSMVT_ITEM table.Please suggest me how to populate the field which does not exist in BAPI_GOODSMVT_CREATE.
Regards
Edited by: Subhash Karidhal on Mar 5, 2008 6:06 AMHi,
I guess you are trying to tell that you need to populate fields which are added in the item table through Append structure.If that is the case then all you need is to populate the "extensionin" field in the tables tab of the FM "BAPI_GOODSMVT_CREATE",here you need to specify the name of the include structure and its values.Hope this helps.
Regards,
Kiran
Edited by: Kiran NN on Mar 5, 2008 6:35 AM -
How to enhance extra fields in BAPI_GOODSMVT_CREATE.
Dear Sap Gurus,
I am facing a problem . I am using standard bapi for MIGO transaction i.e. BAPI_GOODSMVT_CREATE . it is working fine. in our company, along with BADI, MIGO was modified with two extra tab viz. Waybill and ExchangeRate. Here we are maintaining some of own developed fields . Plz guide me how can i modify this Bapi so that i can update these developed fields . The appropriate answers will be highly appreciated <removed by moderator>.
Is there any alternative solution?
NOTE : Currently Using ECC 5.0 SAP
Thanks & Regards,
Vijay
Edited by: Thomas Zloch on Oct 19, 2010 5:43 PMHello,
1. Use structure BAPIPAREX for passing custom fields. (There are several blogs/posts on how to make use of this).
2. In the BAPI i noticed there is a BAdI to populate these fields into your business tables.
Call BAdI MB_BAPI_GOODSMVT_CREATE to fill own fields
TRY.
get badi lo_mb_bapi_GOODSMVT_CREATE.
CATCH cx_badi_not_implemented. "#EC NO_HANDLER
ENDTRY.
TRY.
call badi lo_mb_bapi_goodsmvt_create->extensionin_to_matdoc
EXPORTING
EXTENSION_IN = EXTENSIONIN[]
CHANGING
CS_IMKPF = S_IMKPF
CT_IMSEG = T_IMSEG[]
CT_RETURN = return.
CATCH cx_badi_initial_reference. "#EC NO_HANDLER
ENDTRY. -
Some fields in BAPI_GOODSMVT_CREATE
Hi Abapers,
I am usiing BAPI_GOODSMVT_CREATE for the MIGO transaction for creating material document.
With movement type '101' and MVT_IND = 'B'.
In this am not able to find out some fields like ' 1. Activate Print (XNAPR) , 2.Quantity in delivery note (LSMNG) , 3. unit of measure (LSMEH).
Please let me know how to get these field.
Thanks & Regards,
Simha Shi shakya
check this thread.
Re: About BAPI_GOODSMVT_CREATE
Set parameter is used to set the values of screenfields like checkboxes,
when u set it as X means u r ticking a checkbox
Anyways i dont think this has anything to do with ur requirement. I guess so!!
кu03B1ятu03B9к
Edited by: kartik tarla on Jan 22, 2009 9:31 AM
Edited by: kartik tarla on Jan 22, 2009 9:34 AM -
Quantity withdrawn field in BAPI_GOODSMVT_CREATE
When i use BAPI_GOODSMVT_CREATE to post with movement type 261 for transaction MB1A in a custom program with sel screen process order,material,batch no and qty, quantity withdrawn field is not updating.(This field is in process order COR3 Transaction).
if i do full quantity its working fine,whenever i do partial qty, it should be updated in quantity withdrawn field.
Any one has input please let me know
Thanks
Sureshcode is '03'.
CALL FUNCTION 'BAPI_GOODSMVT_CREATE'
EXPORTING
goodsmvt_header = ls_goodsmvt_header
goodsmvt_code = '03'
* TESTRUN = ' '
* GOODSMVT_REF_EWM =
IMPORTING
goodsmvt_headret = ls_goodsmvt_headret
materialdocument = lv_mblnr
matdocumentyear = lv_mjahr
TABLES
goodsmvt_item = lt_goodsmvt_item
* GOODSMVT_SERIALNUMBER =
return = lt_return
* GOODSMVT_SERV_PART_DATA =
* EXTENSIONIN = -
How to include z-fields into BAPI_GOODSMVT_CREATE
Hi,
In MIGO transaction, we have aded some fields on external tabs.
These fields are mandatory fields
The data of these fields will be stored in a Z-table when we save the MIGO.
We have used BADI s to do this. It is working fine.
Now, I want to post some data using MIGO tansaction. I want to use BAPI_GOODSMVT_CREATE to post tha data.
How can I include my newly added fields in this BAPI ?
Can u plz write the solutions?
ThanksHi,
Go through the FM documentation of BAPI_GOODSMVT_CREATE, this gives some information how to populate the custom fields.
Table parameter : EXTENSIONIN
And check the BADI: MB_BAPI_GOODSMVT_CREATE which is used to populate the custom fields for the material document.
I think you also require to implement this badi in your case.
You also need to extend the tables with the custom fields
With regards,
Dwarakanath.S -
Field to MIGO cert.enclosed in the BAPI BAPI_GOODSMVT_CREATE
Hi All,
I am doing Good Receipt for Purchase Order.
In MIGO we have Cert.enclosed (Quality) value Yes or No.
I want to insert the Cert.enclosed (Quality) using BAPI BAPI_GOODSMVT_CREATE.
Please let me know which field in BAPI_GOODSMVT_CREATE, I can insert the Cert.enclosed (Quality) value.
Thanks in Advance.
Debopriya GPlease take a look at SAP KBA- 0001718791. Kindly mark if helpful.
SAP Knowledge Base Article
Symptom
There is no import parameter in BAPI_GOODSMVT_CREATE that you can use to confirm the QM certificate.
Environment
SAP Release Independent
Reproducing the Issue
1. In T-code SE37, execute the function module BAPI_GOODSMVT_CREATE
2. In the import tab and tables tab, check all the parameters, there is no place to enter the QM certificate (COA)
Cause
Missing functionality in BAPI_GOODSMVT_CREATE
Resolution
Please use BDC (batch input) for MB** transactions (MB01, MB0A, MB1A, MB1B, MB1C, etc.) instead.
Keywords
QCERT_MIGO-ANSWER, QBCK_QM_GR_CHECK
Header Data
Product
This document is not restricted to a product or product version
References
This document refers to:
CSS SAP Notes
1718791 - Certificate of Analysis (COA) in BAPI_GOODSMVT_CREATE
Version 1 Validity: 05/15/2012 - active Language English
Released On 02/12/2013 02:32:24
Release Status Released to Customer
Component MM-IM-GF-BAPI BAPIs for Goods Movements
QM-CA Quality Certificates
Priority Normal
Category How To
304122 MIGO: Batch input and CATT not supported
Other Components -
Field "Mat Slip" (MTSNR) of MB03 is empty after i run BAPI_GOODSMVT_CREATE
Hello,
I'm doing BAPI_GOODSMVT_CREATE for moviment '315'.
After i run the BAPI, when i go to MB03, the field "Mat. Slip" is empty and does not appear on the screen!
I'm using the following parameters:
code= '04'
ITEM:
t_saida-matnr TO t_bapiitem-material,
t_saida-werks TO t_bapiitem-plant,
t_saida-lgort TO t_bapiitem-stge_loc,
t_saida-move_type TO t_bapiitem-move_type,
t_saida-erfmg TO t_bapiitem-entry_qnt,
t_saida-meins TO t_bapiitem-entry_uom,
t_saida-ummat TO t_bapiitem-move_mat,
t_saida-umwrk TO t_bapiitem-move_plant,
t_saida-umlgo TO t_bapiitem-move_stloc,
t_saida-sgtxt TO t_bapiitem-item_text.
HEADER:
t_bapiheader-pstng_date = sy-datum.
t_bapiheader-doc_date = sy-datum.
And when i run the same process with MIGO, the field appears.
Best Regards,
Reginaldo BorgesHi,
You have to fill in the header:
t_bapiheader-REF_DOC_NO = 123456. " your nota!
Best regards,
Leandro Mengue -
Update field LSMNG in MIGO transaction using bapi bapi_goodsmvt_create
Hi ,
I am using bapi bapi_goodsmvt_create for creating goods receipt against purchase order in which I have to update field LSMNG i.e. Del. Note Qty. But this field is not there in BAPI input parameters/table fields.
How i can update this field using the same bapi
Thanks and regards
Deepak SharmaHi,
Can I update this field using BAPI bapi_goodsmvt_create.
thanks
Deepak -
BAPI_GOODSMVT_CREATE ---- need to update custom field in MSEG table
Greetings all,
I'm using 'BAPI_GOODSMVT_CREATE' to create goods movements. also I need to update one cutom field(z-field) in MSEG table. Could anyone please advice how can I update the custom field thru EXTENSIONIN.
thanks in advance.see the help
http://help.sap.com/saphelp_nw04/helpdata/en/c3/4099948b8911d396b70004ac96334b/frameset.htm
Regards
Kiran Sure -
Documentary Batch Field for Line item when calling BAPI_GOODSMVT_CREATE
hi all,
Iam unable to locate the Documentary Batch Field for each line item while posting a Goods Issue using BAPI BAPI_GOODSMVT_CREATE.
BAPI2017_GM_ITEM_CREATE structure has got no field to enter the DB number against each line item. Although its not a mandatory field while posting a goods issue when calling the BAPI, but there shud be a input field for the same. When doing a similar posting in SAP using MIGO transaction it's mandatory to enter a Documentary Batch number(SAP Field name DOCUBATCH_CHARG). Does anyone have come across this situation. Is there a field with different name in the BAPI2017_GM_ITEM_CREATE structure ? Appreciate your thoughts !
Regards,
GilmourHi Vindy,
bapi2017_gm_item_create-batch is the field for the Batch.
However Iam looking for a field called DB No which is basically a Documentary batch ensure the traceability of a material, without it being necessary for the stock of the material to be managed in batches. If you look at the Item section in MIGO you would have Batch and DB No for each line item and Iam looking for the DB no and not the primary Batch.
Thanks,
Gilmour -
Where are the validations of the fields done in BAPI_GOODSMVT_CREATE ?
Hi ,
I have to more or less simulate bapi_goodsmvt_create and perform the same validations as that in this bapi.....can anyone tell me exactly where the validations are done for the required data ...for example if my batch has crossed the sled date it populates the return table..i want to know where the checking for batch is done ........Please help.....Hi ,
you can search the message class and message number from the returntab.
Example:
i am Getting the Retuntab with following details
E M8 374 Fill in mandatory field DOC_DATE (import parameter HEADERDATA)
in this case Message Class in M8 and Message number is 373. So in your Bapi you can search with '374'
So that i will display where ever it is being validated and how it has been validated. the return tab will fill with the following perform.
PERFORM bapireturn_fill USING 'M8'
'E'
'374'
'ACC_1_TIME'
'ADDRESSDATA'
space
space
CHANGING te_return.
Here you can see before this statement what are the validations done.
Hope it will answer your question.
Regards,
Venkat -
BAPI_GOODSMVT_CREATE field mseg-EMATN
Hi experts,
I'm using the bapi BAPI_GOODSMVT_CREATE, but, I have to fill the field EMATN, and this bapi don't have this field.
Making a BDC to MB01 is terrible, because I'm using serial numbers.
Do you think there is some way to fill this field using this bapi?Hi,
I believe there is no field for EMATN..
I can suggest you this..
Try copying the BAPI BAPI_GOODSMVT_CREATE and create a Z one..
Add another parameter for the FM to get the value for EMATN..
Before append the value to T_IMSEG...Pass the value EMATN in the MSEG internal table T_IMSEG..
CLEAR T_IMSEG-KZEAR_OLD.
APPEND T_IMSEG.
ENDLOOP.
Thanks,
Naren
Maybe you are looking for
-
Not exactly sure what's going on. Checked a few sites. can't figure out what I'm doing wrong. Last time I installed Arch all of my sound worked perfectly, this time it didn't, so I tried doing some tweaks and modifications, Just can't get it going. D
-
Selecting apps and the Beach Ball
Select an application to start it up from the desktop or the Applications fiolder, and the spinning beach ball appears. Nothing else occurs (no app lanched). If I then select " anything" from the Dock ( an application, a folder, etc), the beach ball
-
Hi Guys, I have a requirement to add only year(Like 2000,2001,2002..) to one of the field. Whenever user clicks on F4, the Year list should populate and the mentioned year is entered in the field. Is there any way to achieve this? Cheers:)
-
Message type 1 unknown error occuring when clicked on IP workbook button
Hi, I am working on authorization. When i click on the save button in an IP workbook button, it throws the message "Message type 1 unknown" saying that an error occured during communication with bw server, and its gets disconnected. I have included a
-
Replace Microsoft Word strange characters
I'm trying to create a function to replace all the strange characters that come from Microsoft Word, but it doesn't seem to work. Any thoughts? Thanks! function replaceWordCharacters(str) { str = replace(str, chr(8217), chr(39), "all"); str = replace