Document Splitting------------------It is very urgent
Hi all
i am woking ECC.6.0 Version
We are Splitting Profit Center wise
I want this entry
Description Profit Center Amount
Rent A/c 1000 2500
Rent A/c 2000 3000
To Vendor 5500
I done below configartion
Can any done suggest me any required configartion important or not
Frist Step
1)Classify G/L Accounts for Document Splitting
In this
i assigned G/l Accounts Like This
Account From Account To Catre
22004 22004 03000
This account my reconcilation Account categroty Vendor
71000 71999 20000
This Account Rent Account Cattegory Expenses
2) Classify Document Types for Document Splitting
I assinged Docment Type Like this
KR Vendor invoice 0300 0001 Vendor invoice Standard
SA G/L account 0000 0001 Unspecified posting Standard
3) Define Zero-Balance Clearing Account
In this step i have n'y done any configartion
4)Define Document Splitting Characteristics for General Ledger Accounting
Here
I activated
Profit Center
I selectedZero Balance Check Box
I deactivated Mandatory Feild
5) Activate Document Splitting
I selected Inactive Check box
Pls Suggests
which configration missed
Pls tell me in FB60 Eg also
1. Murali Krishna Aluru
2. Sridevi
3. Suresh Upadhyayula
Pls give suggestion
Similar Messages
-
Classify G/L Accounts for Document Splitting-----urgent
Hi all
Classify G/L Accounts for Document Splitting in this step which g/l account can i assign pls suggest
Explain this account i want to post This entry
40 Purchase service 4000------profit center 1000
40 purchase servise 6000------profit center 2000
31 To vendor -
10000
pls suggest meUse the same Raw material account but when document will split line items will be assigned automatically to the different profit centers
If its a service vendor then post to same expense account
Assign points if useful
Message was edited by:
Ragini Tiwari -
Hi:
We are using SAP 6.0. We are trying to settle to an AuC and then to an asset. The process works fine till creation of an asset but in the accounting document the profit center is not assigned to the Fixed asset APC account. In other words the document splitting is not happening. As a result we are unable to derive BS at profit center level.
Please help.Hi,
In the ACSET transaction, have you maintained the account assignment object "KOSTL" for APC Values Posting and Depreciation Posting with transaction type as "*" for the book depreciation area?
Let me know if it helps.
Ramanand -
Error during GR(very very urgent)
Hi all,
i am using a developed program for GR.i used this program before.there was no error.but now i am facing error like
<b>PO ordered quqntity exceeded by 18,000 EA.</b>.i am using <b>BAPI_GOODSMVT_CREATE</b> for goods transfer.
In the selection screen, i am putting
PO number- PO1
material number- MAT
GR quantity- 18,000
delivery order-111
i want to receive the material MAT of quantity 18,000 from that PO.initially i have ordered PO quntity as 1 lakh. Till now i have received 42,000 materials,now i try to receive 18,000 materials.but it is showing this type of error.
This error is fired from the return parameter of that BAPI only.error having message class-M7 & error no-022
is comming.
i am giving my coding below.plz suggest where is the problem.it is very very urgent.recently my company has added some patches to update the SAP.is this the cause for that error.plz suggest.
any idea will be highly appreaciated.
Regards
REPORT zmui001
LINE-SIZE 140
LINE-COUNT 65
NO STANDARD PAGE HEADING.
*-- DATA DECLARATION--
*-- tables
TABLES : ekpo,
ekbe,
marv.
*--Includes
INCLUDE : <icon>. " Include for Icons
*-- Types
TYPES : BEGIN OF t_mseg,
ebeln LIKE ekko-ebeln,
name1 LIKE lfa1-name1,
lifnr LIKE lfa1-lifnr,
eknam LIKE t024-eknam,
mblnr LIKE mkpf-mblnr,
matnr LIKE ekpo-matnr,
maktx LIKE makt-maktx,
lgort LIKE mseg-lgort,
charg LIKE mseg-charg, "chg: 10/17/2005
menge LIKE mseg-menge,
budat LIKE mkpf-budat,
bldat LIKE mkpf-bldat, " chg : 08/18/2003
xblnr LIKE mkpf-xblnr,
END OF t_mseg.
DATA: BEGIN OF t_ekbe,
ebeln LIKE ekbe-ebeln,
ebelp LIKE ekbe-ebelp,
bwart LIKE ekbe-bwart,
matnr LIKE ekbe-matnr,
menge LIKE ekbe-menge,
END OF t_ekbe,
BEGIN OF t_ekpo,
ebeln LIKE ekpo-ebeln,
ebelp LIKE ekpo-ebelp,
matnr LIKE ekpo-matnr,
menge LIKE ekpo-menge,
END OF t_ekpo.
TYPES : BEGIN OF t_options.
INCLUDE STRUCTURE itcpo.
TYPES : END OF t_options.
*--Internal tables
DATA: BEGIN OF i_item OCCURS 50. "Create Material Document Item
INCLUDE STRUCTURE bapi2017_gm_item_create.
DATA: END OF i_item .
DATA: BEGIN OF i_return OCCURS 20. "Return parameter
INCLUDE STRUCTURE bapiret2.
DATA: END OF i_return.
DATA: BEGIN OF i_part OCCURS 0, " Internal table for split data
part(20),
END OF i_part.
DATA: BEGIN OF i_return1 OCCURS 20. "Return parameter
INCLUDE STRUCTURE bapiret1.
DATA: END OF i_return1.
*-- Work areas
DATA: BEGIN OF wa_header . "Material Document Header Data
INCLUDE STRUCTURE bapi2017_gm_head_01.
DATA: END OF wa_header .
DATA: BEGIN OF wa_return . "Output Structure
INCLUDE STRUCTURE bapi2017_gm_head_ret.
DATA: END OF wa_return .
*-- Work areas
DATA: wa_mseg TYPE t_mseg,
wa_ekbe LIKE t_ekbe,
wa_ekpo LIKE t_ekpo,
wa_options TYPE t_options,
i_ekbe LIKE STANDARD TABLE OF t_ekbe,
i_ekbe2 LIKE STANDARD TABLE OF t_ekbe,
i_ekpo LIKE STANDARD TABLE OF t_ekpo.
*---Variables
DATA: v_first, " variable to get first digit
v_set TYPE c,
v_found TYPE p,
v_menge TYPE p,
v_ebeln LIKE ekko-ebeln,
v_lifnr LIKE ekko-lifnr,
v_belnr LIKE ekbe-belnr,
v_postdate LIKE mkpf-budat,
v_bukrs LIKE marv-bukrs,
v_datum LIKE sy-datum,
v_lgort LIKE mard-lgort, " Stge. location
v_bwart LIKE mseg-bwart, " Movement type
v_infnr LIKE eina-infnr, " Info record no.
v_ltsnr LIKE eina-ltsnr.
*---Constants
CONSTANTS: c_comma TYPE c VALUE ',', " For splitting data at commas
c_01(2) TYPE c VALUE '01', " For movement code in Bapi
c_b TYPE c VALUE 'B', " For mvt. Indicator in Bapi
c_save(4) TYPE c VALUE 'SAVE', " For button text
c_clear(5) TYPE c VALUE 'CLEAR', " For clear button
c_mvmt(4) TYPE c VALUE 'MVMT',
c_ok(2) TYPE c VALUE 'OK',
c_error(5) TYPE c VALUE 'Error'.
*--SELECTION SCREEN DESIGN--
SELECTION-SCREEN BEGIN OF BLOCK blk1 WITH FRAME.
PARAMETERS: p_bar(75) , " Scanned data from barcode
p_ebeln LIKE ekko-ebeln, " PO number
p_matnr LIKE ekpo-matnr, " Material number
p_menge LIKE ekpo-menge, " Quantity
p_lifnr LIKE ekko-lifnr, " Vendor code
p_frbnr LIKE mkpf-frbnr, " Reference doc for goods mvt
p_status(5) TYPE c.
SELECTION-SCREEN END OF BLOCK blk1.
SELECTION-SCREEN PUSHBUTTON 15(10) v_save USER-COMMAND mvmt.
SELECTION-SCREEN PUSHBUTTON 40(10) v_clear USER-COMMAND clear.
INITIALIZATION -
INITIALIZATION.
v_save = c_save .
v_clear = c_clear.
*--AT SELECTION_SCREEN--
AT SELECTION-SCREEN .
IF sy-ucomm = c_clear.
PERFORM f_clear.
ELSE.
IF sy-ucomm <> c_mvmt.
if not sy-tabix is initial and sy-ucomm <> c_mvmt.
*--- Extracting the data by splitting the scanned values.
PERFORM f_get_split_data.
*--- Validating the input data.
PERFORM f_check_inputs.
ELSE .
*--- Validating the input data.
PERFORM f_check_inputs.
*-- Determining the posting date and period check.
PERFORM f_get_posting_date.
*---Post goods movement
PERFORM f_post_receipt.
ENDIF.
ENDIF.
SUBROUTINES *
*& Form f_check_inputs
Validating the input parameters
FORM f_check_inputs.
*-- Validating material no.
SELECT SINGLE matnr INTO p_matnr
FROM mara
WHERE matnr = p_matnr.
IF sy-subrc = 4.
p_status = c_error.
MESSAGE e003(zm) WITH 'Material no.'.
ENDIF.
*-- Validating JHT reference no.
SELECT SINGLE ebeln
lifnr
bukrs
INTO (p_ebeln, v_lifnr , v_bukrs)
FROM ekko
where unsez = p_unsez. chg:07072003
WHERE ebeln = p_ebeln.
IF sy-subrc = 4.
p_status = c_error.
MESSAGE e003(zm) WITH 'Purchase order no.'.
ENDIF.
*-- Validating material po combination
SELECT SINGLE *
FROM ekpo
WHERE ebeln = p_ebeln
AND matnr = p_matnr.
IF sy-subrc = 4.
p_status = c_error.
MESSAGE e003(zm) WITH 'Purchase order no.' ' and Material no.'.
ENDIF.
*--- Checking for DO entry . (chng : 30/06/2003)
IF p_frbnr IS INITIAL.
MESSAGE e018(m7) WITH 'Delivery no.'.
p_status = c_error.
PERFORM f_clear.
ENDIF.
*-- Validating material po do combination
SELECT SINGLE a~belnr
INTO v_belnr
FROM ekbe AS a
INNER JOIN mkpf AS b
ON abelnr = bmblnr
AND agjahr = bmjahr
WHERE a~ebeln = ekpo-ebeln
AND a~ebelp = ekpo-ebelp
AND b~xblnr = p_frbnr.
IF sy-subrc = 0.
MESSAGE e019(zm) WITH v_belnr.
p_status = c_error.
PERFORM f_clear.
ENDIF.
p_status = c_ok.
ENDFORM. " f_check_inputs
*& Form f_get_split_data
Extracting the data by splitting the Scanned data
FORM f_get_split_data.
*-- Splitting the data at commas
SPLIT p_bar AT c_comma INTO TABLE i_part.
*-- Assigning the parts to variables.
LOOP AT i_part.
v_first = i_part-part+0(1).
TRANSLATE v_first TO UPPER CASE.
CASE v_first .
WHEN 'V'.
p_lifnr = i_part-part+1(10).
WHEN 'P'.
p_matnr = i_part-part+1(18).
WHEN 'Q'.
p_menge = i_part-part+1(13).
WHEN 'K'.
p_ebeln = i_part-part+1(10).
WHEN 'D'.
p_frbnr = i_part-part+2(16).
WHEN OTHERS.
CONTINUE.
ENDCASE.
ENDLOOP.
ENDFORM. " f_get_split_data
*& Form f_get_posting_date
Determing the posting date for document
FORM f_get_posting_date.
*-- get the current period for todays date.
DATA: l_period LIKE t009b-poper.
CALL FUNCTION 'DATE_TO_PERIOD_CONVERT'
EXPORTING
i_date = sy-datum
i_periv = 'K4'
IMPORTING
e_buper = l_period
E_GJAHR =
EXCEPTIONS
input_false = 1
t009_notfound = 2
t009b_notfound = 3
OTHERS = 4
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
*-- Determining whether the open period
SELECT SINGLE *
FROM marv
WHERE bukrs = v_bukrs.
IF sy-subrc = 0.
IF l_period = marv-lfmon .
v_postdate = sy-datum.
ELSE.
CALL FUNCTION 'BAPI_CCODE_GET_FIRSTDAY_PERIOD'
EXPORTING
companycodeid = v_bukrs
fiscal_period = marv-lfmon
fiscal_year = marv-lfgja
IMPORTING
first_day_of_period = v_postdate
return = i_return1.
IF NOT i_return[] IS INITIAL.
LOOP AT i_return1.
MESSAGE i016(zm) WITH i_return-message.
ENDLOOP.
ENDIF.
ENDIF.
ENDIF.
ENDFORM. " f_get_posting_date
*& Form f_post_receipt
Post the goods receipt for entered data.
FORM f_post_receipt.
PERFORM f_fill_item.
PERFORM f_fill_header.
PERFORM f_execute_transfer.
PERFORM f_clear.
ENDFORM. " f_post_receipt
*& Form f_fill_item
Updating the item data for the GR
FORM f_fill_item.
Checking for IQC cycle is done here.(chng : 23/07/2003)
PERFORM f_check_iqc.
*---- Assigning movement type as per IQC cycle.(chng : 23/07/2003)
IF v_lgort IS INITIAL.
MOVE '101' TO i_item-move_type.
SELECT SINGLE lgort INTO i_item-stge_loc
FROM ekpo
where ebeln = v_ebeln and " chg :07/07/2003
WHERE ebeln = p_ebeln AND
matnr = p_matnr .
ELSE.
MOVE v_lgort TO i_item-stge_loc.
MOVE v_bwart TO i_item-move_type.
ENDIF.
MOVE p_matnr TO i_item-material.
MOVE p_menge TO i_item-entry_qnt.
move v_ebeln to i_item-po_number. " 07/07/2003
MOVE p_ebeln TO i_item-po_number.
MOVE v_lifnr TO i_item-vendor.
MOVE c_b TO i_item-mvt_ind.
select single ebelp into i_item-po_item " chg :29/07/2003
from ekpo
where ebeln = p_ebeln
and matnr = p_matnr
and elikz = ''.
SELECT ebeln
ebelp
matnr
menge
INTO CORRESPONDING FIELDS OF TABLE i_ekpo
FROM ekpo
WHERE ebeln = p_ebeln
AND matnr = p_matnr
AND loekz = '' .
SORT i_ekpo BY ebeln ebelp matnr.
LOOP AT i_ekpo INTO wa_ekpo.
IF v_found = 0.
SELECT ebeln ebelp
bwart menge
INTO CORRESPONDING FIELDS OF TABLE i_ekbe
FROM ekbe
WHERE ebeln = p_ebeln
AND ebelp = wa_ekpo-ebelp
AND matnr = p_matnr.
and elikz = '' . CHG -- 03/19/2004
IF sy-subrc = 0.
LOOP AT i_ekbe INTO wa_ekbe .
IF wa_ekbe-bwart = '101'.
v_menge = v_menge + wa_ekbe-menge.
ENDIF.
IF wa_ekbe-bwart = '102'.
v_menge = v_menge - wa_ekbe-menge.
ENDIF.
IF wa_ekbe-bwart = '122'.
v_menge = v_menge - wa_ekbe-menge.
ENDIF.
ENDLOOP.
chng: 03/19/2004 compare po qty against receipt
v_menge = v_menge + p_menge .
IF wa_ekpo-menge >= v_menge .
v_found = 1.
MOVE wa_ekpo-ebelp TO i_item-po_item.
ENDIF.
ELSE .
v_found = 1.
MOVE wa_ekpo-ebelp TO i_item-po_item.
ENDIF.
ENDIF.
CLEAR : wa_ekbe, i_ekbe, v_menge.
ENDLOOP.
IF v_found = 0 .
MESSAGE e003(zm) WITH ' delivery items'.
ENDIF.
APPEND i_item.
CLEAR : i_item, v_found .
ENDFORM. " f_fill_item
*& Form f_check_iqc
Checking the storage location for the (chng : 23/07/2003)
FORM f_check_iqc.
CALL FUNCTION 'Z_M_GET_IQC_STATUS'
EXPORTING
matnr = p_matnr
lifnr = v_lifnr
IMPORTING
lgort = v_lgort
bwart = v_bwart
ltsnr = v_ltsnr
infnr = v_infnr
EXCEPTIONS
non_iqc_vendor = 1
OTHERS = 2.
IF sy-subrc <> 0.
CLEAR : v_lgort , v_bwart , v_ltsnr.
ENDIF.
ENDFORM. " f_check_iqc
*& Form f_fill_header
Updating data in the header
FORM f_fill_header.
MOVE v_postdate TO wa_header-pstng_date.
MOVE sy-datum TO wa_header-doc_date.
MOVE p_frbnr TO wa_header-ref_doc_no.
ENDFORM. " f_fill_header
*& Form f_execute_transfer
Executing the goods movement.
FORM f_execute_transfer.
CALL FUNCTION 'BAPI_GOODSMVT_CREATE'
EXPORTING
goodsmvt_header = wa_header
goodsmvt_code = c_01
IMPORTING
goodsmvt_headret = wa_return
TABLES
goodsmvt_item = i_item
return = i_return.
IF i_return[] IS INITIAL .
COMMIT WORK.
*--- UPdating Info record for IQC cycle ind.(chng : 23/07/2003)
IF NOT v_ltsnr IS INITIAL.
UPDATE eina SET ltsnr = v_ltsnr
WHERE infnr = v_infnr.
ENDIF.
REFRESH : i_item.
CLEAR : wa_header,v_ltsnr , v_infnr,v_bwart,v_lifnr.
MESSAGE i012(migo) WITH wa_return-mat_doc.
PERFORM f_do_print.
ELSE.
REFRESH : i_item.
CLEAR : wa_header,v_ltsnr , v_infnr,v_bwart,v_lifnr.
PERFORM write_errors.
ENDIF.
ENDFORM. " f_execute_transfer
FORM write_errors.
WRITE: 0(90) sy-uline ,
/0'|',
3 'System messages for GR posting',
90 '|',
/0(90) sy-uline .
LOOP AT i_return.
CASE i_return-type.
WHEN 'E'.
MESSAGE i016(zm) WITH i_return-message.
WHEN 'W'.
MESSAGE i017(zm) WITH i_return-message.
WHEN 'I'.
WRITE: /0'|',
icon_yellow_light AS ICON ,
'|',
10 i_return-message,
90 '|'.
MESSAGE i018(zm) WITH i_return-message.
WHEN 'S'.
WRITE: /0'|',
icon_green_light AS ICON ,
'|',
10 i_return-message,
90 '|'.
MESSAGE i018(zm) WITH i_return-message.
WHEN OTHERS.
WRITE: /0'|',
icon_red_light AS ICON ,
'|',
10 i_return-message,
90 '|'.
MESSAGE e016(zm) WITH i_return-message.
ENDCASE.
AT LAST .
WRITE:/0(90) sy-uline .
ENDAT.
ENDLOOP.
ENDFORM. " write_errors
*& Form f_clear
Clearing the input parameters
FORM f_clear.
CLEAR : p_ebeln ,
p_bar,
p_matnr,
p_frbnr,
v_lifnr,
p_menge,
p_status.Hi all,
can anyone suggest any idea?
Regrds
pabitra -
Document Splitting-Migration steps
Dear Consultant,
Any body is having documentation regarding Document splitting Migration Steps.It is very very urgent.
Please help us.
Regards,
KalpanaHi
You need to migrate from Classic GL to New GL. With New GL Document Splitting comes with.
The following notes would be helpful to you.
1070629 - FAQs: New General Ledger Migration
1039752 - New G/L migration: Restrictions and important information
1030497 - SAP ERP 6.0: Public sector scenarios in new general ledger
1014369 - NewGL migration: Availability of Development Support
1014364 - NewGL migration: Information, prerequisites, performance
1006320 - Expenditure Certification: Certifying Payment Amounts
966000 - mySAP new general ledger and Joint Venture Accounting
890237 - New GL with document splitting: Legacy data transfer
Also you can have more indepth at http://service.sap.com/GLMIG.
Regards,
Suraj -
Document splitting: Items for clearing 0010/100062508/2010/001 not found
HI Gurus,
I hava issue with FC valuation. I have done configurtin for FC Valuation of GL A/c i.e, Long Term loan paybles which is created as Open Item management.
It is working fine post the entries at the end of May and reversed the same on 01.06.2010 in development system. i have moved saem request to Acceptance client and testing the same scenario. But i am getting the following error.
"Document splitting: Items for clearing 0010/100062508/2010/001 not found
Message no. GLT0002
Diagnosis
Document splitting cannot perform clearing because it was not possible to find complete splitting information on the items to be cleared (company code 0010, document number 100062508, fiscal year 2010, item 001).
System Response
Clearing cannot be performed and the document cannot be posted.
Procedure
Exclude the affected item from clearing.
It may be that this item was not posted with active document splitting. In this case, this item or document would have to be migrated."
I have checked the docuemnt splitting config . In two systems it was same and doc.splitting was configurated very long back.
Could any one help on the above error
Thanks in advance
PAVANHi Pavan,
Please note the following, the error GLT0002 is normally caused by a change done in your customizing for splitting. Since you mentioned that this is happening for one company code, it seems to be that one change was made only for this company code in your SPRO settings.
For example if you have activated open item managment subsequently on account or another example would be that you posted document prior to activation of document splitting.
Please see section 5 of note 891144:
Items posted while open item management was still inactive in G/L account master data cannot be cleared after open item management has been activated subequently if New G/L document splitting is active.
Therefore, if document splitting is active, open item management should never be activated subsequently on accounts to which documents had already been posted with inactive open item management.
Review note 891144 in full. I believe that this will help you resolve the issue.
Best Regards,
Vanessa. -
How to write code for this logic in a routine, very urgent --help me
hi all,
i want to apply this logic into one subroutin ZABC.
here i m giving my logic ,can any body help me in coding for this, this is very urgent, i hv to submit on wednesday.
4.1 Read the company code number BSEG-BUKRS from document line item.
4.2 Fetch PRDHA from MARA into GV_PRDHA where MATNR = BSEG-MATNR.
4.3 Fetch Business area (GSBER) from ZFIBU into GV_GSBER where (PRDHA = GV_PRDHA and BUKRS = BSEG-BUKRS) OR (PRDHA = GV_PRDHA and BUKRS = SPACE).
4.4 If business area match is found, go to step 3.9. Else continue.
4.5 If BKPF-BLART IN set ZVS_POSDT OR BKPF-XBLNR starts with I0*, execute steps below. Else, go to Step 3.6.
i. MOVE: BSEG-BKURS TO work area field WA_ZFIBUE-BUKRS,
BSEG-MATNR TO work area field WA_ZFIBUE-MATNR,
GV_PRDHA TO work area field WA_ZFIBUE-PRDHA,
BSEG-HKONT TO work area field WA_ZFIBUE-HKONT,
BSEG-GSBER TO work area field WA_ZFIBUE-GSBER,
BSEG-PSWBT TO work area field WA_ZFIBUE-PSWBT,
BKPF-BUDAT TO work area field WA_ZFIBUE-BUDAT,
SY-DATUM TO work area field WA_ZFIBUE-CREDATE,
SY-UZEIT TO work area field WA_ZFIBUE-CRETIME,
Fetch running serial number (WA_ZFIBUE-SERIALNO) from ZFICO. This number will be stored in ZFICO with PARAMTYPE = "BPM030307", SUBTYPE = "ZFIBUE" and KEY1 = "SERIALNO". The actual serial number will be stored in the field VALUE1.
i. Insert WA_ZFIBUE INTO ZFIBUE.
ii. Send email notification to the user (if it is not already sent to user on the same posting date).
Use function module SO_NEW_DOCUMENT_ATT_SEND_API1 to send mail.
Fetch email address and date of last email from ZFICO. These values will be stored in ZFICO with PARAMTYPE = "BPM030307", SUBTYPE = "EMAIL" and KEY1 = "<USERNAME>". The email address will be stored in the field VALUE1 and posting date in VALUE2. Once mail is sent, VALUE2 is updated with latest posting date (BKPF-BUDAT).
iii. Increment the running serial number and update ZFICO with new serial number.
a. GV_ SERIALNO = WA_ZFIBUE-SERIALNO + 1
b. Update ZFICO Set value1 = GV_SERIALNO
Where PARAMTYPE = "BPM030307" AND
SUBTYPE = "ZFIBUE" AND
KEY1 = "SERIALNO".
iv Move VDFT to BSEG-GSBER.
v. Exit routine.
4.6 Fetch MTART into GV_MTART from MARA where MATNR = BSEG-MATNR.
4.7 If SY-BATCH = INITIAL AND GV_MTART <> ROH, issue the error message - Maintain the mapping of product hierarchy <PRDHA> from article <MATNR> for <BUKRS>. Else, go to step 3.8.
4.8 If SY-BATCH <> INITIAL AND GV_MTART <> ROH, issue the error message - Maintain product hierarchy on article master. Go to step 3.10.
4.9 Move GV_GSBER TO BSEG-GSBER.
4.10 Exit Routine
plz give me reply asap --this is very urgent
thanks in advance
swathiHi Swathi,
If it's very very urgent then you better get on with it, don't waste time on the web. Chop chop. -
Communication b/w SAP and VB .exe file - Very urgent.
hi,
I am currently in a project implementing SAP for a cement manufacturing company. Here we have a VB .exe file which takes parameters and return values. now we need to connect this to application to SAP R/3 to pass data to that application and access the data from that .exe file.
Note: we don't have any source code for that vb .exe file its a third party software.
Its an very urgent one....
please guide me how to do it with all steps.
Any material please pass to [email protected]
Thanks in advance.form grosswt .
refresh itab3.
clear itab3.
Executing VB EXE file to get the weight from weigh bridge
call function 'WS_EXECUTE'
exporting
DOCUMENT = ' '
CD = ' '
COMMANDLINE = ' '
inform = 'X'
cd = 'C:\SAPWEI'
program = 'C:\sapwei\MyVB.exe'
STAT = ' '
WINID = ' '
OSMAC_SCRIPT = ' '
OSMAC_CREATOR = ' '
WIN16_EXT = ' '
EXEC_RC = ' '
IMPORTING
RBUFF =
EXCEPTIONS
FRONTEND_ERROR = 1
NO_BATCH = 2
PROG_NOT_FOUND = 3
ILLEGAL_OPTION = 4
GUI_REFUSE_EXECUTE = 5
OTHERS = 6
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
Fetching Value from VB text file
call function 'WS_UPLOAD'
exporting
CODEPAGE = ' '
filename = 'C:\sapwei\w1.txt'
FILETYPE = 'ASC'
HEADLEN = ' '
LINE_EXIT = ' '
TRUNCLEN = ' '
USER_FORM = ' '
USER_PROG = ' '
DAT_D_FORMAT = ' '
IMPORTING
FILELENGTH =
tables
data_tab = itab3
EXCEPTIONS
CONVERSION_ERROR = 1
FILE_OPEN_ERROR = 2
FILE_READ_ERROR = 3
INVALID_TYPE = 4
NO_BATCH = 5
UNKNOWN_ERROR = 6
INVALID_TABLE_WIDTH = 7
GUI_REFUSE_FILETRANSFER = 8
CUSTOMER_ERROR = 9
NO_AUTHORITY = 10
OTHERS = 11
if sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
endif.
loop at itab3.
v1 = itab3-num.
pgrwt = v1.
endloop.
message 'Save Gross Weight' type 'S'.
endform. " grosswt -
Excise Duty Value in Export Invoice - Very Urgent
Hi Gurus,
I have created a Export delivery & Billing Documents. I am trying to create Excise Invoice in which Excise Duty values are coming as "0". We are using TAXINN Procedure , ECC 6.0
Is there any specific note or any customization required for this ?
Due to this ARE1 is also giving "0" values & subsequent "0" value in Bond Register.
Can anybody help me on this ? It is very urgent.
Thanks in advance
VikasHi Vikas,
Could you help yaar ...if you got solution for it ..I am facing same problem..We are going live very soon,
help of ur's could help me lot ..My mail id [email protected]
Thanks in advanec in for your help.
regards,
Vijay Khochare -
Need help in Idoc--very urgent.
Hi guys,
i am working on an object where i need to post the data from legacy system to F-27 transaction using Idoc.i hv found two idocs input_idoc_fidcc1 and input_idoc_fidcc2 for posting the data..
Can anyone help in finding the right idoc for triggering the f-27 transaction with the reason...
coz both are perfoming almost the same functionalities...
its very urgent guys..
kindly help me full marks wud be given...
regards
SahilHi,
The function module is related to post the idoc type FIDCPP01
and posts the complete FI document. and as coming to second function module along with Tax you can post item wise with holding tax dataalso. So you choose the required function module based on the data you need to post. If you need not post with holding tax details dont fo for second function modules.
Reward if find useful -
Very Urgent: Deleting Batch from STO and Goos Issue reversal Using BAPI
Hi,
I want to delete outbound delivery for particular shipment number and this should be done using BAPI or a FM not using the tcode VL02N.
I wld be very grateful
Please List out the BAPI 's or FM that can be used for to perform these listed , with using Tcodes:
1) REVERSE BILLING DOCUMENT(VF11)
2) GOODS ISSUe REVERSAL (VL09N)
3) REMOVE DELIVERY FROM SHIPMENT (VT02N)
4) DELETING DELIVERY(VL02N)
5) REMOVE BATCH FROM STO (ME22N)
Its very urgent..
Thank you in advance....1) REVERSE BILLING DOCUMENT(VF11)
BAPI_BILLINGDOC_CANCEL
2) GOODS ISSUe REVERSAL (VL09N)
BAPI_GOODSMVT_CANCEL
3) REMOVE DELIVERY FROM SHIPMENT (VT02N)
BAPI_SHIPMENT_CHANGE
4) DELETING DELIVERY(VL02N)
5) REMOVE BATCH FROM STO (ME22N)
BAPI_PO_CHANGE -
Bank statement and bank clearing document splitting
Hi,
We have main bank and bank clearing accounts classified as cash category.
Our bank statement uses a Z document type that posts transactions such as:
- debtor to main bank
- vendor to main bank
- expense to main bank
- revenue to main bank
Thereafter, the bank clearing that is done between main bank and bank clearing account (so a cash to cash rule is needed based on the GL account classification)
We needed to use an unspecified posting rule to cater for the bank statement posting as the standard did not allow us to add vendor, debtor, expense, revenue as base item categories. But it doesnt allow us to add cash to cash.
How should we configure document splitting to cater for this?Hi ,
First of all i hope you are clear with the concept of Incoming , otugoing and main bank account that we need to create 3 or more diffrent bank accounts for reconcilliation purpose .
the case here is that you cant to do a manual statement upload then in that case you will have to take care of following things .
How is the information transferred from FICA to FICO means along with the reconcilliation key what else information are you passing on to FI in the documents .
Secondly in the bank statement are you getting the reconcilliation key ??? or what information are you getting in the bank statement ???
because the integration of FI and FICA is the reco key and it becomes very crucial for you to have the same in the bank statement .
thirdly , Use the manual reconcillaiton functionality provided in FI for reconciling the same , where in you will have to configure the manual bank statement functionality and by using the T code ff67 you can reconcile it .
Hope this suffices the prupose .
Do revert back in case of any other queries .
cheers ,
dewang -
XML SQL utility ( Very Urgent)
Hi,
Running the Client side Front-End works for me....Thank you
very much. These are all my questions.
1. As far as my understanding goes XML Parsers are used to parse
the incoming XML documents before updating the database. But
when I used the Oraxle XML class(getXML option)I found one
command line option called -useDOMDoc( Use the DOM API to
generate the XML doc). I am not clear about it's functionality.
Why it's being used to create a XML document? Or explain me
clearly about the functionality of getXML option?
2.With the help of putXML command line option I could insert one
XML document into Oracle 8i ( I could insert one table only). My
question is if I have a XML document which contains elements
from two tables( emp and detail) and tags from the same two
table too. In that case how could I insert into two tables? what
I should do?
For example my DTD has columns for two tables emp and detail.
Here is my xml document, and the command which I am going to use
in the command line would be
java OracleXML putXML -user "scott/tiger" -filename xxxxx emp,
details
<?xml version="1.0"?>
<!DOCTYPE ROWSET [
<!ELEMENT ROWSET (ROW)*>
<!ELEMENT ROW (EMPNO, ENAME?, JOB?, MGR?, HIREDATE?, SAL?,
COMM?, DEPTNO?)>
<!ATTLIST ROW num CDATA #REQUIRED>
<!ELEMENT EMPNO (#PCDATA)>-----------To Table EMP
<!ELEMENT ENAME (#PCDATA)>-----------To Table EMP
<!ELEMENT JOB (#PCDATA)>-------------To Table EMP
<!ELEMENT MGR (#PCDATA)>-------------To Table EMP
<!ELEMENT HIREDATE (#PCDATA)>--------To Table EMP
<!ELEMENT SAL (#PCDATA)>-------------To Table EMP
<!ELEMENT COMM (#PCDATA)>------------To Table EMP
<!ELEMENT DEPTNO (#PCDATA)>----------To Table EMP
<!ELEMENT LOCATION (#PCDATA)>--------To Table DETAILS
<!ELEMENT ALLOWANCE (#PCDATA)>-------To Table DETAILS
]>
<ROWSET>
<ROW num="1">
<EMPNO>88</EMPNO>
<ENAME>cmos</ENAME>
<LOCATION>usa</LOCATION>
<ALLOWANCE>1000</ALLOWANCE>
</ROW>
</ROWSET>
Thanks,
Chan...
nullHi Chan,
Hello Mr. "very urgent" Chan,
1- The command line front end of the XSU, besides being useful
for you users, it is also a great tool for us to test the XSU.
Basically the -useDOMDoc makes the XSU use OracleXMLDocGenDOM to
generate the doc. When using the query API you can pass the
OracleXMLDocGenDom class to the getXML request and instead of a
string contining the xml document you will get back a DOM tree
(i.e. Document object).
2- This issue is visited at:
http://f2.dejanews.com/oracletechnet/members/index.cgi?do=showmsg
&conf=Oracl1.XML&msg=1431&show=all&depth=all
Chan (guest) wrote:
: Hi,
: Running the Client side Front-End works for me....Thank you
: very much. These are all my questions.
: 1. As far as my understanding goes XML Parsers are used to
parse
: the incoming XML documents before updating the database. But
: when I used the Oraxle XML class(getXML option)I found one
: command line option called -useDOMDoc( Use the DOM API to
: generate the XML doc). I am not clear about it's functionality.
: Why it's being used to create a XML document? Or explain me
: clearly about the functionality of getXML option?
: 2.With the help of putXML command line option I could insert
one
: XML document into Oracle 8i ( I could insert one table only).
My
: question is if I have a XML document which contains elements
: from two tables( emp and detail) and tags from the same two
: table too. In that case how could I insert into two tables?
what
: I should do?
: For example my DTD has columns for two tables emp and detail.
: Here is my xml document, and the command which I am going to
use
: in the command line would be
: java OracleXML putXML -user "scott/tiger" -filename xxxxx emp,
: details
: <?xml version="1.0"?>
: <!DOCTYPE ROWSET [
: <!ELEMENT ROWSET (ROW)*>
: <!ELEMENT ROW (EMPNO, ENAME?, JOB?, MGR?, HIREDATE?, SAL?,
: COMM?, DEPTNO?)>
: <!ATTLIST ROW num CDATA #REQUIRED>
: <!ELEMENT EMPNO (#PCDATA)>-----------To Table EMP
: <!ELEMENT ENAME (#PCDATA)>-----------To Table EMP
: <!ELEMENT JOB (#PCDATA)>-------------To Table EMP
: <!ELEMENT MGR (#PCDATA)>-------------To Table EMP
: <!ELEMENT HIREDATE (#PCDATA)>--------To Table EMP
: <!ELEMENT SAL (#PCDATA)>-------------To Table EMP
: <!ELEMENT COMM (#PCDATA)>------------To Table EMP
: <!ELEMENT DEPTNO (#PCDATA)>----------To Table EMP
: <!ELEMENT LOCATION (#PCDATA)>--------To Table DETAILS
: <!ELEMENT ALLOWANCE (#PCDATA)>-------To Table DETAILS
: ]>
: <ROWSET>
: <ROW num="1">
: <EMPNO>88</EMPNO>
: <ENAME>cmos</ENAME>
: <LOCATION>usa</LOCATION>
: <ALLOWANCE>1000</ALLOWANCE>
: </ROW>
: </ROWSET>
: Thanks,
: Chan...
Oracle Technology Network
http://technet.oracle.com
null -
When we run CO88 - Actual Settlement, I have the following error occurs -
"Order 1101396: Split delta (207,260.00 in currency 10) according to standard
price
Message no. MLCCS 015 "
Can some one help me, very urgentHi,
this error is related to material ledger actual costing. it seems that some acual cost component split cannot be created in the proper way. Normally I would recommend to open up a message to SAP support on component CO-PC-ACT to let the experts investigate into that. Since you state that it is very urgent you may try to help yourself by the program MLCCS_KO88_TREATMENT. The usage is described in
<a href="https://service.sap.com/sap/support/notes/632752">note 632752</a>
I would assume that the error vanishes if you declare in that program that you want to use a split according to the standard price.
best regards,
Udo -
Customer Exits for Delivery & Goods Receipt - Very Urgent
Hi Everyone,
We have got a requirement where we have to trigger a screen exit/badi at the time of posting the material document in transaction MIGO or delivery document in VL01N, can any one tell me the right exit as this is very urgent.
Rgds,Hi,
Will you elaborate on this, I cant use call screen statement as this gives syntax errors, I have to necessarily use 'leave to' or 'call transaction', however using this above mentioned I wont have any scope for the variables which were there in the method of the BADI????,
Any help would be very much rewarded.
Rgds,
Maybe you are looking for
-
My final project for this quarter in a web design class is due in less than a week. And suddenly, after months of working with this exact file, it won't open. I'm trying to open it in CC (newest version of Muse) at school. At home, I downloaded a tri
-
Trouble with iMac and Fusion Drive
Hello, I recently tried installing Windows 8.1 via Boot Camp on my Retina iMac. The install was unsuccessful, so I went to Boot Camp and deleted the partition. After that, I realized I was not able to access that space on the HDD. Reading around, I e
-
Dear guys, Support Pls..I am working In 640Basis system. I have created Logical path ZDIRLOGGING and ZLOGICFILE using FILE transaction. I have set my logical path as below in WINDOWS NT environment. ZDIRLOGGING :C:\usr\sap\RX1\DVEBMGS90\log\<FILENAME
-
My new folders are not visible in Finder
New folders (generated by a application, SABNZB+, that runs in the background as a web service) will only show up in Finder once I have run a search in Finder and are not visible before. I have tried a disk repair and a permissions rebuild. Any ideas
-
Deploy error on SAP J2EE (CRM/Internet Sales)
We are using Internet Sales for CRM 4.0 on SAPJ2EE 6.20 SP24. When deploying the application I get a strange error message saying: WARNING 1 - Error can't load Servlet com.sapmarkets.isa.core.ActionServlet : java.lang.NoClassDefFoundError: com/sap/ut