Bapi for MB1B using Mvt type 413 - 'E'
Hi Friends,
I am using BAPI_GOODSMVT_CREATE for MB1B,movement type 413 with 'E' (for goods transfer from Sales order to Sales Order). I need to know what are all the fields to be used for this requirement.
e.g. movement type, plant, stor loc, Sales order no,
material, batch, grid value, qty to be posted to another sales order, material, batch, grid value, qty.
Both Inv management and warehouse management to be updated. (After posting automatically the Transfer Order to be created.)
Anybody does the BAPI for this requirement, please send the code to me.
Thanks in advance
Shankar
If you are using valuated sales order stock with a 'S'tandard price for valuation for each sales order item, your transfer may be trying to write the price difference associated to a movement to a specific G/L account. The price for the same material under different sales orders with MTO can be caused by many reasons - lot size, changes to raw material prices etc.
If this G/L account is also a cost elements (i.e. defined in CO as a cost element_ it will need a cost object. You canuse OKBP to assign default cost objects for this and other variance/price difference accounts - or you may create a CO substitution rule.
Similar Messages
-
Automatic creation of Batch using mvt type 311
when i am trying to transfer material from one storage location to another using mvt type 311. the system is not creating the batch automaticcally.
I have already maintained allthe basic configuration required for this.even in IMg ->logistic general->batch management---->creation of new batch in this path also for mvt type 311 i mainatined (automatical/manual without check)batch creation.but still the system is not generating the new batch.
Can anybody help in this issue.
Thanks in advanceHi,
When you do transfer postings, SAP will set the batch number same as the one from which you are issuing the stock. To avoid this you can set the creation of batch to B (Automatic/ Manual with check in user exit)
You need to use following user exit at batch creation
EXIT_SAPLV01Z_001
EXIT_SAPLV01Z_002
Hope this helps, reward if useful,
Best Regards VS -
MB1B Mvt Type 413 E - GL Account requires an assignment to a CO Object
Hi,
We are trying to transfer stock from one sales order to other, system is giving the error " GL Account requires an assignment to a CO Object". Movement type 413 E through MB1B. We are using MTO scenario.
The question is that we are giving both the sales order number (from and and to) whic are itself CO Object then why is the sytem asking for another assignment?
Kindly advise.
Thanks & regards.Dear,
As suggested, contact FI consultant for suitable assignment.
Secondly, Check : http://www.sap-knowledge.com/archives/2388
Regards,
Syed Hussain. -
BAPI for Goods receipt Movement type 921
Hi Gurus,
can you please tell which BAPi will support Goods receipt Movement type 921(MIGO) and Goods Issue movement type 201.
Thanks
RajeevHi,
This BAPI can be used for both good receipt and good issue purposes.
Please give it try ...
Regards,
Ferry Lianto -
Hi,
Is there a BAPI for transaction MB!B. I was using BAPI_GOODSMVT_CREATE but it creates one material document for one material and as a result I will be having multiple material documents for one delivery. I have a situation where I need one material document per delivery.
Thanks
sidduBAPI_GOODSMVT_CREATE to post Goods Movement
The following is an abap program making used of the BAPI function BAPI_GOODSMVT_CREATE to do Goods Receipts for Purchase Order after importing the data from an external system.
BAPI 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
Did you use correct data?
GMCODE for example.
I am an abap newbie, but I used that BAPI. And I think, the BAPI do what you are needing =S -
Automatic TO Creation and Confirm for the 321 Mvt type
Hello Experts,
Like to know the customisation invovlved for automatic TO creation and confirmation for the 321 movement type in which QM is activated.
I have already activated in OMKZ as below
1.Automatic TO for 321 mvt ytpe
2.TO item to be confirmed immediately
3.Propose confirmation
Table T333 -AUTTA
T333-SQUIT &
T333-VQUIT is activated.
Please let me know any other settings to be performed
Regards
KrishnaHello Experts,
I am trying to create the Automatic TO and TO confirmation for the mvt type 321.
I made the below settings
I have activated in OMKZ as below
1.Automatic TO for 321 mvt ytpe -"A"
2.TO item to be confirmed immediately - tick mark
3.Propose confirmation - tick mark
Table T333 -AUTTA
T333-SQUIT &
T333-VQUIT is activated.
I have activated in OMKX as below
Table T321-TBFKZ Immediate TO Creation with "A"
T321-TAFKZ TR creation with "X"
After doing the settings i am not able to see the Posting change number in the Material document created for the mvt type 321.
Please let me know how to create the Posting chnage notice for the material document and how to convert the Posting change notice to automatic TO and confirmation.
Thanks & Regards
Krishna
Edited by: Hariharan krishna on May 25, 2011 8:01 AM -
RFCs / BAPIs for complex use case - offer and account receivable
Hello,
a scenario for testing purposes requires me to make remote function calls.
I found almost everything I need in the IDES system I am accessing.
What I am still missing, are RFCs or BAPIs to do the following
- after selecting materials to be sold and after providing a pricing I would like to create an offer, proposal, or quote
- after creating a bill, I would like to create and later close an account receivable item
Can anybody help me on finding appropriate remote functions or BAPIs?
Thanks in advanced
Stefan
PS: If you need more context, here is what I got so far
- create and lookup customers using BAPI Customer
- material availability and price check using BAPI Material
- create a sales order using BAPI SalesOrder
- create a shipment using BAPI Shipment
- create a bill using BAPI ItCustBillingDoc
hope that makes senceHi Stefan,
To find the BAPIs you need, use transaction BAPI in R3. Creating the quotation, for example, can be found in Sales>Customer Quotation>Create From Data which gives the function "BAPI_QUOTATION_CREATEFROMDATA". Using the same found General Accounting>Accounting Interface>AccntgBilling-->Post(etc) leading to "BAPI_ACC_BILLING_POST".
Regards
Gareth -
Deactivate inspection type 08 against mvt type 413
Dear Sir
Whenever planning person does 413 oe 413E movement for sales order transfer there is an error message combination of stock error and when i deactivate 08 from material master, they are able to do it.My concern why the error is shown nor inspection lot is genreated and how to deactivate against this movement.
regards
kunalDear,
You don't want inspection for 413 and 413 E then you need to active tick mark for both.
Also in Movement Type/Update Control/Inspection Lot Origin select movement type 413 check 08 insp orgin is there? from material master deactive 08 insp type. then system will not generate lot.
Please try this and come back.
Regards,
R.Brahmankar
Edited by: R Brahmankar on May 9, 2009 4:33 PM -
How to Modify Search for Leads using Date types in the Assgmnt Block Date
Hello Experts,
I have a requirement to modify the search for Leads using Dates in the Assignment Block Dates and using the Posting Date of the transaction.
Any ideas?
Thank you in advance,
JustinIf you look at the grants, you'll see that there are over 170 objects from the FLOWS_030000 granted to PUBLIC:
SQL> select count(*) from dba_tab_privs where owner= 'FLOWS_030000' and grantee = 'PUBLIC';
173
If we were go grant these privileges to a role, called APEX_APP_RU, and grant this role to APEX_PUBLIC_USER and any schemas an application is linked to (Workspace to Schema), would that be a workable solution?
The only problem I see right off hand that this might not work is that PUBLIC has synonyms created for the FLOWS_030000 objects. If we revoke the underlying privileges, because of the synonyms, this might not work.
SQL> select COUNT(*) from dba_synonyms where table_owner = 'FLOWS_030000' and owner = 'PUBLIC';
176
Does anyone else have any ideas? -
BAPI for MB1B transaction for 309 movemnet type
Dear ABAPERs,
I am using "BAPI_GOODSMVT_CREATE" its working fine for only one record.
If in internal table number of records r there.
By looping that table paasing the record each time.
First time its working fine and posting the document.
But second time its giving error as "Finish batch already linked with batch 7607AF0120".
7607AF0120 which is previous(first batch number).
For first record BAPI is working fine for the remaing records its not working.
Please help me regarding this.
Regards,
Simha.Hello,
use this code after the BAPI call.
IF NOT GM_RETMTD IS INITIAL.
COMMIT WORK AND WAIT.
CALL FUNCTION 'DEQUEUE_ALL'.
ELSE.
COMMIT WORK AND WAIT.
CALL FUNCTION 'DEQUEUE_ALL'.
ENDIF.
Vasanth -
Bapi for MB1A using the AFS SKU details
Hi Friends,
I want to use the BAPI, BAPI_GOODSMVT_CREATE with AFS SKU details.
my requirement is to post the return qty against the Batch using MB1A with movement type '262' , against the production order, material , SKU details and Batch no.
please send it to me if u have the BAPI program.
Thanks
ShankarHi
Mostly, we have individual BAPI / FM to complete the setup for creation of Production Order. you may consider the Option of using BDC to create the Order automatically using all master data (instead of manual).
Thanks
JK -
Storing the output of BAPI for further use in Webdynpro application
Hi,
In my webdynpro application, a BAPI_A is called multiple times from a backend.
All the previous outputs of the BAPI_A need to be stored in the webdynpro application as they serve as a complete set of input parameters for BAPI_B at the end.
Can anybody shed light on this temporary storage mechanism of the outputs of the BAPI_A.
Regards
MeesumHi Meesum,
Your BAPI structure
BAPI_A
--Output (0..n)
Field1
Field2
Field3
Field4
Value node structure
vnBAPI_A (0..n)
--vnResult (0..n)
vaField1
vaField2
vaField3
vaField4
1. Declare objVnBAPI_A (between begin and end)
2. Initialize in the vnBAPI_A in the wdDoInit()
3. After each execution of the BAPI (BAPI_A), create the vnResult and populate the fields of vnResult (from the BAPI_A --> output)
4. Add the vnResult object to objVnBAPI_A
Hope this should help you.
Regards,
Santhosh.C -
Error Message when doing a Stock transffer using Mvt Type 309 using MIGO
Hi Team,
I am getting an error message M7-441 "Selection by multiple account assignment was not restricted", when doing a stock transfer.
I am not able to understand the exact issue here, any help is appreciated.
Regards
RajM7441 seems to be a new error message which came with EHP4
I can only see that it is used in MB51 report (do you search for material documents in MIGO when you get this error?)
according to the coding in my system this is just a warning message, not an error message, hence you could continue by cklicking the okay icon. -
Automatic creation of Purchase order not possible for 103 mvt type
Hi,
If i could configure "create p.o automatically", while doing G.R for mvt type 101,
why cannot i do the same with 103 mvt type.
I checked the checkbox "create p.o automatically" for movement type 103 and tried to do G.R for others using Mvt type 103.
It is throwing error as "Update control of movement type is incorrect (entry 103 x x).
Which entry controls the above my requirement?
Please advise .
Thank you.Hi,
These are std which is provided my SAP, you can configure for automatic PO creation for 101 movt type only.......... -
Problem in BAPI for stock posting from quality inspection to unrestricted usage
Hi all,
I am using BAPI_GOODSMVT_CREATE for stock posting from quality inspection to unrestricted usage Stock against quality inspection lot(not by MB1B) using mvt type 321.The material doc gets created by the BAPI,but actual stock posting is not taking place ie.the stock doesn’t get reflected in QA33/32 and QA11 also .Can any one suggest what must be wrong?The inputs given are as follows:
GOODSMVT_HEADER:
PSTNG_DATE =30/07/2014, DOC_DATE = 30/07/2014, REF_DOC_NO = INSP LOT NO.
GOODSMVT_CODE:
GM_CODE: ‘04’ .
GOODSMVT_ITEM:
MATERIAL = MATERIAL NO
PLANT = PLANTCODE
STGE_LOC = ‘WIP’
BATCH = BATCHNO
MOVE_TYPE = ‘321’
ENTRY_QNT = 100
ENTRY_UOM = ‘EA’
ORDERID = Prd ord no.
After executing this I used BAPI_TRANSACTION_COMMIT also. I am able to see the posted qty in MMBE,but it is not reflecting in QA11/33/32.
Kindly help me.Hi Naveen,
Thanks for the reply. Even after using FM QAVE_PROCESS_AUTO_UD,when i execute
BAPI_GOODSMVT_CREATE, the same thing is happening.I am unable to see the stock deducted in QA33.
Is there any input in the goods mvt bapi where we can provide inspection lot no since i believe that the goods mvt has to get connected with the inspection lot.
Maybe you are looking for
-
Business area and profit center
plz can anyone explain me what is the diffrence between business area and profit center.
-
HP Pavillion g6 2303sm switchable graphicks problem
Pozdrav! Prije oko godinu dana nabavio sam jedan hp-ov notebook HP Pavillion g6-2303sm (D1P03EA) i sve je radilo super sa win 8-icom kad sam ga kupio ali nakon nekog vremena odlucio sam se za update na win 8.1 i nakon update-a vise uopce nije koristi
-
Hello there, I am having infinite messages on my gateway router and the connection mill totally slow down. Would you please help? The following are part of the messages displaying on the router. Nov 22 06:59:02.846: %DNSSERVER-3-BADQUERY: Bad DNS que
-
I'm trying to invoke the Jasper Report engine directly from ColdFusion. I've ran into a bit of a snag because CF has compiled Jasper into it's main JAR and so there is no way to override it. The below code can be ran in ColdFusion 8 and you'll see th
-
Undo-ing change of genre - hardest question ever!!
I accidentally changed the genre of all of the songs in my library (4000 plus songs) to Hip-Hop. Is there anyway to undo this? Or to get songs to revert to the genre they were originally listed under? I really like listening to songs sorted by genre