Program/Exit for creating ekstra posting documents for movements
Hi guys,
I've heard there might be a user-exit or a program that will allow me to do double posting for certain accounts. Many of the documents created in CML require double posting to meet the public sector accounting requirements.
Try changing the behavior of the uwl when calling a SAP GUI from the default ITS to WIN GUI since you can't display documents on ITS:
Content Administration->Portal Content->Portal Users->Standard Portal Users->Universal Worklist->UWL - Launch SAP Transaction
Under Property Category choose Content - Transaction. Set the property SAP GUI Type to SAP GUI for Windows.
Similar Messages
-
Need to create a Change document for tracking Purpose on standard table
Hi Experts,
I am updating a field in standard table so need to create a change document for tracking the changes being done on the field.
I created the change Document with transaction SCDO but I am stuck at point - How to call that in the report program to enable the change document.
Please advice.
Thanks!!Hi
U can assign your transaction to Z-report like this:
PARAMETERS: TAB1 RADIOBUTTON GROUP R1 DEFAULT 'X',
TAB2 RADIOBUTTON GROUP R1,
TAB3 RADIOBUTTON GROUP R1.
DATA: TABNAME TYPE TABNAME.
START-OF-SELECTION.
CASE 'X'.
WHEN TAB1. TABNAME = 'BSID'.
WHEN TAB2. TABNAME = 'BSAD'.
WHEN TAB3. TABNAME = 'BKPF'.
ENDCASE.
CALL FUNCTION 'RS_TABLE_LIST_CREATE'
EXPORTING
TABLE_NAME = TABNAME
* ACTION = 'ANZE'
* WITHOUT_SUBMIT = ' '
* GENERATION_FORCED =
* NEW_SEL =
* NO_STRUCTURE_CHECK = ' '
* DATA_EXIT = ' '
* IMPORTING
* PROGNAME =
* TABLES
* SELTAB =
EXCEPTIONS
TABLE_IS_STRUCTURE = 1
TABLE_NOT_EXISTS = 2
DB_NOT_EXISTS = 3
NO_PERMISSION = 4
NO_CHANGE_ALLOWED = 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. -
How to get FI Doc number for a MM posted document number
Hi Friends,
I need info on how to retrieve FI Document number that gets generated for a MM posted document.
MM Posted document is available in table RBKP-BELNR and FI document number created for this is in table BKPF-BELNR but for a given RBKP-BELNR how to find BKPF-BELNR. I need the relation.
Any help on this is highly appreciated.
Thanks,
Simhahi,
you can get accounting details from material document in this way.
DATA: BEGIN OF it_rbkp OCCURS 0,
belnr LIKE rbkp-belnr,
bldat LIKE rbkp-bldat,
xblnr LIKE rbkp-xblnr,
gjahr LIKE rbkp-gjahr,
awkey LIKE bkpf-awkey,
END OF it_rbkp.
DATA: BEGIN OF it_bkpf_we OCCURS 0,
belnr LIKE bkpf-belnr,
awkey LIKE bkpf-awkey,
END OF it_bkpf_we.
DATA: BEGIN OF it_mkpf OCCURS 0,
mblnr LIKE mkpf-mblnr,
blart LIKE mkpf-blart,
bldat LIKE mkpf-bldat,
mjahr LIKE mkpf-mjahr,
awkey LIKE bkpf-awkey,
END OF it_mkpf.
IF NOT it_ekbe[] IS INITIAL.
SELECT mblnr
blart
bldat
mjahr
INTO TABLE it_mkpf
FROM mkpf
FOR ALL ENTRIES IN it_ekbe
WHERE mblnr = it_ekbe-belnr
AND blart = c_we.
ENDIF.
LOOP AT it_mkpf.
CONCATENATE it_mkpf-mblnr it_mkpf-mjahr INTO it_mkpf-awkey.
MODIFY it_mkpf TRANSPORTING awkey.
ENDLOOP.
IF NOT it_rseg[] IS INITIAL.
SELECT belnr
bldat
xblnr
gjahr
INTO TABLE it_rbkp
FROM rbkp
FOR ALL ENTRIES IN it_rseg
WHERE belnr = it_rseg-belnr.
ENDIF.
LOOP AT it_rbkp.
CONCATENATE it_rbkp-belnr it_rbkp-gjahr INTO it_rbkp-awkey.
MODIFY it_rbkp TRANSPORTING awkey.
ENDLOOP.
IF NOT it_mkpf[] IS INITIAL.
SELECT belnr
awkey
INTO TABLE it_bkpf_we
FROM bkpf
FOR ALL ENTRIES IN it_mkpf
WHERE awkey = it_mkpf-awkey.
ENDIF. -
Creating an Accounting Document for Invoice
We cannot create an accounting document for Invoice.There is no problem in account determination procedure. I've tried to clear in VFX3, but gives me an error message that says "express document 'update was terminated' received from author.
After analysis the error being reported is:
"M2 012: Error determining posting period (info structure S010).Function module is MCV_STATISTICS_UPD_V1_INVOICE V1 NORMAL
Can you suggest how we can post/Release to Accounts?Hi Narendra
Go to T-code MCVV. In this case since the doc is not created it will not work.
Is there an ST22 dump. if yes put a break point there.
Check SM13 and you can see the here where the update fails. Apply break point there.
Go to MC26 and enter S010 and check if any update rules exisit. in one of the formulas you need to put a break point.then go back to VF01 and then before you hit the save enter /h in the command box to go into debug mode.
Once in debug mode Follow the menu path Setings--->update debug on/off.Debug and see why the update is failing.
Thanks -
LSMW me51n, how to create one PR document for all the records in the file
HI all,
I need to create LSMW for t-code me51n -Create Purchase Requisition. I`m using Bapi BUS2105, method CREATEFROMDATA, idoc message type PREQCR, basic type PREQCR03. The problem is that the LSMW is creating different idoc and different PR document for every record in the source file. My requirement is to create one PR document for one source file (Every source file is different Purchase Requisition) . I`m trying to do this with writing some code(global functions ) in the 'Mapping and conversion rules' events - BEGINOF_TRANSACTION_, ENDOF_TRANSACTION__..., but i`m not very sure what exactly i`m doing .
Please help me resolve this problem, any help will be appreciated .
Best regards, Emil Milchev.Thank you for you answer.
But I have found faster way of doing it - two source structures, one HEADER and ONE ITEM.
HEADER: one empty text field and identificator for it.
ITEM: everything else.
Then everything was just fine, i`ve mapped the different IDOC segments by PREQ_ITEM fields (equal values in the source file : 10-10-10..., 20-20-20,.... etc.) and put all required fields for my LSMW
SOURCE FIELDS:
Z_ME51N_V2 - MASS_UPLOAD - CREATE create
Source Fields
UPFILE upload file
IDENT C(010) ident
Identifing Field Content: header
TEXT C(001)
UPFILE2 123
IDENT C(010) ident
Identifing Field Content: item
BSART C(004) Document type
BANFN C(010) Purchase requisition number
BNFPO_FOR_MAP N(005) Item number of purchase req. for MAPPING acc.
BNFPO N(005) Item number of purchase requisition
KNTTP C(001) Account assignment category
PSTYP C(001) Item category in purchasing document
MATNR C(018) Material Number
WERKS C(004) Plant
LGORT C(004) Storage Location
MENGE N(013) Purchase requisition quantity
EKGRP C(003) Purchasing group
KONNR C(010) Number of principal purchase agreement
KTPNR N(005) Item number of principal purchase agreement
LIFNR C(010) Desired Vendor
FLIEF C(010) Fixed Vendor
AFNAM C(012) Name of requisitioner/requester
PREIS AMT4(011) Price in purchase requisition
ABLAD C(025) Unloading Point
WEMPF C(012) Goods Recipient
PS_POSID C(024) Work Breakdown Structure Element (WBS Element)
KOSTL C(011) COST_CTR v bapito ?
NAME1 C(040) Name1 - Name of an address
NAME2 C(040) Name2 - Name of an address 2
STREET C(060) Street
DELIVERY_DATE C(008) Date on which the goods are to be delivered
TEXT C(132) item text
STRUCTURE RELATIONS :
Structure Relations
E1PREQCR Header segment <<<< UPFILE upload file
E1BPEBANC Transfer Structure: Create Requisition Item <<<< UPFILE2 123
E1BPEBKN Transfer Structure: Create/Display Requisition Acct Assgt <<<< UPFILE2 123
E1BPEBANTX BAPI Purchase Requisition: Item Text <<<< UPFILE2 123
E1BPESUHC Communication Structure: Limits <<<< UPFILE2 123
E1BPESUCC Communication Structure: Contract Limits <<<< UPFILE2 123
E1BPESLLC Communication Structure: Create Service Line <<<< UPFILE2 123
E1BPESKLC Create Comm. Structure: Acct Assgt Distr. for Service Line <<<< UPFILE2 123
E1BPESLLTX BAPI Services Long Text <<<< UPFILE upload file
E1BPMERQADDRDELIVERY PO Item: Address Structure BAPIADDR1 for Inbound Delivery <<<< UPFILE2 123
E1BPMERQADDRDELIVERY1 PO Item: Address Structure BAPIADDR1 for Inbound Delivery <<<< UPFILE2 123
E1BPPAREX Ref. Structure for BAPI Parameter EXTENSIONIN/EXTENSIONOUT <<<< UPFILE2 123
MAINTAIN FIELD MAPPING AND... :
the MAPPING between two IDOC`s segments:
In first segment:
E1BPEBANC Transfer Structure: Create Requisition Item
Fields
PREQ_NO Purchase requisition number
Source: UPFILE2-BANFN (Purchase requisition number)
Rule : Transfer (MOVE)
Code: E1BPEBANC-PREQ_NO = UPFILE2-BANFN.
PREQ_ITEM Item number of purchase requisition
Source: UPFILE2-BNFPO (Item number of purchase requisition)
Rule : Transfer (MOVE)
Code: E1BPEBANC-PREQ_ITEM = UPFILE2-BNFPO.
In second segment :
E1BPEBKN Transfer Structure: Create/Display Requisition Acct Assgt
Fields
PREQ_NO Purchase requisition number
PREQ_ITEM Item number of purchase requisition
Source: UPFILE2-BNFPO_FOR_MAP (Item number of purchase req. for MAPPING
Rule : Transfer (MOVE)
Code: E1BPEBKN-PREQ_ITEM = UPFILE2-BNFPO_FOR_MAP.
After that everything was OK . -
I was at Apple Store yesterday and they created a pages document for me. When I got home and tried to open it, I get a message that I need a newer version of Pages. I see the image before I push "open". The 'kind' is pages publication. The file does not appear in the 'open recent' list.
Just be careful with Pages 5, it is not strictly an upgrade.
Apple has actually removed over 90 features and some work can be very difficult in the newer version.
It was all done to make it more interchangeable with the inferior iOS version:
http://www.freeforum101.com/iworktipsntrick/viewforum.php?f=22&mforum=iworktipsn trick
Peter -
HT5843 How do I create a locked document for privacy?
How do I create a locked document for privacy?
With the document open, tap the tools icon (wrench) and select Set Password. this assumes you are using the most recent version of the iWorks app or apps in question.
-
I need output type NEU automaticaly for create purchase order document type
Dear Experts,
I need output type NEU automaticaly for create purchase order document type NB
when transaction code MN04, I am doing the following:
(1) I selected the third option Purchasing Output determination: Document type
(2) I selected the output type NEU.
(3) In condition records in document type , i have chosen NB.
(4) In name its automatically coming as Purchase requisition
Please suggest how Purchase Order NB will comeHi,
Check & press F4, NB Purchase Order (for catagory F) will be there after entering PO output type NEU & then maintaion the condition record in MN04.
Output type NEU automaticaly defaulted during purchase order creation with document type ,then just fine tune the output (message) type in following path:
SPRO--->MM->Purchasing>Message>Output control->Message types> Define message type for Purchase Order----->Fine-Tuned Control: Purchase Order
Now here select the check box corresponding to your output(message) type NEU to have print output automatically displayed & save.
Now try to creating Purchase Order & you will have default message type NEU.
Regards,
Biju K -
How to Create a Billing Document For SalesOrder
Hi Guys,
Any one please Explain me how to create a Billing Document for salesOrder. give me step by step procedure so i can easily understand the terms.Thanks in advance.
Thanks
Kiran.BHi Kiran,
Normally a billing doc is created after a sales order-->delivery.
U can create a sales order w.r.t a Contract or another sales order.
In your case, its possible only for sales Returns.
pass billing doc number to ORDER_HEADER_IN-REF_DOC in BAPI_SALESORDER_CREATEFROMDAT2.
Reward points if helpful
Regards,
Hemant -
MI31: Cannot Create Physical Inventory Document for a Certain Material
Dear SAP MM Friends,
Greetings! I am a budding MM functional analyst in our company. I received a call earlier regarding with transaction code MI31 (Selected Data for Physical Inventory Documents w/o Special Stock). The user cannot generate a physical inventory document for a certain material.
The thing is, we no longer have any stock for this material (MMBE). I tried generating physical document again by ticking "Only Materials with Zero Stock" but to no avail.
May I ask what might be the reasons behind? Your prompt response is highly appreciated.
Thank you very much.
Best Regards,
AlbertHi,
Please check also the existing physical inventory document for material, probably you still have active physical document from previous period.
1. Go to MI22 --> select your plant, storage location or you can also specify your material number --> execute.
2. Check your Physical Document list, at field Status doc. --> if the status is Doc. active, but it is not in your current period, then it could be the problem.
3. Delete the physical inventory doc that you found in step 2 (use tcode MI02 --> physical doc, year --> choose delete button)
4. Try to create new physical document for the material.
hope this help.
rob -
FI - creating statistical posting documents like transaction F-38
Hi to all !
We are using R3 version 46C.
I would like to find a way to create statistical posting documents like transaction
F-38 without using batch input. Any function or BAPI existing for it ??
Thanks,
Yuval Kaduri
at Cellcom Israel.Hi to all !
We are using R3 version 46C.
I would like to find a way to create statistical posting documents like transaction
F-38 without using batch input. Any function or BAPI existing for it ??
Thanks,
Yuval Kaduri
at Cellcom Israel. -
Procedure for creating logical standyby database for oracle 11g?
Hi all,
can anybody provide me docs /procedure for creating logical standby databse for oracle 11g standard edition.
AravindAravind,
1. The Oracle Standard Edition does not have standby mechanism, you should do it manually or go for Enterprise Edition.
2. It's rather a question for General Database Discussions instead of Peoplesoft.
Any further question regarding that point, please post out there.
Nicolas. -
Not able to create a material document with movement type 103
I am not able to create a material document with movement type 103,
The system is populating the value as 101 .
How do I create a matdoc with movement type 103?What is the error you receive? Please specify with message number.
On MIGO, you need to change the default value mvmt type value to 103 before you enter the PO number to be able to do 103.
Once this defualt value is set, you can enter the PO and item number in the document number fields and proceed with 103.
But you cannot change the mvmt type for already entered items from 101-103 or vice versa.
I think the 101-103 and 103-101 mvmt type conversion message is standard error message -
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. -
How to create multiple accouting documents for one invoice for diff curr
Hi experts/gurus,
I have a requirement where we need to create two two different accounting documents for one invoice. The scenario is this:
1) We are exporting goods to oversea customer, as such the currency is bill in USD
2) We also have transportation charges using another condition type, we need to capture this charges/accrual in local currency which is MYR.
Currently, the system will automatically convert the transporation charges to USD when we create the invoice and the accounting document will be generated in USD for both sales and transport charges.
is there a way to fullfil the above requirement, any setting in condition type or any user exists we can used to create hte accounting documents.
Any ideas/input is highly appreciated, points will be awardedHi Wan,
The following user exits are available in report SAPLV60B for transfer to accounting (function group V60B): So please go through these.
·EXIT_SAPLV60B_001: Change the header data in the structure acchd
You can use this exit to influence the header information of the accounting document. For example, you can change the business transaction, "created on" date and time, the name of the person who created it or the transaction with which the document was created.
·EXIT_SAPLV60B_002: Change the customer line ACCIT
You can use this exit to change the customer line in the accounting document. This exit is processed once the ACCIT structure is filled in with data from document header VBRK.
·EXIT_SAPLV60B_003: Change the customer line in costing
The customer line is filled in differently for costing. You can use exit 003 to influence the ACCIT structure.
·EXIT_SAPLV60B_004: Change a GL account item ACCIT You can add information to a GL account item (such as quantity specifications) with this exit.
·EXIT_SAPLV60B_005: User exit for accruals
Once all relevant data for accruals was entered in the GL account item, you can add to this data with this exit.
·EXIT_SAPLV60B_006: Change the control line ACCIT
You can use exit 006 to add information to the control line.
·EXIT_SAPLV60B_007: Change the installment plan
You can use exit 007 to add information to the installment plan
parameters in the GL account item.
·EXIT_SAPLV60B_008: Change the transfer structure ACCCR, ACCIT and ACCHD
After the accounting document is filled in with data, you can use exit 008 to change the document once again.
·EXIT_SAPLV60B_010: Item table for customer lines
You can use exit 10 to influence the contents of customer lines before they are created.
·EXIT_SAPLV60B_0011: Change the parameter for cash account determination or reconciliation account determination
You can use this exit to change inbound parameters in order to influence account determination.
I hope any one of these will solve your problem
Thanks,
Murali.
Maybe you are looking for
-
Windows does not recognize ipod, neither does itunes
I finally got my system to stop freezing when i plug the ipod in. Now when i connect it there is a messega from windows "unkown mass stoage device" Neither itunes nor ipod updater recognize i have plugged the device in. But on the screen it says do n
-
Solution Manager 4.0 - Service Desk
When I try to create a support message in the system under help or by double clicking the SAP logo, I get the message "Customizing for feedback functionality missing". I am testing to see how to create messages and resolve them in Service Desk becaus
-
Leap year certficate generation bug
Looks like Cisco has a leap year certificate bug when generating certs (I only tried it on web-admin certs) today, Feb 29th, 2008. If you generate a cert for your controller today, you won't have HTTPS login as your cert will be invalid, Feb 29th, 20
-
NEED HELP! Processor Question!
Hey there! I just recently bought a mac pro and it comes with 2 dual-core xeon processors(still being shipped). I was wondering if I could upgrade to a quad-core i5. Some people say that I cannot. I need advice.
-
I currently create interactive videos with Flash that use live person video to ask the viewer questions and allows the viewer to click an answer. Depending on "right" or "wrong" the playhead jumps to the appropriate point in the video (all held on lo