Sitemap

Amicuk Programming Answers

Issue while using FM L_TO_CREATE_POSTING_CHANGE

2015-10-11   Views:6

Advertisement

Hi All, We are facing an issue when creating a transfer order using the FM L_TO_CREATE_POSTING_CHANGE. We have developed a custom program to change the status (Zfield) of a specific SU in LQUA and update its stock category. The program creates the ma

Hi All,
We are facing an issue when creating a transfer order using the FM
L_TO_CREATE_POSTING_CHANGE.
We have developed a custom program to change the status (Zfield) of a
specific SU in LQUA and update its stock category. The program creates
the material document and posting change document in the background.
During this process, the badi MB_DOCUMENT_BADI~MB_DOCUMENT_UPDATE gets
triggered where we call the above FM in the background task. During TO
creation, we have also implemented the badi LE_WM_LE_QUANT to update
the quant with the specific SU which was changed by the user in the
custom program. (We get this from the custom data base table).
The TO is created for mvt types 321, 322, 343, 344, 349 and 350.
We do not pass the t_LUBQU table in the above FM so that the program
gets the updated quant from the badi. The issue is that the FM
sometimes does not process properly and ends up without creating the
TO. We are not able to get the exact scenario for which it is
failing. When we debug it, we get message S178 - Foreground processing
is required.
Can anyone let me know what is the problem here?
Thanks in advance,
Chetan

The replay answer
Advertisement
As mentioned by Madhan
you are trying to do a chicken and egg thing...
You have to commit the MM posting of the BAPI to create the change posting in WM before you can convert the change posting using the FM...
In other words.
call BAPI_GOODSMVMT_CREATE
commit work and wait
call L_TO_CREATE_POSTING_CHANGE
be aware that you still might get locking problems. the commit work and wait does not handle that all the time correctly...
bjorn

Go to See the other 5 answers

Issue while using FM L_TO_CREATE_POSTING_CHANGE

Category:DefaultRelease time:2015-10-11Views:130

Hi All, We are facing an issue when creating a transfer order using the FM L_TO_CREATE_POSTING_CHANGE. We have developed a custom program to change the status (Zfield) of a specific SU in LQUA and update its stock category. The program creates the ma[More]

New DVR Issues (First Run, Channel Switching, etc.)

Category:DefaultRelease time:2015-10-11Views:130

I've spent the last 30 minutes trying to find answers through the search with no luck, so sorry if I missed something. I recently switched to FIOS from RCN cable in New York.  I've gone through trying to setup my DVR and am running into issues and wa[More]

Pension issue Mid Month Leaving

Category:DefaultRelease time:2015-10-11Views:130

Dear All, As per rule sustem should deduct mid month joining/leaving/absences or transfer scenarios, the Pension/PF Basis will be correspondingly prorated. But our system is not doing this. In RT table i have found 3FC Pension Basis for Er c 01/2010 [More]

Open PO Analysis - BW report issue

Category:DefaultRelease time:2015-10-11Views:130

