Modify object fo material document
Hi all,
I'm looking for a modify object for a material document in order to start a workflow based on BUS2017. Someone knows which is the standard modify object?
Thank you.
Gino Bonfiglioli
The standard object doesn't exist!.
Bye
Similar Messages
-
Hi,
We are using BAPI_GOODSMVT_CREATE in Z program. One of our requirements forces us to modify the generated Material Document.
Any BADI or enhancement that allows this ????
MB_BAPI_GOODSMVT_CREATE and MB_DOCUMENT_BADI don´t allow any modification.
Thanks.
Regards.
Orion.Hi Prabhu;
Thanks for your reply.
Due to a specific requirement we need to change the freight vendor that is displayed in the mat. document.
We haven´t found any BADI or enhancement that allows it.
Any idea??
Thanks.
Regards.
Orion -
Object type for Material Document
Hi,
I need to get the object key for a material document, which has to be passed to NAST table. If 4900004026 is the material doc. then its object key is conerted as
490000402620050001. Is there any FM for conversion ?Hi,
Am not sure, whether Function Module is existing or not.
But, you can concatenate these fields to a String variable or split for the values based on Field Length to separate variables and you can proceed with your process.
Regards,
Anbalagan. -
Dear experts,
Can i modify material document qty with movement 542.I tried using MB02 but found qty as disable so
could not succceed.
I found one function module MB_CHANGE_DOCUMENT which can also modify quantities beside other
mseg mkpf fields.But this change happen only in MSEG .In MBLB transaction ie stock at vendor end , i do not find comensurate effect.What to do here ?Hi Prabhu;
Thanks for your reply.
Due to a specific requirement we need to change the freight vendor that is displayed in the mat. document.
We haven´t found any BADI or enhancement that allows it.
Any idea??
Thanks.
Regards.
Orion -
Modify quantity of an item in material document creation!
Hi all,
I want to change the quantity of an item in a material document, before the commit on the Database.
I was thninking in the following BAdi:
MBDOCUMENT_BADI_
MBMIGO_BADI_
However, I believe none of these can do what I whant...do You have any hint that could help me?
Thanks in advance
JECHi,
Try this:
BAdI Definition MB_BAPI_GOODSMVT_CREATE
Description Enhancement BAPI_GOODSMVT_CREATE
Interface IF_EX_MB_BAPI_GOODSMVT_CREATE
Regards,
MdZ -
How can we find the Idoc number which posts the material document in SAP
Hi All,
How can we find the Idoc number which posts the material document in SAP. We could not able to find the IDOC number from the material document which was posted by Idoc.
Thanks
ChandruHi,
In MIGO you can go to service of object(Just above show overview) and check 5th option workflow you will find the idoc number.
regards
suresh -
BAPI_GOODSMVT_CREATE to create a material document for consumable goods
Hi All,
I am using a BAPi (BAPI_GOODSMVT_CREATE) to create a material document using a PO. Please note that the PO contain no material number. It contains short text. The account assignment is being copied in to the MIGO from PO (when i am doing the process manually without BAPI). But when i am using the BAPI at that time i am getting an error as:
E M7 036 No goods receipt possible for purchase order 45XXXXXXXXXX 00010 .
Logically this should not happen as when i do it manually i am able to post MIGO.
Under goods movement header i am giving :
posting date
doc date
text
goods movement code :
01
GOODSMVT_ITEM
plant
mov type
po number
vendor
line item
short text
cost cenrtre
order no(int ord no)
mov indicator: B
GL account
base unit of measure
Where i am going wrong?Hi Jurgen
In response to my post where i wrote my observations :
As you have suggested i have removed the account assignment objects and now i am not getting the error as mentioned in my post but at the same time i notice in export parameters in the bapi the following things which was not present earlier.
GOODSMVT_HEADRET 50000xxxxx2014
MATERIALDOCUMENT 50000xxxxx
MATDOCUMENTYEAR 2014
Now another thing is i am not getting any entry in return table.... which i should get. Please note that my test run contains no values(X).
i think i am near to the solution. Could you suggest any more crucial points i might be missing?"
for this i found out that there is a way to solve this issue. My concern was why the material document was not updating . Well this is how SAP behaves.
To update it we have to run simultaneously another fm " BAPI_TRANSACTION_COMMIT". This will update it in the mseg table which in turn will reflect it PO history. So my requirement is answered and fulfilled.
Thank you so much for the replies and cooperation.
Thank you all. -
Wrong Profit Center on Material document (Goods Receipt PO for Asset)
Dear SAP Expert,
When our company upgrade our SAP version from 4.6C to ECC6, all Profit Center on Material document (Goods Receipt on Purchase Order for Asset) is filled by profit center DUMMY.
This condition not happend in our previous version (4.6C). Is there any new configuration on ECC6 for Asset Accounting?
Many Thanks
Maickel PHi, Maickel:
There is a setting for Dummy Profit Center, you can check in SPRO: Controlling->Profit Center Accounting->Master Data->Create Dummy Profit Center.
And you can refer to the help of this IMG activity:
Create Dummy Profit Center
This function lets you create the dummy profit center for the current controlling area.
The dummy profit center is updated in data transfers whenever the object to which the data was originally posted (cost center, order, and so on) is not assigned to a profit center. This ensures that the data in Profit Center Accounting is complete. You can later send the data on the dummy profit center to the other profit centers using assessment or distribution.
You create the master record for the dummy profit center using this special transaction. To change or display it, use the normal profit center maintenance functions.
The name of the dummy profit center is displayed in the controlling area settings for Profit Center Accounting.
Prerequisites
The standard hierarchy must exist for the current controlling area.
Actions
Enter the name of the dummy profit center. The rest of the steps are the same as when you create a normal profit center.
Choose the function Extras -> Set controlling area first to make sure that the correct controlling area is set.
Notes on transporting
You can transport the Customizing settings for Profit Center Accounting under Transport Connection. -
Creation of Shipment Document after Saving the Material Document in SAP ETM
Hi,
The SAP ETM (Equipment Tools Management) is active in the system.
As per the process flow We need to create a material document say with movement type 501.
The moment we save this document the system should create the Shipmenty Document in ETM.
The required BADI's and the function modules are activated and the required linkages are also activated.
Still the system does not behave as desired.
Regards,
Jeetendra Kulkarni
Cell No: 9324616023Hi, Jeetendra Kulkarni!
Force the same problem.
At my Business Workplace get an outbox massage "CEM MM Integration"
At WF see that Creating CEM ship. doc. failure cause no agent defined.
But I assigned the following tasks:
a) Standard task 80000088 Create ETM ShipDoc from MM Doc. Dialog.
b) Standard task 80000087 ETM ShipDoc GR Try Again?
for myself as object type US.
What's wrong?
Did you resolve this problem?
Thanks in advance -
Error in material document posting
I am getting an error while posting goods receipt.
Number range for trans. / event type WA in year 2007
does not exist.
I have defined the number ranges for accounting
documents, for material and physical inventory
documents and for reservations in inventory management
and physical inventory documents. The group WA is
attached to the group material documents for goods
movement types and inventory differences.
I have also used transaction OBH2 to copy the number
ranges to the fiscal year 2007.
Why am I still getting this error? Are there some
settings I have not made?
Please help me.
Thanks,
Ranganath CharyuluHello Ranganath,
Go to t-code OMBT
- Click on Change Groups (F5)
- select the check box wich includes WA (the Number Range Object Material document Grouping)
- Click on Change (Pen)
- Go to Edit -> Insert year
- Give 2007 and give the new number ranges.
Hope this will help.
Regards
Arif Mansuri -
How to figure out which material documents should be deleted?
Hi,
I am creating a report that sums up material movement. But I meet a problem about reversal material documents.
In my report, I collect all the documents and delete all the document with field SMBLN is not empty. Code is like below.
MOVE it_mseg[] TO it_mseg2[].
LOOP AT it_mseg WHERE smbln <> ''.
LOOP AT it_mseg2 WHERE mblnr = it_mseg-smbln AND zeile = it_mseg-smblp.
it_mseg-del = 'X'.
MODIFY it_mseg.
it_mseg2-del = 'X'.
MODIFY it_mseg2.
ENDLOOP.
ENDLOOP.
LOOP AT it_mseg2 WHERE del = 'X'.
LOOP AT it_mseg WHERE mblnr = it_mseg2-mblnr AND zeile = it_mseg2-zeile.
it_mseg-del = 'X'.
MODIFY it_mseg.
ENDLOOP.
ENDLOOP.
DELETE it_mseg WHERE del = 'X'.
But sometimes users may cancel a material document, and later they may cancel the reversal document also.
Then there are 3 documents. In my report, all these 3 documents will be deleted.
Is there any method to only have the last document left and delete the others?
Thank!
WesleyThanks Dzed, it seems the code works succesfully, and I also figure out another code like below, it also works~
MOVE it_mseg[] TO it_mseg2[].
LOOP AT it_mseg.
LOOP AT it_mseg2 WHERE mblnr = it_mseg-mblnr AND zeile = it_mseg-zeile.
IF it_mseg2-del = 'Y'.
it_mseg-del = 'X'.
MODIFY it_mseg.
ENDIF.
ENDLOOP.
IF it_mseg-del = 'X'.
CONTINUE.
ENDIF.
LOOP AT it_mseg2 WHERE smbln = it_mseg-mblnr AND smblp = it_mseg-zeile.
it_mseg-del = 'X'.
MODIFY it_mseg.
it_mseg2-del = 'Y'.
MODIFY it_mseg2.
ENDLOOP.
ENDLOOP. -
Table where I have entry for material document and Accounting doc.(GR/IR)
Hi all,
When GR/IR clearing is done manually using MR11 t.code,a material document gets posted.
Looking at the PO order history against the line item for which the GR/IR clearing is made,this material document appears. When clicked on material document and select the followon document, we get the accounting document.
My question is:
If we have to take a table entry download for all these together how do I do it.
Usually based on the material document number from table EKBE, we are giving the same number in object key in BKPF table and obtaining the same. This is a cumbersome process.
Do I have a table in SAP where if I enter the PO and the line item. I get the material document posted against it as well as the FI document(accounting document)
Your inputs are highly appreciated.
Regards
AravindHi,
I don't think there is a table which will have both MM and FI document numbers. The approach what you have adopted is right. If it is a regular requirement, you can develop an ABAP report for this.
Thanks
Murali. -
Mass reversal of material documents
Hi All,
We have MBST for reversing/cancelling trhe material documents. But how can we reverse/cancel the material documents on a mass basis?
In transaction MASS, there is no object created for mass reversal of material documents.
How can we create an object for mass reversal of material documents?
Is there any other Tcode or program for mass reversal of material documents?
Thanks and regards,
Ramachandra DNDear Ramachandra,
We Create
<b>LSMW</b> for <b>T.Code MBST</b>
I hope it is better way to use Mass reversal of Material Documents
Otherwise depend upon the size of the data we can move to other uploading programmees.
For better clarification you can approch ur ABAPers to resolve the issue.
With regards,
B.Ravindranath -
Update termination record found in SM13 - material document posting error
Hi All,
A record was found in SM13 relating to missing material document and accounting document. When 'update header' button is clicked in SM13 selecting that record, the resultant pop up shows report name SAPLZ2K_MB_BUS2028. And when 'update status' button is clicked it shows error description '00 671: ABAP/4 processor: LOAD_NO_ROLL'.
Since update was termianted, the material document could not be found in database though MSEG entries in SM13 shows that material document number.
Help required to interpret the above scenario and what could be the root cause for the update termiantion.
Regards
JBHi,
Firstly, please check whether was there any recent transport containing changes relating to the ZGS_CONV_NET tcode or the below standard report imported into this system leading to inconsistencies.
Also, please check space critical objects in DB02.
Also, check the update status in SM13, it should be "Active".
Finally, Contact the user M124356 and ask him/her as to what are they doing with the Z tcode. You might get a clue over there.
Hope this helps. Try these and let me know.
Regards,
Hari Kishan -
Material Document field to be added in the Quality Notification F3 type
Hello Experts,
i have to add Material Document field in the Quality Notification (F3 type --Material rel. defect ) through
T-code QM01.
Please help me out.
thanksHi
IMG-->QM>Quality notifications->Notification Creation->Define Screen Templates--> Define Initial Screens--> select F3 here and enter QM03_CREATE_QMEL_WITH_WINDOW in the column Name of the function module and enter 0100 in the initial screen column., save it.
If you wish to make material document field mandatory, then go to
IMG-->QM>Quality notifications->Notification Creation->Define Screen Templates--> Field Selection: Initial Screens--> select the radio button as REQ for the field RQM01-MBLNR that is for material doc.
Similarly for in the above menu you can make mandatory for reference object screen also
IMG-->QM>Quality notifications->Notification Creation->Define Screen Templates--> Field Selection: Reference Object Screens--> select the radio button as REQ for the field RQM01-MBLNR that is for material doc.
Now, once you finish this , go and try QM01 you will find the POP for Material document entry coming immediately if you pres the Notification button for F3 Notification type.
Best Regards
SAM
Maybe you are looking for
-
I can't open anything in Layout Object's in Dreamweaver CS6
Hi guys, I am very new and inexperienced on Dreamweaver. I am using a book to create a website using dreamweaver and I have come accross a problem when trying to open the Div Tag on Layout Options command. The Div Tag is grey as is all the other comm
-
Where is the constructor?
Hi, I am going through the Swing tutorials and the first sample appication has thrown me for a loop (no pun intended.) In the following code there is an inner class to SwingApplication but why isn't there a constructor such as SwingApplication (); im
-
Bonjour, Je travaille sous LV 8.2. Je souhaite créer une matrice carrée S qui est la transformée inverse d'une multiplication de deux fonctions H et w. w est un matrice 1x0 H est une matrice 1x0 S se définit comme ca: J'utilise une boucle for pour
-
Does iPad sync with windows live in w7?
I just bought a win 7 pc which has win live mail. Does iPad/phone sync with it? What to do with notes?
-
Database wizard table headers are blank
This is an ongoing issue with crystal reports 2008. I have a progress Database with an ODBC connection. If I setup a connection to the database using the database wizard in CR 2008 I can see all of the tables, but if I add one of the tables to my re