Mb1b transaction for BAPI_GOODSMVT_CREATE
Hello,
i have to create a zbapi in which the user has to expose only selected fields(lgort, charg, and receiving storage location).
i ll expose only those fields in importparameters of ZBAPI.
In the source code, how to approach this and call the fm bapi_goodsmvt_create to update mb1b transaction.
Can anyone give me source code to develop this in function module???
In YOur Z Bapi call the original bapi.
Fill the bapi structures with the import parameters you have for the z bapi.
Pass the exporting parameters that are obtained from the original bapi to the exporting parameters of the Z bapi.
Sample:
FUNCTION Z_GOODSMVT_CREATE.
""Local interface:
*" IMPORTING
*" VALUE(GOODSMVT_HEADER) LIKE BAPI2017_GM_HEAD_01 STRUCTURE
*" BAPI2017_GM_HEAD_01
*" VALUE(GOODSMVT_CODE) LIKE BAPI2017_GM_CODE STRUCTURE
*" BAPI2017_GM_CODE
*" VALUE(TESTRUN) LIKE BAPI2017_GM_GEN-TESTRUN DEFAULT SPACE
*" EXPORTING
*" VALUE(GOODSMVT_HEADRET) LIKE BAPI2017_GM_HEAD_RET STRUCTURE
*" BAPI2017_GM_HEAD_RET
*" VALUE(MATERIALDOCUMENT) TYPE BAPI2017_GM_HEAD_RET-MAT_DOC
*" VALUE(MATDOCUMENTYEAR) TYPE BAPI2017_GM_HEAD_RET-DOC_YEAR
*" TABLES
*" GOODSMVT_ITEM STRUCTURE BAPI2017_GM_ITEM_CREATE
*" GOODSMVT_SERIALNUMBER STRUCTURE BAPI2017_GM_SERIALNUMBER
*" OPTIONAL
*" RETURN STRUCTURE BAPIRET2
Pass variables here..
CALL FUNCTION 'BAPI_GOODSMVT_CREATE'
EXPORTING
GOODSMVT_HEADER = GOODSMVT_HEADER
GOODSMVT_CODE = GOODSMVT_CODE
TESTRUN = TESTRUN
IMPORTING
GOODSMVT_HEADRET = GOODSMVT_HEADRET
MATERIALDOCUMENT = MATERIALDOCUMENT
MATDOCUMENTYEAR = MATDOCUMENTYEAR
TABLES
GOODSMVT_ITEM = GOODSMVT_ITEM
GOODSMVT_SERIALNUMBER = GOODSMVT_SERIALNUMBER
RETURN = RETURN.
endfunction.
Regards,
Ravi
Similar Messages
-
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 -
User exit/BADI for updating custom table in MB1B transaction-
Dear All,
When performing a material to material conversion in MB1B transaction for batch managed materials,system is creating a new batch by copying the characteristics of issuing material/batch.The details of the new batch created are updated in standard batch tables(MCH1,MCHA,MCHA).
The requirement is when the new batch is created,the batch details and characteristics has to be stamped in a custom table.
Kindly suggest a user exit/BAIi available for updating the same in the custom table.
Regards,
DeepakDeepak, Exits for MB1B are
MBCF0002 Customer function exit: Segment text in material doc. item
MBCF0005 Material document item for goods receipt/issue slip
MBCF0006 Customer function for WBS element
MBCF0007 Customer function exit: Updating a reservation
MBCF0009 Filling the storage location field
MBCF0010 Customer exit: Create reservation BAPI_RESERVATION_CREATE1
MBCF0011 Read from RESB and RKPF for print list in MB26
MB_CF001 Customer Function Exit in the Case of Updating a Mat. Doc. -
Lsmw for mb1b transaction.
hello,
is it possible to do lsmw for mb1b transaction.
if possible then how ?
any suggestions please.Hi
you can use the LSMW for the transaction MB1B .
Or
use the program to stock transfer from plant to plant :
REPORT YMBIE096 LINE-SIZE 80.
* Program: YMBIE096
* Author: Sheila Titchener
* Date: Mar 1999
* Purpose: To move stock to new plant
TABLES: MCHB.
* internal table
DATA: BEGIN OF I_MCHB OCCURS 0,
MATNR LIKE MCHB-MATNR,
LGORT LIKE MCHB-LGORT,
CHARG LIKE MCHB-CHARG,
J_2CTRNR LIKE MCHB-J_2CTRNR,
J_2CELNG LIKE MCHB-J_2CELNG,
CLABS LIKE MCHB-CLABS,
END OF I_MCHB.
*-----------------------new code smt nov 98-----------------------------
* batch input tables
DATA BEGIN OF BDCDATA OCCURS 100.
INCLUDE STRUCTURE BDCDATA.
DATA END OF BDCDATA.
DATA BEGIN OF MESSTAB OCCURS 10.
INCLUDE STRUCTURE BDCMSGCOLL.
DATA END OF MESSTAB.
SELECT-OPTIONS S_MATNR FOR MCHB-MATNR.
PARAMETERS: P_DISP AS CHECKBOX.
DATA W_MODE.
DATA W_MESSAGE LIKE MESSAGE.
START-OF-SELECTION.
SELECT MATNR LGORT J_2CELNG CHARG CLABS J_2CTRNR FROM MCHB
INTO CORRESPONDING FIELDS OF TABLE I_MCHB
WHERE MATNR IN S_MATNR
AND WERKS = 'BT'.
END-OF-SELECTION.
LOOP AT I_MCHB.
CHECK I_MCHB-J_2CELNG NE 0.
CHECK I_MCHB-J_2CELNG = I_MCHB-CLABS.
PERFORM MOVE_STOCK.
ENDLOOP.
*& Form MOVE_STOCK
* Call transaction MB1B to transfer stock
FORM MOVE_STOCK.
DATA: W_QTY(10).
WRITE I_MCHB-J_2CELNG TO W_QTY DECIMALS 0.
REFRESH: BDCDATA, MESSTAB.
PERFORM DYNPRO USING:
'X' 'SAPMM07M' '0400',
' ' 'RM07M-BWARTWA' '301',
' ' 'RM07M-WERKS' 'BT',
' ' 'RM07M-LGORT' I_MCHB-LGORT,
' ' 'BDC_OKCODE' '/0',
'X' 'SAPMM07M' '0421',
' ' 'MSEGK-UMWRK' '94',
' ' 'MSEGK-UMLGO' I_MCHB-LGORT,
' ' 'BDC_OKCODE' 'NLE',
*CODING BLOCK
'X' 'SAPLKACB' '0002',
' ' 'BDC_OKCODE' '/0',
'X' 'SAPMM07M' '0421',
' ' 'MSEG-MATNR(1)' I_MCHB-MATNR,
' ' 'MSEG-ERFMG(1)' W_QTY,
' ' 'MSEG-CHARG(1)' I_MCHB-CHARG,
' ' 'BDC_OKCODE' '/0',
*CODING BLOCK
'X' 'SAPLKACB' '0002',
' ' 'BDC_OKCODE' '/0',
*CODING BLOCK
'X' 'SAPLKACB' '0002',
' ' 'BDC_OKCODE' '/0',
* 'X' 'SAPMM07M' '0410',
* ' ' 'BDC_OKCODE' '/0',
*CODING BLOCK
* 'X' 'SAPLKACB' '0002',
* ' ' 'BDC_OKCODE' '/8',
*CODING BLOCK
* 'X' 'SAPLKACB' '0002',
* ' ' 'BDC_OKCODE' '/8',
'X' 'SAPLJ2CW' '0190',
' ' 'J_5C7-UMCHA' I_MCHB-CHARG,
' ' 'BDC_OKCODE' '/7',
'X' 'SAPMM07M' '0421',
' ' 'BDC_OKCODE' '/11',
*CODING BLOCK
'X' 'SAPLKACB' '0002',
' ' 'BDC_OKCODE' '/0'.
IF P_DISP = 'X'.
W_MODE = 'A'.
ELSE.
W_MODE = 'N'.
ENDIF.
CALL TRANSACTION 'MB1B' USING BDCDATA MODE W_MODE UPDATE 'S'
MESSAGES INTO MESSTAB.
WRITE: / I_MCHB-MATNR, I_MCHB-CHARG, I_MCHB-LGORT,
I_MCHB-J_2CTRNR, I_MCHB-J_2CELNG.
IF SY-SUBRC NE 0.
* what to do if there's an error????
LOOP AT MESSTAB.
SY-MSGNO = MESSTAB-MSGNR.
CALL FUNCTION 'WRITE_MESSAGE'
EXPORTING
MSGID = MESSTAB-MSGID
MSGNO = SY-MSGNO
MSGTY = MESSTAB-MSGTYP
MSGV1 = MESSTAB-MSGV1
MSGV2 = MESSTAB-MSGV2
MSGV3 = MESSTAB-MSGV3
MSGV4 = MESSTAB-MSGV4
MSGV5 = MESSTAB-MSGV4
IMPORTING
* error =
MESSG = W_MESSAGE
* msgln =
EXCEPTIONS
OTHERS = 1.
WRITE: / W_MESSAGE.
* message id messtab-msgid type 'I' number messtab-msgnr.
ENDLOOP.
ENDIF.
ENDFORM. " CHANGE_BILLING_TYPE
* FORM DYNPRO - new form smt nov 1998
* > DYNBEGIN
* > NAME
* > VALUE
FORM DYNPRO USING DYNBEGIN NAME VALUE.
IF DYNBEGIN = 'X'.
CLEAR BDCDATA.
MOVE: NAME TO BDCDATA-PROGRAM,
VALUE TO BDCDATA-DYNPRO,
'X' TO BDCDATA-DYNBEGIN.
APPEND BDCDATA.
ELSE.
CLEAR BDCDATA.
MOVE: NAME TO BDCDATA-FNAM,
VALUE TO BDCDATA-FVAL.
APPEND BDCDATA.
ENDIF.
ENDFORM.
Edited by: raj on Jun 5, 2009 7:55 AM -
User Exit / Enhacement / BADI for MB1B transaction
Hi all,
Movement type -311
Plant 1004
Storage Location - XXX
Now reuirement is like during Transfer posting when user provides Receving Location and Material and Press Enter
batch and qunatity should be automatically populated based on some Selection.
I checked BADI but no BADI is available when user press Enter.
Please suggest me with Enhancement Spot , User Exit for this requirement.\
Thanks in advance.
Harsharandeep SinghHi Harsha,
Try these User Exits/Enhancements.
Following are the BADIs for MB1B transaction:
ARC_MM_MATBEL_CHECK Check Add-On-Specific Criteria for MM_MATBEL
ARC_MM_MATBEL_WRITE Check Add-On-Specific Data for MM_MATBEL
MB_CHECK_LINE_BADI BAdI: Check Line Before Copying to the Blocking Tables
MB_CIN_LMBMBU04 posting of gr
MB_CIN_MM07MFB7 BAdI for India Version exit in include MM07MFB7
MB_CIN_MM07MFB7_QTY Proposal of quantity from Excise invoice in GR
MB_DOCUMENT_BADI BAdIs when Creating a Material Document
MB_DOCUMENT_UPDATE BADI when updating material document: MSEG and MKPF
MB_MIGO_BADI BAdI in MIGO for External Detail Subscreens
MB_MIGO_ITEM_BADI BAdI in MIGO for Changing Item Data
MB_RESERVATION_BADI MB21/MB22: Check and Complete Dialog Data
Following are the user exit for the same:
MB_CF001 Customer Function Exit in the Case of Updating a Mat. Doc.
MBCF0002 Customer function exit: Segment text in material doc. item
MBCF0005 Material document item for goods receipt/issue slip
MBCF0006 Customer function for WBS element
MBCF0007 Customer function exit: Updating a reservation
MBCF0009 Filling the storage location field
MBCF0010 Customer exit: Create reservation BAPI_RESERVATION_CREATE1
MBCF0011 Read from RESB and RKPF for print list in MB26
Vishnu. -
Input parameters for BAPI_GOODSMVT_CREATE --MIGO--GR for Outbound Delivery
Hi Friends,
We have to create a Goods Receipt against an Outbound Delivery ( movement type "101" ) using the BAPI <b>BAPI_GOODSMVT_CREATE</b>.
In online the user is using <b>MIGO</b> transaction for the same. There he will choose the GOODS RECEIPT for OUTBOUND DELIVERY and enters the delivery number. The movement type "101" is used.
Could you please tell me the GM code and the required fields to be passed for the above scenario.
I have gone through the example program in the link...
http://www.sap-img.com/abap/bapi-goodsmvt-create-to-post-goods-movement.htm
<b>but unable to find how to use this BAPI for simulating MIGO transaction.</b>
<b>The fields available are with us are...</b>
Delivery. No. --- Doc. Date - Posting Date-Quantity-Storage Location-
Reason for movement-External qty-External qty unit-Goods recipient-Excise Selection
Are these fields sufficient for doing MIGO with this BAPI or do we require more fields???
Thanks and Regards,
Bharatsee the following code. it may be useful.
LOOP AT I_TAB.
count = sy-tabix.
SELECT SINGLE * FROM ZMM_GR_UPLOAD1
WHERE SOLOMON_GR = I_TAB-SOLOMON_GR AND
SOLOMON_GRDAT = I_TAB-SOLOMON_GRDAT.
IF SY-SUBRC = 0.
I_TAB-FLAG = 'C'.
modify i_tab index count.
concatenate 'File Name : ' name into i_msg1.
append i_msg1.
CONCATENATE 'ERROR PO : ' I_TAB-SOL_PONO
' WAS ALREADY UPLOADED' INTO I_MSG1.
APPEND I_MSG1.
CLEAR I_TAB-FLAG.
CONTINUE.
ELSE.
REFRESH I_ITEMS.
CLEAR I_ITEMS.
CONCATENATE I_MAIN-SOLOMON_GRDAT+4(4)
I_MAIN-SOLOMON_GRDAT+2(2)
I_MAIN-SOLOMON_GRDAT+0(2) INTO G_DATE.
gmhead-pstng_date = G_DATE.
gmhead-doc_date = sy-datum.
gmhead-pr_uname = sy-uname.
"01 - MB01 - Goods Receipts for Purchase Order
gmcode-gm_code = '01'.
refresh itab.
clear itab.
SORT I_MAIN BY SOLOMON_GR.
LOOP AT I_MAIN WHERE SOLOMON_GR = I_TAB-SOLOMON_GR.
itab-move_type = '101'.
itab-mvt_ind = 'B'.
itab-plant = I_MAIN-WERKS.
itab-material = I_MAIN-MATNR.
itab-entry_qnt = I_MAIN-ERFMG.
itab-stge_loc = 'OMR1'.
itab-move_stloc = pcitab-recv_loc.
itab-REF_DOC = 'exnum123'.
itab-NO_MORE_GR = 'X'.
itab-WITHDRAWN = ''.
itab-stge_loc = I_MAIN-LGOBE.
itab-po_number = I_MAIN-EBELN.
itab-po_item = I_MAIN-EBELP.
itab-unload_pt = I_MAIN-ABLAD2.
append itab.
ENDLOOP.
if not itab[] is initial.
call function 'BAPI_GOODSMVT_CREATE'
exporting
goodsmvt_header = gmhead
goodsmvt_code = gmcode
* TESTRUN = ' '
IMPORTING
goodsmvt_headret = mthead
* MATERIALDOCUMENT =
MATDOCUMENTYEAR =
tables
goodsmvt_item = itab
GOODSMVT_SERIALNUMBER =
return = errmsg.
clear errflag.
loop at errmsg.
if sy-tabix = 1.
concatenate 'File Name : ' name into i_msg1.
append i_msg1.
concatenate 'Sol PO : ' I_TAB-SOL_PONO ' '
I_TAB-SOL_PODT into i_msg1.
append i_msg1.
endif.
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.
endloop.
if errflag is initial.
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
EXPORTING
WAIT =
IMPORTING
RETURN =
commit work and wait.
if sy-subrc ne 0.
write:/ 'Error in updating'.
exit.
else.
concatenate 'File Name : ' name into i_msg1.
append i_msg1.
concatenate 'Sol PO : ' I_TAB-SOL_PONO ' '
I_TAB-SOL_PODT into i_msg1.
append i_msg1.
write:/ mthead-mat_doc, mthead-doc_year.
ZMM_GR_UPLOAD1-SOLOMON_GR = I_TAB-SOLOMON_GR.
CONCATENATE I_TAB-SOLOMON_GRDAT+4(4)
I_TAB-SOLOMON_GRDAT+2(2)
I_TAB-SOLOMON_GRDAT+0(2) INTO
ZMM_GR_UPLOAD1-SOLOMON_GRDAT.
ZMM_GR_UPLOAD1-SOLOMON_GRDAT = I_TAB-SOLOMON_GRDAT.
INSERT ZMM_GR_UPLOAD1.
COMMIT WORK.
I_TAB-FLAG = 'C'.
MODIFY I_TAB INDEX COUNT.
CONCATENATE mthead-mat_doc mthead-doc_year
into i_msg1.
append i_msg1.
perform upd_sta.
endif.
endif.
endif.
ENDIF.
ENDLOOP. -
Item OK checkbox for BAPI_GOODSMVT_CREATE
Hi,
I am uploading GR using bapi BAPI_GOODSMVT_CREATE.
How to update 'Item OK' checkbox in BAPI.
Please help.
MonikaHi,
Pass only the item which need to create GR and its not required to set flag for Item ok.
Sample Code:
DATA: gt_goodsmvt_header LIKE bapi2017_gm_head_01,
gt_goodsmvt_item LIKE bapi2017_gm_item_create OCCURS 0 WITH HEADER LINE,
gt_return LIKE bapiret2 OCCURS 0 WITH HEADER LINE.
DATA: gt_goodsmvt_headret LIKE bapi2017_gm_head_ret,
goodsmvt_code_tmp TYPE bapi2017_gm_code,
testrun TYPE c VALUE 'X'.
data: l_return like BAPIRET2.
gt_goodsmvt_header-pstng_date = sy-datum.
gt_goodsmvt_header-doc_date = sy-datum.
***<<<<<<<<<<<BAPI Communication Structure: Material Document Header Data>>>>>>>
gt_goodsmvt_item-material = lt-matnr .
gt_goodsmvt_item-plant = lt-werks.
gt_goodsmvt_item-stge_loc = lt-lgort.
gt_goodsmvt_item-deliv_numb_to_search = lt-vbeln.
gt_goodsmvt_item-deliv_item_to_search = lt-posnr.
gt_goodsmvt_item-move_type = lt-bwart . "'101'.
gt_goodsmvt_item-entry_qnt = lt-lfimg . "'50'.
gt_goodsmvt_item-entry_uom = lt-vrkme.
gt_goodsmvt_item-mvt_ind = lt-kzbew.
gt_goodsmvt_item-po_number = lt-vgbel.
gt_goodsmvt_item-po_item = lt-vgpos.
gt_goodsmvt_item-no_more_gr = 'X'.
APPEND gt_goodsmvt_item.
goodsmvt_code_tmp = '01'. "Assign code to transaction for BAPI goods movement
****<<<<<<<Post goods movements with MB_CREATE_GOODS_MOVEMENT>>>>>>>>>>>>>>>>>>>
CALL FUNCTION 'BAPI_GOODSMVT_CREATE'
EXPORTING
goodsmvt_header = gt_goodsmvt_header
goodsmvt_code = goodsmvt_code_tmp
testrun = testrun
IMPORTING
goodsmvt_headret = gt_goodsmvt_headret
TABLES
goodsmvt_item = gt_goodsmvt_item
GOODSMVT_SERIALNUMBER =
return = gt_return.
IF gt_return[] IS INITIAL.
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
EXPORTING
WAIT = 'X'
IMPORTING
RETURN = l_return.
WRITE:/3 'ASN Number', gt_goodsmvt_item-deliv_numb_to_search,
/3 'Item',gt_goodsmvt_item-deliv_item_to_search.
ELSE.
read table gt_return index 1.
WRITE: 'ERROR',
/ gt_return-message.
ENDIF.
Regards,
Vino -
Alternative for BAPI_GOODSMVT_CREATE
Hi All,
Is there any alternative BAPI available for BAPI_GOODSMVT_CREATE to create material document for a goods movements one a time . Actually my problem is that i am inserting this BAPI in one function module
ZQM06_FM_TASK_GOODS_MOVEMENT for transaction IW52 . The importing parameter for this function module are VIQMEL and V_TQ85. I am unable to map those fields that are coming from function module to the required parameter of BAPI . I would appreciate your help in case of mapping those fields with bapi's required fields or u can suggest alternative .
Thanks & Regards,
ParagThese FM may help you to map VIQMEL fields to BAPI fields
- MAP2E_VIQMEL_BAPI2080_NOTHDRE
- MAP2E_VIQMEL_TO_BAPIVIQMEL
Or you can use the mapping FM linked to BAPI_GOODSMVT_CREATE
- MAP2E_EMKPF_TO_BAPI2017_GM_HD
- MAP2E_MKPF_TO_B2017_GM_HEAD_02
Regards -
User Exit during MB1B transaction
Our scenario is during MIGO GR we are creating batches with a custom number range based on the unit of entry on the PO. For example if we are procuring and receiving material A as Pallets with the unit of entry PAL then the batch number to be generated will be PAL0000123. If for the same material A we are receiving as Drums then the batch number is DR00000123. Each batch is required as all have a specific characteristic value that must be maintained.
The next step in our process is to transfer these materials from one storage location to another using batch determination based on FIFO from MB1B. The batch determination is only at the material level and not the Unit of Entry such as PAL or DR and so the system will transfer whatever material was received first irregardless of the unit of entry in MB1B.
What we're looking for is a user exit during the MB1B transaction prior to the batch determination that will only select batches according to the value in the Unit of Entry field in MB1B. This will allow us to apply the FIFO strategy to only PAL or DR batches separately based on the batch number assigned during GR.
Thank you,
Jeff DiluzioHello,
I have checked in my system and I see we do not have the order unit field available to create condition table with it but then we have a option to enahance the field catalog and there if we mention the field . However even in feild catalog I cant locate this filed but I see we have filed dummy.
Conclusion: First step will be to do enhance field catalog with order unit field. If that is not possible then we need to use dummy field in field catalog to create condition table and then we need to pass order unit from MB1B screen to batch search/selection procedure.
I know you have already tried for exit and all but I do not see any way possible to pass order unit to your selection /search procedure. -
NACE - MB1B Transaction -Bill Of Ladding Issue
Hi,
I am trying include Current Custom BILL OF LADDING in MB1B Transaction.What I found is ME -Inventory management controls this transaction.
I went and included My Outputtype ZBIL in that Condition ME but it is not refelecting in the output messages?
How to include this?
Regards
VaraHi Vara,
You need to maintain the output conditon records for the output only then it gets propsed in the system and you can see in the document.
You can use NACH , NACO transaction to create condition records.
Or from NACE --> Click on COndiiton button.
>> Check if there is any output requirements routines from VOFM routines.
Cheers
VJ
Message was edited by: Vijayendra Rao -
Transaction for Open Sales Orders
Hi Experts
can u let me know the Transaction for Open Sales Orders.
Regards,
kumaryou can check the tcode
VA05.
vijay -
How to create transaction for a maintenance view, Thank you.
How to create transaction for a maintenance view,
Thank you.
deniz...Hi Deniz,
Go to se93.
Then create the new T.code.
Under that select parameter Transaction.
Then give the sm30 in the t.code in default values tab.
check the checkbox skip initial screen.
in classification tab.
click checkbox inherit gui attributes..
Now below..
In the default values..
select
viewname and give ur table name.
UPDATE= Xsave
view - table name ( Should be upper case
update X ( should be upper case).
http://www.sap-basis-abap.com/sapbs011.htm
Hope this helps you.
Regards,
Viveks -
How can i pull the payment transactions for each invoice?
Hi folks
iam developing report for following requirement.
want to disply the vendor transaction file for all company codes Fiscal year,of 2004,2005,2006, and 2007 (to date).
The purpose of oureport is to analyze our company invoices and investigate potential overpayment opportunities. In order to effectively accomplish this, we need a single invoice record for each invoice that was received by compnay from their vendors. The single invoice record would contain at least the following columns: Vendor Number, Vendor Invoice Number, Invoice Date, Invoice Amount, SAP Document Number, Check/Wire Number, Check/Wire Date, Check/Wire Amount. SAP would have multiple rows in a table for any one invoice, whereas we would only want to see ONE row for every vendor invoice.
if you know that company pays (for example) 75,000 invoices/year - then the transaction file you would have about 300,000 records in it. 75,000 Invoices * 4 years.
inodrer to develop this report iam using table PAYR -payee
BSIK ( closed items) BSAK ( open items).
my question is any one tell me how can write logic to pull the payment transactions for each invoice?
regards
neeruHi rob,
yes you are right, an invovice may contaion duplicate records
example PAYR table contain
invice no compnay code checkno vendor fisclyear
( doc.number)
2000134373 001 10287200 2007
2000134373 001 10427890 2007
so as per my requirement how can i write the logic.
regards
neeru -
End User Transaction for Mass Change Sales Orders
Hello,
Transaction MASS can be used to change sales orders using object type BUS2032, however, end users are not allowed access to MASS.
In most other cases, the object types can be accessed by individual transactions, for example, MEMASSPO for BUS2012 and XD99 for KNA1.
But I cannot seem to find a similar transaction for object type BUS2032, does anyone know whether one exists or how to create such a shortcut.
Thanks,
Jake.Hi
See SAP Note 483303 - BUS2032: Only sales orders of category VBAK-VBTYP = 'C'
Regards
Eduardo -
How to find Transaction for a Known Table maintenance View
Hello Friends,
May I know how to find transaction for a known table maintenance View.
Thanks,
Best Regards,
Sudhanshu GargGoto SE16 Transaction and enter TSTCP Table
Here PARAM = /SM30 VIEWNAME=Table name*;UPDATE=X;
enter table name in bold.
Thanks
Seshu
Maybe you are looking for
-
Failure messages to be displayed in BAM and ESB Portal
Hi, As per requirement, I need to display all resumable/Non-resumable messages in both BAM and ESB Portals.for resumable messages,admin will resubmit the messages from ESB Portal.Please let me know how to achieve this requirement.
-
Material Inquiry display with maximum informations/ DBM
Kindly let me know if DBM can provide all the following informations at Material Inquiry level. At MMBE ( Stock overview level) , only a few of the informations listed are available. Parts Enquiry level display Part Number- Part Descriptio
-
Copy BW template (cube, query, web application) to multiple BW systems
We have a set of cube, query and web applications in a BW system. And we'd like to copy the set of objects to other BW systems as a BW template. (Q1) We know we can transfer the set of obejcts to other BW systems by using STMS and AWB. But if so we h
-
How do I submit my photo for my podcast page?
I already submitted my podcast and it was accepted by iTunes. At the time, I didn't have a photo to put up so I skipped that part (thinking I could do it later). Now I can't figure out how to get an image up, and it's all ready (600x600 px). I also d
-
External links in these forum posts
Hi, Is it possible to ensure external links in the forum posts open in new windows or tabs (according to the users browser settings). Navigating away from the forum and then navigating back to read more of a post is a bit of a pain. Thanks Phil