Hello Friends I constructed a query in BW in order to show Open Purchase Orders. We have custom DSO populated with standard datasource 2lis_02_itm (Purcahse Order Item). In this DSO we mapped the field ELIKZ to the infoobject 0COMP_DEL (Delivery comp[More]

HP LaserJet Enterprise 600 M602 driver issue

Category:DefaultRelease time:2015-10-11Views:130

Hello, I've got issue with 600-series printers. We use the latest UPD drivrer ver. 61.175.1.18849 and print from XenApp 6.5. The error occurs every time when users try to print jpg files from XenApp session. It only happens with 600 series printers a[More]

Windows 7 displays error message when exiting +cursor issue

Category:DefaultRelease time:2015-10-11Views:130

Two issues here. CS5 Phoshop on Wind 7 64 bit. Physical processor count: 8 Processor speed: 3073 MHz Built-in memory: 12279 MB Free memory: 9577 MB Memory available to Photoshop: 10934 MB Memory used by Photoshop: 80 % Image tile size: 128K First iss[More]

Issue in Creation of Periodicals for Contracts in CRM7.0

Category:DefaultRelease time:2015-10-11Views:130

Hello, I have a requirement to create Contracts in CRM7.0 system. And I am doing this using the BAPI *BAPI_BUSPROCESSND_CREATEMULTI* Good part is Contract Order gets created, but onlywith Header Details. The issues i am facing -- 1. I need to know wh[More]

Issue in creation of plant related data at receiving server using BD10

Category:DefaultRelease time:2015-10-11Views:130

Hi all, This is regarding Material master creation using B10.I am using MATMAS05 message type for sending data from one system to another.Data is sent and received successfully.When i go in mm03 i can see all the views created successfully accept vie[More]

Issue in Creation of new Value Field in CO-PA

Category:DefaultRelease time:2015-10-11Views:130

Hi, I have a query in CO-PA Value Field Linking. In my Development Client, 1. Created a New Value Field (No Transport Request Generated) 2. Linked to the above to new Conditon type created in SD. (Tranport request was generated) i.e. in Flow of Actua[More]

Issue of Free Goods

Category:DefaultRelease time:2015-10-11Views:130

Dear All I have some is my current assignment-Customer is buying some material say "A" want "B,C" as exclusive free goods is it possible to give two free at a time in same order ? I only know one exlusive free good can be give to one m[More]

Issue in creation of control cycle

Category:DefaultRelease time:2015-10-11Views:130

Dear Gurus, During creation of control cycle (LPK1), the fields for source information is not appearing in my system. I compared control cycle in a different ECC system where source information is appearing. How can make the screen appear in my ECC s[More]

Hot
hi, i am developing an application which had more then 20 classes and each class use databases. i made an connection bean and use it for database connectivity but as my code expand and my application run for longer time i start getting error of conne [More]
Hi. I have recently created my first website in DW and it turns out great until I export it from DW. That's where the problem starts. I have constantly observed my website's behaviour during creation, previewing it repeatedly to make sure everything [More]
Sometimes when I try to access the Editor,either  from the Organizer or directly, it will let me in and I can then edit several images, without any problems. Then without warning it fails, and I cannot access the Editor in any of the editing Modes. T [More]
Hi, I want to use case statement in the when matched clause of merge statement to ensure that I update only those fields that are undated. create table TEST1 NAME1 VARCHAR2(25), NAME2 VARCHAR2(25), ID NUMBER not null create table TEST2 ID NUMBER not [More]
How can I influence font antialiasing/smoothing? All text appears to be smoothed for tube monitors but I want the method for flat screens. Do java.awt.RenderingHints have any effect? If so, where can I set them since I don't use Graphics2D?LCD text d [More]
Hi, There seems to be some nt authority\iusr process account that is being tagged instead of a regular user account to search for  terms in our search application. The search usage log has many entries on this account name along with the other accoun [More]
Using internal orders to expense prepaid expenses and participant deposits is not possible with the current accounting entries. I will check in the SAP system which of the following two alternatives will best suit the purpose:     i.      A functiona [More]
Hi all, in the context of an upgrade of our IS-U (ECC 6.0) to EhP4 we experience an issue during the replication of contracts (Object SI_CONTRACT) from IS-U into CRM (CRM 5.0). As we didn't find any trace of a similar issue somewhere (Google, SAP Not [More]
I had to just do a reinstall and I need to upgrade but I can't find the download.Hi beenhacked, As Michael posted you want that combo update. The 10.3.9 Combo has all the point updates packaged in one download saving incremental updating. Upgrades an [More]
Hi Folks, I like know about PSP (PLSQL Server pages) and Oracle XE, how configure and it work with this language. I tried to found some articles and manuals about issue, but, no sucess. Somebody can help me? Regards, Rodrigo AlmeidaBecause, PSP is ea [More]