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
The Connection Manager in my Elite Book 8540w does (no longer) recognize the GPS receiver. What could cause this behavior? I have the latest version of the Communication Manager as well as HP Software Framework 4.5.12.1 installed.Mac, Forced Power Re [More]
The business scenario I'm trying to address is: we have multiple customers/shiptos that order, have credits issued for, and an individual credit limit set - but one corporate office that pays all of the bills and wants to take credits from shipto A f [More]
Hello guys, I have a scenario Webservice -> XI -> Proxy Synchronous. I have created the webservice, and the URL is correct. I have a problem in the proxy because is expecting the Message Type and in the XML appears the name of Message Interface. I h [More]
Ever since i upgraded os x to 10.6.4, the finder has been not responding whatsoever. My hard drive still has more than 100GB (out of total 250GB). and i have used Terminal to delete files in trash and nothing left in my desktop. When i connect my Tim [More]
Can I run FCE without the Graphics card??Requirement: An AGP or PCI Express graphics card compatible with Quartz Extreme or an Intel GMA integrated graphics processor in MacBook or Mac mini What I have(I have no PC or PCI cards under the System Profi [More]
Hello? My name is Hailey and I have the 5th gen of an iPod touch and my friend has the same one we'll she got her messaging texting thing working I was wondering how to get mine to work? Because it's not working and I've followed the instructions. Pl [More]
I am considering buying ARD to help my family manage their various Mac computers. But I need to be updated on what their router's IP address is. I would preferably like it sent to me via email when it changes. A couple of years ago I tried a sharewar [More]
Hi, it's possible to make the content filter with the new models of asa? One of our customers would like to have content filter with the possibiliy to monitor the single client activity (log). It' s possible also make the load balancing between 2 WAN [More]
Hi, all I have in Designer Collaboration ( cfolders) one structure of folders similar to the following: Main Folder             Public Folder             Restrict Folder And  this is my problem: I have  that in the Public folder is general informatio [More]
can i upgrade my PC version of acrobat to a MAC version? do i need to buy a full new package?Hi agree, Please see this document about switching your Windows software for the Mac OS equivalent: http://helpx.adobe.com/x-productkb/policy-pricing/order-p [More]