Inbound processing of INVOIC IDOC without PO number and item check
Hi All,
I'm processing an Inbound INVOIC IDOC to create an Intercompany Vendor Invoice against a Purchase order but wish to do process this based on the delivery note number rather than the PO number. The INVOIC IDOC will not contain a reference to the Purchase order and thus the need to process it based on the delivery note number which will be referenced in the Purchase order Goods receipt.
However, when processing the Inbound INVOIC IDOC it is validating that the number in IDOC segment E1EDP02 with QUALF 001 is the purchase order number. In this scenario it won't be and therefore it errors. The delivery note number is in IDOC segment E1EDP02 with QUALF 016.
Could someone please tell me if there is a standard way that we can have this Inbound INVOIC IDOC processing using only the delivery note?. If I manual process in the MIRO transaction I can process an Invoice based on the dleivery note in the Goods receipt so would expect I should be able to do so also with the IDOC processing.
I have noticed that IDOC segment E1EDP19 with QUALF 003 is not being populated and therefore according to the SAP help the IDOC segment E1EDP19 with QUALF 002 holding the Vendor material number is checked. Could this have something to do with it not being able to process the Invoice using only the delivery note number reference?.
Thanks in advance,
Michael
Hi Karen,
According to Note 103051 - EDI: Multiple reference to same purchase order item.
Module IDOC_INPUT_INVOIC_MRM (only as of Release 4.0) for the logistics invoice verification can distinguish different goods receipts by means of the delivery note number. For this purpose, GR-related invoice verification must be active. Please check the note.
Thank you,
Shyam
Similar Messages
-
Steps in Inbound Processing in ALE IDOC
Hi all,
Could anyone explain the steps to be followed in inbound processing in ALE Idoc.
I know we have to create a FM n then call that in a program. But still the detail steps are not clear.
An example will be really helpful.
ThanxHi
Outbound:
Step 1. Application document is created when transaction is saved.
2. Message control is invoked.
3. Messages are processed by system.
4. Messages are Edited (if desired).
5. Output (ALE / EDI) is checked
6. Validate against Message control record from Partner Profile
7. Application Document is saved.
8. Entry NAST table is created for every selected output program
along with Medium & Timing.
9. Check for Process Immediately .
If (yes)
Determine Processing Program from TNAPR Table.
ELSE
Execute RSNASTED Program.
10. Read Partner Profile to determine Process Code.
11. Process Code points to the Function Module & Invoked.
12. IDoc is generated.
13. Check for ALE Request.
if (Yes)
Perform Filters, Conversions, Version Changes etc.
Else.
IDoc is stored in DATABASE.
INBOUND:
Step 1. EDI Subsystem creates an IDoc file from EDI Messages
2. Subsystem calls Functional Module EDI_DATA_INCOMING from startRFC program.
3. Data in Control Record is validate against the Partner Profile.
4. IDoc is generated in Database and syntax check is carried out.
5. IDoc file is deleted once file read.
6. Event PROCESSSTATE REACHED is triggered in Idoc Object Workflow.
7. Check for Process Immediately.
If NO
Execute RBDAPP01 Program
Else
Read Process Code from Partner Profile
Process Code Points to Function Module
Application Document Posted.
further help:
check url
http://www.sappoint.com/abap/ale.pdf
http://www.sappoint.com/abap/ale2.pdf
http://www.sapgenie.com/ale/configuration.htm
http://www.sappoint.com/abap/ale.pdf
http://www.sappoint.com/abap/ale2.pdf
http://www.sapdevelopment.co.uk/training
And also u can get lots of inof from the below link.
http://www.sapgenie.com/ale/why_ale.htm
Data Creation in Idoc
IDocs are text encoded documents with a rigid structure that are used to exchange data between R/3 and a foreign system. Instead of calling a program in the destination system directly, the data is first packed into an IDoc and then sent to the receiving system, where it is analyzed and properly processed. Therefore an IDoc data exchange is always an
asynchronous process. The significant difference between simple RFC-calls and IDoc data exchange is the fact, that every action performed on IDocs are protocolled by R/3 and IDocs can be reprocessed if an error occurred in one of the message steps.
While IDocs have to be understood as a data exchange protocol, EDI and ALE are typical use cases for IDocs. R/3 uses IDocs for both EDI and ALE to deliver data to the receiving system. ALE is basically the scheduling mechanism that defines when and between which partners and what kind of data will be exchanged on a regular or event triggered basis. Such a set-up is called an ALE-scenario.
IDoc is a intermediate document to exchange data between two SAP Systems.
*IDocs are structured ASCII files (or a virtual equivalent).
*Electronic Interchange Document
*They are the file format used by SAP R/3 to exchange data with foreign systems.
*Data Is transmitted in ASCII format, i.e. human readable form
*IDocs exchange messages
*IDocs are used like classical interface files
IDOC types are templates for specific message types depending on what is the business document, you want to exchange.
WE30 - you can create a IDOC type.
An IDOC with data, will have to be triggered by the application that is trying to send out the data.
FOr testing you can use WE19.
How to create idoc?
*WE30 - you can create a IDOC type
For more information in details on the same along with the examples can be viewed on:
http://www.netweaverguru.com/EDI/HTML/IDocBook.htm#_Toc8400404
http://help.sap.com/saphelp_erp2005/helpdata/en/0b/2a6620507d11d18ee90000e8366fc2/frameset.htm
http://www.sappoint.com/presentation.html
http://www.allsaplinks.com/idoc_search.html
http://www.sapgenie.com/sapedi/idoc_abap.htm
http://www.erpgenie.com/sapedi/idoc_abap.htm
To Create Idoc we need to follow these steps:
Create Segment ( WE31)
Create Idoc Type ( WE30 )
Create Message Type ( WE81 )
Assign Idoc Type to Message Type ( WE82 )
Creating a Segment
Go to transaction code WE31
Enter the name for your segment type and click on the Create icon
Type the short text
Enter the variable names and data elements
Save it and go back
Go to Edit -> Set Release
Follow steps to create more number of segments
Create IDOC Type
Go to transaction code WE30
Enter the Object Name, select Basic type and click Create icon
Select the create new option and enter a description for your basic IDOC type and press enter
Select the IDOC Name and click Create icon
The system prompts us to enter a segment type and its attributes
Choose the appropriate values and press Enter
The system transfers the name of the segment type to the IDOC editor.
Follow these steps to add more number of segments to Parent or as Parent-child relation
Save it and go back
Go to Edit -> Set release
Create Message Type
Go to transaction code WE81
Change the details from Display mode to Change mode
After selection, the system will give this message The table is cross-client (see Help for further info). Press Enter
Click New Entries to create new Message Type
Fill details
Save it and go back
Assign Message Type to IDoc Type
Go to transaction code WE82
Change the details from Display mode to Change mode
After selection, the system will give this message The table is cross-client (see Help for further info). Press Enter.
Click New Entries to create new Message Type.
Fill details
Save it and go back
Check these out..
Re: How to create IDOC
Check below link. It will give the step by step procedure for IDOC creation.
http://www.supinfo-projects.com/cn/2005/idocs_en/2/
ALE/ IDOC
http://help.sap.com/saphelp_erp2004/helpdata/en/dc/6b835943d711d1893e0000e8323c4f/content.htm
http://www.sapgenie.com/sapgenie/docs/ale_scenario_development_procedure.doc
http://edocs.bea.com/elink/adapter/r3/userhtm/ale.htm#1008419
http://www.netweaverguru.com/EDI/HTML/IDocBook.htm
http://www.sapgenie.com/sapedi/index.htm
http://www.sappoint.com/abap/ale.pdf
http://www.sappoint.com/abap/ale2.pdf
http://www.sapgenie.com/sapedi/idoc_abap.htm
http://help.sap.com/saphelp_erp2005/helpdata/en/0b/2a60bb507d11d18ee90000e8366fc2/frameset.htm
http://help.sap.com/saphelp_erp2005/helpdata/en/78/217da751ce11d189570000e829fbbd/frameset.htm
http://www.allsaplinks.com/idoc_sample.html
http://www.sappoint.com/abap.html
http://help.sap.com/saphelp_erp2004/helpdata/en/dc/6b835943d711d1893e0000e8323c4f/content.htm
http://www.sapgenie.com/sapgenie/docs/ale_scenario_development_procedure.doc
http://edocs.bea.com/elink/adapter/r3/userhtm/ale.htm#1008419
http://www.netweaverguru.com/EDI/HTML/IDocBook.htm
http://www.sapgenie.com/sapedi/index.htm
http://www.allsaplinks.com/idoc_sample.html
http://www.sapgenie.com/sapgenie/docs/ale_scenario_development_procedure.docs
go trough these links.
http://help.sap.com/saphelp_erp2004/helpdata/en/dc/6b835943d711d1893e0000e8323c4f/content.htm
http://www.sapgenie.com/sapgenie/docs/ale_scenario_development_procedure.doc
http://edocs.bea.com/elink/adapter/r3/userhtm/ale.htm#1008419
http://www.netweaverguru.com/EDI/HTML/IDocBook.htm
http://www.sapgenie.com/sapedi/index.htm
http://www.sappoint.com/abap/ale.pdf
http://www.sappoint.com/abap/ale2.pdf
http://www.sapgenie.com/sapedi/idoc_abap.htm
http://help.sap.com/saphelp_erp2005/helpdata/en/0b/2a60bb507d11d18ee90000e8366fc2/frameset.htm
http://help.sap.com/saphelp_erp2005/helpdata/en/78/217da751ce11d189570000e829fbbd/frameset.htm
http://www.allsaplinks.com/idoc_sample.html
http://www.sappoint.com/abap.html
http://help.sap.com/saphelp_erp2004/helpdata/en/dc/6b835943d711d1893e0000e8323c4f/content.htm
http://www.sapgenie.com/sapgenie/docs/ale_scenario_development_procedure.doc
http://edocs.bea.com/elink/adapter/r3/userhtm/ale.htm#1008419
http://www.netweaverguru.com/EDI/HTML/IDocBook.htm
http://www.sapgenie.com/sapedi/index.htm
http://www.allsaplinks.com/idoc_sample.html
http://http://help.sap.com/saphelp_erp2004/helpdata/en/dc/6b835943d711d1893e0000e8323c4f/content.htm
An IDoc is simply a data container that is used to exchange information between any two processes that can understand the syntax and semantics of the data...
1.IDOCs are stored in the database. In the SAP system, IDOCs are stored in database tables.
2.IDOCs are independent of the sending and receiving systems.
3.IDOCs are independent of the direction of data exchange.
The two available process for IDOCs are
Outbound Process
Inbound Process
AND There are basically two types of IDOCs.
Basic IDOCs
Basic IDOC type defines the structure and format of the business document that is to be exchanged between two systems.
Extended IDOCs
Extending the functionality by adding more segments to existing Basic IDOCs.
To Create Idoc we need to follow these steps:
Create Segment ( WE31)
Create Idoc Type ( WE30)
Create Message Type ( WE81)
Assign Idoc Type to Message Type ( WE82)
imp links
http://www.allsaplinks.com/idoc_sample.html
http://www.sapgenie.com/sapedi/idoc_abap.htm
www.sappoint.com
--here u can find the ppts and basic seetings for ALE
http://sappoint.com/presentation.html
www.sapgenie.com
http://www.sapgenie.com/ale/index.htm
Check these links.
http://help.sap.com/saphelp_erp2004/helpdata/en/dc/6b835943d711d1893e0000e8323c4f/content.htm
http://www.sapgenie.com/sapgenie/docs/ale_scenario_development_procedure.doc
http://edocs.bea.com/elink/adapter/r3/userhtm/ale.htm#1008419
http://www.netweaverguru.com/EDI/HTML/IDocBook.htm
http://www.sapgenie.com/sapedi/index.htm
http://www.sappoint.com/abap/ale.pdf
http://www.sappoint.com/abap/ale2.pdf
http://www.sapgenie.com/sapedi/idoc_abap.htm
http://help.sap.com/saphelp_erp2005/helpdata/en/0b/2a60bb507d11d18ee90000e8366fc2/frameset.htm
http://help.sap.com/saphelp_erp2005/helpdata/en/78/217da751ce11d189570000e829fbbd/frameset.htm
http://www.allsaplinks.com/idoc_sample.html
http://www.sappoint.com/abap.html
http://help.sap.com/saphelp_erp2004/helpdata/en/dc/6b835943d711d1893e0000e8323c4f/content.htm
http://www.sapgenie.com/sapgenie/docs/ale_scenario_development_procedure.doc
http://edocs.bea.com/elink/adapter/r3/userhtm/ale.htm#1008419
http://www.netweaverguru.com/EDI/HTML/IDocBook.htm
http://www.sapgenie.com/sapedi/index.htm
http://www.allsaplinks.com/idoc_sample.html
http://www.sapgenie.com/sapgenie/docs/ale_scenario_development_procedure.docs
Please check this PDF documents for ALE and IDoc.
http://www.sappoint.com/abap/ale.pdf
http://www.sappoint.com/abap/ale2.pdf
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCMIDALEIO/BCMIDALEIO.pdf
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCMIDALEPRO/BCMIDALEPRO.pdf
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/CABFAALEQS/CABFAALEQS.pdf
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCSRVEDISC/CAEDISCAP_STC.pdf
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCSRVEDI/CAEDI.pdf
Check below link. It will give the step by step procedure for IDOC creation.
http://www.supinfo-projects.com/cn/2005/idocs_en/2/
Reward points for useful Answers
Regards
Anji -
Can we goods receipt without material number and without PO?
Can we goods receipt without material number and without PO as consumption ?
I have case that no PO in SAP system (charge to cost center) but need to goods receipt in SAP system.
How should I do?
Thank you very muchHi
Go to MB1C enter 561 movement type (initial posting ) .
Material number is must.
It will be against profit center as it is goods receipt and stock value will be credited to our a/c .
Thanks
Ravi
Edited by: Ravikant Dewangan on Aug 11, 2009 8:38 PM -
After I synced my iphone (4S with ios 8.1.2) using itunes with MS outlook on my new PC , suddenly all my contacts without telephone number and what I have the name of the contact only ?
I couldn't find the edit button on my original post so I am posting an update here.
I have gone through more apps and have had good luck on all but one more. And it's not that the app doesn't work, I am talking about the Yahoo Weather app, It works fine, but when you swipe between cities the screen lags a bit and it sometimes doesn't move between pages the way it should. On iOS 7.1.2 it was smooth as butter but on iOS 8.0, not so much. I will post a note in the app store to let them know. I really like the Yahoo app better than the new stock app.
I have been going through my games and they all work fine. Angry Birds (Original and Stella), Canabalt, Minecraft, Bejeweled 2, Silly Walks, PopWords, Doodle Jump, Deep Green all seem to work just fine.
Starbucks app works as it should.
I will stop back again next week after I have had the weekend to play with it in detail and post my thoughts again. -
Invoice creation with out PO and Item using BAPI_INCOMINGINVOICE_CREATE
Hello,
I have a requirement to create the invoce with out PO number. Is there any chance to create the invoice through BAPI_INCOMINGINVOICE_CREATE with out using PO number and item ( ITEMDATA table ).
Thanks for your support.
Regards
NagsHello Burak,
Now i am able to post the docuemnt through BAPI_ACC_DOCUMENT_POST, unable to post the parking docuemnt.
WIth this Function module PRELIMINARY_POSTING_FB01 it very big process to map the fields, because SAP it self
filling lot of fields.
Mean while i have tried the BDC to park the document, but i am getting an error that 'Parking is not possible through batch input'.
RECENTLY ADDED
Now i am getting an issue when we post with the function moduel :PRELIMINARY_POSTING_FB01 , after executing the function module it is giving the document number, but if it fails there is no return table or exeptions to catch the errors . is there any way to over come the problem.
I need to post the document and park the docuemnt.
please suggest.
Thanks & Regards
Nags -
How to send Sales Document Number and Item to BAPI_ACC_DOCUMENT_POST?
Hello SAPients,
We are using BAPI_ACC_DOCUMENT_POST to create an accounting document similar to what FB01 does, in FB01 you can type the number and position of a Sales Document even if you are using an Account Receivable account number. But in the BAPI, the ACCOUNTRECEIVABLE table doesn't have a field to include those numbers. How should I pass the sales order number and item to the BAPI? I have tried several things but every time I receive more complicated error messages.
Thank you in advance for your kind help.Let me know if you have any questions:
Loop through your records and fill in the appropriate structure based on record type (GL, Vendor or Customer)
IF NOT pcard_post_rec-zlsapac IS INITIAL.
gt_gl_item-itemno_acc = ls_posnr.
gt_gl_item-gl_account = pcard_post_rec-zlsapac.
gt_gl_item-comp_code = pcard_post_rec-zlsapco.
"gt_gl_item-pstng_date = pcard_post_rec-zlgpsdt.
gt_gl_item-pstng_date = gv_posting_date.
gt_gl_item-doc_type = doctype.
gt_gl_item-alloc_nmbr = ls_assignment.
gt_gl_item-ref_key_3 = pcard_post_rec-zlgvend.
IF pcard_post_rec-zlsapac < 500000.
gt_gl_item-item_text = ''.
ELSE.
gt_gl_item-item_text = pcard_post_rec-zlguser.
ENDIF.
gt_gl_item-costcenter = pcard_post_rec-zlsapcc.
gt_gl_item-orderid = lv_ordnum.
APPEND gt_gl_item.
ELSEIF NOT pcard_post_rec-zlsapven IS INITIAL.
gt_ap_item-itemno_acc = ls_posnr.
gt_ap_item-vendor_no = pcard_post_rec-zlsapven.
gt_ap_item-comp_code = pcard_post_rec-zlsapco.
gt_ap_item-alloc_nmbr = ls_assignment.
gt_ap_item-ref_key_3 = pcard_post_rec-zlgvend.
IF pcard_post_rec-zlsapac < 500000.
gt_ap_item-item_text = ''.
ELSE.
gt_ap_item-item_text = pcard_post_rec-zlguser.
ENDIF.
APPEND gt_ap_item.
ELSEIF NOT pcard_post_rec-zlsapcus IS INITIAL.
gt_ar_item-itemno_acc = ls_posnr.
gt_ar_item-customer = pcard_post_rec-zlsapcus.
gt_ar_item-comp_code = pcard_post_rec-zlsapco.
gt_ar_item-alloc_nmbr = ls_assignment.
gt_ar_item-ref_key_3 = pcard_post_rec-zlgvend.
IF pcard_post_rec-zlsapac < 500000.
gt_ar_item-item_text = ''.
ELSE.
gt_ar_item-item_text = pcard_post_rec-zlguser.
ENDIF.
APPEND gt_ar_item.
ENDIF. -
Query for Inbound processing for ALE IDOC & Outbound through Change Pointer
Hi,
I have a scenario, in which I have reduced Message Type for HRMD_A as Inbound and Outbound both.
The Problem that I am facing is , whenver the inbound Idoc processing takes place, it updates the Infotypes and at the same time, as updation is done, Change Pointers write entries for the same in BDCP2. So, again the same changes are tracked for Outbound Message type and creates the idoc and post it again.
This need to be avoided. The requirement is to stop such processing of the data from sending again.
Any help for this would be appreciated.
Regards,
HeenaHi Heena...
please check the fields present corresponding to the messagetype "HRMD_A" in trnsaction BD52. keep only the reuired fields and delete the remaining fields in BD52 trnsaction. if any changes happened in the required fields then change pointers will trigger an idoc. So, please check the fields present in BD52 transaction.
please let me know if you need any clarifications further.
Regards,
Lokeswari. -
SWAP Equipment using IE4N, without serial number and material, it is possible?
Hi PM Experts, I´ve been reading about the way to SWAP equipments from his functional location without using serial number and material, I think if it is not possible, but to be honest, I cannot find any logical answer for it, since equipment number is unique for a plant. Does anyone have found any work around for it?.
I don’t want to use serial numbers and materials, because I think the process is really simple, since the client does not want to implement the refurbishment process. If there is a break down, here is what I do:
Case 1:
Dismantle damage equipment (Say PM01 Order Type)
Install new equipment (same PM order)
TECO the actual PM order
...Later
Case 2:
Create a new PM orden (say PM01 Order Type)
Repair the break equipment
TECO this new PM Order
Here are the inconsistencies:
What happen with the MTTR and MTBR reports?
In case one, I´ll create the material as equipment, while I´m installing, starting date for his master data is the installation day, and the MTTR and MTBR will start to run. This is ok.
What happened in case 2?, I need to stop the “clock” for the MTTR and MTBR of the dismantle equipment.
This is the reason why, I would like to use IE4N, but since there are no serial number and material, I cannot.
Can anyone please suggest a workaround for this scenario?.
I´m thinking in use INAC (Object Deactivated) system status, can this status help me?, Does this status “stops” the clock for MTTR and MTBR report?. If I change the status to ACT, I´ll get the clock back running?.
How about dismantle the equipment?, It will get the AVLB Available status, but the problem is, this equipment will be “floating” in the whole PM structure and I do not want it. I want to have it in a specific Functional Location but with this status, is this possible?. I woul like to use IE4N to SWAP UTs and later change the status to AVLB Available status, with and exits.
I thinking in an Equipment Status and a “Z” MTTR and MTBR report, based on this status. But to be honest, I´d like a standard solution for it.For find my iPhone to work, the device has to be powered on and it has to be connected to a network (Cellular or WiFi). Find My iPhone uses your AppleID as the account to search for. Maybe the "guys" you were talking to were referring to a 3rd party application that essentially lo-jacks your device. But even then, it would still require Power and a network.
I don't believe that there is currently a way to flag a specific serial number for location.
Best of Luck. -
Production Order without Material Number and linked to a PM Order...
Hi All,
Is it possible to create a Production Order without Material Number (because it is a "just one time" production), and link it to a PM Order (enterred by a sister Plant) in order to finally report the cost to that PM Order?
And if YES, how to do it???
Explanation of the problem (business scenario):
We have 2 Plants. Let say Plant "A" and Plant "B".
Plant B is producing spare parts for Plant A.
There are usual spare parts, which have a Material Number.
But there are also spare parts which will be produced only once, and which don't have a Material Number. (= because it is a very punctual production).
Plant A needs a punctual spare part.
It creates a PM Order for Plant B.
Plant B needs to create a Production Order for that spare part (without Material Number).
Then, when confirmed and delivered, the cost of that production needs to be reported (assigned) to the PM Order.
Thanks in advance for your help on the subject.
Regards,
Rudy.Thank you for the information.
After some modifications on the Prod.Order Type and the creation of a Reference Operation Set, it seems to work.
Still have a cost problem, but on the way to be solved.
Thanks a lot,
Rudy. -
PO form without vendor number and address
Dear experts,
I have an issue, few PO's which sent to the vendor via e-mail are sending with vendor number and vendor address. I have checked the vendor master there vendor address is maintained.
Can any help me on it, what might be the problem? When I check the sost for the PO, there po is displaying with the blank vendor number and address.
Thanks in advance,
Regards,
KrishHi Kris
display Po
Output Preview - click
Can you see your vendor email id or not?
br
muthu -
IDoc to IDoc scenario with Master and Item data
Hi,
We are developing a scenario where IDoc will be coming with Master ana Item data.
In the receiver side Master IDoc must be created every time and Item IDoc must be created only if the particular segment occurs.
Is it possible to do this scenario with out BPM.
Thanks and Regards,
Jeevan.Hi,
Its possible without BPM.
1)Export the target Idoc
2)Change the occurance of Idoc to 0..unbounded
3)Also change the occurance segment to 1
4) Now import this external definition in the target.
Refer this blog for details :
The specified item was not found. -
No goods receipt possible for purchase order Number and Item number.
Hello experts,
When I create a Goods Reciept with reference to Purchase Order using BAPI_GOODSMVT_CREATE, the following error message appears.
No goods receipt possible for purchase order <PO number> <line item number>.
But the GR is getting created manually using Transaction MIGO for the same PO number.
I found some blogs to check for deletion indicator and Movement type and quantity, when I searched SDN for the same Issue.
In my case
1.deletion indicator is not set for the Purchase order line items
2.And Movement type is 101
3.And gm_code is 01.
Could anyone please suggest me, what else could be the reason for this error?Here is the code what i have written.
f_gmvt_header-pstng_date = sy-datum.
f_gmvt_header-doc_date = sy-datum.
f_gmvt_header-pr_uname = sy-uname.
f_gmvt_header-ref_doc_no = p_ebeln.
f_goodsmvt_code_tmp = '01'.
* Looping the PO details.
CLEAR: gf_item,f_gmvt_item.
LOOP AT gt_item INTO gf_item.
* fill the bapi item structure details
f_gmvt_item-material = gf_item-material.
f_gmvt_item-plant = gf_sbms-werks.
f_gmvt_item-stge_loc = '0001'.
f_gmvt_item-move_type = '101'.
f_gmvt_item-po_number = p_ebeln.
f_gmvt_item-po_item = gf_item-po_item.
f_gmvt_item-entry_qnt = gf_item-quantity.
f_gmvt_item-entry_uom = 'PC'.
f_gmvt_item-entry_uom_iso = 'PCE'.
f_gmvt_item-po_pr_qnt = gf_item-quantity.
f_gmvt_item-orderpr_un = 'PC'.
f_gmvt_item-orderpr_un_iso = 'PCE'.
f_gmvt_item-no_more_gr = 'X'.
f_gmvt_item-ref_doc = p_ebeln.
f_gmvt_item-prod_date = sy-datum.
f_gmvt_item-mvt_ind = 'B'.
f_gmvt_item-move_reas = '101'.
f_gmvt_item-vendor = gf_lfm1-lifnr.
APPEND f_gmvt_item TO t_gmvt_item.
CLEAR f_gmvt_item.
ENDLOOP.
* cALL THE bapi fm FOR gr POSTING
CALL FUNCTION 'BAPI_GOODSMVT_CREATE'
EXPORTING
goodsmvt_header = f_gmvt_header
goodsmvt_code = f_goodsmvt_code_tmp
* TESTRUN = ' '
* GOODSMVT_REF_EWM =
IMPORTING
goodsmvt_headret = f_gmvt_headret
* MATERIALDOCUMENT =
* MATDOCUMENTYEAR =
TABLES
goodsmvt_item = t_gmvt_item
* GOODSMVT_SERIALNUMBER =
return = t_return
* GOODSMVT_SERV_PART_DATA =
* EXTENSIONIN =
IF sy-subrc = 0.
* For commit the changes use BAPI_TRANSACTION_COMMIT FM.
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
EXPORTING
wait = 'X'.
* MOVE: f_GMVT_HEADRET-MAT_DOC TO WA_DET-MBLNR,
* f_GMVT_HEADRET-DOC_YEAR TO WA_DET-MJAHR,
* f_GMVT_HEADER-REF_DOC_NO TO WA_DET-EBELN.
* APPEND WA_DET TO IT_DET.
* CLEAR WA_DET.
ENDIF. -
To get service order from sales order number and item number
The select on AUFK takes much longer time than the transaction which is used to get the sevice order number starting from VA03. ( select one line item. goto repairs, then select the repairs column and goto SM Order). Is there any other table than AUFK from which i can get service order number.
Hi!
Check, if you have an entry in table VBFA for your sales order (sales order in VBELV, POSNV, AUFK in VBELN and POSNN, VBTYP_N might be 'C').
If so, your select will be much faster by using VBFA.
Regards,
Christian -
WAD checkbox-group: get number of items checked?
Hi,
is it possible to find out how many items are checked in a checkboxgroup, maybe with a javascript? It'd like to know if so, because I only want to show certain webitems when a number of items is checked in that checkboxgroup.
thanks!
TomYou can probably do something like this (not tested)...
function countselects()
var inputs=document.all("SAPBW_CHECKBOX_1").getElementsByTagName("INPUT");
var selectedcounter = 0;
for (var j=0; j<inputs.length; j++)
if (inputs[j].type == 'checkbox')
if (inputs[j].checked) selectedcounter++;
return (selectedcounter); -
Inbound 810 Vendor Invoice IDoc Integration
Greetings,
I need to quickly setup an inbound 810 invoice integration in a 46C ERP environment. I would like to leverage the INVOIC02 IDoc and it's accompanying ALE services to import vendor invoices into A/P. These vendors are finished goods vendors and so the invoices will be associated with NB SAP Purchase Orders. Can anybody give me some quick pointers and links on setting this up? Looking for best IDoc type, message type, process codes, mapping tips, etc..
Thanks!ACC_INVOICE_RECEIPT seems to be a complex sturcture used in various applications, do you have any info on what segments to use for importing a vendor invoice referencing a finished goods PO?
Maybe you are looking for
-
Lack of Support, Crashes, Static....Spread the word!
I bought a new system and was told the X-FI XtremeGamer Fatalty Pro would work fine in Vista. No where did I read that I would lose all sound for no reason, that games would crash, or that I would get static. I feel like I'm playing the lotto and am
-
NI Komplete audio 6 + Bootcamp Windows 7 problem
hi everybody! first, sorry for my english, so i really cant describe my problem, but my NI komplete audio 6 not working on bootcamp, there is a little yellow question mark in device manager near the komplete audio. i'm using macbook pro 15-inch late
-
Table contents modification and addition
I have a table(region using wizard->selecting VO), however its not a QueryRN, it has no search criteria or GO button. On click of a button 1. I want to modify existing row of this table 2. Want to add new row to that table after some calc. I tried th
-
Streaming live video to my website
Hey all, I have Flash media server, flash media live encoder, and flash cs5. I'm gonna be using flash media live encoder to stream my desktop and webcam to my website. My current host (host gator) doesn't have rtmp enabled on their web hosting plan,
-
Condition rounding error in pricing of sales order
Hi all, I have a problem on rounding of condition type MWST in a sales order. I have the PR00 condition evaluated with 6,50 euro for 1 piece; on this price should be applied condition type MWST with a percentage of 10%. The result should be 0,65 euro